← Commit history

Rename to dockbar.json: the canonical manifest name (hard cutover)

John Lauer ·26ffb3e838 ·1mo ago ·parent a546d24
dock.json support is removed from Hydrogen as of 1.0.121 per the no-legacy rename policy; the file is renamed, content unchanged. dock.json will be deleted from this repo in the same pass.
1 file changed +38
dockbar.jsonadded+38
@@ -0,0 +1,38 @@+{+  "dock_manifest": "1.2.0",+  "webview": {+    "title": "KiCad Dashboard",+    "favicon": "docs/img/dock-kicad.svg"+  },+  "health": {+    "url": "/api/status",+    "poll_seconds": 15,+    "timeout_ms": 2000+  },+  "launch": {+    "mode": "container_command",+    "console": "show",+    "steps": [+      {+        "label": "Installing the KiCad bridge",+        "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; adom-wiki pkg install adom/kicad-bridge; command -v kicad-dashboard >/dev/null 2>&1 || { adom-wiki pkg uninstall adom/kicad-bridge >/dev/null 2>&1; adom-wiki pkg install adom/kicad-bridge; }'",+        "skip_if": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; command -v kicad-dashboard'",+        "timeout_seconds": 180+      },+      {+        "label": "Starting the KiCad Dashboard",+        "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; exec kicad-dashboard serve --print-url'",+        "await": "url",+        "timeout_seconds": 60+      }+    ],+    "on_ready": "navigate_placeholder",+    "ai": {+      "prompt": "The user just opened the KiCad Dashboard from the dock. It shows LED status for every KiCad bridge facet. 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 KiCad happens in the background; never steal their foreground, and never touch a KiCad instance the user launched themselves.",+      "thread": "existing",+      "thread_fallback": "new",+      "submit": "staged",+      "typed": false+    }+  }+}\ No newline at end of file