Repository navigation
v0.16.1
Fixed
Client#receive_responseno longer raisesLocalJumpError: break from proc-closurewhen called insideAsync { }. The 0.15.1 thread-hop severedbreak's unwind target; the loop now exits via the naturalendmarker afterResultMessage.
Why this matters
If you used the canonical one-shot pattern:
Async do
client.connect
client.query('hello')
client.receive_response { |msg| puts msg }
ensure
client.disconnect
end…it crashed on the first ResultMessage after 0.15.1. That's now fixed. The pre-0.15.1 (no-Async) call path was unaffected and continues to work.
What's changed
Full Changelog: v0.16.0...v0.16.1
gem install claude-agent-sdk -v 0.16.1