dsh-subscriptions
In a curated listMaintenance: Activegoodandready/dsh-subscriptions
OAuth subscription LLM providers for DeepSeek Harness: ChatGPT Codex, Claude, Grok, Antigravity, Kimi, GLM, Cursor, Kiro, Copilot, Qwen, ERNIE, Spark, JetBrains, Perplexity, Replit, Cody
$ dsh plugin add dsh-subscriptionsInstall
dsh has no central install command — add this plugin’s entry (documented in its README) to your profile or patch config, then restart.
How installs work28
stars
9
forks
JavaScript
Language
MIT
License
2026-08-21
Created
2026-11-18
Last push
README
📦 @goodandready/dsh-subscriptions
Personal AI Subscription Bridge, Multi-Account Pool Rotation & Zero-Leak OAuth for DeepSeek Harness
Personal AI Subscription Bridge, Multi-Account Pool Rotation & Zero-Leak OAuth for DeepSeek Harness
⚡ Overview
dsh-subscriptions bridges your paid personal AI subscriptions directly into DeepSeek Harness as first-class LLM providers.
Instead of burning expensive pay-as-you-go API credits for everyday agent tasks, dsh-subscriptions authenticates your existing web subscriptions through standard OAuth PKCE. It adds multi-account rotation pools that switch accounts when a rate limit or cooldown is reached, preemptive quota switching before a window runs dry, and an in-process Cordis service (ctx.subscriptions) that powers sibling plugins such as dsh-image-gen and dsh-grok-xsearch with zero token leakage.
graph LR
subgraph DSHCore [DeepSeek Harness Session]
Agent[🤖 DSH Agent Execution] --> Router{Provider Router}
end
subgraph SubscriptionsCore [dsh-subscriptions Engine]
Router --> Pool{Multi-Account Vendor Pool}
Pool -->|Account #1| Acc1[👤 Primary Account: Active]
Pool -->|Account #2| Acc2[👤 Secondary Account: Standby]
Pool -->|Account #3| Acc3[👤 Fallback Account: Cooldown]
Acc1 -->|HTTP 429 / Quota Limit| Rotate[Smart Quota & Cooldown Rotator]
Rotate -->|Switches Traffic| Acc2
end
subgraph VendorBridges [Upstream Vendor Bridges]
Acc1 --> B1[ChatGPT / Codex Backend]
Acc1 --> B2[Claude Pro / Max Protocol]
Acc1 --> B3[xAI / Grok Subscriptions]
Acc1 --> B4[Google Cloud Code Assist / Antigravity]
end
subgraph EcosystemBridge [In-Process Cordis Service: ctx.subscriptions]
Pool --> ImgGen[dsh-image-gen: Zero-Cost Image Drawing]
Pool --> XSearch[dsh-grok-xsearch: Live Twitter Search]
end
style DSHCore fill:#1e1e2e,stroke:#89b4fa,stroke-width:2px,color:#cdd6f4
style SubscriptionsCore fill:#181825,stroke:#cba6f7,stroke-width:2px,color:#cdd6f4
style VendorBridges fill:#11111b,stroke:#a6e3a1,stroke-width:2px,color:#cdd6f4
style EcosystemBridge fill:#181825,stroke:#f38ba8,stroke-width:2px,color:#cdd6f4
✨ Capabilities
🌐 Supported built-in subscription vendors
| Vendor Key | Subscription Tier | Protocol & Features |
|---|---|---|
codex |
ChatGPT Plus / Pro | Codex streaming responses, tool calling & image drawing (/backend-api/codex/...) |
claude |
Claude Pro / Max | Native Claude Messages protocol, usage tracking (/v1/messages, /api/oauth/...) |
grok |
xAI / X Premium | Real-time reasoning responses, billing checks & social search |
antigravity |
Google Cloud Code Assist | Antigravity engine (/v1/loadCodeAssist, /v1/streamGenerateContent) |
kimi |
Moonshot Kimi | OAuth Device Flow login, OpenAI-compatible chat |
glm |
Z.ai GLM Coding Plan | GLM coding endpoint, live quota monitor |
cursor |
Cursor | Cursor backend, billing-period usage dashboard parsing |
kiro |
AWS Kiro | Kiro desktop OAuth, streaming code assistance |
copilot |
GitHub Copilot | GitHub Device Flow login, Copilot chat completions |
qwen |
Alibaba Qwen (DashScope) | OpenAI-compatible endpoint, API key auth |
ernie |
Baidu ERNIE (Qianfan) | OAuth2 token refresh via API Key + Secret Key, Wenxinworkshop chat |
spark |
iFlytek Spark | OpenAI-compatible Spark HTTP API |
jetbrains |
JetBrains AI Assistant | JetBrains AI relay |
perplexity |
Perplexity Pro | Sonar model catalog |
replit |
Replit Core | Replit AI API, connect-token auth |
cody |
Sourcegraph Cody Pro | Sourcegraph API, access-token auth |
Adding a vendor is data, not code. The OpenAI-compatible /chat/completions family — replit, spark, cody, qwen — is built from a profile by createChatVendor() (lib/vendors/chat-vendor.js). A new provider in that family needs a profile object, not a module:
import { createChatVendor } from './chat-vendor.js'
const vendor = createChatVendor({
id: 'my-provider',
name: 'My Provider',
apiBase: 'https://api.my-provider.example/v1',
authorizeUrl: 'https://my-provider.example/keys', // where a user gets a token
models: [{ id: 'my-model', name: 'My Model', contextWindow: 128000, maxTokens: 8192 }],
authFields: ['accessToken', 'apiKey'], // blob fields to try, in order
authStyle: 'bearer', // or 'token' when the vendor wants that
missingAuth: 'My Provider requires an API key',
})
The same shape works from configuration: a customVendors entry with protocol: chat takes a baseUrl and a model list and skips the OAuth trio that the Responses-API profiles require:
More in Security & Auth
dsh-uumit-remote
by uumit-ai
Connect to DSH from another device and selectively share the remote instance with invited users.
dsh-auto-review
by perrylink
Second-model AI auto-review for DeepSeek Harness approval requests: a read-only reviewer subagent returns structured allow/deny verdicts with reasons, fail-closed by default, fully auditable from the session log (approval/asked -> autoReview/verdict -> approval/decided).
cc-safety-net
by kenryu42
A pre-execution guard for AI coding agents. It blocks destructive Git and file system commands, plus common attempts to access sensitive files, before a tool call runs. Supports Amp Code, Antigravity CLI, Claude Code, Codex, Cursor, DeepSeek Harness, Devin CLI, GitHub Copilot CLI, Grok Build, Hermes Agent, Kimi Code, OpenClaw, OpenCode, and Pi.
dsh-permission-rules
by perrylink
Claude Code-style declarative permission rules for DeepSeek Harness: ordered allow/deny/ask rules with tool-name, argument (glob/regex), and workspace-path matching on the tools/pre-execute waterfall, session-log audit, and HMR reload.
