D
dsh-codex-keychain
v0.1.0-alpha.1 · 2 天前发布
Unofficial ChatGPT OAuth provider for DeepSeek Harness with strict native OS keychain storage
README
dsh-codex-keychain
这是一个独立、非官方的 DeepSeek Harness
ChatGPT OAuth 插件。它注册 openai-codex 模型路由,并把完整 OAuth 凭据严格保存到操作系统原生凭据库:
它不需要 OpenAI Platform API key,不会降级到普通凭据文件,也不会读取或修改~/.codex/auth.json。
[!IMPORTANT]
ChatGPT 订阅与 OpenAI Platform API 是不同产品。本插件只连接符合条件的 ChatGPT
账户所能使用的 Codex 后端,不代表 OpenAI 或 DeepSeek 官方产品。
当前状态
0.1.0-alpha.1 是开发者预览版,初始兼容目标为 DeepSeek Harness0.1.0-rc.6 与 @earendil-works/pi-ai 0.82.1。
安装
sh
dsh plugin --profile web add dsh-codex-keychain@next
dsh web
打开 设置 → OpenAI Codex,点击 使用浏览器登录,再点击 打开授权页面
并完成 OpenAI 授权。插件不会修改默认模型;登录后请在 DSH 模型选择器中手动选择openai-codex 模型。
无界面服务器或本地回调端口不可用时,使用设备码:
```sh
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-codex-keychain
- Repo
- git+https://github.com/CpfPatrick/dsh-codex-keychain.git
- Engines
{"node":"^22.19.0 || >=24.0.0"}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-settings"],"platform":"web"}}