Repository navigation
Conversation
OpenAI becomes a harness provider like Antigravity and Grok: each turn starts `codex app-server`, resumes the session's Codex thread, and streams Codex's messages and actions back as text and display rows. Codex owns its login, tools, prompts, caching and compaction; only the new part of the conversation is sent each turn. Plan maps to Codex's read-only sandbox with MCP servers off; other modes run with full access and no approvals. Claude's Edit/Write, WebSearch and MCP restrictions map onto Codex's sandbox and per-thread config. Models come from Codex's own model/list. Removes the direct Responses request path, the auth.json reader and refresher, the compatibility note, and the live tests that exercised them; adds test/live/native-codex.ts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HyhDzXWWMVs7Kg4sabsibe
Runs one real task in a copy of the checkout plus a resumed follow-up, and reports tokens, the cached share of input, and Codex quota before and after. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HyhDzXWWMVs7Kg4sabsibe
The response's standard usage carries only the last model call (Claude Code reads it as the context fill), and text after an action row arrives as the follow-up. Print the turn's summed usage and the full answer, and mark the free replay. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HyhDzXWWMVs7Kg4sabsibe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes?
OpenAI becomes a harness provider, like Antigravity and Grok. Each GPT turn (main model or
OpenAIworker) startscodex app-server, resumes that session's own Codex thread, and streams Codex's messages and actions back into Claude Code. Codex owns its login, tools, prompts, prompt caching and compaction; only the new part of the conversation is sent per turn.plugins/multi-openai/src/:app-server.ts(JSON-RPC client, one process per turn),harness.ts(on the sharedCliHarness),permissions.ts,progress.ts(Codex items → rows),request.ts,errors.ts. Models come from Codex'smodel/list; sign-in fromaccount/read; quota via the same client.approvalPolicy: never, no reviewer. Claude removing Edit+Write → read-only; WebSearch →web_search=disabled;mcp__server/mcp__server__tooldenials → that Codex server or tool off (only servers Codex actually has, read viaconfig/read). Shell and single Edit/Write removals have no Codex switch: one-line notice.runNativeCligains aconverseoption (line-by-line stdin) for the app-server; hooks table marksopenaias harness.auth.jsonreader/refresher, compatibility note, and the direct-OpenAI live tests (compaction, instructions, cache, auto-mode, permissions, model-gateway). Addednpm run test:live:codex.Validation
npm run checkpasses.npm run test:live:codexwritten, not yet run (needs a Codex login on the lab workstation).CHANGELOG.md.Smoke-tested in a signed-out container against Codex CLI 0.172: initialize → config/read → thread/start → turn/start → turn/completed round trip, thread resume, cancel (stops in ~2s), and a missing-thread error. Not run here: a real paid turn,
typecheck:mod(needs Claude Code's generated types), Windows.Review notes
~/.codex/multi-harness; Codex threads in$CODEX_HOME.devfor explicit testing before merge.Generated by Claude Code