kinoward/dsh-plugin-subhub
Bring third-party subscription accounts into DeepSeek Harness - 为 DeepSeek Harness 接入第三方订阅账户(当前支持 OpenAI / ChatGPT 订阅,更多订阅服务规划中)
已收录
4
Model
Bundle 已验证
预览
功能介绍
用第三方订阅账户在 DeepSeek Harness 中使用订阅覆盖的模型:文字对话、图片理解、图片生成与图片编辑,可用模型与推理等级随账户自动同步;当前支持 OpenAI / ChatGPT 订阅,更多订阅服务规划中。
适合
- 希望在 DSH 中使用订阅覆盖模型的 ChatGPT 订阅用户。
- 涉及文字对话、图片理解、图片生成或图片编辑的多模态会话。
- 希望可用模型和推理档位随订阅账户自动同步的用户。
不适合
- 使用 OpenAI / ChatGPT 之外订阅服务的用户,因为目前尚不支持其他厂商。
- 要求模型可用性、速度或额度不受订阅服务商影响的工作流。
- 所选模型不支持图片输入的图片理解、生成或编辑工作流。
README
Dsh Plugin Subhub
English · 中文
Bring a third-party subscription account into DeepSeek Harness and chat with the models your subscription covers: text chat, image understanding, image generation, and image editing.
Only OpenAI / ChatGPT subscriptions are supported today; more subscription services are planned.
Model availability, usage limits, and response speed are decided by the subscription provider and your account. Some features may become temporarily unavailable after the provider changes its service.
Install
-
DeepSeek Harness (
dsh) with Node.js 18.17 or later.
dsh plugin --profile web add github:kinoward/dsh-plugin-subhub
dsh web
dsh web boots the web profile (same as dsh --profile web). Restart DeepSeek Harness after installing.
Quick start
- Log in — open Settings → Third-party subscriptions, click Sign in on the OpenAI subscription card, then open the authorization link in a browser and enter the one-time code (valid for 15 minutes). Once authorized, the page syncs automatically and the subscription appears in the model picker.
- Pick a model — click the model selector at the bottom-left of the input area (it shows the current model and reasoning level), choose Model, and pick a model under OpenAI subscription. Adjust the reasoning level from the same menu if needed. Available models and reasoning levels come from your account and stay in sync automatically.
-
Use images — upload an image and ask about it, describe an image to generate one, or ask to edit an image:
- View: “What’s in this image?” / “Extract the text from this screenshot.”
- Generate: “A cinematic illustration of a neon street on a rainy night.”
- Edit: upload an image (or use the one just generated), then “Change the sky to a sunset, keep everything else the same.” The edit uses the most recent image in the conversation; upload one first if there is none.
Viewing, generating, and editing images all require a model that supports image input; the model info marks it with an “Image input” tag.
Manage your account
- Re-login / log out — Settings → Third-party subscriptions → Log in again switches accounts; Log out removes the saved login.
- Update — rerun the install command, then restart DeepSeek Harness.
-
Disable — Settings → Plugins → Plugin list → turn off
dsh-plugin-subhub.
CLI sign-in (optional)
No graphical interface? Sign in with the bundled script instead. From the profile directory, run:
node node_modules/dsh-plugin-subhub/login.js
The script prints an authorization link and a one-time code — open the link in a browser, enter the code, and the credentials are saved to ~/.dsh-plugin-subhub/openai-auth.json. After signing in, open Settings → Third-party subscriptions once so the subscription appears in the model picker.
Screenshots
Browser-framed captures of the plugin in the DeepSeek Harness Web UI — light and dark themes:
Settings → Third-party subscriptions — signed out:
Settings → Third-party subscriptions — signed in:
Models page — OpenAI subscription expanded (signed in):
Using images in a conversation — image understanding:
Generating images in a conversation — text to image:
Editing images in a conversation — image to image:
Security & privacy
- Unless you configure another location, login data is stored in
~/.dsh-plugin-subhub/openai-auth.json; - The plugin creates or updates that file with access restricted to the current system user;
- The plugin never reads login data saved by other programs (such as the Codex CLI); sign in once inside this plugin after installing;
- Signing out deletes the login file the plugin currently uses;
- Don’t share login files, one-time codes, or other account details — and don’t commit them to Git or post them in issues.
Support
- GitHub Issues — report bugs or request features. Remove account details and other sensitive content before posting.
License
常见问题常见问题
在启用了 DSH 的终端中执行已验证命令 dsh plugin --profile default add github:kinoward/dsh-plugin-subhub。命令会解析公开 package 元数据,并保持插件与本页展示的目录身份一致。
兼容性以页面上展示的 bundle 与 profile 状态为准。如果某个 profile 尚未检测到,请先保持禁用,并在生产启用前阅读仓库文档。
GitHub 链接和 activity 元数据是 release 与维护状态的来源。新版本发布后重新查看本页,确认目录已经观察到最新版本。