DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
C

dsh-chatgpt-subscription

Chatgpt Subscription

使用您的 ChatGPT 账户登录,以便在 DSH 中使用 ChatGPT 模型。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:songoao25/dsh-chatgpt-subscription#e4ab0cd682493e52c44c0cf56999a58cb1529a13
README兼容性版本

兼容性与来源证明

Chatgpt Subscription 以 dsh-chatgpt-subscription 发布,当前版本为 0.3.3。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.3.3stable
2026/9/24
0.3.0stable
2026/9/24
0.2.2stable
2026/9/22
查看其余 2 个版本收起版本
0.2.1stable
2026/9/16
0.2.0stable
2026/8/20

相关插件

正在加载相关插件…

最新版
0.3.3
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

继续浏览 security-access 分类下经过校验的插件。

Experimental Auto Review@deepseek-ai/dsh-experimental-auto-review针对每个工具的 LLM 授权审查,适用于 DeepSeek Harness Auto 权限预设Cc Safety Netcc-safety-net编码代理 CLI 钩子——阻止破坏性命令和访问机密文件Doctor@linxin666/dsh-doctorDSH 配置档案的事务性救援模式,配备受监督的启动器、隔离的恢复容器、确定性修复、健康监控以及本地 Web 恢复控制台Pocketdsh-pocket把 DeepSeek Harness 装进你的口袋:一个包、一个设置页,手机扫码即同步访问电脑上的 DSH(局域网 + 公网,实时同屏)。

README

ChatGPT Subscription

English | 中文

A DeepSeek Harness plugin: sign in with your ChatGPT account through OpenAI's official OAuth flow, then use ChatGPT models inside DSH. Model calls use your ChatGPT Plus / Pro subscription quota.

Official sign-in — Open Plugins, then ChatGPT Subscription, and click Sign in with ChatGPT. Approve in the browser and the account is bound. No API keys, no config files.

Features

  • Official OAuth binding — Full PKCE + state flow against auth.openai.com, the same official mechanism used by Codex CLI and OpenCode. Your tokens are exchanged directly with OpenAI; the plugin never sees or stores your password.
  • Strict official mode — Only an authorization completed through this plugin's page counts as bound. Your existing codex CLI login is left alone and is never silently reused.
  • ChatGPT models in DSH — After binding, ChatGPT models (e.g. gpt-5.6-terra, gpt-5.5, gpt-5.4) appear in the DSH model switcher as provider ChatGPT. Selecting one talks to ChatGPT directly and consumes your subscription quota.
  • Token guardian — The access token is auto-refreshed before expiry (JWT-aware, refresh threshold 45 min) and injected into DSH credentials. Runs once at startup and every 30 minutes; on failure it keeps the last known good state instead of crashing.
  • Status page — The plugin page shows the bound account, sign-in validity and time remaining, with Sign in with ChatGPT / Sign in again / Unbind actions.
  • Companion to Bottom Info Bar — This plugin owns binding and token maintenance; the Bottom Info Bar reads the token to display your ChatGPT quota (5-hour / weekly / monthly windows and reset times). You can use this plugin without the info bar, but the info bar's ChatGPT quota display requires this plugin.

