ディレクトリに戻る

dsh-subscriptions

キュレーションリスト掲載メンテナンス: 活発

goodandready/dsh-subscriptions

DeepSeek Harness向けOAuth購読LLMプロバイダ(Codex・Claude・Grok・Antigravity)。

GitHub で見る
$ dsh plugin add dsh-subscriptions

インストール方法

dsh には中央のインストールコマンドはありません。このプラグインのエントリ(README に記載)をプロファイルまたはパッチ設定に追加し、再起動します。

インストールの仕組み

28

スター

9

フォーク

JavaScript

言語

MIT

ライセンス

2026-08-21

作成日

2026-11-18

最終プッシュ

README

📦 @goodandready/dsh-subscriptions

Personal AI Subscription Bridge, Multi-Account Pool Rotation & Zero-Leak OAuth for DeepSeek Harness

npm version license DSH Plugin Node version

All Author Projects

🇬🇧 English • 🇷🇺 Русский • 🇨🇳 中文说明


⚡ 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:

GitHub で README 全文を読む →

DSH Plugins は DeepSeek Harness プラグインの独立したコミュニティ ディレクトリです。DeepSeek との提携・公認はありません。サードパーティ製プラグインはセキュリティ監査を受けていません。インストール前にソースコードをご確認ください。

DeepSeek Harnessの新着プラグインを毎週お届け。スパムはありません。