Repository navigation
Codex Castor v1.2.0
Codex Castor v1.2.0
Adds Codex Fast mode (service_tier = "fast") support across the MCP server and Codex Monitor, along with a native-feeling Codex status widget injected directly into Antigravity's chat composer bar.
What's New
- Codex Fast Mode Support (
mcp/server.py)- Persists Codex Castor's own Fast mode toggle in
~/.gemini/codex-castor/settings.jsonwithout mutating~/.codex/config.toml. - Adds an optional
fast_modeboolean override parameter tocodex_dispatchandcodex_resume. - Automatically passes
-c service_tier="fast"when Fast mode is enabled, and explicitly passes-c service_tier="default"when Fast mode is turned off over afast/priorityuser or projectconfig.toml. - Probes
thread_settings_applied.thread_settings.service_tierfrom Codex rollout logs to report confirmed runtime service tier andfast_modestate, and includessettingsincodex_monitorsnapshots.
- Persists Codex Castor's own Fast mode toggle in
- Antigravity Composer Codex Status Widget (
mcp/composer_bridge.py,mcp/composer_widget.js)- Zero-dependency Python stdlib CDP bridge hosted by
mcp/server.pythat discoversDevToolsActivePort(macOS, Windows, Linux) and mounts the widget in an isolated world without depending on Antigravity's minified React internals. - Adds a compact Codex status trigger beside the model selector in Antigravity's chat composer (showing a highlighted
Fastindicator when enabled). - Click to open a theme-adaptive popover displaying remaining Codex quota windows (matching Codex Monitor's 4-tier color palette and progress bars without an outer pill border, clickable to refresh on demand) and an interactive
Fast modetoggle switch. - Silently degrades when
DevToolsActivePortis not active (or whenCODEX_CASTOR_DISABLE_COMPOSER_UI=1is set).
- Zero-dependency Python stdlib CDP bridge hosted by
- Codex Monitor & Tooling (
mcp/monitor.html,scripts/install.py,scripts/doctor.py)- Displays a
Fastpill on fast-mode task cards and aService tierrow in task detail configuration. - Updates
scripts/install.pyandscripts/doctor.pyto install and verifycomposer_bridge.pyandcomposer_widget.js. - Adds unit test coverage in
tests/test_composer_bridge.py,tests/test_server.py, andtests/test_install_and_doctor.py.
- Displays a
Windows fix
The MCP server now stops background Codex quota refreshes and waits for their child processes to exit during shutdown. On Windows, this prevents those processes from holding open files when the caller removes a temporary working directory.
Quick Install / Upgrade from Release Archive
Download either codex-castor-v1.2.0.tar.gz or codex-castor-v1.2.0.zip (verify with SHA256SUMS.txt), extract it, and run the installer:
macOS & Linux
tar -xzf codex-castor-v1.2.0.tar.gz
cd codex-castor-v1.2.0
./scripts/install.sh --install-statusline
python3 scripts/doctor.pyWindows 11 x64 (PowerShell)
Expand-Archive codex-castor-v1.2.0.zip -DestinationPath .
Set-Location codex-castor-v1.2.0
py -3 scripts/install.py --install-statusline
py -3 scripts/doctor.pyRestart or reload Antigravity after upgrading to load the updated MCP server and composer widget.
Release Assets
codex-castor-v1.2.0.tar.gz— Clean source & runtime bundle (for macOS / Linux)codex-castor-v1.2.0.zip— Clean source & runtime bundle (for Windows / cross-platform)SHA256SUMS.txt— SHA-256 checksums for release archives
Full Changelog: v1.1.0...v1.2.0