Seventeen pi merges across October 30-31: durable hooks, tool search retuned four ways, WSL deep-directory survival, and a custom pi update command
Seventeen pull requests merged in pi across October 30 and 31, 2026 — two durable-side features, a four-part retune of tool search, a cluster of terminal and platform fixes, and a trio of Windows and tmux docs pages.
Tool search was retuned four ways in three days. #11625 came first, on October 30: description mentions used to outweigh a tool’s own name, so a name match now counts 3x its IDF and beats any number of description mentions, and a whole-local-name hit earns a bonus worth one extra match of every term — tool_search and codemode searchTools() alike. Late that evening #11632 layered coverage-first sorting on top: a tool matching more of the query’s distinct terms, in any field, ranks above one matching fewer regardless of score, and #11631 ported that ranking, #11625 included, to durable’s own ranker. #11037, landing October 31, fixed the tokenizer underneath both — it split on [^a-z0-9]+, so a Chinese query matched nothing even against Chinese tool descriptions (issue #10816); segmentation and normalization are now unicode-aware.
The durable-side features: #11619 adds a beforeProviderRequest generation hook — the counterpart of coding-agent’s before_provider_request — so an extension can rewrite the provider request body before it is sent. #11629 hands updating to a command you name when a package manager owns the install (mise, a PNPM_HOME wrapper, Nix): PI_SELF_UPDATE_COMMAND or the selfUpdateCommand setting carries a template filled from that release — {packageName}, {version}, {installSpec}. The command runs only when a newer release exists or with –force; the setting is argv and global-only, so a project’s .pi/settings.json cannot inject one, and exit code 0 alone proves nothing — pi –version or pi’s own package.json must show the new version.
Terminal and platform fixes: #11627 — a deep directory pushes the \wsl.localhost cwd path past MAX_PATH and every Windows-program launch died with Invalid argument; clipboard commands and openBrowser now start from / on POSIX, and the external editor’s launch, exit, and signal failures surface in the status line and extension dialog instead of being redrawn over. #11628 stops any path containing /pnpm/ from looking pnpm-managed — the manager is named only when it owns the install. #11648 stops a Windows file lock aborting pi update: a second pi session holding a git extension’s native module leaves npm a directory it renames but cannot delete; a failed git clean now warns, still runs npm install, and keeps the .pi-update-incomplete marker. #11630 passes the host’s keyText and keyHint to extension renderers like theme, which had resolved its own package copy, seen only tui.* bindings, and rendered hints without labels.
Three robopipi bot fixes, each requested by badlogic, landed nine minutes apart on October 30: #11607 makes chord’s output sanitizer remove whole ANSI escape sequences — it had deleted only the ESC byte, leaving colored output as [31mERROR[0m. #11606 gives read a structuredOutputSchema in Code Mode, so scripts reading images get the image block instead of the empty string that crashed image(). #11605 keeps the env daemon’s only output writer alive when a change batch exceeds the 16 MiB frame limit: the watcher now reports overflow instead. #11617 documents which working directory a resumed session uses — –continue takes the current directory, –resume, /resume, /session, and /import take the session’s own, and –fork starts fresh in the current directory.
On the docs side: #11644 adds a Choose a terminal section to the Windows guide — which conhost each terminal uses and each type’s problems, from the fullscreen crash to leaked query replies behind mintty or Windows OpenSSH. #11645 explains tmux 3.6 typing color codes into the editor: split palette replies land as key presses, tmux 3.7 fixes it, and a fixed theme does not help — applyFromSettings() queries terminal colors regardless of theme. #11647 recasts both guides’ external limitations as Known issues tables with a remedy each.
None of the seventeen is installable from a tag yet — v1.4.0 (October 21) predates the whole batch, so the next release lands them together.