01
2026
PromptLock
Agent-aware distraction control for VS Code.
A VS Code extension that watches GitHub Copilot agent activity through in-memory editor events. When you're typing, your browser windows close. When the agent is working, they open. When it needs your approval, they close again. Earn the scroll, then put it down.
- Two-state machine driven by 7 detection signals — primary is onDidStartTerminalShellExecution.
- Distraction windows open at iPhone 14 Pro dimensions (393×852) with a mobile UA so Shorts and Reels scroll natively.
- Hard Lock, Punishment, and Reverse-Dopamine modes. All analytics local — zero external transmission.
- Replaces a polling approach (v1–v6) that had 17–55s detection delays. Fires instantly.
