Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(chat): add new event listener types to ChatEventListeners

Steven Enamakelf066fd165b9e
diff --git a/app/src/services/chatService.ts b/app/src/services/chatService.ts
index 9a2738636b..eb3d2c0b28 100644
--- a/app/src/services/chatService.ts
+++ b/app/src/services/chatService.ts
@@ -739,6 +739,10 @@ export interface ChatEventListeners {
onApprovalRequest?: (event: ChatApprovalRequestEvent) => void;
onApprovalDecided?: (event: ChatApprovalDecidedEvent) => void;
onPlanReviewRequest?: (event: ChatPlanReviewRequestEvent) => void;
+ onThreadTodosChanged?: (event: ChatThreadTodosChangedEvent) => void;
+ onThreadGoalUpdated?: (event: ChatThreadGoalUpdatedEvent) => void;
+ onThreadGoalCleared?: (event: ChatThreadGoalClearedEvent) => void;
+ onRunModeChanged?: (event: ChatRunModeChangedEvent) => void;
onArtifactPending?: (event: ArtifactPendingEvent) => void;
onArtifactReady?: (event: ArtifactReadyEvent) => void;
onArtifactFailed?: (event: ArtifactFailedEvent) => void;