Skip to content

companion script fails with 'unknown variant thread/name/set' on Codex CLI 0.118.0 #119

@NicoValentine7

Description

@NicoValentine7

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

  1. Install Codex CLI v0.118.0 via brew install --cask codex
  2. Install codex-plugin-cc via /plugin marketplace add openai/codex-plugin-cc
  3. Run /codex:rescue or any task command
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions