Skip to content

v0.0.46

Choose a tag to compare

@github-actions github-actions released this 08 Nov 11:48
· 915 commits to main since this release

v0.0.46: streamed-tool and markdown parity, plus faster tool arguments

Changes since v0.0.45 in a bounded maintenance pass against pi v1.5.0 (f9a26365). This is not an exhaustive parity claim.

Highlights:

  • Tool arguments stream through an incremental parser: out-of-order and numeric keys stay linear instead of quadratic, and the live preview refreshes on every delta and when a throttled stream pauses.
  • Provider wire parity across Anthropic, OpenAI Responses/Codex/completions, Google, Mistral and Bedrock: request bodies in upstream order, streamed chunks and argument events decoded like the reference, open block indices tracked, ids and empty arrays preserved.
  • Every remote JSON document is read through the body cap, including OAuth discovery and authorized-user token responses, so an oversized response fails at the cap instead of buffering.
  • Markdown ports marked's block tokenizers and reference-link handling: lazy continuations, list interrupts, setext lookaheads, HTML blocks, indented and closing fences, and trailing blank lines now match the reference.
  • Interactive: the working indicator shows elapsed time and the run's tokens, with a matching transcript note; collapsed thinking blocks tick live; the compaction spinner reads "Compacting (12s)" and its billing notice reports how long the run took; /tail starts from the live context; MCP call frames use the reference renderers.
  • Session and resources: compaction entries persist in the reference shape, tailed entries re-chain through the retained line, list settings are read per scope with CLI paths first, canonical resource and theme paths are deduplicated, and file lists are capped and ordered deterministically.
  • Terminal and input: one stdin reader is shared across terminals on the same input, kitty CSI-u F1-F12 and ICU UAX #29 word segmentation match the reference, the editor keeps its sticky column in UTF-16 units, and the ANSI re-chunker preserves bytes at every split.
  • Goals release follow-ups through the session pipeline, hold them until the final answer and skip a disposed session; the agent's follow-up predicate now runs outside the queue lock.

Every behavior change is pinned by a test against the pinned reference, including new node goldens for JSON repair, tool-call arguments, the Anthropic request body, auth command parsing and a session round trip; just goldens regenerates all 76 fixtures from the pin.

Documented RE2 and full dynamic-scope limits remain; see ARCHITECTURE.md.

Assets: android/arm64, linux/amd64, linux/arm64, windows/amd64, windows/arm64, darwin/amd64, darwin/arm64, each with a .sha256 file.