feat(mcp): external agent connect UI + Codex model defaults - #98
Open
Alphaxiaoteng wants to merge 1 commit into
Open
feat(mcp): external agent connect UI + Codex model defaults#98Alphaxiaoteng wants to merge 1 commit into
Alphaxiaoteng wants to merge 1 commit into
Conversation
- McpGuide: redesigned dialog with official client logos and one-click 'connect' buttons (Claude Code / Codex / Cursor / Antigravity) - server: POST /api/external-agent/connect-client writes client MCP configs (idempotent, atomic, token validation), with verification script - codex: seed system auth credentials into the isolated CODEX_HOME so the Codex CLI talks to OpenAI without 401 - model-selection: Codex official models expand into the composer picker; persisted preference wins over snapshot default; composer defaults to Codex (MCP backend) when no model was pinned; BytePlus/API models are hidden from the picker while Codex is available - composer: drop the Q&A (ask) mode option; show Codex logo in the corner model button - 404 handling: server run abandon/protocol/stream lifecycle no longer warn on stale runs after server restart - mcp.verify: await editor registration and raise notify timeout to 30s
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.
摘要
外部 Agent(Claude Code / Codex / Cursor / Antigravity)通过 MCP 接入 OpenChatCut,并提供一键「连接」配置 UI;同时把编辑器左下角模型默认切到 Codex(MCP 后端),移除 BytePlus/API 模型在下拉中的显示与 Q&A (ask) 模式选项。
截图
左下角(模型默认 Codex + Agent 模式):
MCP 设置配置 UI(4 客户端一键连接):
改动
POST /api/external-agent/connect-client幂等写入客户端配置~/.codex/auth.json播种到隔离 CODEX_HOME(copy-once、0600)测试
npm test全绿(exit=0,104 段)list_projects返回真实项目;Claude Code / Cursor 协议握手 + tools/list 全流程通过;三客户端配置文件均正确写入