Skip to content

v0.1.13

Choose a tag to compare

@andrea-tomassi andrea-tomassi released this 01 Aug 06:52
· 60 commits to main since this release

Fixed

  • Subagent output no longer echoes the request on pi 0.83.0. pi 0.83.0 changed its JSON event stream to emit message_end for every message role (user, assistant, toolResult) — not just assistant. The executor captured text from any message_end, so the echoed user task (Task: …) and raw tool results leaked into the subagent output whenever the final assistant turn had no text part (tool-only / error).

    The message_end handler now captures text, usage, and model only from role === "assistant" messages. Backward- and forward-compatible.

  • Added regression tests replaying the real 0.83.0 event stream (user + assistant + toolResult message_end) via an injected fake runner.