DevViking-Persike/dsh-subscriptions0

dsh-subscriptions

DSH 插件,支持通过厂商 OAuth 流程将个人的 Claude 和 ChatGPT/Codex 订阅用作模型提供商。

AI 分析

核心用途是免 API Key 直接在 DSH 中使用个人订阅模型。适合拥有 ChatGPT 或 Claude 订阅,并希望通过本地 OAuth 授权在 DSH 中调用这些模型的用户。

套件
dsh-subscriptions
版本
0.1.0
授權
MIT
最近更新
2026年8月23日

安裝

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

Configuration

Every field is optional.

FieldDefaultMeaning
routes['claude', 'codex']Which subscriptions to mount.
controlPort1458Loopback port for the sign-in endpoints.
claudeModels / codexModelsshipped catalogsA supplied array replaces the default.
claudeCredentialPath / codexCredentialPathunder ~/.dshWhere each credential is stored.
claudeImportFrom / codexImportFromSeed once from a CLIProxyAPI auth file.
streamIdleTimeoutMs300000Budget between reads before the transport gives up.
defaultContextWindow200000Context assumed for a model absent from the catalog.
maxTokens32000Output cap when neither request nor catalog states one.
retryPolicynormal, 3 retriesMerged over the default.
- id: dsh-subscriptions
  name: 'dsh-subscriptions'
  config:
    routes: ['claude']
    controlPort: 1458