dsh-commandcode-provider: An LLM Provider Plugin for DeepSeek Harness to Connect Command Code
mars-sea/dsh-commandcode-provider
DSH plugin integrating Command Code as an LLM provider with live model catalog, reasoning-effort support, and Models-page card.
Enable DeepSeek Harness to use Command Code models via the commandcode provider, with a live model catalog, reasoning effort, and model-picker annotations.
dsh plugin --profile web add github:mars-sea/dsh-commandcode-provider- Category
- Models & Reasoning
- Platform
- DSH-Plugin
- Author
- mars-sea
- Distribution
- Plugin
dsh-commandcode-provider Key Features
dsh-commandcode-provider Repository

dsh-commandcode-provider Repo Summary
dsh-commandcode-provider is an unofficial DeepSeek Harness (DSH) LLM provider plugin (DSH plugin) maintained by Mars-Sea, ported from pi-commandcode-provider (MIT). It solves the problem of integrating Command Code services into DSH by registering a commandcode provider whose requests are translated to Command Code's Provider API (POST /alpha/generate, reverse-engineered from [email protected]). Core capabilities include a live model catalog, reasoning-effort support, model-picker annotations, and a dedicated settings page. You need your own Command Code account and API key, and this project is not affiliated with Command Code, Inc.
What core features does the dsh-commandcode-provider DSH plugin offer?
This plugin provides an installable bundle for DSH and registers a commandcode provider route with a live model catalog (GET {apiBase}/provider/v1/models, cached at ~/.commandcode/models-cache.json). The model picker annotates each model with the minimum plan (KNOWN_PLANS), an active deal or FREE badge (KNOWN_DEALS, expiry-aware so lapsed discounts hide), an Image marker for Vision models, and the context window (e.g., 1M / 256K / 262K), sorted by plan tier (Go → GOAT → Pro → Provider/Max). It also supports reasoning effort for models marked in the official catalog (KNOWN_EFFORTS), and image input for Vision-capable models (sent via the dsh attachment service); text-only models refuse images loudly (UNSUPPORTED_CONTENT).
How do I install dsh-commandcode-provider?
The npm package is recommended because the bare name dsh-commandcode-provider is taken by an unrelated package; this plugin is published as @mars-sea/dsh-commandcode-provider. You can also install from GitHub, pinning a release tag or commit SHA. Installation commands:
dsh plugin --profile web add @mars-sea/dsh-commandcode-provider
# Or from GitHub with a pinned tag
dsh plugin --profile web add github:Mars-Sea/dsh-commandcode-provider#v0.2.2
How do I configure the API key for dsh-commandcode-provider?
The API key resolution order is: config.apiKey → credential ref apiKeyEnv (default COMMANDCODE_API_KEY) → launch environment → the official CLI auth file (~/.commandcode/auth.json, from command-code login). Keys never expire; you can obtain one via the official CLI (Node.js 22+) or create it in the browser and paste it into Settings → Command Code. Connection fields (API base, working directory, request/stream timeouts) are stored in the llm-commandcode section and apply to the very next request, no restart needed.
Which DeepSeek Harness versions and platforms does dsh-commandcode-provider support?
This plugin is an official DSH bundle, depending on @deepseek-ai/dsh-commands, @deepseek-ai/dsh-credentials, @deepseek-ai/dsh-launch-environment, @deepseek-ai/dsh-llm, @deepseek-ai/dsh-settings, ensuring tight integration with DSH core. It is maintained by Mars-Sea, licensed under MIT, last updated in 2026-08, with 21 stars, 2 forks, and no open issues. As a community integration, Command Code's terms apply.