← Commit history

Add dock.json: own the dock launch behavior

John Lauer ·5a7520128a ·2mo ago ·parent ee04074
Migrated verbatim from the inline launch block in the curated dock manifest (adom/hydrogen-bootstrap, dock/apps.json). The curated list is going back to being just a list of which apps appear in the dock and in what order; launch behavior belongs to each app, per adom/hydrogen-dock-sdk. No behavior change: same steps, same skip_if, same timeouts. From here this file is the source of truth and edits here reach every dock on the next poll, with no change needed to the curated list.
1 file changed +24
dock.jsonadded+24
@@ -0,0 +1,24 @@+{+  "dock_manifest": "1.1.0",+  "webview": {+    "title": "Chip Fetcher"+  },+  "launch": {+    "mode": "container_command",+    "steps": [+      {+        "label": "Installing adom-chip-fetcher",+        "run": "adom-wiki pkg install adom/adom-chip-fetcher",+        "skip_if": "command -v chip-fetcher",+        "timeout_seconds": 180+      },+      {+        "label": "Starting Chip Fetcher",+        "run": "chip-fetcher serve --print-url",+        "await": "url",+        "timeout_seconds": 60+      }+    ],+    "on_ready": "navigate_placeholder"+  }+}