randomix777/dsh-plugin-subscriptions0

dsh-plugin-subscriptions

支持 OAuth AI 服务商的 DSH 插件:包含 Claude、Codex、Grok、Google Antigravity、OpenRouter、Agnes AI(已上线),后续将支持更多服务商。

AI 分析

核心用途是通过 OAuth 授权将主流订阅 AI 模型接入 DSH。适合希望在 DSH Web UI 中便捷连接并使用 Claude、Grok 等外部模型的多模型用户。

套件
dsh-plugin-subscriptions
版本
1.1.3
授權
MIT
最近更新
2026年8月29日

安裝

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

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: set env vars first (see below), then complete OAuth in the browser.
    • 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-subscriptions
    config:
      providers: [codex, claude, grok, antigravity, openrouter, agnes]  # subset allowed; all six 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] }