Repository navigation
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.