{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "zseven-w-dsh-crew--run-dsh-workers-headless-in-ci",
 "repo": "ZSeven-W/dsh-crew",
 "repo_url": "https://github.com/ZSeven-W/dsh-crew",
 "repo_slug": "zseven-w-dsh-crew",
 "title": "Run DSH workers in CI or on a machine with no DSH instance running",
 "page_title": "How to run DSH workers in CI or on a machine with no DSH instance running with DSH Crew",
 "summary": "Set up the standalone fallback with a DeepSeek key so dispatch works in headless environments.",
 "who": "A DevOps engineer who wants scripted or automated coding jobs on a build server or CI runner where no DSH web instance is running.",
 "problem": "Without a running DSH instance, the hub path is unavailable, so dispatch needs its own runtime and credentials.",
 "outcome": "Dispatch falls back to a standalone DSH runtime, and the smoke test reports which path it used and whether configuration is OK.",
 "steps": [
  "Obtain an API key from platform.deepseek.com",
  "Write the key to `~/.config/dsh-crew/.env` as `DEEPSEEK_API_KEY=sk-...`",
  "Install the plugin from npm: `dsh plugin --profile web add @zseven-w/dsh-crew@latest`",
  "Run the smoke test: `node scripts/smoke.mjs`",
  "Confirm the output says `smoke test passed, configuration OK` and note which path was used (inferred, check the README)"
 ],
 "agent_prompt": "In the dsh-crew repo (ZSeven-W/dsh-crew), configure the standalone fallback with a DEEPSEEK_API_KEY in ~/.config/dsh-crew/.env and run `node scripts/smoke.mjs`. Expected output: the smoke test line that shows which path ran and whether configuration passed. Verify it reports `smoke test passed` before any scripted dispatch.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The README says the standalone fallback needs its own key, while the hub mode uses the DSH instance's existing credentials.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "javascript",
 "requirements": [
  "A DeepSeek Harness (DSH) instance to install the plugin into, or a DeepSeek API key for the standalone fallback",
  "npm and node available on the machine, since the install commands use them",
  "Claude Code or Codex installed as the orchestrating host"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The DeepSeek API key is stored in a plain .env file on the machine, so restrict its file permissions and keep it out of version control."
  }
 ],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/zseven-w-dsh-crew/run-dsh-workers-headless-in-ci/",
 "md": "https://dedupedai.com/use-cases/zseven-w-dsh-crew/run-dsh-workers-headless-in-ci/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/zseven-w-dsh-crew--run-dsh-workers-headless-in-ci.json",
 "api_version": "v1"
}
