codex-dsh-bridge
Codex to DeepSeek Harness bridge: an MCP endpoint hosted inside the running DSH web profile that creates and drives real, visible DSH sessions.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:journ10/codex-dsh-bridge说明文档
阅读完整 README ↗插件配置
默认配置在 cordis.patch.yml。用户可在自己的 Web profile patch 中覆盖同一插件行,保留所需配置字段;DSH patch 会替换整段 config,不是深度合并。
| 字段 | 默认值 | 含义 |
|---|---|---|
path | /codex-dsh | MCP 路由,以 / 开头且不以 / 结尾 |
token | 未指定 | 显式 bearer token;省略则读取 tokenFile |
tokenFile | $DSH_HOME/codex-dsh-bridge.token | 本机令牌文件 |
allowedHosts | [] | 除回环名称外额外允许的 HTTP Host 值 |
agentPreset | DSH 默认 | 新建会话使用的 agent preset |
defaultTimeoutMs | 600000 | 工具未指定超时时的等待时长 |
路由挂在 DSH Web server 上,位于 /api 浏览器鉴权路径之外,独立检查 Host 和 bearer token。Host 校验针对请求头,不是 TCP 来源地址限制;不要把它当作防火墙或远程部署方案。令牌持有者可以调用桥暴露的会话工具。