DevViking-Persike/dsh-subscriptions0

dsh-subscriptions

DeepSeek Harness plugin: use your own Claude and ChatGPT/Codex subscriptions as model providers, over each vendor OAuth flow

AI 分析

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

パッケージ
dsh-subscriptions
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/23

インストール

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

ドキュメント

README 全文を読む ↗

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