DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Codex Oauth — DeepSeek Harness 插件(DSH Plugin)
← Plugins

dsh-codex-oauth

Codex Oauth

通过独立 OAuth 在 DeepSeek Harness 中使用 ChatGPT Codex 订阅

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-codex-oauth@0.2.8
README兼容性版本

兼容性与来源证明

Codex Oauth 以 dsh-codex-oauth 发布,当前版本为 0.2.8。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.2.8stable
2026/9/2
0.2.7stable
2026/8/18
0.2.6stable
2026/8/15
查看其余 7 个版本收起版本
0.2.5stable
2026/8/15
0.2.4stable
2026/8/15
0.2.3stable
2026/8/15
0.2.2stable
2026/8/15
0.2.1stable
2026/8/15
0.2.0stable
2026/8/15
0.1.1stable
2026/8/15
最新版
0.2.8
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 2
周下载
182
安全扫描
✓ v0.2.8 扫描通过
最近提交
2026/9/3
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

README

dsh-codex-oauth

English | 中文

A standalone DeepSeek Harness plugin for using ChatGPT Plus/Pro Codex models through OpenAI's Codex OAuth flow.

It uses the official openaiCodexProvider from @earendil-works/pi-ai and DSH's public dsh-llm-pi-ai adapter. It supports streaming, tool calls, reasoning, images, replay, compaction, automatic token refresh, and the Codex model catalog.

This is the ChatGPT Codex backend, not a general OpenAI Platform API-key adapter.

Install

dsh plugin --profile web add dsh-codex-oauth
dsh web

For an npx installation:

npx @deepseek-ai/dsh plugin --profile web add dsh-codex-oauth
npx @deepseek-ai/dsh web

Sign in

The plugin owns its own credential file and login flow. No Pi installation or token copying is needed.

Web UI

Open Settings → OpenAI Codex and click Sign in with ChatGPT. A browser window opens for the OAuth approval; after it completes, return to DSH and select openai-codex in the model picker.

CLI

dsh plugin --profile web exec dsh-openai-codex login
# headless machines:
dsh plugin --profile web exec dsh-openai-codex login --device-code

dsh plugin --profile web exec dsh-openai-codex status
dsh plugin --profile web exec dsh-openai-codex logout

The browser login opens OpenAI's authorization page and completes through a localhost callback. --device-code is the fallback for machines without a usable browser.

After signing in, choose openai-codex in the DSH model picker.

Credentials

Credentials are stored at:

$DSH_HOME/.openai-codex-auth.json

The default is ~/.dsh/.openai-codex-auth.json. The file is written atomically with owner-only permissions, and refresh/login/logout operations use a cross-process file lock. The plugin never reads or modifies ~/.pi/agent/auth.json or ~/.codex/auth.json.

Development

npm test

npm test rebuilds the Web bundle before running the smoke checks.

The test requires the DSH and pi-ai peer dependencies supplied by a DSH profile.

Limitations

  • ChatGPT plan eligibility, model access, quotas, and backend behavior are controlled by OpenAI and may change.
  • Codex endpoints are not public OpenAI Platform API endpoints.
  • Filesystem, shell, MCP, permissions, attachments, and other DSH capabilities come from the active profile.

License

MIT