← Commit history

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

John Lauer ·99badcebfc ·1mo ago ·parent 26a272f
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": "Fusion Dashboard",+    "favicon": "docs/img/dock-fusion.png"+  },+  "launch": {+    "mode": "container_command",+    "console": "show",+    "steps": [+      {+        "label": "Installing the Fusion bridge",+        "run": "adom-wiki pkg install adom/fusion-bridge",+        "skip_if": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; command -v fusion-dashboard'",+        "timeout_seconds": 180+      },+      {+        "label": "Starting the Fusion Dashboard",+        "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; exec fusion-dashboard serve --print-url'",+        "await": "url",+        "timeout_seconds": 60+      }+    ],+    "on_ready": "navigate_placeholder",+    "ai": {+      "prompt": "The user just opened the Fusion Dashboard from the dock. It shows LED status for every Fusion bridge facet. If any LED is red, offer to fix it (the /api/status payload carries a _hint per LED naming the exact verb). Do not steal their foreground.",+      "thread": "existing",+      "thread_fallback": "new",+      "submit": "staged",+      "typed": false+    }+  },+  "health": {+    "url": "/api/status",+    "poll_seconds": 15,+    "timeout_ms": 2000+  }+}\ No newline at end of file