Victor-770/dsh-commandcode-provider ↗★ 9

dsh-commandcode-provider

Command Code provider plugin for DeepSeek Harness (dsh) — works with every Command Code plan including the $1 Go plan; uses the Studio authentication API key over /alpha/generate, not the Provider API 适合已订阅 Command Code 的用户,需自备 Studio API 密钥。

Package
dsh-commandcode-provider
Compatibility
Unverified
Harness peer range
*
Cordis peer range
*
Version
0.1.3
License
MIT
Last updated
Aug 15, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Victor-770/dsh-commandcode-provider

Configuration

The commandcode-provider settings section accepts (all optional):

FieldDefaultMeaning
apiKeyEnvCOMMANDCODE_API_KEYCredential reference resolved per request
displayNameCommand CodeName shown by selectors
baseURLCOMMANDCODE_API_BASE env → https://api.commandcode.aiAPI base for /alpha/generate (usually leave at default)
modelsUrlCOMMANDCODE_MODELS_URL env → Provider APIModel discovery endpoint
modelsTimeoutMsCOMMANDCODE_MODELS_TIMEOUT_MS env → 10000Discovery timeout
modelsCachePathCOMMANDCODE_MODELS_CACHE env → /commandcode/commandcode-models.jsonCatalog cache path
models—Optional explicit catalog entries; each overrides (or adds to) the discovered model by id
defaultContextWindow262144Context capacity for models neither the catalog nor an override sizes
defaultMaxTokens32768Output capability for models neither the catalog nor an override sizes
timeoutMs—Per-attempt HTTP request timeout
streamIdleTimeoutMs300000Max idle time while one stream read is outstanding
retryPolicynormal defaultsProvider-owned model-request retry policy