randomix777/dsh-plugin-subs ↗★ 0
dsh-plugin-subs
DSH plugin: OAuth sign-in for Claude, Codex, Grok, Antigravity, OpenRouter, Agnes AI, Qwen, Spark, ERNIE — expose subscription LLMs as DeepSeek Harness providers
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:randomix777/dsh-plugin-subs说明文档
阅读完整 README ↗Usage
- Launch DSH (
dsh web) and open the printed URL. - Go to Settings → Subscriptions and press Connect next to a provider.
- Complete the OAuth flow in the browser tab that opens. On headless setups, paste the callback URL or authorization code manually.
- Claude: imports from existing Claude Code credentials (run
claudeonce if not logged in). - Antigravity: no env vars needed, complete OAuth in browser directly; optionally override with
ANTIGRAVITY_CLIENT_ID/ANTIGRAVITY_CLIENT_SECRET. - Qwen Code: device-flow OAuth via
chat.qwen.ai; no API key or env vars required, click Connect to authenticate. - Agnes AI: after browser authorization, paste the full callback URL (or just the auth code) into the DSH UI — the
agnes://deep link cannot be auto-captured by DSH.
- Claude: imports from existing Claude Code credentials (run
- In any chat, open the model selector (
/model) and pick a model under the desired provider.
Untreated providers show no card in the model picker until signed in.
Configuration
providers:
- id: llm-subscriptions
name: dsh-plugin-subs
config:
providers: [codex, claude, grok, antigravity, openrouter, agnes, qwen, spark, ernie] # subset allowed; all nine enabled by default
streamIdleTimeoutMs: 300000
models: # override built-in catalogs
codex:
- { id: gpt-5.6-sol, name: GPT-5.6 Sol, contextWindow: 272000, inputModalities: [text, image] }