Credentials. The API key and the CLI login file give access to your Command Code account, so keep them out of shared profiles and logs.
Who it is forA dsh web user with a Command Code account who wants those models in the normal chat picker.
The problemCommand Code models are not in dsh by default, and the key setup is easy to get wrong.
The outcomeCommand Code models appear under commandcode in the picker, and messages sent with them get answers.
What you need first
- A Command Code account with an API key or subscription
- A dsh profile on 0.2.0-rc.2 or 0.2.1-rc.2
- Node.js 22+ if you use the official command-code CLI to sign in
Steps
- (Optional) Run
npm i -g command-code@latest, then runcmd loginto get a key through the official CLI. - Run
dsh plugin --profile web add @mars-sea/dsh-commandcode-provider@latest. - Restart the web app.
- Open Settings, then Command Code, and paste your key or click Sign in to Command Code.
- Open Settings, then Models to confirm the Command Code card, then pick a model your plan includes.
Prompt for your agent
Install the Mars-Sea/dsh-commandcode-provider plugin into the <profile> dsh profile and confirm the commandcode provider appears in the model picker. Expected output: a list of commandcode models in the picker. Verify that a test message sent with one included model returns a reply.
Caveat. You need your own Command Code account, and the in-browser sign-in only works when the Host and your browser are on the same machine.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Mars-Sea/dsh-commandcode-provider and "Run Command Code models in the dsh web app"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer