
V1ki/dsh-plugin-subscriptions
30最近提交 2026年8月14日
dsh-plugin-subscriptions DSH 插件
此插件允许 DeepSeek Harness 将你的 ChatGPT(Codex)、Claude 和 Grok(X Premium)订阅用作 LLM 提供商。OAuth 登录在 DSH 网页界面中完成,令牌存储在本地并自动刷新。还提供 x_search 和 image_generate 工具。
如何安装 dsh-plugin-subscriptions DSH 插件
dsh plugin --profile web add dsh-plugin-subscriptions复制不会执行命令。安装 dsh-plugin-subscriptions DSH 插件前请核对仓库和版本。
dsh-plugin-subscriptions DSH 插件数据来源
dsh-plugin-subscriptions DSH 插件快照日期:2026年8月16日
discovered
dsh-plugin-subscriptions DSH 插件能做什么
- 支持将 ChatGPT(Codex)、Claude 和 Grok(X Premium)订阅作为 LLM 提供商。
- 通过 DSH 网页界面进行 OAuth 登录,无需 API 密钥。
- 令牌自动刷新并存储在 ~/.dsh/plugins/subscriptions/auth.json。
- 登录/注销时从提供商 API 获取实时模型目录。
- 提供 x_search 工具(Grok),用于 X 搜索并返回引用。
- 提供 image_generate 工具(ChatGPT),使用 gpt-image-2 生成图片并保存到本地。
- 支持视觉模型,可处理文本和图像输入模态。
dsh-plugin-subscriptions DSH 插件适合哪些场景
- 无需 API 密钥即可使用 ChatGPT Plus/Pro 订阅作为 DSH 的 LLM 后端。
- 通过 Claude Pro/Max 订阅使用 Claude Opus/Sonnet/Haiku 模型。
- 使用 X Premium 订阅访问 xAI 的 Grok 模型和 X 搜索。
- 使用 ChatGPT 的图像生成模型在对话中内联生成图片。
- 在单个 DSH 会话中切换多个基于订阅的提供商。
- 将订阅模型与其他 DSH 插件结合用于复杂工作流。
dsh-plugin-subscriptions DSH 插件适合谁
- 拥有活跃的 ChatGPT Plus/Pro、Claude Pro/Max 或 X Premium 订阅的用户。
- 希望使用现有订阅账户来运行 DeepSeek Harness 的开发者及高级用户。
dsh-plugin-subscriptions DSH 插件的限制
- 每个提供商都需要有效的订阅(ChatGPT Plus/Pro, Claude Pro/Max, X Premium)。
- 仅支持三个提供商,不支持通用 API 密钥或其他提供商。
- OAuth 登录需要 DSH 网页界面;无头模式需手动回退或预先登录。
- 图片生成仅适用于 ChatGPT(Codex)提供商。
- 令牌存储在本地,仅依赖文件权限(mode 0600)保护。
- 流空闲超时默认为 5 分钟,可配置。
- 部分模型可能在某些地区或订阅级别不可用。
dsh-plugin-subscriptions DSH 插件的仓库 README 摘录
以下文字摘自 dsh-plugin-subscriptions DSH 插件的上游仓库 V1ki/dsh-plugin-subscriptions 的 README,版权归原作者,仅作引用。
English | [中文](README.zh.md) Use your **ChatGPT (Codex)**, **Claude**, and **Grok (X Premium)** subscriptions as LLM providers in [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) — no API keys. Login happens in the dsh web UI (Settings → Subscriptions); tokens live at `~/.dsh/plugins/subscriptions/auth.json` (mode 0600) and refresh automatically. ## Demo Settings → **Subscriptions**: per-provider OAuth login/logout, no API keys (account address masked in the screenshot):  Logged-in providers join the session model picker with their live model catalogs:  The `image_generate` tool renders its result inline in the conversation:  ## Providers | Route | Subscription | Models | |----------|-------------------|--------| | `codex` | ChatGPT
阅读完整 README仓库许可: MIT
dsh-plugin-subscriptions DSH 插件常见问题
如何安装 dsh-plugin-subscriptions?
在终端运行 `dsh plugin --profile web add dsh-plugin-subscriptions`。如果想从源码安装,使用 `dsh plugin --profile web add github:V1ki/dsh-plugin-subscriptions`。本地克隆后,执行 `pnpm install && pnpm build`,然后添加本地路径。
使用这个插件需要 API 密钥吗?
不需要。此插件使用 OAuth 登录你的订阅账户。你需要有效的 ChatGPT Plus/Pro、Claude Pro/Max 或 X Premium 订阅,但无需 API 密钥。
我可以在无头模式下使用吗?
可以,但需要先通过网页界面登录生成令牌文件。之后可以使用 headless 配置文件,按照 README 中的 overlay 示例进行配置。
如何添加或移除提供商?
在 DSH 网页界面中,进入 Settings → Subscriptions。点击“Log in”授权提供商,或点击“Log out”移除。只有登录后的提供商才会出现在模型选择器中。
有哪些可用的模型?
对于 ChatGPT,从 chatgpt.com/backend-api/codex/models 获取实时目录。Claude 包含 claude-opus-4-5、claude-sonnet-4-5、claude-haiku-4-5。Grok 从 api.x.ai/v1/models 获取聊天模型。模型列表在登录/注销时自动更新。