返回目录

dsh-plugin-subscriptions

编辑精选维护状态: 活跃

v1ki/dsh-plugin-subscriptions

把 ChatGPT(Codex)、Claude 与 Grok 订阅作为 DeepSeek Harness 的 LLM 提供方,Web UI 内 OAuth 登录,无需 API 密钥。

前往 GitHub
$ dsh plugin --profile web add dsh-plugin-subscriptions

329

星标

40

Fork

TypeScript

语言

MIT

许可证

2026-08-14

创建于

2026-09-07

最近推送

原生 dsh 插件,通过 OAuth 把 ChatGPT/Claude/Grok 订阅作为免 Key 的 LLM 提供商,并提供 x_search、image_generate、video_generate 工具。

DSH 适配

原生运行时

作者声明

安全审计

未审计

最后核验

2026-08-22

许可证

MIT

01它能帮你完成什么?

  • 把你的 ChatGPT / Claude / Grok 订阅当作 DeepSeek Harness 里的 LLM 提供商来用

    会话模型选择器里出现实时模型目录,并提供 x_search / image_generate / video_generate 工具;令牌保存在 ~/.dsh/plugins/subscriptions/auth.json(0600)

    已经为 ChatGPT / Claude / Grok 付过费、想免 API Key 直接当作模型使用的 DeepSeek Harness 用户

02如何接入 DeepSeek Harness?

前置条件

  • 可用的 DeepSeek Harness `dsh` CLI
  • Node.js + pnpm(用于 git / 本地安装)

安装步骤

  1. 01

    $ dsh plugin --profile web add dsh-plugin-subscriptions

  2. 02

    或:dsh plugin --profile web add github:V1ki/dsh-plugin-subscriptions

  3. 03

    $ git 安装需把 `allowBuilds: dsh-plugin-subscriptions: true` 加入 profile 的 pnpm-workspace.yaml 后重新 add

验证接入成功

作者未说明

03DSH 适配与能力边界

DSH 适配原生运行时

原生 dsh 插件(web profile):通过 dsh Web UI 里的 OAuth 把你的 ChatGPT / Claude / Grok 订阅变成 LLM 提供商,无需 API Key。

04适合谁?何时不该用?

适合

  • 已经为 ChatGPT / Claude / Grok 付过费、想免 API Key 直接当作模型使用的 DeepSeek Harness 用户

不适合

  • 令牌保存在本地 ~/.dsh/plugins/subscriptions/auth.json(0600)并自动刷新;若某提供商未登录,它会退出模型选择器,请求以 MISSING_CREDENTIAL 失败。

05兼容性、维护与安全提示

  • 令牌保存在本地 ~/.dsh/plugins/subscriptions/auth.json(0600)并自动刷新;若某提供商未登录,它会退出模型选择器,请求以 MISSING_CREDENTIAL 失败。
  • Claude 从已有的 Claude Code 会话(~/.claude/.credentials.json 或 macOS Keychain)导入凭据,不一定需要 CLI。git 安装会在安装时运行包构建脚本,需在 pnpm-workspace.yaml 中显式授权。
2026-08-142026-08-21v0.5.0

MIT · 活跃维护(最新发布 v0.5.0,2026-08-20)

06常见问题

需要 API Key 吗?

不需要——Codex 与 Grok 在 dsh Web UI(设置 → Subscriptions)用 OAuth 登录;Claude 导入已有 Claude Code 会话,或走同样的 OAuth 流程。

订阅令牌存在哪里?

在 ~/.dsh/plugins/subscriptions/auth.json(0600),自动刷新。若某提供商未登录,它会退出选择器,请求以 MISSING_CREDENTIAL 失败。

怎么更新插件?

执行 dsh plugin --profile web update --latest dsh-plugin-subscriptions,然后重启 dsh web。

包含图片 / 视频生成工具吗?

包含——image_generate(gpt/grok)与 video_generate(Grok,1–15 秒)在对应提供商启用时注册;文件落在 ~/.dsh/plugins/subscriptions/{images,videos}/

08数据与来源

  • 作者声明github.com30c08a8a2b13…

    Use your ChatGPT (Codex), Claude, and Grok (X Premium) subscriptions as LLM providers in DeepSeek Harness — no API keys.

  • 作者声明github.com30c08a8a2b13…

    Codex and Grok log in via OAuth in the dsh web UI (Settings → Subscriptions); Claude imports credentials from an existin…

  • 作者声明github.com30c08a8a2b13…

    dsh plugin --profile web add dsh-plugin-subscriptions

  • 作者声明github.com30c08a8a2b13…

    Tokens live at ~/.dsh/plugins/subscriptions/auth.json (mode 0600) and refresh automatically.

  • 作者声明github.com30c08a8a2b13…

    Also included, registered when the matching provider is enabled: x_search, image_generate, and video_generate

页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-08-22。发现错误?提交更正。

🏆

最佳 DeepSeek Harness 插件

从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。

DSH Plugins 是独立的 DeepSeek Harness 插件市场,与 DeepSeek 官方无关,也不代表官方背书。第三方插件未经安全审计,安装前请审查源码。

每周获取最新的 DeepSeek Harness 插件,绝不滥发。