Files
Cursor Agent 320868a075 Fix assistant message capture: use item/completed events instead of broken condition
The condition (event.kind === 'notification' || event.method === 'turn/completed')
used || where && was needed, but even with &&, notification events don't carry
event.message (only session/error events do), so AppendAssistantMessage was never
dispatched.

Fix by intercepting item/completed notifications for agentMessage items and
extracting the text from event.payload.item.text, consistent with how the web
client handles these events in session-logic.ts.
2026-02-22 01:39:26 +00:00
..
2026-02-19 21:54:10 -08:00