import type { ReactNode } from "react"; import type { VaultStatus } from "../../lib/format"; import { StatusDot } from "../ui/StatusDot"; import { formatBytes } from "../../lib/format"; import type { Snapshot } from "../../api"; export function CockpitFrame({ children }: { children: ReactNode }) { return (

Tessera · orbital vault

SYS // VAULT-01

{children}
); } function motionBorder() { return ( <> ); } export function TelemetryStrip({ status, online, snapCount, totalBytes, }: { status: VaultStatus; online: boolean; snapCount: number; totalBytes: number; }) { return (
{online ? "LINK OK" : "NO LINK"}
TILES {snapCount}
{formatBytes(totalBytes)} mass
); } export function SnapshotsMiniList({ snapshots, selected, onSelect, }: { snapshots: Snapshot[]; selected: string | null; onSelect: (id: string) => void; }) { if (!snapshots.length) return null; return (
{snapshots.slice(0, 4).map((s, i) => ( ))}
); }