Seven pi merges on October 20: Rex terminal gains Kitty images, CJK emphasis fixed in TUI and HTML export, and the prompt cache survives tool changes
Seven merges landed in pi on October 20, 2026: one feature, six fixes.
The CJK pair shares one root cause: CommonMark’s flanking rules cannot close a ** between CJK punctuation and a following character, so bold beside fullwidth punctuation kept its asterisks. #10730 wires marked-cjk-friendly’s emStrong tokenizer into the TUI renderer — CJK characters count like punctuation for flanking checks, English parses as before — taking only that tokenizer: the package’s del tokenizer would bring back the single-tilde strikethrough StrictStrikethroughTokenizer deliberately turns off. #11168 ports the same fix to HTML export, vendoring marked-cjk-friendly 0.1.2; both close #10154.
#11185 stops an unclosed $$ display-math opener from swallowing the tables after it: the opener could pair with a later $$ across a GFM table or wait as pending streaming math. Block-math tokens no longer span a table start, the pending-math fallback skips content containing one, leaving readable raw text instead of guessing where a closing $$ belongs.
petrroll’s pair follows. #11183 turns on Rex’s images: detection landed the previous day with images off because Rex only partially implements the Kitty graphics protocol (no Unicode placeholders) — still partial, but the new code comment calls it enough to support Pi; the capability flips from null to kitty. #11188 exposes @earendil-works/pi-ai’s /models subpath in the extension loader, where importing it (clampThinkingLevel included) failed with Cannot find module; /models joins the jiti aliases and the virtual module map.
In packages/ai, #11142 keeps the prompt cache alive across tool changes on Responses-style models: a tool removal or redeclaration stopped the resolver anchoring additions, so the full list sat at the top level where deferred loads rewrote it, breaking the cached prefix. Models with additional_tools now declare tools inside those items, removals are announced as text, and each later item carries a still-unavailable-tools notice — rules drawn from live failures on luna models and Kimi K3. The author’s matrix took the first request after a tool change from 18 of 36 cache misses to 0 of 24; existing sessions on additional_tools models miss the cache once after upgrading. #11173 drops gpt-5.5 and gpt-5.3-codex-spark from the openai-codex catalog: the Codex backend refuses both for ChatGPT accounts, and its model list no longer carries either.
v1.3.0 (October 15) predates all seven, so they queue on main for the next cut; every diff lives on its pull request page.