-
-
-
-
-
-
+
Home
+
+
+
+
diff --git a/ui/src/dashboard/HealthCard.vue b/ui/src/dashboard/HealthCard.vue
new file mode 100644
index 000000000..aee277eed
--- /dev/null
+++ b/ui/src/dashboard/HealthCard.vue
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+ Everything is working
+ {{ health.version }}
+
+
+ -
+ unhealthy
+
+
{{ problem.label }}
+
+ {{ problem.cause.split("\n")[0] }} ·
+
+
+
+
+
+
diff --git a/ui/src/dashboard/NeedsAttentionCard.vue b/ui/src/dashboard/NeedsAttentionCard.vue
index 6eb8383ba..e07ab1bc0 100644
--- a/ui/src/dashboard/NeedsAttentionCard.vue
+++ b/ui/src/dashboard/NeedsAttentionCard.vue
@@ -1,64 +1,83 @@
-
+
+
-
+
- -
- {{ statusLabel(task.status ?? "") }}
-
-
{{
- task.title || `Task ${task.id}`
- }}
-
- {{ [meta(task), reason(task)].filter(Boolean).join(" · ") }}
-
-
-
-
-
+ -
+ {{ item.badge }}
+
+
{{ item.title }}
+
+ {{ item.caption }} ·
+
+
+
+
diff --git a/ui/src/dashboard/RecentRunsCard.vue b/ui/src/dashboard/RecentRunsCard.vue
new file mode 100644
index 000000000..74b8118fc
--- /dev/null
+++ b/ui/src/dashboard/RecentRunsCard.vue
@@ -0,0 +1,80 @@
+
+
+
+
+
+
+ { if (value) filter = value as typeof filter; }">
+ {{ option.label }}
+
+
+
+
+
+
+
+ Workflow
+ State
+ Detail
+ Started
+
+
+
+
+
+ {{ filter === "all" ? "No runs yet" : `No ${filter} runs` }}
+
+
+
+
+ {{ run.workflow }}
+
+ {{ run.state }}
+ {{ run.error || run.detail }}
+
+
+
+
+
+
+
diff --git a/ui/src/lib/api.ts b/ui/src/lib/api.ts
index 0cf933134..f11d23ef9 100644
--- a/ui/src/lib/api.ts
+++ b/ui/src/lib/api.ts
@@ -279,7 +279,8 @@ export const api = {
publishProposal: (id: string) =>
request
(`/api/memory/proposals/${encodeURIComponent(id)}/publish`, { method: "POST", body: {} }),
health: () => request("/health/detailed"),
- services: () => request("/api/services"),
+ systemHealth: () => request("/api/system/health"),
+ bootstrap: () => request("/api/system/bootstrap"),
policies: () => request("/api/access/policies"),
denials: (limit?: number) =>
request(`/api/access/denials${limit ? `?limit=${limit}` : ""}`),
@@ -715,6 +716,51 @@ export interface ApprovalAssertion {
credential: unknown;
}
+/** One module's or dependency's readiness. */
+export interface HealthCheck {
+ name: string;
+ healthy: boolean;
+ error?: string;
+}
+
+/** One accepted package: a connector, secret engine, guard or MCP server. */
+export interface ConnectorHealth {
+ name: string;
+ contract: string;
+ healthy: boolean;
+ error?: string;
+ failed_at?: string;
+}
+
+export interface RunCounts {
+ queued: number;
+ running: number;
+ waiting: number;
+ waiting_approval: number;
+ parked: number;
+}
+
+/** What the binary reports about itself: GET /api/system/health. */
+export interface SystemHealth {
+ version: string;
+ healthy: boolean;
+ checked_at: string;
+ checks: HealthCheck[];
+ connectors: ConnectorHealth[];
+ runner: { healthy: boolean; workers: number; error?: string; error_at?: string };
+ waiting?: { approvals: number; runs: RunCounts };
+ last_failure?: { source: string; cause: string; at: string; run_id?: string };
+}
+
+/** The values only the config file sets: GET /api/system/bootstrap. */
+export interface Bootstrap {
+ listen: string;
+ database_host: string;
+ schemas: number;
+ admin_token_set: boolean;
+ sealing_identity_set: boolean;
+}
+
export interface ApprovalConfirmation {
token: string;
options: { publicKey: Record };
diff --git a/ui/src/lib/system-health.ts b/ui/src/lib/system-health.ts
new file mode 100644
index 000000000..e907c91ff
--- /dev/null
+++ b/ui/src/lib/system-health.ts
@@ -0,0 +1,13 @@
+import { onMounted } from "vue";
+
+import { api } from "@/lib/api";
+import { usePoll, useRead } from "@/lib/use-read";
+
+/** The binary's health, read on mount and every 15 seconds. The Home page and
+ * the Status page share it. */
+export function useSystemHealth() {
+ const read = useRead(() => api.systemHealth());
+ onMounted(read.reload);
+ usePoll(read.reload, 15_000);
+ return read;
+}
diff --git a/ui/src/router/routes.ts b/ui/src/router/routes.ts
index 337fd04b4..8ee328167 100644
--- a/ui/src/router/routes.ts
+++ b/ui/src/router/routes.ts
@@ -53,7 +53,7 @@ export const routes: RouteRecordRaw[] = [
meta: {
label: "Dashboard",
description:
- "Running work, work needing attention, token spend.",
+ "Health, what waits on a person, and recent runs.",
section: "home",
},
},
@@ -192,7 +192,7 @@ export const routes: RouteRecordRaw[] = [
settings: true,
label: "Status",
description:
- "Service presence, dependency health, and build versions.",
+ "Module, connector and runner health, and the running version.",
section: "system_status",
},
},
diff --git a/ui/src/settings/HealthTables.vue b/ui/src/settings/HealthTables.vue
index 260756472..b5e1798f2 100644
--- a/ui/src/settings/HealthTables.vue
+++ b/ui/src/settings/HealthTables.vue
@@ -1,143 +1,69 @@
-
-
-
-
- #{{ row.instance_id }}
- {{ row.service }}
-
- {{ row.version }}
- {{ row.install_type }}
- {{ uptime(row) }}
-
+
+
+ {{ row.name }}
-
-
-
-
-
-
- {{ reason }}
-
-
- {{ row.state }}
-
+
+
+
+
+
+ {{ row.error }}
+
+
+
+
+
+
+
+ {{ row.name }}
+ {{ contract[row.contract] ?? row.contract }}
+
+
+
+
+
+
+
+ {{ row.error }}
+
+
diff --git a/ui/src/settings/InstanceCard.vue b/ui/src/settings/InstanceCard.vue
new file mode 100644
index 000000000..486e5844f
--- /dev/null
+++ b/ui/src/settings/InstanceCard.vue
@@ -0,0 +1,44 @@
+
+
+
+
+
+ Runner: {{ health.runner.error }}
+
+
+
+
+ {{ health.last_failure.source }}{{ health.last_failure.cause.split("\n")[0] }}
+ Run
+
+
+
+
diff --git a/ui/src/settings/SystemStatusPage.vue b/ui/src/settings/SystemStatusPage.vue
index 9e65b75da..159749fad 100644
--- a/ui/src/settings/SystemStatusPage.vue
+++ b/ui/src/settings/SystemStatusPage.vue
@@ -1,45 +1,38 @@
-
-
- {{ errors.settings.status.reload }}
- {{ config.reload.last_error }}
-
-
-
-
-