3 months ago
0ee701cQueue the first message of a new chat with a pre-generated clientMessageId and push its optimistic user bubble plus a pending turn-start state before the workspace socket or thread session exists, so the transcript responds at send click instead of after multiple round trips. The id travels through the pending-message queue into turn/start so the server echo dedups against the optimistic bubble, and thread-start failures or workspace disconnects now clear the pending turn-start so the composer never sticks in Sending. Co-authored-by: Cursor <cursoragent@cursor.com>
Parent4cf820f