Add better messages for intent processing and update in progress

This commit is contained in:
khalid@traclabs.com
2026-04-23 08:40:15 -05:00
parent 46247b7733
commit 68ecaec76c
4 changed files with 11 additions and 3 deletions

View File

@@ -43,7 +43,11 @@ export function broadcastReload(reason: string, data?: Record<string, unknown>):
}
}
export type UpdateStatusPhase = 'request_received' | 'update_started' | 'update_done';
export type UpdateStatusPhase =
| 'request_received'
| 'intent_processing'
| 'updating'
| 'update_done';
export function broadcastUpdateStatus(phase: UpdateStatusPhase, data?: Record<string, unknown>): void {
if (!wss) return;