在 DSH 内运行 Codex,模型上下文、工具状态与压缩仍由 App Server 管理。
DSH 适配
原生运行时
作者声明
安全审计
未审计
最后核验
2026-10-17
许可证
MIT
01它能帮你完成什么?
在官方 DSH 内使用 Codex。
一个绑定持久 Codex App Server Thread 的 DSH 对话。
希望在同一工作区和对话界面使用 Codex 的 DSH 用户。
02如何接入 DeepSeek Harness?
前置条件
- Node.js 22.13 或更新版本,并确保 PATH 可找到 pnpm。
- 首次会话前通过官方 Codex 客户端认证;CLI 用户可运行 `codex login`。
安装步骤
- 01
修改 profile bundle 前,先停止运行中的 DSH Web。
- 02
安装稳定包:`npx @deepseek-ai/dsh@0.1.6-alpha.1 plugin --profile web add relay-dsh-plugin-codex@latest`。
$ npx @deepseek-ai/dsh@0.1.6-alpha.1 plugin --profile web add relay-dsh-plugin-codex@latest
- 03
重启 DSH,打开 New Session、选择工作区,在首条消息前选择 Codex。
验证接入成功
- 确认新会话模式菜单出现 Codex,然后发送消息。
回滚
- 停止 DSH Web,运行 `dsh plugin --profile web remove relay-dsh-plugin-codex`,然后重启。
03DSH 适配与能力边界
将 Codex 作为官方 DSH Web 原生对话后端。
持久 Codex 对话
每个 DSH 会话对应一个 App Server Thread,支持模型、推理强度选择与流式回答。
宿主管理运行时
DSH Host 插件管理 Codex App Server 子进程,并在 DSH 或插件关闭时停止。
启动 Codex App Server 子进程。
04适合谁?何时不该用?
适合
- 希望在同一工作区和对话界面使用 Codex 的 DSH 用户。
不适合
- 模型上下文、工具状态和压缩以 Codex App Server 为准;DSH 保存展示历史与一对一绑定。
- 一个 Thread 只允许一个 App Server 写入;另一客户端占用时,继续对话可能需要完全退出或重启占用客户端。
05兼容性、维护与安全提示
- 模型上下文、工具状态和压缩以 Codex App Server 为准;DSH 保存展示历史与一对一绑定。
- 一个 Thread 只允许一个 App Server 写入;另一客户端占用时,继续对话可能需要完全退出或重启占用客户端。
仅整理作者 README 声明,未做运行实测。
06常见问题
仍然需要 Codex 认证吗?
需要;首次会话前用官方 Codex 客户端认证,CLI 用户可运行 codex login。
谁管理上下文与压缩?
以 Codex App Server 为准;DSH 保存展示历史和持久一对一绑定。
两个客户端可以同时写一个 Thread 吗?
不能;一个 Thread 只允许一个 App Server 写入。
07相关的 DSH 工作流
dsh-our-free-model
作者 ebony-vinyl
在 dsh 里装上这个插件即可,无需登录、注册或填 API Key,就能使用包括 DeepSeek V4.1 Flash、Kimi K3 在内的前沿模型——完全免费,不限量。 All you do is install this plugin in dsh: no login, no sign-up, no API key — the frontier models are just there, DeepSeek V4.1 Flash and Kimi K3 among them. Completely free, with no usage cap.
dsh-routing-suite
作者 yjh051108
DeepSeek Harness(dsh)路由套件:先装运行时注入器,再加载任务感知的推理模式路由预设(已实测 P1-P23)。
dsh-ops
作者 t-auto
A toolkit for low-level operations in DSH, designed to reduce token usage and task execution time / DSH 底层操作工具插件,旨在减少 Token 消耗与任务耗时
brooks-lint
作者 hyhmrright
基于 12 本经典工程书籍的 AI 代码评审工具,提供腐化风险诊断、书籍引用、严重度标签及 6 种分析模式。
08数据与来源
`relay-dsh-plugin-codex` adds **Codex as a native conversation backend** to the official [DeepSeek Harness](https://gith…
[](LICENSE)
页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-10-17。发现错误?提交更正。
最佳 DeepSeek Harness 插件
从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。
