DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Sub Providers — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
S

dsh-sub-providers

Sub Providers

Clean-room DSH 插件:通过 OAuth 登录,将 Claude 和 ChatGPT (Codex) 订阅用作 LLM 提供商路由,支持流式传输和订阅使用量显示。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:deskomor/dsh-sub-providers#dbfef82cf80aa2f389d0571b6807758a901cc4ac
README兼容性版本

兼容性与来源证明

Sub Providers 以 dsh-sub-providers 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.1.0stable
2026/9/25

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Plugin@opencode2dsh/dsh-plugin供 DeepSeek Harness (DSH) 使用的免费 OpenCode Zen 模型:原生 dsh-llm 适配器插件,无需 API 密钥。Deepseek Web Logindsh-deepseek-web-login非官方 DSH 插件:将 chat.deepseek.com 网页模型用作 DSH LLM 提供商(浏览器登录捕获 + PoW 求解 + SSE 流式传输 + 基于提示的工具调用),提供商路由为 deepseek-webConnect Traedsh-connect-trae把本机登录的 Trae 模型接入 DeepSeek Harness:国内版与国际版双供应商并行,提供用量/积分概览与每日签到领取。Damage Pulsedsh-damage-pulseDeepSeek Harness 余额监控器,配有鲸鱼女孩伙伴,并为每次令牌消耗提供感知缓存的伤害动画。

README

dsh-sub-providers

Clean-room DSH plugin: use your Claude and ChatGPT (Codex) subscriptions as LLM provider routes — OAuth login from Settings → Subscriptions, streaming chat, model catalogs in the session model picker, and subscription usage display. No API keys.

This package is an independent implementation. No code is taken from dsh-plugin-subscriptions (see "Clean-room guarantee" below).

Status

PhaseScopeState
0Scaffold, build, profile installdone
1Claude: OAuth login, streaming adapter, catalog, usage, settings UIdone — copy/paste login, awaiting live verification
2Codex: OAuth, Responses-wire adapter, effort, catalog, usage+plandone — verified live
3UX polish: usage pill, locale stringsdone
4Hardening: security scan, full test pass, reviewscan + 28 tests done

Install

# remove the original (its claude/codex routes would collide)
dsh plugin --profile web remove dsh-plugin-subscriptions

# install this one
dsh plugin --profile web add github:deskomor/dsh-sub-providers

Restart dsh web afterwards. Then: Settings → Subscriptions → Sign in (Claude is a copy/paste flow — see the threat model below).

Development install (local link)

dsh plugin --profile web add <path-to>/dsh-sub-providers

# pnpm on Windows rewrites the local link target incorrectly — repair it
pwsh scripts/repair-profile-link.ps1

With a local link, source rebuilds (npm run build) take effect on the next dsh web restart without reinstalling. If you run any other dsh plugin command, re-run the repair script afterwards.

Build & test

npm install          # dev dependencies (types, esbuild)
npm run typecheck    # tsc --noEmit
npm run build        # bundles lib/index.js (host) + lib/client.js (client)
npm test             # node --test
npm run security-scan  # clean-room security gates

The compiled lib/ bundles are committed, so installing from GitHub does not need a toolchain; run npm run build after changing src/.

Architecture

  • src/host/ — Cordis plugin (apply, inject, Config): registers the LlmAdapter under claude/codex routes only while logged in, owns the OAuth flows (loopback + copy/paste), token store, and the sub-providers.* endpoints it registers as exact Fetch routes on the shared /api channel.
  • src/client/ — browser module (ModuleLoader factory format) rendering the Settings → Subscriptions page; talks to the host only via the connection RPC.
  • src/shared/protocol.ts — the RPC vocabulary shared by both halves.
  • Token store: ~/.dsh/plugins/sub-providers/auth.json, written atomically, mode 0600. Fields are validated structurally; unknown content is dropped.

Security notes / threat model

  • Endpoint allowlist. Every outbound URL is a public vendor endpoint (claude.ai / api.anthropic.com / auth.openai.com / chatgpt.com); the security scan asserts no other host literals exist in the source.
  • No dangerous APIs. No child_process, eval, dynamic code loading, obfuscation, or hidden payload blobs (asserted by the scan).
  • No credential-store access. The plugin cannot read the Claude Code credential store (macOS Keychain / ~/.claude/.credentials.json) or any file outside its own directory — a deliberate scope decision vs. the original plugin.
  • Product-token nuance (both vendors). The subscription endpoints expect requests presenting as their official CLI. User-Agent therefore PREPENDS the CLI product token to the harness attribution value, and the Codex backend additionally requires the public originator: codex_cli_rs header — attribution is never suppressed, only joined.
  • Fixed Codex redirect. The public Codex OAuth client registers exactly one redirect (http://localhost:1455/auth/callback), so that login binds the fixed port instead of an OS-assigned one and reuses the registered URI verbatim; the port is held only while a sign-in is pending.
  • Claude login is copy/paste (no local server). The Claude Code OAuth client registers exactly one redirect — the hosted https://console.anthropic.com/oauth/code/callback page — and rejects loopback URIs. The flow therefore uses the documented code=true copy/paste mode: the callback page shows the code and you paste it back into Settings → Subscriptions (accepts CODE or CODE#STATE).
  • OAuth client ids (Claude and Codex) come from publicly documented community knowledge and are configurable; nothing else is vendor-undocumented.
  • Third-party caution applies to this package too: review the source (it is small and unobfuscated) before installing.

Clean-room guarantee

Allowed inputs: public vendor API documentation, @deepseek-ai/* type contracts shipped with the harness, and the original plugin's README (behavior spec only). The original's source/bundles were not transcribed; scripts/security-scan.mjs re-checks the structural gates on every build.