Skip to content

v0.19.8

Choose a tag to compare

@github-actions github-actions released this 14 Jul 17:35
980bccc

What's New in v0.19.8

Bug Fixes

  • Stopped "Stream closed" errors on pending ExitPlanMode / AskUserQuestion / permission prompts — a follow-up to v0.19.7's #296 fix, addressing a different gap in the same release-gate logic. The gate that decides when it's safe to close the input stream had no awareness of a pending human-approval wait (ExitPlanMode, AskUserQuestion, or a regular tool permission prompt). If a background task's own result landed while you hadn't yet responded to one of these prompts, the stream could close prematurely — so your eventual response (e.g. approving a plan) failed with a "Stream closed" error, even though the session was still alive. Fixed with the same timer-free, event-driven approach as #296: the gate now also waits for any in-flight interactive callback to resolve before releasing the stream. (#298)

Notes

  • No breaking changes or migration steps.
  • If you're still seeing "Stream closed" errors after updating, please report it — the remaining architectural fix for this whole bug class (a long-lived query per thread, replacing the current per-turn heuristics) is tracked as a larger follow-up project, not yet started.