Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(desktop): add compaction event types to LocalChatEvent
yushen0421efb824d5
diff --git a/apps/desktop/electron/electron-env.d.ts b/apps/desktop/electron/electron-env.d.tsindex 7777fdf2ed..c9a4da2001 100644--- a/apps/desktop/electron/electron-env.d.ts+++ b/apps/desktop/electron/electron-env.d.ts@@ -91,7 +91,7 @@ interface LocalChatEvent {type?: 'error'content?: stringevent?: {- type: 'message_start' | 'message_update' | 'message_end' | 'tool_execution_start' | 'tool_execution_end'+ type: 'message_start' | 'message_update' | 'message_end' | 'tool_execution_start' | 'tool_execution_end' | 'compaction_start' | 'compaction_end'id?: stringmessage?: {role: stringdiff --git a/apps/desktop/electron/preload.ts b/apps/desktop/electron/preload.tsindex 16093ac0c6..c44d995f8e 100644--- a/apps/desktop/electron/preload.ts+++ b/apps/desktop/electron/preload.ts@@ -72,7 +72,7 @@ export interface LocalChatEvent {type?: 'error'content?: stringevent?: {- type: 'message_start' | 'message_update' | 'message_end' | 'tool_execution_start' | 'tool_execution_end'+ type: 'message_start' | 'message_update' | 'message_end' | 'tool_execution_start' | 'tool_execution_end' | 'compaction_start' | 'compaction_end'id?: stringmessage?: {role: string