[codex] 修复 Coding Agents 的 Codex 启动和代理隔离 (#1123)

* feat: add coding agent install status

* chore: add latest claude opus model preset

* feat: add coding agent config editing

* Add scoped coding agent launch proxy

* Add Codex proxy plan

* fix coding agents codex launch proxy

* fix codex catalog context test

---------

Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
ekko
2026-05-29 19:06:54 +08:00
committed by GitHub
parent 717f577380
commit 285f623d6f
20 changed files with 5158 additions and 4 deletions
+77
View File
@@ -138,6 +138,7 @@ export default {
groupMonitoringShort: 'Mon',
groupTools: 'Tools',
groupToolsShort: "Tools",
codingAgents: "Coding Agents",
versionPreview: "Version Preview",
settings: 'Settings',
connected: 'Connected',
@@ -1065,6 +1066,82 @@ export default {
stopSuccess: "Preview stopped",
},
codingAgents: {
title: "Coding Agents",
notice: "Unified setup checklist for coding CLIs that Hermes can delegate to through terminal or provider flows.",
claudeDescription: "Anthropic CLI for one-shot print mode and interactive coding sessions.",
codexDescription: "OpenAI CLI and Hermes openai-codex provider flow for repository tasks.",
copyCommand: "Copy",
commandCopied: "Command copied",
commandCopyFailed: "Copy failed",
refresh: "Refresh",
checking: "Checking",
installStatus: "Install status",
installed: "Installed",
notInstalled: "Not installed",
installNow: "Install",
installing: "Installing",
installSuccess: "Installed",
installFailed: "Install failed",
deleteNow: "Delete",
deleting: "Deleting",
deleteSuccess: "Deleted",
deleteFailed: "Delete failed",
configFiles: "Config files",
profileScope: "Profile",
providerScope: "Provider",
providerPlaceholder: "e.g. custom:glm",
modelScope: "Model",
modelPlaceholder: "Select model",
launchModeScope: "Launch mode",
launchModeGlobal: "Global config",
launchModeScoped: "Provider and model",
protocolScope: "Protocol",
protocolOpenAiChat: "OpenAI Chat Completions (/v1/chat/completions)",
protocolOpenAiResponses: "OpenAI Responses (/v1/responses)",
protocolAnthropicMessages: "Anthropic Messages (/v1/messages)",
reloadConfig: "Reload config",
configFileNotCreated: "Not created",
configLoadFailed: "Failed to read config file",
loadFailed: "Failed to inspect coding agents",
launch: "Launch",
launchTitle: "Launch Coding Agent",
nativeTerminal: "Native Terminal",
builtInTerminal: "Built-in Terminal",
launchPrepared: "Launch config prepared",
launchPrepareFailed: "Failed to prepare launch config",
nativeLaunchStarted: "Native terminal opened",
nativeLaunchFailed: "Failed to open native terminal",
terminalTitle: "Coding Agent Terminal",
loadProvidersFailed: "Failed to load providers for the current profile",
selectProviderModel: "Select a provider and model",
launchConfigDir: "Launch config directory",
launchCommand: "Launch command",
table: {
tool: "Tool",
kind: "Step",
command: "Command",
note: "Note",
action: "Action",
},
kinds: {
install: "Install",
auth: "Auth",
health: "Health",
run: "Run",
},
notes: {
claudeInstall: "Installs the Claude Code CLI globally.",
codexInstall: "Installs the Codex CLI globally.",
claudeAuth: "Checks Claude Code login state; run claude once if login is missing.",
codexAuth: "Adds Hermes-managed OpenAI Codex OAuth credentials.",
claudeHealth: "Checks updater and local CLI health.",
codexHealth: "Confirms the Codex CLI is available on PATH.",
claudeRun: "Print mode is the cleanest path for API-driven one-shot tasks.",
codexRun: "Codex one-shot tasks must run inside a git repository.",
},
},
// Platform channel settings
platform: {
requireMention: "Require {'@'}Mention",
+77
View File
@@ -138,6 +138,7 @@ export default {
groupMonitoringShort: '监控',
groupTools: '工具',
groupToolsShort: "工具",
codingAgents: "编程工具",
versionPreview: "版本预览",
settings: '设置',
connected: '已连接',
@@ -1057,6 +1058,82 @@ export default {
stopSuccess: "预览已停止",
},
codingAgents: {
title: "编程工具",
notice: "统一展示 Hermes 可通过终端或 provider 流程委托的编程 CLI 配置清单。",
claudeDescription: "Anthropic CLI,适合 print mode 单次任务和交互式编程会话。",
codexDescription: "OpenAI CLI,以及 Hermes openai-codex provider 的仓库任务流程。",
copyCommand: "复制",
commandCopied: "命令已复制",
commandCopyFailed: "复制失败",
refresh: "刷新",
checking: "检测中",
installStatus: "安装情况",
installed: "已安装",
notInstalled: "未安装",
installNow: "一键安装",
installing: "安装中",
installSuccess: "安装完成",
installFailed: "安装失败",
deleteNow: "删除",
deleting: "删除中",
deleteSuccess: "删除完成",
deleteFailed: "删除失败",
configFiles: "配置文件",
profileScope: "Profile",
providerScope: "Provider",
providerPlaceholder: "例如 custom:glm",
modelScope: "模型",
modelPlaceholder: "选择模型",
launchModeScope: "启动方式",
launchModeGlobal: "全局默认配置",
launchModeScoped: "选择 Provider 和模型",
protocolScope: "协议",
protocolOpenAiChat: "OpenAI Chat Completions (/v1/chat/completions)",
protocolOpenAiResponses: "OpenAI Responses (/v1/responses)",
protocolAnthropicMessages: "Anthropic Messages (/v1/messages)",
reloadConfig: "重新读取配置",
configFileNotCreated: "未创建",
configLoadFailed: "读取配置文件失败",
loadFailed: "检测编程工具失败",
launch: "启动",
launchTitle: "启动编程工具",
nativeTerminal: "原生终端",
builtInTerminal: "内置终端",
launchPrepared: "启动配置已生成",
launchPrepareFailed: "生成启动配置失败",
nativeLaunchStarted: "已打开原生终端",
nativeLaunchFailed: "打开原生终端失败",
terminalTitle: "编程工具终端",
loadProvidersFailed: "读取当前 Profile 的 Provider 失败",
selectProviderModel: "请选择 Provider 和模型",
launchConfigDir: "启动配置目录",
launchCommand: "启动命令",
table: {
tool: "工具",
kind: "步骤",
command: "命令",
note: "说明",
action: "操作",
},
kinds: {
install: "安装",
auth: "认证",
health: "检查",
run: "运行",
},
notes: {
claudeInstall: "全局安装 Claude Code CLI。",
codexInstall: "全局安装 Codex CLI。",
claudeAuth: "检查 Claude Code 登录状态;未登录时先运行 claude。",
codexAuth: "添加 Hermes 管理的 OpenAI Codex OAuth 凭证。",
claudeHealth: "检查自动更新器和本地 CLI 健康状态。",
codexHealth: "确认 Codex CLI 已在 PATH 中可用。",
claudeRun: "Print mode 最适合 API 驱动的单次任务。",
codexRun: "Codex 单次任务需要在 git 仓库中运行。",
},
},
// 平台频道设置
platform: {
requireMention: "需要 {'@'}提及",