← Commit history

Dock re-claims the interstitial webview on every click

John Lauer ·73f266c10f ·1mo ago ·parent 520b582
1 file changed +6−1
dockbar.json+6−1
@@ -26,6 +26,11 @@         "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; adom-wiki pkg update grok-bridge || adom-wiki pkg install adom/grok-bridge; command -v grok-dashboard >/dev/null 2>&1 || { adom-wiki pkg uninstall adom/grok-bridge; adom-wiki pkg install adom/grok-bridge; }'",         "timeout_seconds": 180       },+      {+        "label": "Connecting Adom Bridge on your laptop",+        "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; grok-dashboard ensure-desktop'",+        "timeout_seconds": 60+      },       {         "label": "Starting the Grok Bot dashboard",         "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; exec grok-dashboard serve --print-url'",@@ -35,7 +40,7 @@     ],     "on_ready": "navigate_placeholder",     "ai": {-      "prompt": "The user just opened the Grok Bot dashboard from the dock. It shows LED status for Grok Bot.exe (the host), the webhook, Grok's computer (the agent box), KiCad-on-grok-computer, and adom/core. If any LED is not green, offer to fix it via grok_readiness / grok_webhook_ensure — the /api/status payload carries a hint per LED naming the exact verb. Never steal focus, never paste webhook keys, never kill Cursor.",+      "prompt": "The user just opened the Grok Bot dashboard from the dock. It shows LED status for Adom Bridge on the laptop, Grok Bot.exe (the host), the webhook, Grok's computer (the agent box), KiCad-on-grok-computer, and adom/core. If the Adom Bridge LED is not green, run grok-dashboard ensure-desktop and/or adom-bridge setup_desktop yourself \u2014 do not ask the user to paste JSON or copy connection JSON. Prefer the public relay URL in ~/.adom/relay-public-url over 127.0.0.1. If this box is not an Adom cloud container, ListMachines and Shell AdomLapper to launch Adom Bridge with that public URL (never steal focus). If any other LED is not green, offer to fix it via the /api/status hint per LED (grok_readiness / grok_webhook_ensure). Never steal focus, never paste webhook keys, never kill Cursor.",       "thread": "existing",       "thread_fallback": "new",       "submit": "staged",