randomix777/dsh-plugin-subs ↗★ 0
dsh-plugin-subs
DSH 订阅插件,支持通过 OAuth 登录 Claude、Grok、Qwen 等多种订阅型大语言模型,并将其作为 DeepSeek Harness 的服务商提供者。
AI 分析
核心用途是将外部主流订阅型LLM接入DSH。适合拥有Claude、通义千问等账号,并希望在DSH中统一调用这些订阅模型的开发者和多模型用户。
安装
$
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] }