piagent_
← /news
Oct 29, 2026community

Thirteen pi merges on October 28-29: case-insensitive Windows paths, honored project trust, auto-refreshed temporary npm extensions, Orca terminal detection, and Zhipu usage-cap relief

October 29 brought pi twelve fixes and one pi-tui feature. Eleven fixes merged on the 29th itself, every one a fix(); the twelfth, #11546, landed late on the 28th, after the previous roundup’s sweep, and is covered here under its own date. #9329, from the evening of the 29th and missed by that day’s sweep, closes the list.

Three fixes concern what reaches the terminal. #11565 stops regular-mode TUI from writing OSC 133 markers, which terminals displaying OSC 7501 status misread as a shell prompt. #11591 keeps the space after a styled word from wrapping to the next line when the word ends at the wrap width, and strikethrough now resets at line end like underline. #11586 reads ESC+Return with native Shift as Shift+Enter, so Apple Terminal setups get a newline instead of a queued follow-up.

#11588 digs deepest: pi compared Windows paths as exact strings, so global skills loaded as project skills, every skill reported a false name collision, saved trust under different path casing went unrecognized, and differently cased sessions hid from –continue and the session list. #11589 completes the trust story: resource-less projects were auto-trusted before the trust store was read, ignoring a saved refusal in trust.json — the saved decision now comes first, auto-trust without one unchanged.

Package handling gets three corrections. #11590 refreshes unpinned temporary npm extensions at startup — pi -e npm: reused its cached install forever; newer versions now trigger a reinstall, failed refreshes keep the cache, and pinned versions plus offline mode are unchanged. #11571 makes pi update –extensions honest when npm’s cached registry views disagree: an unchanged install draws a yellow warning instead of a false Updated packages. #11546 caps pi.exec’s combined output at 256 MiB by default (or the runtime string limit, if smaller) via ExecOptions.maxBuffer, terminates oversized commands, and makes ExecResult.truncated required — typed mocks must add it.

The last four: #11556 lets SDK sessions resolve summary auth through their own runtime — summaries passed a pre-resolved OAuth token as an API key, breaking providers whose key and OAuth paths differ. #11572 stops retrying Zhipu usage-limit errors (HTTP 429, code 1308) — three attempts and about 14 seconds, spent against a cap that resets hours later. #11577 picks the smaller of PNG and JPEG when resizing, so photos stop shipping as multi-megabyte PNGs while screenshots stay PNG. #11566 relabels startup skill diagnostics from [Skill conflicts] to [Skill warnings]; most are warnings for skills that still load.

The pi-tui feature: #9329, merged the evening of October 29, teaches pi-tui that Orca terminals advertise Kitty inline images, true color, and OSC 8 hyperlinks — gated on the ORCA_IMAGE_PROTOCOL=kitty signal, so builds without it keep the text fallback.

No release carries these twelve yet — v1.4.0 (October 21) is still the newest tag.

source: https://github.com/earendil-works/pi/pull/11588