fix: simplify host status to online/offline and keep it live without a refresh

This commit is contained in:
LukeGus committed 2026-10-04 14:18:50 -05:00
1 parent 2646b649d7
commit 0a436ab3d8
48 files changed
+549 -789

No files matched your search

+2 -3
View File
@@ -63,13 +63,12 @@ import { dbHealthMonitor } from "@/lib/db-health-monitor";
import { getDeviceId } from "@/lib/device-id";
export type ServerStatus = {
status: "online" | "reachable" | "offline";
status: "online" | "offline";
lastChecked: string;
reason?: "host_key_changed";
};
export type SSHHostWithStatus = SSHHost & {
status: "online" | "reachable" | "offline" | "unknown";
status: "online" | "offline" | "unknown";
};
export interface AuthResponse {