feat: add agent activity events

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
David Kaya
2026-03-21 12:48:27 +01:00
co-authored by Copilot
parent b9e9662f6e
commit c5979d07bd
14 changed files with 754 additions and 33 deletions
+11 -1
View File
@@ -1,4 +1,11 @@
export type SessionEventKind = 'status' | 'message-delta' | 'message-complete' | 'error';
export type SessionActivityType = 'thinking' | 'tool-calling' | 'handoff' | 'completed';
export type SessionEventKind =
| 'status'
| 'message-delta'
| 'message-complete'
| 'agent-activity'
| 'error';
export interface SessionEventRecord {
sessionId: string;
@@ -8,5 +15,8 @@ export interface SessionEventRecord {
messageId?: string;
authorName?: string;
contentDelta?: string;
activityType?: SessionActivityType;
agentName?: string;
toolName?: string;
error?: string;
}