Merge branch 'worktree-hooks-d-subagent' into worktree-hooks-e-protocol

# Conflicts:
#	docs/module-graph.md
#	pnpm-lock.yaml
This commit is contained in:
Tianyi Cui
2026-07-04 03:01:22 +08:00
207 changed files with 16517 additions and 535 deletions

View File

@@ -43,7 +43,7 @@ interface SessionEventMap {
*/
'assistant/message': { turn: number; step: number; content: ContentBlock[]; usage?: TokenUsage }
'tool/call': { turn: number; step: number; callId: CallId; name: string; arguments: string }
'tool/result': { turn: number; step: number; callId: CallId; content: ContentBlock[]; isError: boolean; error?: { name: string; code: string } }
'tool/result': { turn: number; step: number; callId: CallId; content: ContentBlock[]; isError: boolean; error?: { name: string; code: string }; meta?: unknown }
/** Steering content injected between steps of a running turn. */
'steering/message': { turn: number; content: ContentBlock[]; source: MessageSource }
/**