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