Repository navigation
Releases
v0.0.51
v0.0.51
103 commits since v0.0.50: twelve fixes (session write ordering, virtual compaction, macOS and Windows paste, the x/image WebP advisories), session payloads kept on disk with a one-pass snapshot hydrate and a streamed HTML export, and the test suite consolidated from 1499 to 1052 files.
v0.0.50
v0.0.49
v0.0.49
42 commits since v0.0.48: fifteen fixes, a 5x LaTeX speedup, and nine new reference corpora behind the goldens gate.
Fixes
- Kitty image lines: a crop rewrites the controls with one separator (
r=2;AAAA), and the placement and crop scans require the controls terminator like the reference, so a line without;is no longer rewritten into a mangled sequence. - Column slices no longer carry an APC marker or kitty command from before the range into the slice.
- Color mixing keeps fractional channels until they are written, so a chained sRGB mix matches the reference (
#bf4040, not#c04040). findno longer panics on a limit wider than int64.- The autocomplete trigger check reads every rune, so CJK word breaks are detected.
- The OAuth callback servers in ai and mcp bound how long a connection may stall before headers arrive.
- Untrusted text is sanitized before it reaches the terminal: authorization-server errors, logout provider ids, CLI diagnostics, print-mode provider errors, catalog identifiers, the sign-in URL block, the update card, and hyperlink framing.
- staticcheck, ineffassign and errcheck are clean; the five deliberate exclusions are named in .golangci.yml with reasons.
Performance
- LaTeX rendering scans script values and layout lines instead of running the regexp engine: nested scripts at depth 200 went from 9.51 ms to 0.30 ms per render against the reference's 1.90 ms, and depth 1000 from 237 ms to 7.6 ms.
Parity evidence
just goldensverifies 103 fixtures regenerated from the pin: LaTeX, column slices, colors, fuzzy matching, program status, select list, settings list, text and box, prompt-template arguments.- New fuzz targets cover the kitty image scans and the column slice invariants.
- Cross-implementation runs against
bun piover stdio RPC matched on streaming turns, tool calls, parallel tool ordering, abort, steer, retry classification and fourteen CLI flag combinations.
Verification: just check, just goldens (103/103), just cross, golangci-lint run ./... (0 issues), internal/docscheck, and the CI gate on 9e3ea0e which runs the race, stress and isolated suites.
No breaking changes.
v0.0.48
pier v0.0.48
12 commits since v0.0.47. Two fixes, the rest verification.
Fixes
- Cache warming works. v0.0.47 built the warmer with no stream function, so
every refresh called nil, the panic was recovered, and no warm request was
ever bought while /info reported "scheduled" with its cost figures. Refreshes
now stream through the model runtime (pi core/sdk.ts), and back-to-back warm
notices total into one transcript line with the cumulative cost
(interactive-mode addCacheWarmingUsage). - A blockquote whose marker line has no content (model output ">\t\n0") crashed
the markdown lexer with an index out of range. Found by FuzzLexAndInline; the
contentless chunk now contributes neither text nor blocks, matching the
reference's token text.
Verification added
- Path handling pinned to the reference: normalizePath, resolvePath,
getCwdRelativePath, isPathWithin, pathsEqual and shortenHomePath over a
corpus generated from the pin's own utils/paths.ts. - A cancelled shell call is proven to kill its descendants, including one
holding the inherited stdout pipe. - MCP stdio framing: byte-at-a-time frames, splits inside a rune, CRLF, blank
lines and a 1 MiB frame in 64 KiB chunks. - OAuth dot-segment normalization pinned to WHATWG over 22 spellings.
- New fuzz targets for the MCP peer decoder, session entry decoding,
authorization-server documents, the Bedrock event stream and the SSE line
splitter. Every target passes; the Markdown lexer crash above was the one
failure fuzzing found.
Verified locally: just check, just goldens 83/83 against the pin, just cross for
every release target, just reference at pi v1.5.2 (b4afdddf). CI passed the race
gate, race stress, isolated tests and cross-build vet before this tag.
v0.0.47
pier v0.0.47
279 commits since v0.0.46. Upstream pin: pi v1.5.2 (b4afdddf).
New
auth loginandauth logoutare ported: browser or API-key sign-in, the
method prompt, device-code and URL notices, and MatchedProvider removal.- Anthropic message threads behind
supportsMessageThreads: per-session thread
state with its bound, a prefix hash, and new-thread recovery on rejection. - A session whose stored working directory is gone now offers "Fork into ",
which copies the session and switches to the copy, dropping it on a vetoed
switch. - A rendered tool path links to its file; the worked-for notice leads with its
finish time, duration and cache share; a working label too wide for the border
ends in an ellipsis; an automatic compaction is labelled Auto-compacting. - A shell call without a timeout is stopped after 600 seconds.
Fixes
- Markdown: a bare autolink is cut at CJK punctuation instead of one character
early (A527); an open$$display-math block is re-lexed when the source
grows (A528); a paragraph a setext underline can still absorb stays unstable
(A529); nested blockquotes stop at the border a narrow view can hold instead
of growing exponentially with depth (A530). - Cache warming defaults to "idle", as upstream does (A525); resuming a session
in the current directory names that directory (A524). - Anthropic OAuth requests report the current Claude Code version.
Performance
- Session-file work, the tree, HTML export and the session projection run off
the UI owner loop; session listing is concurrent with progress and
cancellation; compaction summarizes from the session's own last request;
tree rows are no longer decoded on every render.
Verification
just check(gofmt, go mod tidy, go vet, tests, internal/docscheck),
just goldens81/81 against the pin,just crossfor every release target,
andjust referenceall pass locally; CI adds the race gate, stress and
isolated runs.
v0.0.46
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.
v0.0.45
v0.0.45: startup theme consistency, palette contrast, and reliability fixes
Changes since v0.0.44 in a bounded maintenance pass against pi v1.5.0 (f9a26365). This is not an exhaustive parity claim.
Highlights:
- Startup color scheme is consistent: the system theme stays grayscale until the terminal reports its colors, so tool and message panels no longer depend on whether that reply beats the first paint.
- Light and dark palettes now meet measured contrast floors: text and semantic colors clear 4.5:1 against the page and every signal fill, dim text clears 3:1, and each fill is visibly distinct from the page (D377).
- Hardened session lifecycle: a vanishing session file reports its stat error instead of panicking, the missing trailing newline is appended rather than rewriting the file, and queued rename, reload, event and goal-notice work stays ordered across session replacement.
- Fixed terminal output handling for CSI private-prefix sequences, and kept MCP redirect credentials stripped across later hops.
- Cancellation now flows through request preparation and model refresh ownership; canceled RPC preflights settle before acknowledgment and stdin failure rejects pending requests.
- Extended numeric saturation across provider usage, cost tiers, cache stats, context estimates and budget accounting, plus proxy tool calls without a payload.
- Release self-checks recognize dirty builds and git-describe versions, and crash records capture worker panic stacks.
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.
v0.0.44
v0.0.44: pi v1.5.0 parity, schema validation, and reliability fixes
Changes since v0.0.43 in a bounded maintenance and compatibility pass against pi v1.5.0 (f9a26365). This is not an exhaustive parity claim.
Highlights:
- Ported pi-schema tool-argument validation, standard formats, unevaluated annotations, and same-resource dynamic references; added the immutable upstream probe corpus.
- Refreshed chat, image, classifier, and Cloudflare catalogs for pi v1.5.0, including GPT-6.1 Terra.
- Hardened session lifecycle: no lost idle wakeups, no stale events across session replacement, settlement before reporting idle, and clean unwinding after panics.
- Fixed proxy tool-delta panic handling, Responses final-argument replacement, MCP base64 tails, trust-key document order, read-only auth nulls and ownership, and resumed-session cache seeding.
- Added overflow protections for schema multipleOf and provider usage/compaction totals.
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.
v0.0.43
v0.0.43: Reliability, resource bounds, and parity fixes
Changes since v0.0.42 in a bounded maintenance and compatibility pass against pi v1.4.0 (4a080252). This is not an exhaustive parity claim.
Highlights:
- Hardened provider, OAuth, timeout, numeric-boundary, and streaming/JSON handling.
- Improved MCP transport/OAuth, session retention, cancellation, and process shutdown.
- Refined interactive goal cards, selectors, settings, terminal rendering, Markdown, and highlighting.
- Added regression, fuzz, and race coverage across boundary and lifecycle cases.
Known limitations retained for compatibility decisions: M35 response body limits and M37 untrusted terminal control sanitization; see TODO.md.
Assets: android/arm64, linux/amd64, linux/arm64, windows/amd64, windows/arm64, darwin/amd64, darwin/arm64, each with a .sha256 file.
v0.0.42
v0.0.42: Reliability and parity fixes
Changes since v0.0.41, in a bounded maintenance and parity pass against pi v1.4.0 (4a080252). This is not an exhaustive parity claim.
Highlights:
- AI provider wire, credential, retry, and timeout parity fixes.
- Coding/session and MCP lifecycle, cancellation, persistence, and HTTP reliability fixes.
- TUI input, rendering, timer, terminal protocol, and reference-retention fixes.
- Shell output preserves descendant writes during post-exit grace, and cancellation no longer waits for escaped writers.
Assets: android/arm64, linux/amd64, linux/arm64, windows/amd64, windows/arm64, darwin/amd64, darwin/arm64, each with a .sha256 file.