This folder contains the Windows implementation of CodexControl.
- Tracks Codex account quota from local
auth.jsonstate - Shows live 5-hour and 7-day windows when available
- Supports account switching, add account, refresh, reauthenticate, open folder, and remove
- Runs as a tray app with a dashboard window
- Persists accounts and snapshots under
%APPDATA%\\CodexControl - Migrates local data from previous local app directories automatically
- Syncs Codex global state and Codex Desktop session cache during account switches
python -m pip install -r .\windows\requirements.txt
python .\windows\CodexControlWindows.pywpowershell -ExecutionPolicy Bypass -File .\windows\build.ps1This produces:
%REPO%\\windows\\dist\\CodexControl.exe
powershell -ExecutionPolicy Bypass -File .\windows\install.ps1 -EnableStartup -LaunchThe installer places the app under:
%LocalAppData%\\Programs\\CodexControl
and registers a startup shortcut so the tray app can launch hidden at sign-in.
$env:PYTHONPATH = (Resolve-Path .\windows)
python -m unittest discover .\windows\tests- Account-switching fix details: ACCOUNT_SWITCH_FIX.md
- The switch fix is covered by
windows/tests/test_account_manager.pyandwindows/tests/test_codex_desktop.py