通过本机 Codex App Server,将 OpenAI Codex(ChatGPT)作为可选 DSH Provider。
安装
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:seriousz158/dsh-codex-use#path:/packages/dsh-codex-appserver
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 README 只有英文版本。
DeepSeek Harness provider that talks to the local Codex CLI App Server over
stdio JSON-RPC. It exposes the provider id codex-chatgpt; the user must
select it explicitly, and the plugin never changes DSH's default provider.
Install
dsh plugin --profile web add github:seriousz158/dsh-codex-use#path:/packages/dsh-codex-appserver
The package declares both dsh.bundle and the web dsh.client manifest. The
bundle patch mounts the host provider; the client manifest injects the UI.
Compatibility
- Node.js
>=22 - DSH
>=0.1.0-rc.7 <0.1.1-0 || >=0.1.1-rc.0 <0.2.0-0(verified on0.1.0-rc.7and0.1.1-rc.2) - Codex CLI
0.149.0App Server protocol generated with--experimental - Codex CLI
0.144.1is retained only as a historical replay fixture
Release 0.2.5 supports Codex CLI 0.149.0 only. Other versions fail closed
with protocol-mismatch. This project is distributed through GitHub source
installs and GitHub Releases; it is not published to npm.
The injectMemory setting remains fail-closed for this protocol generation:
turns refuse to start with protocol-error when it is explicitly enabled. The
adapter never promotes memory to developerInstructions and never sends an
unsupported context field.
The standalone doctor is metadata-only by default:
node tools/codex-appserver-doctor.mjs --json
node tools/codex-appserver-doctor.mjs --json --live
The browser half exposes a revision-fenced settings.plugin.item card. The
quota row remains in settings.general.item; Fast Mode is schema-gated and
depends on upstream service-tier support, while local images are read only through
DSH attachments. OAuth and remote search are
separate routes (dsh-codex-search is disabled by default).
The repository root contains the full installation guide, tests, security boundary, and legacy manual-installer migration instructions.
链接
同类插件
V1ki/dsh-plugin-subscriptions★ 422
把 ChatGPT(Codex)、Claude、Grok 订阅当作 DeepSeek Harness 的 LLM 提供方:设置页登录、模型目录、用量展示,以及 image_generate、video_generate 与 x_search 工具。
Mars-Sea/dsh-commandcode-provider★ 370
非官方 Command Code 模型接入插件:注册 `commandcode` 路由,带实时模型目录与推理强度支持。
corrinehu/dsh-workbuddy-connect★ 303
将 WorkBuddy 桌面 App 包含的模型自动接入 DeepSeek Harness,在 DSH 对话窗口里零配置使用。
cv-superding/dsh-deepseek-web-login★ 230
新增 deepseek-web provider,把 chat.deepseek.com 网页端模型接入 DSH:浏览器登录抓取、PoW 请求签名、SSE 流式传输与基于提示词的工具调用。
FishBottle7/opencode2dsh★ 143
将 OpenCode Zen 免费模型接入 DeepSeek Harness,无需 API Key。
WSL043/dsh-codex-subscription★ 142
通过 ChatGPT OAuth 在 DSH 中使用 Codex 模型,提供订阅联网搜索、额度与安全重置、图片工具、高速模式和模型感知上下文;无需 API Key 或 Codex CLI。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。