fix(chat): recover web approvals and questions across clients and reconnects
This commit is contained in:
@@ -206,6 +206,9 @@ func handleChatSubscribe(request protocol.Message, broker chatBroker, hub *chatH
|
||||
_ = write(protocol.Message{Type: protocol.Error, ID: request.ID, Error: "could not observe session " + query.SessionID})
|
||||
return
|
||||
}
|
||||
// Observe requests from CLI-originated turns and recover after reload; do
|
||||
// not require the browser to send another prompt just to start polling.
|
||||
hub.startRoomPoller(sub.room, broker)
|
||||
// A turn already in flight when this client attaches has no `step started`
|
||||
// frame in its future, so replay the live marker. The composer's Stop control
|
||||
// and the transcript's one activity row read it; the later `step ended` frame
|
||||
|
||||
Reference in New Issue
Block a user