Requirements

  • DeepSeek Harness — the desktop app or a CLI profile with the web interface (dsh web)
  • pnpm (used by dsh plugin and by the plugin page's install box)
  • A ChatGPT Plus or Pro subscription (or a plan that includes Codex quota)

Installation

Option 1 — Install inside DSH: Plugins → Add plugin (works in the desktop app)

Open Plugins → Add plugin and paste this repository address into the "package name or address" box:

https://github.com/SONGOAO25/dsh-chatgpt-subscription

The package lives at the repository root and lib/ is committed, so installing by address runs no build step and asks for no build-script approval. The same box also accepts an absolute path to a checkout of this repository (for development).

This plugin is not published to npm, so the package name itself does not resolve there: entering dsh-chatgpt-subscription in that box reports no matching plugin. Always use the repository address above.

This is the way to install in the desktop app: DSH manages its desktop profile itself and the CLI rejects dsh plugin --profile desktop, so the plugin page is the only install path there.

Then restart DSH — plugins are composed when the host process starts, so a page refresh is not enough.

Option 2 — dsh plugin on the command line

Use the profile you actually boot (dsh web boots the web profile):

# follow the repository's default branch (no build runs; lib/ is committed)
dsh plugin --profile web add https://github.com/SONGOAO25/dsh-chatgpt-subscription

There is no package name to add here — this plugin is not published to npm, so a package-name lookup reports no matching plugin.

--profile desktop is refused by design — that profile belongs to the desktop app. Install through Plugins → Add plugin there instead.

Option 3 — One-command script (a link: install)

For development, or to run unreleased code:

git clone https://github.com/SONGOAO25/dsh-chatgpt-subscription.git
cd dsh-chatgpt-subscription
./install.sh                # installs to the "web" profile; use --profile <name> to override

A link: install tracks your checkout rather than the repository's default branch — see Updating.

Install with the repository address: this plugin is not on npm, so a package-name lookup reports no matching plugin every time.

After installing, open Plugins → ChatGPT Subscription. See docs/INSTALL.md for the full install, update and troubleshooting guide.

Usage

  1. Restart DSH, then open Plugins and click ChatGPT Subscription.
  2. Click Sign in with ChatGPT — your browser opens the official OpenAI sign-in page.
  3. Sign in with your ChatGPT account and approve. The page shows Connected when done.
  4. Open a new conversation, switch the model to a ChatGPT model (provider ChatGPT, e.g. gpt-5.6-terra) and chat — usage counts against your subscription.

If the browser tab doesn't open automatically, the page also calls window.open as a fallback; allow pop-ups for DSH if prompted.

Updating

How you installedHow to update
Repository address (plugin page or CLI)run the same address install again, then restart DSH
link: — one-command script or a local checkoutgit -C <repo> fetch origin && git -C <repo> merge --ff-only origin/main && node <repo>/scripts/build.mjs, then restart DSH

Updating is manual — nothing changes on disk until you run the command. Details: docs/INSTALL.md.

Security

  • Tokens are stored only in ~/.codex/auth.json (0600, the standard location shared with Codex CLI) and in DSH's credential store — never in logs, never in this repository.
  • The local OAuth callback server binds 127.0.0.1 only, validates state (CSRF protection), and times out after 5 minutes.
  • Unbinding removes the binding flag and the injected credential, but keeps ~/.codex/auth.json untouched — your Codex CLI login stays intact.
  • Zero runtime dependencies (only react as a peer for the client half); no network calls except the official OpenAI endpoints.

Uninstall

In the desktop app, remove the plugin from Plugins. On the CLI:

cd dsh-chatgpt-subscription
./uninstall.sh              # removes the plugin and the injected route/credential

Uninstall keeps ~/.codex/auth.json (your Codex CLI login) and only cleans what this plugin added: the binding flag, the openai-codex provider route, and the OPENAI_CODEX_API_KEY credential.

FAQ

Q: How do I install this on the desktop app? Open Plugins → Add plugin and paste https://github.com/SONGOAO25/dsh-chatgpt-subscription. The desktop app manages its own desktop profile, so dsh plugin --profile desktop is refused — the plugin page is the way in.

Q: The plugin page asks me to approve a build script. The installed manifest declares an install-time script (prepare / prepack). This repository's manifest keeps only prepublishOnly, so installing by the current repository address runs no build and asks for no approval — reinstall from the latest commit's address.

Q: Is this on npm? No. The plugin is distributed from this repository only — install it by repository address, in the plugin page or with dsh plugin add. The name in package.json is the DSH module name, not a published npm package.

Q: Do I need a ChatGPT Plus subscription? Yes — the plugin connects your ChatGPT account; chatting with ChatGPT models consumes your subscription quota (models available depend on your plan, e.g. gpt-5.3-codex-spark requires a higher plan).

Q: Does this share my tokens? No. Everything happens between your machine and auth.openai.com / chatgpt.com. Tokens never leave your machine and are never logged.

Q: What if the token expires? The plugin refreshes it before expiry. If the refresh fails (for example the sign-in was revoked), the plugin page says what happened.

Q: Does this affect my Codex CLI login? No. The plugin writes to the same standard ~/.codex/auth.json location and preserves its structure; unbinding doesn't delete it.

Q: Can I see my quota? Install the companion Bottom Info Bar plugin — it reads the token this plugin maintains and displays your ChatGPT quota (remaining percent and reset time) in the bottom info bar.

License

MIT © 2026 SONGOAO25