feat: optimistic update for session watcher

This commit is contained in:
Haileyesus
2026-04-25 21:32:24 +03:00
parent edc7d6d184
commit 68123dcc33
3 changed files with 149 additions and 20 deletions

View File

@@ -64,6 +64,12 @@ export interface ProjectsUpdatedMessage {
type: 'projects_updated';
projects: Project[];
updatedSessionId?: string;
updatedSessionIds?: string[];
watchProvider?: LLMProvider;
watchProviders?: LLMProvider[];
changeType?: 'add' | 'change';
changeTypes?: Array<'add' | 'change'>;
batched?: boolean;
[key: string]: unknown;
}