Repository navigation
v1.5.29 — tracking pi 1.5.0
Tracks pi 1.5.0 (upstream pin 90b42bca6).
Highlights
- MCP-style tool schemas work on Claude: Anthropic tools keep their root
$defs/definitions, so$refs resolve instead of pointing at nothing. - Fewer OpenRouter "context too long" rejections: max tokens leave a 15% margin for OpenRouter counting the input higher than pi's estimate.
- pi-env runs long-lived programs over plain pipes (
env.OpenProcess), e.g. MCP servers on stdio, plus a fresh pi 1.5.0 catalog (gpt-6.1-terra, Kimi K3.1 Pro; 1,592 models). Also tagged:env/v1.5.29.
Details
v1.5.29
Upstream sync d0fe21308 → 90b42bca6 (pi 1.5.0). 68 changes on the union
range, the same first-parent. 15 port — 11 of them added to the Scope queue
or the catalog queue — 53 n/a, 0 decide. Release v1.5.0 crossed,
confirmed by an explicit tag fetch and by packages/ai/package.json. The env
submodule tags alongside: env/v1.5.29 requires root v1.5.29.
Catalog: regenerated by executing JSON.stringify(MODELS) against the 1.5.0
build, after first reproducing the outgoing 1.4.0 catalog byte for byte.
1,599 → 1,592 models (+50, −57, 460 changed in place) across an
unchanged 42 providers, 931,909 → 935,772 B. It drains the catalog-only
queue 7 → 0: gpt-6.1-terra across OpenAI, Azure, Codex, Copilot,
Bedrock and the gateways; Kimi K3.1 Pro and Highspeed with K3's request
format; OpenCode's protocol-path base URLs; OpenRouter's
~anthropic/claude-*-latest aliases on Anthropic Messages with adaptive
thinking; gpt-5.4/5.5 without additional tools. Two newer generator deltas
wait for the next release.
This cycle:
- Anthropic tool schemas keep root
$defsanddefinitions(upstream
4a6a58eb5, #9557). A non-strict tool sent onlytype,propertiesand
required, so a property's$refpointed at nothing and Claude produced
wrong arguments (common in MCP servers). Root keys are read by exact name,
as pi reads them. - Max tokens leave room for OpenRouter's input overcount (upstream
0a4fad548, #10497). The clamp keepsmax(4096, ceil(input × 0.15))free
while that still leaves 32,768 output tokens, and otherwise the fixed 4096
with output capped at 32,768. Small contexts are unchanged. - pi-env runs long-lived programs over plain pipes (upstream
9c9ce8547).env.OpenProcessstarts a program through the daemon with
piped stdin, stdout and stderr — raw bytes per stream, writes in arrival
order,CloseStdin, cancel or a lost connection kills the process group —
for programs that speak a protocol on stdio, such as MCP servers. A daemon
that predates it reportsnot_supported. Spawning, reaping and argv
handling are shared by exec, pty and process; on Windows the daemon's ends
of child pipes are overlapped, so closing one cancels a blocked read or
write. Matched against upstream's Rust daemon and TypeScript client. ai.PiAIVersionand the env daemon's version are 1.5.0. The env daemon
oracles for darwin and linux/arm64 were derived on linux/x86_64 this cycle
(hello'sversionandfeaturesonly) and are flagged for re-capture.
Gate: race tests green on root and env (environment-only failures as before),
windows, darwin and linux/386 builds; difftest re-pinned to npm 1.5.0 / src
90b42bca6, 66 PASS / 0 KNOWN / 0 FAIL.