agents
agents copied to clipboard
fix(voice): prevent dropped run_input acks in remote sessions
Serialize SessionHost outbound events and responses through a single writer so concurrent transport writes and shutdown cancellation cannot drop a completed run_input acknowledgement after conversation events were already delivered (spurious "Agent did not respond within 60.0s").
Also harden RemoteSession pending-request handling (register-before-send, finally cleanup, late/unknown response warnings, clear close errors) and make room/TCP transports fail loudly on send errors.
addresses #6661
@chenghao-mou please merge
@devin-ai-aintegration[bot] can this PR be merged