coalesce cursor thinking deltas in run log streaming

This commit is contained in:
Dotta
2026-03-05 08:35:00 -06:00
parent 8f70e79240
commit 1c9b7ef918
6 changed files with 73 additions and 13 deletions

View File

@@ -136,7 +136,7 @@ export interface ServerAdapterModule {
export type TranscriptEntry =
| { kind: "assistant"; ts: string; text: string }
| { kind: "thinking"; ts: string; text: string }
| { kind: "thinking"; ts: string; text: string; delta?: boolean }
| { kind: "user"; ts: string; text: string }
| { kind: "tool_call"; ts: string; name: string; input: unknown }
| { kind: "tool_result"; ts: string; toolUseId: string; content: string; isError: boolean }