/** * Sentori Runtime Event Schema * Defines types for tool call interception events. */ export type ToolCallEvent = { id: string; timestamp: string; toolName: string; args: Record; result?: unknown; durationMs?: number; agentId?: string; sessionId?: string; }; export type RuntimeEvent = { type: 'tool_call_start'; data: ToolCallEvent; } | { type: 'tool_call_end'; data: ToolCallEvent; } | { type: 'tool_call_error'; data: ToolCallEvent & { error: string; }; }; //# sourceMappingURL=event-schema.d.ts.map