feat(app): real daemon health footer (live, uptime, version)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-10 12:09:35 +07:00
parent f7763a84fc
commit defceb1169
5 changed files with 53 additions and 12 deletions
+6
View File
@@ -175,3 +175,9 @@ export async function deleteGroup(groupId: string): Promise<void> {
export async function closeSurfaceCmd(surfaceId: string): Promise<void> {
await invoke("close_surface", { surfaceId });
}
export interface DaemonHealth { version: string; pid: number; started_at_ms: number }
export async function getHealth(): Promise<DaemonHealth> {
return await invoke<DaemonHealth>("health");
}