← Commit history

Dock: KiCad is the hand_to_ai archetype - bridge status + kicad_demo opens KiCad on the desktop, then a new AI thread (instant prompt) takes the webview

John Lauer ·2f72076e10 ·3mo ago ·parent 1f31995
1 file changed +9−4
dock/apps.json+9−4
@@ -49,12 +49,17 @@         "steps": [           {             "label": "Starting the KiCad bridge",-            "run": "adom-desktop bridge start kicad --print-url",-            "await": "url",-            "timeout_seconds": 60+            "run": "adom-desktop --ai-thread hd-dock kicad_bridge_status '{}' 2>&1 | head -30",+            "timeout_seconds": 120+          },+          {+            "label": "Opening KiCad on your desktop",+            "run": "adom-desktop --ai-thread hd-dock kicad_demo '{}' 2>&1 | head -40",+            "timeout_seconds": 240           }         ],-        "on_ready": "navigate_placeholder"+        "on_ready": "hand_to_ai",+        "ai_prompt": "hey \u2014 I'm opening KiCad via Adom Desktop, and I'm opening a webview for you to show me my KiCad dashboard. The KiCad bridge is up (drive it with adom-desktop kicad_* verbs; kicad_describe lists them). There is a webview tab named \"KiCad Bridge\" currently showing a loading screen: build me a KiCad dashboard (bridge status, open KiCad windows, quick actions) and navigate that tab to it with adom-cli hydrogen webview open-or-refresh --name \"KiCad Bridge\" --url <your-dashboard-url>."       }     },     {