master
John Lauer Publish 0.12.9 d4cf927 2mo ago
{
  "dock_manifest": "1.2.0",
  "say": [
    "open digikey in nb",
    "open mouser in nb chrome personal",
    "open my wiki page in nb edge",
    "log into autodesk in nb",
    "install the nbe in my chrome"
  ],
  "webview": {
    "title": "NB Dashboard",
    "favicon": "docs/img/dock-nb.svg"
  },
  "health": {
    "url": "/api/status",
    "poll_seconds": 15,
    "timeout_ms": 2000
  },
  "launch": {
    "mode": "container_command",
    "console": "show",
    "steps": [
      {
        "label": "Installing nb (Native Browser)",
        "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; adom-wiki pkg install adom/nb-bridge; command -v nb-dashboard >/dev/null 2>&1 || { adom-wiki pkg uninstall adom/nb-bridge >/dev/null 2>&1; adom-wiki pkg install adom/nb-bridge; }'",
        "skip_if": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; command -v nb-dashboard'",
        "timeout_seconds": 180
      },
      {
        "label": "Starting the NB Dashboard",
        "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; exec nb-dashboard serve --print-url'",
        "await": "url",
        "timeout_seconds": 60
      }
    ],
    "on_ready": "navigate_placeholder",
    "ai": {
      "prompt": "The user just opened the NB Dashboard from the dock. nb (Adom Native Browser) drives their REAL signed-in Chrome/Edge in two layers: Layer 1 works out of the box (open URLs in their real profiles, background by default), Layer 2 is the nbe (Native Browser Extension) which unlocks the good stuff - logins with their own saved passwords, trusted clicks and typing on background windows, form filling, downloads behind auth, background screenshots. Check the dashboard's /api/status: if the Layer 2 LED is not green, the single most valuable thing you can do is OFFER to install the nbe FOR them (the installing-the-extension skill runs it end to end in about a minute; they approve one folder picker). Never make them install it themselves, never foreground their windows, and never drive windows they opened.",
      "thread": "existing",
      "thread_fallback": "new",
      "submit": "staged",
      "typed": false
    }
  }
}