English · Русский
AI Window Monitor
See every open VS Code workspace, follow Claude Code and Codex activity,
and keep account limits visible without switching windows.
Local-first · Real-time status ·
Claude Code + Codex · No telemetry
Why it exists
Working with AI across several VS Code windows makes it easy to lose track of
which agent is still running, which one needs an answer, and which account
limit is close to resetting. AI Window Monitor puts that information in one
small side panel.
What you see
Each card represents one open VS Code window:
- Project name and path identify the workspace.
- Green border marks the window currently in focus.
- AI provider shows whether Claude Code or Codex owns the latest activity.
- Live status distinguishes working, waiting for you, compacting, finished,
and idle states.
- Clicking a card switches directly to that already-open window.
Why the usage panel is useful
- Session shows consumption of the short rolling window.
- Week shows consumption of the longer account window.
- Reset countdowns tell you when capacity becomes available again.
- Provider switcher changes between Claude Code and Codex.
- Plan and renewal keep subscription information in the same place.
- Remaining time turns orange below five days and red below two days.
Usage is refreshed only when you press the refresh button. The extension then
requests the current limits directly from the selected provider; it never polls
account endpoints in the background.
Status meanings
| Status |
Meaning |
| Working |
The agent is processing a request or using a tool |
| Waiting for you |
The agent requested input before it can continue |
| Compacting |
The agent is compacting its context |
| Finished |
The agent completed its turn |
| Idle |
No recent session activity was detected |
Status detection is based on local session content, not only a timer. This
allows compaction and input requests to remain visible instead of appearing
incorrectly as idle.
Installation
Windows
Run build.cmd. It installs missing dependencies, builds the extension,
creates a VSIX package, and installs it into VS Code. Reload every open VS Code
window after installation.
Manual
npm install
npm run check
npm run package
code --install-extension ai-window-monitor-0.1.1.vsix --force
Development
npm install
npm run check
npm run build
npm run watch
Press F5 in VS Code to launch an Extension Development Host.
Project structure
src/
|-- ai/ AI activity adapters and usage providers
|-- commands/ VS Code command registration
|-- core/ Shared window state and lifecycle
|-- utils/ JSONL, logging, and path helpers
|-- views/ Webview provider and interface
`-- extension.ts Extension entry point and dependency wiring
Privacy
AI Window Monitor reads only local state required for its features:
- VS Code extension global storage for coordination between windows
~/.claude/projects and ~/.claude.json
~/.codex/sessions and ~/.codex/auth.json
No telemetry is collected and no credentials leave your computer.
Requirements and limitations
- VS Code 1.85 or newer.
- Claude Code and/or Codex must write local session data before their status and
usage can appear.
- VS Code does not expose whether an unfocused window is minimized or merely
behind another window.
- Project switching relies on VS Code focusing an already-open folder.
License
MIT