Kristin130/dsh-commandcode-provider ↗★ 1

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 模型服务接入 DSH。适合 Command Code 用户(包括低成本 Go 计划订阅者),需要直接在 DSH 中调用该平台模型。

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

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Kristin130/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