main
John Lauer Publish 0.1.1 0a952ab 1mo ago
{
  "dock_manifest": "1.2.0",
  "say": [
    "show me my board in altium 3d",
    "open my schematic in altium",
    "add this wiki part to my altium library",
    "run drc on my altium board",
    "generate gerbers from altium",
    "show me the symbol in altium"
  ],
  "webview": {
    "title": "Altium Dashboard",
    "favicon": "dashboard/ui/dock-altium.svg"
  },
  "health": {
    "url": "/api/status",
    "poll_seconds": 15,
    "timeout_ms": 2000
  },
  "launch": {
    "mode": "container_command",
    "console": "show",
    "steps": [
      {
        "label": "Installing or updating the Altium bridge",
        "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; adom-wiki pkg update altium-bridge || adom-wiki pkg install adom/altium-bridge; command -v altium-dashboard >/dev/null 2>&1 || { adom-wiki pkg uninstall adom/altium-bridge; adom-wiki pkg install adom/altium-bridge; }'",
        "timeout_seconds": 180
      },
      {
        "label": "Starting the Altium Dashboard",
        "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; exec altium-dashboard serve --print-url'",
        "await": "url",
        "timeout_seconds": 60
      }
    ],
    "on_ready": "navigate_placeholder",
    "ai": {
      "prompt": "The user just opened the Altium Dashboard from the dock. It shows LED status for every Altium bridge facet (relay, box, bridge, Altium install, licence, resident agent, updates). If any LED is not green, offer to fix it (the /api/status payload carries a _hint per LED naming the exact verb). Everything the bridge does to Altium happens in the background; never steal their foreground, and never touch an Altium window the user is working in without telling them first.",
      "thread": "existing",
      "thread_fallback": "new",
      "submit": "staged",
      "typed": false
    }
  }
}