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 密钥。

パッケージ
dsh-commandcode-provider
互換性
未検証
Harness ピア範囲
*
Cordis ピア範囲
*
バージョン
0.1.3
ライセンス
MIT
最終更新
2026/08/15

同名パッケージの別リポジトリ

インストール

$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):

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