randomix777/dsh-plugin-subs0

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

包名
dsh-plugin-subs
版本
1.2.2
许可证
MIT
最近更新
2026年8月31日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:randomix777/dsh-plugin-subs

Usage

  1. Launch DSH (dsh web) and open the printed URL.
  2. Go to Settings → Subscriptions and press Connect next to a provider.
  3. 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 claude once 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.
  4. 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] }