Skip to content

Codex Castor v1.2.0

Choose a tag to compare

@JAY201368 JAY201368 released this 02 Dec 06:45

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.json without mutating ~/.codex/config.toml.
    • Adds an optional fast_mode boolean override parameter to codex_dispatch and codex_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 a fast/priority user or project config.toml.
    • Probes thread_settings_applied.thread_settings.service_tier from Codex rollout logs to report confirmed runtime service tier and fast_mode state, and includes settings in codex_monitor snapshots.
  • Antigravity Composer Codex Status Widget (mcp/composer_bridge.py, mcp/composer_widget.js)
    • Zero-dependency Python stdlib CDP bridge hosted by mcp/server.py that discovers DevToolsActivePort (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 Fast indicator 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 mode toggle switch.
    • Silently degrades when DevToolsActivePort is not active (or when CODEX_CASTOR_DISABLE_COMPOSER_UI=1 is set).
  • Codex Monitor & Tooling (mcp/monitor.html, scripts/install.py, scripts/doctor.py)
    • Displays a Fast pill on fast-mode task cards and a Service tier row in task detail configuration.
    • Updates scripts/install.py and scripts/doctor.py to install and verify composer_bridge.py and composer_widget.js.
    • Adds unit test coverage in tests/test_composer_bridge.py, tests/test_server.py, and tests/test_install_and_doctor.py.

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.py

Windows 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.py

Restart 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