pi sends strict tool schemas to GitHub Copilot's Responses and Claude models, qwen4-max-preview joins the Qwen Individual plan, selector search picks the best match and keeps it, and Enter after Tab-completing an absolute path stops submitting the unfinished prompt
Eight pull requests landed in pi on November 19 after two quiet days, November 17 and 18 — one feature and seven fixes spread across the ai, coding-agent and tui packages. The tally since v1.5.0 shipped on November 2 stands at 143: eighty-nine already inside v1.5.1 and v1.5.2, 54 waiting on main. Each of the eight documents its change; the behavior notes below are written from those bodies, and the counts come from the live merged-pulls search the source field links.
The strict-schema story opens with petrroll’s #12329 (closing #12286), a fix for GitHub Copilot’s 18 Responses models. pi’s openai-responses provider only sends a tool’s strict field when the catalog sets compat.supportsStrictMode, a flag that defaults to false, and the Copilot catalog set it for its completions models but not for its 18 Responses models (GPT, Grok, MAI-Code). The Responses API defaults strict to true and Copilot follows it, so a tool sent without the field ran in strict mode against a schema pi had not made strict-compatible: every optional property was treated as a required, non-nullable string the model had to fill — a tool with two optional strings drew arguments like {"provider":"","model":""} — and pi’s built-in tools were caught in the same net, read’s optional offset/limit among them. The fix sets supportsStrictMode: true for Copilot’s openai-responses models in packages/ai/catalog/providers/github-copilot.ts, as the OpenAI and Cloudflare AI Gateway catalogs already do: ordinary tools now go out with strict: false, and pi’s JSON-schema constrained sampling tools — read, edit, write, bash — with strict: true. Verified live against Copilot across all 18 Responses models: a direct complete() with the two-optional-strings tool returns {} on every reachable model, and the coding agent’s read/edit/write/bash task completed on 16 of the 18, with gpt-5.6-terra and grok-4.5 returning model_not_available_for_integrator for the test account, with or without strict. The Cloudflare strict-mode test in test/openai-responses-compat.test.ts now also runs for Copilot gpt-5.3-codex, mai-code-2 and grok-4.7, and the PR marks its own edges: xai, opencode and meta have the same catalog gap but no credentials to verify, and custom openai-responses models from models.json still omit strict unless they set compat.supportsStrictMode.
#12332, merged 37 minutes later, is the day’s one feature and completes the same work on Copilot’s Claude side. pi’s built-in read, edit, write and bash tools request strict mode — JSON-schema constrained sampling — when the model supports it, and direct Anthropic Claude models set compat.supportsStrictTools: true, but Copilot’s Claude models did not, so the same tools went out there without strict mode. The change sets supportsStrictTools: true for Copilot’s anthropic-messages models in the same catalog file, amending #12329’s changelog entry rather than adding a new one. Verification ran on the five Claude models available to the test account — claude-haiku-4.5, claude-haiku-5.5, claude-opus-5.5, claude-sonnet-5, claude-sonnet-5.5: the strict-requiring two-optional-strings tool is accepted and comes back with nulls, the coding-agent task completes on all five, and a request carrying 25 strict tools above Claude’s limit of 20 gets Copilot passing Claude’s limit error through, where the existing fallback retries without strict mode and succeeds (the anthropic_strict_tools_fallback diagnostic) — that much tested on claude-haiku-4.5 and claude-sonnet-5.5. The other six Copilot Claude models return model_not_supported or model_not_available_for_integrator for this account, so they are untested. test/providers.test.ts now checks that every Copilot Claude model carries supportsStrictTools, and that check fails without the change.
robopipi[bot]’s #12313 (requested by davidbrai, fixing #12259) adds one missing ID to the Qwen Individual catalogs. qwen-token-plan-individual and qwen-token-plan-individual-cn take models.dev’s alibaba-token-plan[-cn] catalogs and keep only the IDs on the INDIVIDUAL_MODEL_IDS allowlist; models.dev already carried qwen4-max-preview for both regions and the shared qwen-token-plan providers already listed it, but the Individual allowlist left it out. With the ID in, pi --list-models qwen-token-plan-individual lists qwen4-max-preview alongside its previous 12 models — 1M context, 393,216 max output tokens, text+image input, reasoning effort low/medium/xhigh, cost 0 — and qwen-token-plan-individual-cn lists it too. The PR spells out what stays out: qwen4-max itself, because models.dev has no alibaba-token-plan or alibaba-token-plan-cn entry for it yet and adding the ID now would make strict generation fail with missing: qwen4-max; and per the linked issue, qwen4-max-preview’s preview ends 2026-11-25, so the allowlist will need a removal line later.
acmerfight’s #12312 (closing #12309) stops the TUI editor from sending a half-written prompt when Enter follows a Tab completion of an absolute path. On Enter in the autocomplete menu the editor applied the completion and then submitted whenever autocompletePrefix.startsWith("/"), a check meant for slash commands — /mod + Enter runs /model — that also matched a Tab menu for an absolute path, so look at /tmp/x/docs/fi + Tab + Enter sent the unfinished prompt while a relative path only completed. Submission now happens only when the menu is in regular mode: slash-command menus are requested with force: false and still submit, Tab path menus come with force: true and open in force mode so they only complete, and @ menus are untouched because their prefix starts with @. A new test in packages/tui/test/editor.test.ts fails without the fix, and the PR’s tmux check confirms /sessio + Enter still runs /session.
Four more fixes landed later that day, between 20:33 and 21:37 UTC. acmerfight’s #12246 (closing #12245) repairs provider search in /login and /logout: OAuthSelectorComponent.filterProviders() only clamped the selected index to the filtered list’s length, so scrolling down and then typing a query left the highlight at the old row number, where Enter picked whichever provider had landed there — pressing Down five times and typing the query openai highlighted row 6 (Google), and Enter opened the Gemini API key prompt rather than OpenAI’s. As #7211 did for /model, a non-empty query now moves the selection to the top row, and clearing the query keeps the clamp; arrow keys and Enter are unaffected, since the filter runs only on construction and on search input. petrroll’s #12334 is its follow-up: Left, Right, Home and End moved only the text cursor, but the filter re-run they triggered still reset the selection to the first entry — pressing Left at 12/29 in /login’s API-key list snapped the highlight back to 1/29, and /settings, pi config and the searchable submenus reset the same way. Every selector on its list now re-filters only when the query changed, the pattern alt-screen-search.ts and the llama extension UI already use; the list covers /login and /logout, /model, /scoped-models, /resume, pi config, the searchable settings submenus and /thinking in coding-agent plus the tui’s SettingsList with enableSearch, and /thinking already kept its selection by value, so nothing changes there beyond the list no longer rebuilding on cursor keys.
petrroll’s #12335 (fixing #12282) lets llama.cpp decision classifiers take images: models that report image in architecture.input_modalities — Clef with its mmproj, for example — were registered text-only because toPiClassifierModel() hardcoded input: ["text"], so models.classify() rejected images with does not accept image input. Changing the input list alone would not have fixed the request shape, since the typesafe-system-one API reads images only from images/files data URLs or image_url parts inside chat messages, so these models also set compat: { imageInput: "images", sendImageOptInHeader: false } — the format Cloudflare’s Clef models already use; next-token fallback classifiers (llama-cpp-classify) stay text-only because they do not accept images. Testing ran against a mock llama-server in test/llama-extension.test.ts, not against a real Clef model. #12336 (fixing #12133) flushes stdout before exit: process.exit() can drop writes Node has not finished, so an exit after a TUI stop() could lose the sequences that turn off mouse tracking, focus events, Kitty keyboard reporting and bracketed paste, leaving the terminal reporting into a shell that prints the reports as text. A new flushStdout() (src/utils/flush-stdout.ts) queues an empty write and waits for its callback — writes complete in order, the wait is capped at one second — so queued sequences finish before exit; interactive shutdown (normal quit, SIGTERM/SIGHUP and handled fatal errors) awaits it, the startup TUIs (--resume picker, pi config, the startup selector, input and first-time setup) flush right after ui.stop(), and the crash paths stay synchronous on purpose. The Windows report behind #12133 could not be reproduced — on Windows Terminal 1.25 with Node 22/26 and Bun 1.4.5 console writes complete synchronously — so the PR closes the general gap and leaves the Windows confirmation to the Windows reporters.
All eight sit on main for now — the newest tag is still v1.5.2 from November 10, so not one of them has shipped — and the per-PR details are one click away on the merged list behind the source link.