DevViking-Persike/dsh-subscriptions ↗★ 0
dsh-subscriptions
DSH 插件,支持通过厂商 OAuth 流程将个人的 Claude 和 ChatGPT/Codex 订阅用作模型提供商。
AI 分析
核心用途是免 API Key 直接在 DSH 中使用个人订阅模型。适合拥有 ChatGPT 或 Claude 订阅,并希望通过本地 OAuth 授权在 DSH 中调用这些模型的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DevViking-Persike/dsh-subscriptions说明文档
阅读完整 README ↗Configuration
Every field is optional.
| Field | Default | Meaning |
|---|---|---|
routes | ['claude', 'codex'] | Which subscriptions to mount. |
controlPort | 1458 | Loopback port for the sign-in endpoints. |
claudeModels / codexModels | shipped catalogs | A supplied array replaces the default. |
claudeCredentialPath / codexCredentialPath | under ~/.dsh | Where each credential is stored. |
claudeImportFrom / codexImportFrom | — | Seed once from a CLIProxyAPI auth file. |
streamIdleTimeoutMs | 300000 | Budget between reads before the transport gives up. |
defaultContextWindow | 200000 | Context assumed for a model absent from the catalog. |
maxTokens | 32000 | Output cap when neither request nor catalog states one. |
retryPolicy | normal, 3 retries | Merged over the default. |
- id: dsh-subscriptions
name: 'dsh-subscriptions'
config:
routes: ['claude']
controlPort: 1458