Codex Provider
The Codex provider is the default and most feature-complete adapter. It shells out to the official @openai/codex CLI and translates Codex events into the Sidemesh provider contract.
Prerequisites
Section titled “Prerequisites”npm install -g @openai/codexcodex --versionSelect Codex during sidemesh setup or add it manually to ~/.sidemesh/config.json:
{ "providers": [ { "kind": "codex", "model": null, "profile": null, "approvalPolicy": "suggest" } ], "defaultProviderKind": "codex"}Capabilities
Section titled “Capabilities”Codex supports the full Sidemesh capability set:
- Sessions, input, interrupts
- Local images and image URLs
- Skills and model switching
- Reasoning effort control
- Compaction
- Approvals (command, file, permissions)
Events
Section titled “Events”The Codex adapter translates native Codex events into Sidemesh live events:
turn_startedassistant_deltaactivity_output_deltaactivity_terminal_inputaction_openedfs_changedturn_completed
Version
Section titled “Version”GET /api/node returns the Codex CLI version under providerVersion (and codexVersion for backward compatibility).