Skip to content

Add Codex CLI interpreter provider - #881

Open
ch040602 wants to merge 1 commit into
obsidianmd:mainfrom
ch040602:feature/codex-cli-interpreter
Open

Add Codex CLI interpreter provider#881
ch040602 wants to merge 1 commit into
obsidianmd:mainfrom
ch040602:feature/codex-cli-interpreter

Conversation

@ch040602

@ch040602 ch040602 commented Jun 8, 2026

Copy link
Copy Markdown

Closes #880.

Summary

  • Adds Codex CLI as a local interpreter provider through browser Native Messaging.
  • Adds native host setup helpers for Windows, macOS, and Linux, plus a settings-panel connection test.
  • Supports existing prompt variables, including unquoted prompt syntax such as {{prompt:Return exactly OK.}}.
  • Adds optional visible-tab screenshot input for Codex CLI interpreter requests.
  • Falls back to an enabled interpreter model when the saved selected model is stale or empty.

Validation

  • npm test -- --run src/utils/interpreter-codex.test.ts src/utils/parser.test.ts
  • node native/test-codex-host.mjs
  • node native/test-codex-interpreter.mjs
  • npm run build:chrome

The native interpreter smoke test returned CODEX_UI_OK through the Codex CLI native host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Codex CLI as an interpreter provider

1 participant