Expose at-most-once subscription readiness

This commit is contained in:
2026-07-18 14:26:22 -07:00
parent a116b2708c
commit edad9c7018
5 changed files with 120 additions and 10 deletions

View File

@@ -1,5 +1,17 @@
# Changelog
## 0.0.1.alpha7 - 2026-07-18
### Fixed
- Add an at-most-once `on_subscribed` hook to the lower-level
`Opencode::Client#stream_events` API. Higher-level orchestrators can now
wait for `server.connected` before submitting `prompt_async` without
abandoning their own Reply observers, persistence, or recovery pipeline.
- Propagate subscription-hook failures directly and never invoke the hook
again on SSE reconnect. Ambiguous prompt transport failures therefore
cannot silently become duplicate turns.
## 0.0.1.alpha6 - 2026-07-18
### Fixed