Apache-2.0 的 dsh 插件,通过 OAuth 登录把 ChatGPT Codex 模型接入 DeepSeek Harness——无需 OpenAI API 密钥。
DSH 适配
原生运行时
作者声明
安全审计
未审计
最后核验
2026-09-01
许可证
Apache-2.0
01它能帮你完成什么?
Run ChatGPT / Codex models inside DeepSeek Harness without an OpenAI Platform API key
A connected ChatGPT OAuth session plus the Codex GPT catalog (streaming, tool calls, reasoning replay, prompt caching, dsh compaction) through the normal LLM service
DeepSeek Harness (dsh) users with a ChatGPT subscription who want Codex models without buying OpenAI API access
Generate images from prompts inside DeepSeek Harness
An `imagegen` tool backed by `gpt-image-2`, with workspace or conversation reference images and automatic workspace output
dsh users who need image generation alongside code and chat
02如何接入 DeepSeek Harness?
前置条件
- DeepSeek Harness (dsh) installed with a profile — the install commands invoke the `dsh` CLI (`dsh plugin --profile web add dsh-codex`, then `dsh web`)
安装步骤
- 01
Install the prebuilt bundle from npm into the selected dsh profile: `dsh plugin --profile web add dsh-codex`
$ dsh plugin --profile web add dsh-codex
- 02
Start the web profile: `dsh web`
$ dsh web
- 03
From a DeepSeek Harness source checkout, use `pnpm dsh plugin --profile web add dsh-codex`
- 04
For local development, install a linked checkout with `link:/absolute/path/to/dsh-codex`
- 05
Sign in: open **Settings → OpenAI Codex → Sign in with ChatGPT**; the plugin completes OpenAI's localhost callback
验证接入成功
- The account page shows live Codex quota bars and exact remaining percentages
03DSH 适配与能力边界
Native dsh plugin bundle installed via `dsh plugin add`, extending the LLM service and dsh's web_search / read_image / paste-drop tools
ChatGPT OAuth sign-in
DeepSeek Harness Settings panel or a standalone CLI→ChatGPT OAuth session with automatic token refresh
Codex GPT catalog
ChatGPT account→Codex GPT model catalog, including vision-capable models when the account offers them
Streaming, tool calls & dsh compaction
normal LLM service requests→streaming, tool calls, reasoning replay, prompt caching, and dsh compaction
Codex web search
dsh's existing `web_search` tool→Codex standalone web search results
imagegen tool (gpt-image-2)
text prompts, with optional workspace or conversation reference images→generated images with automatic workspace output
04适合谁?何时不该用?
适合
- DeepSeek Harness (dsh) users with a ChatGPT subscription who want Codex models without buying OpenAI API access
- dsh users who need image generation alongside code and chat
不适合
- Uses only the ChatGPT Codex backend; it does not turn a ChatGPT subscription into a general-purpose OpenAI API credential (different from usage-based OpenAI API access).
05兼容性、维护与安全提示
- Uses only the ChatGPT Codex backend; it does not turn a ChatGPT subscription into a general-purpose OpenAI API credential (different from usage-based OpenAI API access).
- Exact credit balances or workspace limits appear only when the account API supplies them.
Apache-2.0 independent dsh bundle; no tagged GitHub release; last push 2026-08-20
06常见问题
使用 dsh-codex 需要 OpenAI Platform API 密钥吗?
不需要。dsh-codex 通过 OpenAI 的 Codex 登录流程使用你的 ChatGPT 订阅——无需 OpenAI Platform API 密钥,也无需修改 dsh 源码。它不会把订阅转化为通用 OpenAI API 凭据。
如何把 dsh-codex 安装到 DeepSeek Harness?
从 npm 安装预构建包到对应 dsh 配置:`dsh plugin --profile web add dsh-codex`,然后运行 `dsh web`。若从源码检出,可用 `pnpm dsh plugin --profile web add dsh-codex`;本地开发可用 `link:/absolute/path/to/dsh-codex` 链接本地目录。
如何登录 ChatGPT?
打开 设置 → OpenAI Codex → 用 ChatGPT 登录。插件会打开 OpenAI 授权页并完成本地回调;回环 Web 页面会被自动信任。登录后账户页会显示实时的 Codex 配额条。
dsh-codex 新增了哪些模型和功能?
新增 Codex GPT 模型目录(账户支持时含视觉模型)、流式输出、工具调用、推理回放、提示缓存、dsh 压缩、经 dsh web_search 的 Codex 联网搜索、为 read_image 增加的 HTTP(S) 图片输入、基于 gpt-image-2 的 imagegen 图像生成工具,以及通过 dsh 粘贴/拖放实现的浏览器图片输入。
ChatGPT 订阅和 OpenAI API 访问是一回事吗?
不是。ChatGPT 订阅认证与按量计费的 OpenAI API 访问是两种不同的产品。本插件仅使用 ChatGPT Codex 后端,不会把订阅转化为通用 OpenAI API 凭据。
07相关的 DSH 工作流
openviking
作者 volcengine
为 AI 智能体打造的自进化上下文数据库,统一智能体记忆、知识 RAG 与技能。
archify
作者 tt-a1i
为编码智能体生成美观可验证的架构图、时序图与数据流图,输出自包含 HTML,支持动效与清晰导出。
nocobase
作者 nocobase
开源的 AI + 无代码应用搭建平台:AI 在久经生产验证的底层基础设施与所见即所得的无代码界面之上工作,帮你快速构建 CRM、ERP 等业务系统,兼顾速度与可靠性。
learn-harness-engineering
作者 walkinglabs
Harness 工程新手教程,从 0 到 1 系统学习智能体工作流框架。
08数据与来源
`dsh-codex` is an independent dsh bundle. It adds:
streaming, tool calls, reasoning replay, prompt caching, and dsh compaction through the normal LLM service
页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-09-01。发现错误?提交更正。
最佳 DeepSeek Harness 插件
从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。
