Description
The codex-companion.mjs script fails when used with Codex CLI v0.118.0 (installed via brew install --cask codex).
The companion script sends a thread/name/set JSON-RPC method that is not recognized by the CLI.
Error
[codex] Starting Codex task thread.
Invalid request: unknown variant `thread/name/set`, expected one of `initialize`, `thread/start`, `thread/resume`, ...
Environment
- Codex CLI: v0.118.0 (brew cask)
- codex-plugin-cc: v1.0.2 (commit 8e403f9)
- Node.js: v25.5.0
- OS: macOS (Apple Silicon)
Steps to Reproduce
- Install Codex CLI v0.118.0 via
brew install --cask codex
- Install codex-plugin-cc via
/plugin marketplace add openai/codex-plugin-cc
- Run
/codex:rescue or any task command
- Observe the
thread/name/set error
Expected Behavior
The companion script should use the supported API methods for the current Codex CLI version.
Workaround
Using the Codex CLI directly from the terminal works fine. Only the plugin integration is affected.
Description
The
codex-companion.mjsscript fails when used with Codex CLI v0.118.0 (installed viabrew install --cask codex).The companion script sends a
thread/name/setJSON-RPC method that is not recognized by the CLI.Error
Environment
Steps to Reproduce
brew install --cask codex/plugin marketplace add openai/codex-plugin-cc/codex:rescueor any task commandthread/name/seterrorExpected Behavior
The companion script should use the supported API methods for the current Codex CLI version.
Workaround
Using the Codex CLI directly from the terminal works fine. Only the plugin integration is affected.