master
John Lauer Publish 1.3.12 332b709 1mo ago
{
  "dock_manifest": "1.2.0",
  "say": [
    "get me all the files for the STM32H757XIH6 with cf",
    "show me the cf dashboard in pup",
    "cf: plan a batch for my BOM",
    "chip fetcher, find a 3.3V LDO in stock at mouser",
    "open this chip's symbol in kicad",
    "sign in to componentsearchengine in pup for cf"
  ],
  "webview": {
    "title": "Chip Fetcher",
    "favicon": "docs/img/dock-chip-fetcher.svg"
  },
  "health": {
    "url": "/api/status",
    "poll_seconds": 15,
    "timeout_ms": 2000
  },
  "launch": {
    "mode": "container_command",
    "console": "show",
    "steps": [
      {
        "label": "Installing or updating Chip Fetcher (cf)",
        "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; if command -v adom-chip-fetcher >/dev/null 2>&1; then adom-wiki pkg update adom/adom-chip-fetcher || adom-wiki pkg install adom/adom-chip-fetcher; else adom-wiki pkg install adom/adom-chip-fetcher; fi'",
        "timeout_seconds": 300
      },
      {
        "label": "Starting the Chip Fetcher dashboard",
        "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; exec adom-chip-fetcher serve --print-url'",
        "await": "url",
        "timeout_seconds": 60
      }
    ],
    "on_ready": "navigate_placeholder",
    "ai": {
      "prompt": "The user just opened Chip Fetcher (cf) from the dock. Read ~/.claude/skills/adom-chip-fetcher/SKILL.md, run `adom-chip-fetcher doctor`, and if any component is not green offer to fix it (`adom-chip-fetcher doctor --fix`). Then ask which part numbers they want sourced; start with `adom-chip-fetcher plan <MPNs>`. Keep the dashboard in their maximized pup window and narrate progress with `adom-chip-fetcher ui toast`. Note: users say 'cf' as shorthand for chip fetcher.",
      "thread": "existing",
      "thread_fallback": "new",
      "submit": "staged",
      "typed": false
    }
  }
}