CUB-41: Add low stock indicators to filament UI

This commit is contained in:
cubecraft-agents[bot]
2026-04-26 14:27:08 +00:00
parent 230c3b295d
commit 3d67610575
34 changed files with 10758 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
/**
* Represents the status of a single agent/printer in the system.
*/
export type AgentStatus = 'active' | 'idle' | 'thinking' | 'error';
export interface AgentSummary {
/** Total number of agents in the system */
total: number;
/** Number of currently active agents */
active: number;
/** Number of currently idle agents */
idle: number;
/** Number of currently thinking/processing agents */
thinking: number;
/** Number of agents in error state */
error: number;
}
export interface SystemHealth {
/** Whether the SignalR connection is live */
connected: boolean;
/** Overall system health: healthy, degraded, or down */
status: 'healthy' | 'degraded' | 'down';
}