WhileWait - earn while you wait
Your AI is thinking. You're earning. WhileWait shows clearly labelled,
low-interruption sponsored messages during the moments you're already
waiting - an agent run, a long generation, a slow build - and rewards you
with credits for every verified view and click, redeemable for vouchers
or cash. Available redemption options and their credit prices are shown at
redemption time.
- Opt-in only. Nothing runs until you say so; one click turns it off.
- Privacy is structural. Waiting detection uses VS Code's official
terminal shell-integration events and matches executable names only -
your prompts, code, and command lines never leave your machine, and an
automated test suite enforces it.
- Always labelled. Every placement starts with
Ad:. No popups, no
sounds, no focus stealing.
- Transparent ledger. Earnings land in an auditable double-entry
ledger; watch holds mature and redeem from the sidebar or the
web dashboard.

Commands
WhileWait: Sign in
WhileWait: Sign out
WhileWait: Open sidebar
WhileWait: Refresh sponsored slot
WhileWait: Open current sponsor
WhileWait: Open dashboard
WhileWait: Set India payout profile
WhileWait: Request payout
WhileWait: Open privacy policy
WhileWait: Open terms
WhileWait: Toggle sponsored slot
Waiting-moment detection
WhileWait detects when an AI tool (Claude Code, aider, Codex, Gemini CLI,
ollama, Copilot CLI) is running in an integrated terminal, using VS Code's
official shell-integration events. Detection matches the executable name
only and immediately discards the command line - commands, prompts, and
code never leave your machine (enforced by an automated payload-allowlist
test). Confirmed waits longer than 10 seconds refresh the sponsored slot so
the wait earns credits. Inspect exactly what detection saw and transmitted
with WhileWait: Show detection diagnostics, or turn it off with the
whilewait.waitingDetection setting.
Data collection and telemetry
WhileWait only tracks ad delivery on surfaces it owns:
- Sponsored messages always carry an explicit
Ad: label in the status bar.
- The extension sends ad metric events only (render, valid view, click) with an
anonymous client id, ad/campaign/session ids, and timing. Events that fail to
send are queued locally and replayed; duplicates are rejected server-side.
- No source code, prompts, terminal output, file contents, or clipboard
contents are ever collected.
- Nothing is tracked until you accept the consent prompt, and the sponsored
slot can be disabled at any time with
WhileWait: Toggle sponsored slot.
Policies: use WhileWait: Open privacy policy and WhileWait: Open terms
(URLs configurable via whilewait.privacyUrl / whilewait.termsUrl).
Local API
Start the API first:
npm run build -w @whilewait/api
npm run dev -w @whilewait/api
Default API base is http://127.0.0.1:8787.