Skip to content

Add direct Codex runtime - #1111

Merged
chen-ran merged 1 commit into
stack/external-agent-architecturefrom
stack/codex-direct-runtime
Sep 1, 2026
Merged

Add direct Codex runtime#1111
chen-ran merged 1 commit into
stack/external-agent-architecturefrom
stack/codex-direct-runtime

Conversation

@akazwz

@akazwz akazwz commented Aug 31, 2026

Copy link
Copy Markdown
Member

变更内容

  • 新增基于 Codex app-server v2 的 direct runtime,不再通过 ACP wrapper 启动 Codex。
  • 接入 ChatGPT/API Key 认证、线程创建与恢复、模型目录、工具审批、MCP 工具和原生 Request User Input。
  • 固定 Codex CLI 0.151 协议快照,并提供 schema 同步和 Go 代码生成命令。
  • 增加 Codex 认证 HTTP 接口;对应 OpenAPI/SDK 生成结果与 Web 调用方一起放在 stack 顶层集成 PR。

PR 边界

本 PR 只包含 Codex runtime 和服务端入口。Claude Code、统一 Web/SDK 入口以及同时迁移两类存量 ACP Agent 的数据库迁移位于 stack 顶层 PR。

验证

  • 独立分支执行 go test ./... 通过。
  • 重新生成 Codex 协议后 Git diff 为空。
  • schema 同步脚本通过 shell 语法检查。

人工 QA 说明:这是 stack 中间层,无法独立走完整产品 happy path;三层组合后的最终 tree 已在 #1112 完成人工 QA。

⚠️ No human QA — this PR has not been verified by a human yet. Remove this line once a human confirms the happy path.

@akazwz
akazwz requested review from a team as code owners August 31, 2026 05:08
@akazwz akazwz changed the title feat(agent): add direct Codex runtime Add direct Codex runtime Aug 31, 2026
@akazwz
akazwz requested review from a team as code owners August 31, 2026 05:11
@akazwz
akazwz force-pushed the stack/codex-direct-runtime branch 2 times, most recently from 197ef14 to 257a80a Compare August 31, 2026 05:14
@akazwz
akazwz force-pushed the stack/codex-direct-runtime branch from 257a80a to aa96c67 Compare August 31, 2026 05:20
@akazwz
akazwz force-pushed the stack/codex-direct-runtime branch from aa96c67 to f549fbd Compare August 31, 2026 06:11
@akazwz
akazwz force-pushed the stack/codex-direct-runtime branch from f549fbd to 2e3a9de Compare August 31, 2026 09:29
@akazwz
akazwz force-pushed the stack/codex-direct-runtime branch 2 times, most recently from 59b99fe to a1c2bad Compare August 31, 2026 13:34
@chen-ran
chen-ran force-pushed the stack/codex-direct-runtime branch from a1c2bad to bf6402f Compare September 1, 2026 19:55
@chen-ran
chen-ran merged commit f0142c0 into main Sep 1, 2026
14 of 23 checks passed
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.

2 participants