diff --git a/src/components/control/DaemonStatusBanner.tsx b/src/components/control/DaemonStatusBanner.tsx index 1ba43d60d..03760fcb5 100644 --- a/src/components/control/DaemonStatusBanner.tsx +++ b/src/components/control/DaemonStatusBanner.tsx @@ -2,8 +2,9 @@ import { useState } from "react"; import { X, Radio, WifiOff } from "lucide-react"; +import Link from "next/link"; import { timeAgo } from "@/lib/dates"; -import { APP_SLUG } from "@/config/brand"; +import { APP_NAME, APP_SLUG } from "@/config/brand"; type Props = { daemonNeverSeen: boolean; @@ -33,26 +34,59 @@ export function DaemonStatusBanner({ daemonNeverSeen, daemonOffline, daemonLastP
- {daemonNeverSeen - ? "Commands are queued and will run once the daemon connects. Start it on your local machine:" - : "Commands will queue until the daemon reconnects. Restart it on your local machine:"} -
- -
- APP_DAEMON_TOKEN=<your-token> ./scripts/{APP_SLUG}-daemon.sh
-
-
-
- The token is the value of APP_DAEMON_TOKEN (or legacy COCKPIT_DAEMON_TOKEN) in your local .env.local.
-
+ {APP_NAME} dispatches agents from your machine. Three pieces are needed: +
+$PATH.
+
+ APP_DAEMON_TOKEN=<your-token> ./scripts/{APP_SLUG}-daemon.sh
+
+ + Until the daemon connects, dispatches are queued and will fire once it pings in. +
+ > + ) : ( + // Returning user with a dropped daemon — they already have the + // prerequisites; surface only the restart command. + <> ++ Commands will queue until the daemon reconnects. Restart it on your local machine: +
+
+ APP_DAEMON_TOKEN=<your-token> ./scripts/{APP_SLUG}-daemon.sh
+
+
+ The token is the value of APP_DAEMON_TOKEN (or legacy COCKPIT_DAEMON_TOKEN) in your local .env.local.
+