在 DSH 中使用你的 ChatGPT/Codex 订阅,并支持图像生成和 Web 搜索。
安装
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:Eve-146T/DSH-CODEX-SUBSCRIPTION-POOL
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。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 只有英文版本。
OpenAI Codex Plugin for the DeepSeek Harness
Lets you manage your pool of OpenAI subscriptions in DSH.
Features
- Multi-account OpenAI Codex OAuth and usage controls
- Web search and image generation
- Chinese UI follows the language selected in DSH
- Model identity and routing guidance for agents
- The official OpenAI Docs skill, vendored from openai/skills
The plugin adds a durable runtime-context snapshot that tells an agent its
active provider/model, the models advertised by the openai-codex adapter,
what Sol, Terra, and Luna are for, and which orchestration tools accept an
explicit model. DSH writes this snapshot at session start and replaces it only
when the active model or advertised catalogue changes; it is not repeated on
every request.
Install the DeepSeek Harness Codex plugin
Add it to your DSH Web profile:
dsh plugin --profile web add github:Eve-146T/DSH-CODEX-SUBSCRIPTION-POOL
Tutorial
# install the plugin
dsh plugin --profile web add github:Eve-146T/DSH-CODEX-SUBSCRIPTION-POOL
# restart dsh
dsh --profile web
Then:
- Open Settings
- Click OpenAI Codex in the sidebar and login
- Choose OpenAI Codex as the provider in the Models tab
The optional model filter recognizes GPT-6 and Astra rollout entries while keeping the current model selection unchanged.
Development
pnpm install
pnpm run build
pnpm test
dsh plugin --profile web add ./openai-codex-auth
License
This project is distributed under GPL-3.0-only. The vendored OpenAI Docs skill retains its upstream license.
链接
同类插件
V1ki/dsh-plugin-subscriptions★ 409
把 ChatGPT(Codex)、Claude、Grok 订阅当作 DeepSeek Harness 的 LLM 提供方:设置页登录、模型目录、用量展示,以及 image_generate、video_generate 与 x_search 工具。
Mars-Sea/dsh-commandcode-provider★ 354
非官方 Command Code 模型接入插件:注册 `commandcode` 路由,带实时模型目录与推理强度支持。
corrinehu/dsh-workbuddy-connect★ 250
将 WorkBuddy 桌面 App 包含的模型自动接入 DeepSeek Harness,在 DSH 对话窗口里零配置使用。
cv-superding/dsh-deepseek-web-login★ 196
新增 deepseek-web provider,把 chat.deepseek.com 网页端模型接入 DSH:浏览器登录抓取、PoW 请求签名、SSE 流式传输与基于提示词的工具调用。
volcengine/ark-cli#ark-plan-api★ 141
在 DSH 原生模型选择器中注册方舟 Agent Plan、Coding Plan 与后付费模型路由。
franksong2702/dsh-codex-connect★ 132
通过 ChatGPT OAuth 将 OpenAI Codex 模型接入 DeepSeek Harness,并提供可选的搜索与图片工具。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。