{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "mars-sea-dsh-commandcode-provider--use-command-code-models-in-dsh-web",
 "repo": "Mars-Sea/dsh-commandcode-provider",
 "repo_url": "https://github.com/Mars-Sea/dsh-commandcode-provider",
 "repo_slug": "mars-sea-dsh-commandcode-provider",
 "title": "Run Command Code models in the dsh web app",
 "page_title": "How to run Command Code models in the dsh web app with DSH Commandcode Provider",
 "summary": "Install the plugin, add your key, and pick Command Code models in the web model picker.",
 "who": "A dsh web user with a Command Code account who wants those models in the normal chat picker.",
 "problem": "Command Code models are not in dsh by default, and the key setup is easy to get wrong.",
 "outcome": "Command Code models appear under commandcode in the picker, and messages sent with them get answers.",
 "steps": [
  "(Optional) Run `npm i -g command-code@latest`, then run `cmd login` to 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."
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "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"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The API key and the CLI login file give access to your Command Code account, so keep them out of shared profiles and logs."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/mars-sea-dsh-commandcode-provider/use-command-code-models-in-dsh-web/",
 "md": "https://dedupedai.com/use-cases/mars-sea-dsh-commandcode-provider/use-command-code-models-in-dsh-web/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/mars-sea-dsh-commandcode-provider--use-command-code-models-in-dsh-web.json",
 "api_version": "v1"
}
