Victor-770/dsh-commandcode-provider ↗★ 9
dsh-commandcode-provider
接入 Command Code 作为模型提供商,使用其 Studio 密钥。 适合已订阅 Command Code 的用户,需自备 Studio API 密钥。
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Victor-770/dsh-commandcode-provider说明文档
阅读完整 README ↗Configuration
The commandcode-provider settings section accepts (all optional):
| Field | Default | Meaning |
|---|---|---|
apiKeyEnv | COMMANDCODE_API_KEY | Credential reference resolved per request |
displayName | Command Code | Name shown by selectors |
baseURL | COMMANDCODE_API_BASE env → https://api.commandcode.ai | API base for /alpha/generate (usually leave at default) |
modelsUrl | COMMANDCODE_MODELS_URL env → Provider API | Model discovery endpoint |
modelsTimeoutMs | COMMANDCODE_MODELS_TIMEOUT_MS env → 10000 | Discovery timeout |
modelsCachePath | COMMANDCODE_MODELS_CACHE env → /commandcode/commandcode-models.json | Catalog cache path |
models | — | Optional explicit catalog entries; each overrides (or adds to) the discovered model by id |
defaultContextWindow | 262144 | Context capacity for models neither the catalog nor an override sizes |
defaultMaxTokens | 32768 | Output capability for models neither the catalog nor an override sizes |
timeoutMs | — | Per-attempt HTTP request timeout |
streamIdleTimeoutMs | 300000 | Max idle time while one stream read is outstanding |
retryPolicy | normal defaults | Provider-owned model-request retry policy |