master
John Lauer Publish 1.1.0 63c1c64 1mo ago
{
  "dock_manifest": "1.2.0",
  "say": [
    "run ds2sf on the STM32L431RCT6TR",
    "show me the ds2sf dashboard",
    "which pins on this chip need review",
    "re-extract the footprint for this chip with opus",
    "open the datasheet page where pin 12 came from"
  ],
  "webview": {
    "title": "DS2SF",
    "favicon": "docs/dock-ds2sf.svg"
  },
  "health": {
    "url": "/api/status",
    "poll_seconds": 15,
    "timeout_ms": 2000
  },
  "launch": {
    "mode": "container_command",
    "console": "show",
    "steps": [
      {
        "label": "Installing or updating DS2SF",
        "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; if command -v adom-ds2sf >/dev/null 2>&1; then adom-wiki pkg update adom/adom-ds2sf || adom-wiki pkg install adom/adom-ds2sf; else adom-wiki pkg install adom/adom-ds2sf; fi'",
        "timeout_seconds": 300
      },
      {
        "label": "Starting the DS2SF dashboard",
        "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; exec adom-ds2sf --ai-thread \"dock bar\" serve --print-url'",
        "await": "url",
        "timeout_seconds": 60
      }
    ],
    "on_ready": "navigate_placeholder",
    "ai": {
      "prompt": "The user just opened DS2SF from the dock. Read ~/.claude/skills/adom-ds2sf/SKILL.md, run `adom-ds2sf health`, then ask which chip in the chip-fetcher library they want extracted (or use `adom-ds2sf --ai-thread <name> ui select <MPN>` to focus one). Narrate progress with `adom-ds2sf --ai-thread <name> ui toast`.",
      "thread": "existing",
      "thread_fallback": "new",
      "submit": "staged",
      "typed": false
    }
  }
}