-
-
-
-
-
-
+
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/LiveActivityCard.vue b/ui/src/dashboard/LiveActivityCard.vue
deleted file mode 100644
index e3ca24b00..000000000
--- a/ui/src/dashboard/LiveActivityCard.vue
+++ /dev/null
@@ -1,243 +0,0 @@
-
-
-
-
-
- { if (value) filter = value as typeof filter; }">
- {{ option.label }}
-
-
-
-
-
-
-
-
-
- Event
- Task
- Detail
- When
-
-
-
-
-
-
- Alert
- ×{{ alert.count }}
-
-
- –
-
-
-
-
- {{ alert.title }}
-
- {{ alert.body }}
-
- Fix →
-
-
-
-
-
-
-
-
- {{ emptyTitle }}
-
-
-
-
-
-
-
-
-
-
- 0 && openTask(group.taskID)"
- >
-
-
-
-
-
- {{ describeTimelineEvent({ ...group.representative, at: undefined, detail: undefined }).title }}
- ×{{ group.count }}
-
-
-
- {{
- group.taskID > 0 ? `#${group.taskID}` : "–"
- }}
-
-
-
- {{ groupDetail(group).text }}
-
- {{ groupDetail(group).full }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
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 e1b052391..76ddc3e60 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: (params: QueryParams = {}) =>
request("/api/access/denials" + qs(params)),
@@ -726,6 +727,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
new file mode 100644
index 000000000..b5e1798f2
--- /dev/null
+++ b/ui/src/settings/HealthTables.vue
@@ -0,0 +1,70 @@
+
+
+
+
+
+ {{ row.name }}
+
+
+
+
+
+
+ {{ 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/ServicesCard.vue b/ui/src/settings/ServicesCard.vue
deleted file mode 100644
index 260756472..000000000
--- a/ui/src/settings/ServicesCard.vue
+++ /dev/null
@@ -1,144 +0,0 @@
-
-
-
-
-
-
-
- #{{ row.instance_id }}
- {{ row.service }}
-
- {{ row.version }}
- {{ row.install_type }}
- {{ uptime(row) }}
-
-
-
-
-
-
-
-
- {{ reason }}
-
-
- {{ row.state }}
-
-
-
-
-
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 }}
-
-
-
-
-
diff --git a/ui/src/settings/UpdateSettingsCard.vue b/ui/src/settings/UpdateSettingsCard.vue
deleted file mode 100644
index 407f4ed1a..000000000
--- a/ui/src/settings/UpdateSettingsCard.vue
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-
diff --git a/ui/src/settings/VersionsCard.vue b/ui/src/settings/VersionsCard.vue
deleted file mode 100644
index 782bba586..000000000
--- a/ui/src/settings/VersionsCard.vue
+++ /dev/null
@@ -1,214 +0,0 @@
-
-
-
- Update checks not configured.
-
-
- Checking…
-
-
-
-
- Component
- Running
- Available
-
-
-
-
-
- {{ component.label || component.id }}
- {{
- component.running_version || component.installed_claim
- }}
- {{ component.latest_available }}
-
- {{
- statusLabel[component.status]
- }}
-
-
-
-
-
-
-
-
-
- {{ installResult }}
-
-
- {{ outcome.summary }}
-
-
-
-
-
-