Files
t3code/apps/web
Cursor Agent c91e8b23e8 fix: prevent fallback effect from immediately resetting sendPhase on follow-up messages
The fallback effect that catches missed 'running' phase transitions was
incorrectly firing on follow-up messages. When beginSendPhase was called,
latestTurnSettled was still true from the previous completed turn, causing
an immediate resetSendPhase before the server could create the new turn.

Fix: record the turnId at the time beginSendPhase is called (via a ref),
and only allow the fallback reset when the latest turn differs from the
one recorded — meaning a new turn was actually created and has settled.

Applied via @cursor push command
2026-03-29 17:07:04 +00:00
..
2026-02-19 01:42:56 -08:00
2026-03-29 04:52:14 +00:00