main
John Lauer Publish 1.0.0 2faf052 1mo ago
{
  "dock_manifest": "1.2.0",
  "webview": {
    "title": "Service Containers",
    "favicon": "icon.svg"
  },
  "launch": {
    "mode": "container_command",
    "console": "show",
    "steps": [
      {
        "label": "Installing svcwatch",
        "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; adom-wiki pkg install john/svcwatch'",
        "skip_if": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; command -v svcwatch'",
        "timeout_seconds": 180
      },
      {
        "label": "Starting the services dashboard",
        "run": "sh -c 'PATH=\"$HOME/.local/bin:$PATH\"; exec svcwatch serve --print-url'",
        "await": "url",
        "timeout_seconds": 60
      }
    ],
    "on_ready": "navigate_placeholder",
    "ai": {
      "prompt": "I just opened Service Containers from the dock bar. Give me a one-line summary of my service containers, and if any are down, say which and what you would do about it. Read the state with `svcwatch status`; do not restart anything without asking me first.",
      "thread": "existing",
      "thread_fallback": "new",
      "submit": "staged"
    }
  }
}