mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-24 18:22:38 +00:00
Changing thinking (or another query setting) on a Claude agent that has no live query left the restart flag set after a fresh query was created, so the next prompt failed with "Cannot read properties of null (reading 'push')". A fresh query now consumes the pending restart, and the query pump drains the query the turn created instead of re-running ensureQuery. Keeps the submitted-message emission as it was on main; the immediate- failure rewind change from #5950 is not part of this fix. Adds a real Claude daemon test for the reported path: create an agent, set thinking, then send the first message. Co-authored-by: louis1618 <louis.devop@gmail.com> Co-authored-by: oyzh888 <oyzh888@users.noreply.github.com>