Skip to content

v20261022

Choose a tag to compare

@github-actions github-actions released this 22 Oct 03:25
· 1295 commits to main since this release

New Features

  • Web search without keys: the new websearch module ships web_search and read_page tools that run on a failover chain needing no account - Firecrawl's keyless channel first, then Keenable, with Tavily and Exa joining once keys are configured. Per-engine key rotation handles auth, rate-limit, and quota failures. See Web Search and Page Reading
  • MCP auto-discovery and a single mcp shell tool: mcp-lite imports server configs from Claude Desktop, Cursor, Windsurf, VS Code, Codex, ZCode, OpenCode, and project-level .mcp.json / .vscode/mcp.json / .cursor/mcp.json / .codex/config.toml / .agents/mcp.json below your own ~/.nanopi/mcp.json; every MCP call goes through one mcp shell tool that routes to the real server inside an isolated subagent
  • Modules from disk: base and full builds load .ts/.js modules from $NANOPI_EXTENSIONS, <agent dir>/extensions/, and the project's .nanopi/extensions/ (when trusted), transformed with jiti - plus a package of public SDK exports for extensions and embedders. See Modules
  • Copilot Free/Student unblocked: the built-in github-copilot/auto virtual model routes requests through Copilot's Auto session and router for accounts that reject direct model requests (400 model_not_supported), recording the physical model that answered so usage, cost, and compaction limits stay accurate
  • Shell sandbox: /sandbox on|off wraps bash commands in bubblewrap (Linux) or sandbox-exec (macOS): the working directory stays writable, everything else is read-only, and network is cut unless --network was passed, with configuration in the extra settings

Breaking Changes

  • A tool set can now name the tools it ships (tools in the toolsetComponents entry of buildconfig.json), and the build drops the other tool implementations instead of only filtering them at runtime. The minimal flavor's tool set lists bash and powershell, so read, edit, write, grep, find, and ls are no longer compiled in: their barrel exports throw, and createAllToolDefinitions builds only the listed tools (names argument). minimal also drops OAuth login (oauth/* off: no /login OAuth option, no /logout in autocomplete, no x flow code in the bundle), syntax highlighting (syntax-highlight off: every code block renders in the plain color, ~1.4 MiB of highlight.js grammars stay out), and embedded-code detection in shell call display (embedded-code off). Its endpoint support is cut to the OpenAI-compatible chat completions API (new apis component and apiSets map, openai set): models.json entries naming another api fail with a build-scoped error, and the other API clients stay out of the bundle
  • Build flavors are now full, base, and minimal (previously full and minimal). base keeps the core CLI and every builtin module except the bundled extras, with the standard tool set. minimal is base plus the toolset: "bash" component: the build registers only the shell tools (bash, powershell), so read, edit, write, grep, find, ls, and the extra tools cannot be activated by settings, --tools, a resumed transcript, or a module, and a call to any of them is blocked at execution. The former minimal (core CLI without peripherals) is now base

Added

  • Added module files on disk: the base and full builds load .ts/.js from $NANOPI_EXTENSIONS, <agent dir>/extensions/, and the project's .nanopi/extensions/ (the last one only when the project is trusted), transforming each file with jiti and feeding the result to loadModules() as an ordinary SessionModule. The SessionModule = { name, factory } contract and the module registry are unchanged; a broken file is a diagnostic, not a startup failure. jiti is a runtime dependency of the npm package, imported lazily, and stays out of the build entirely for minimal and for every single-file artifact through the new jiti-modules component (#126)
  • Added MCP server auto-discovery to mcp-lite: the config files the other clients already have are imported and merged below the user's own ~/.nanopi/mcp.json / .nanopi/mcp.json entries — Claude Desktop (claude_desktop_config.json on all three platform paths), Cursor (~/.cursor/mcp.json), Windsurf, VS Code (Code/User/mcp.json, servers key), Codex (~/.codex/config.toml [mcp_servers.*], parsed by a small TOML subset reader), ZCode (~/.zcode/cli/config.json), OpenCode, and project-level .mcp.json / .vscode/mcp.json / .cursor/mcp.json / .codex/config.toml / .agents/mcp.json. Both server shapes are normalized (command+args and OpenCode's argv array, type/transport/no discriminator, url means remote, enabled: false/disabled: true skipped) and ${VAR} / ${VAR:-default} expand from the environment. .nanopi/mcp.json gains a discovery block (mode: "auto"|"off", globalOnly, include, exclude) because a project config file can start an arbitrary command; /mcp reports each server's source file and every file that failed to parse. Compared against Codex, pi, DeepSeek Harness, and ZCode: none of them silently imports every client, so discovery stays inside a known-path list with visible status
  • Added the mcp shell tool to mcp-lite: every MCP call from the main agent has one shape — the main agent calls mcp with server + tool + args, mcp spawns a subagent, the subagent calls the real mcp__<server>__<tool> with those arguments passed through unchanged, and the server's output comes back. Without server it lists the configured servers, without tool it lists that server's tools. The isolated child turn is what keeps the external payload out of the main transcript, and the shell falls back to an in-process call only when a build has no subagent tool
  • Added Modules, a guide page for the only extension mechanism: how a module is written, where it can come from (SDK modules, this repository's .nanopi/extensions/, or the build), what it can register, the event set, and what it cannot do. docs/sdk.md linked a 06-extensions.ts that no longer exists; the examples table, examples/sdk/README.md, and the focused-example links now point at 06-modules.ts, and the guides that still described extensions as a loadable resource now describe modules (cli.md documented the removed --extension/--no-extensions flags and package commands, security.md project trust listed .nanopi/extensions, compaction.md documented a cut session_compact_failed event)
  • Added the retry.nonRetryableErrorPatterns setting: extra case-insensitive substring patterns that skip automatic retry, for gateways that return a terminal quota or limit error the built-in patterns do not recognize (for example a plain 429 body). Each retry backoff costs up to 14 seconds before such an error surfaces
  • Added the websearch module with two tools, web_search and read_page. Both run on a failover chain that needs no account: Firecrawl's keyless channel first (search and page fetch), then Keenable (search), then Tavily and Exa once keys are configured. Firecrawl and Keenable answer without sign-up, so a fresh install searches and reads pages immediately
  • Added per-engine key rotation to websearch: firecrawl, keenable, tavily, and exa each take a comma-separated key list (apiKey in websearch.json, or FIRECRAWL_API_KEY / KEENABLE_API_KEY / TAVILY_API_KEY / EXA_API_KEY). Auth (401/403), rate-limit (429), and quota (402 or quota wording) failures rotate to the next key before the chain fails over; a 5xx or timeout fails over immediately instead, since it says nothing about the key. A key that reports an exhausted quota is recorded in websearch-state.json and tried last on the next call. See Web Search and Page Reading
  • Added the unofficial Google Antigravity provider (/login antigravity): Google sign-in against the same Cloud Code Assist backend the Antigravity IDE uses. The provider docs call out that third-party clients can get the Google account suspended, and that Google can close the endpoint at any time
  • Added registerBashOperations(id, operations), setActiveBashOperations(id), and getActiveBashOperations() to the module API, plus the operationsProviders/operationsProvider options on BashToolOptions and the exported resolveShellOperations(). BashOperations, createBashToolDefinition({ operations }), and createLocalBashOperations were exported before, but a module had no way to reach the built-in tool's execution backend, so an out-of-tree sandbox or remote runner could not be plugged in without reimplementing the tool. The backend is resolved on every command, so a session can switch at runtime; the resolved id is reported as executed_on in the bash tool's structured output. A backend must wrap exec() rather than replace it, since the caller keeps the description, truncation, renderers, and permission gating
  • Added public SDK exports for the pieces extensions and embedders were reaching into internals for: isBuildComponentEnabled, isBashOnlyBuild, Toolset, build-component helpers alongside the existing config helpers; filterToolDefinitions; DEFAULT_THINKING_LEVEL and THINKING_LEVEL_OPTIONS; DEFAULT_TOOL_NAMES, applyToolModifiers, isToolModifier, getToolListError, createToolNameMatcher, FileSettingsStorage, InMemorySettingsStorage, and the SettingsScope / SettingsStorage / SettingsError types; AuthStorage and ReadOnlyAuthStorage; resolveProjectTrusted; executeBashWithOperations with BashResult / BashExecutorOptions; the bug-report collectors (collectBugReportMetadata, collectBugReportDiagnostics, bugReportFiles, redactUrl, redactJsonValue, BUG_REPORT_CUSTOM_ENTRY_TYPE) and their types; the path helpers (normalizePath, resolvePath, canonicalizePath, getCwdRelativePath, getFileRevision, isLocalPath, normalizeWindowsShellPath, PathInputOptions); and the shell helpers ShellConfig, POWERSHELL_ARGS, getShellEnv, sanitizeBinaryOutput, killProcessTree
  • Added the --modules <names> flag: a comma-separated list of built-in modules to enable, replacing the build's default set. Nothing reloads modules at runtime, so this is the only way a child process can be handed a specific module set; unknown names are dropped, so a child pinned to a module its launcher does not have still starts
  • Added pi.getModuleNames() to the module API: the names of every module registered in the process, in registration order
  • This repository's three .nanopi/extensions/ modules now export SessionModule and pass .factory to BUILTIN_MODULES like every other module: they still imported the removed ExtensionAPI/ExtensionCommandContext types, so they had not loaded since the plugin system was deleted. prompt-url-widget also handled a cut session_switch event and read event.prompt on a union that includes custom-message runs
  • Added the built-in github-copilot/auto virtual model. Copilot Free and Student plans force Auto model selection, leaving no usable model in nanopi's Copilot list; auto is now listed for every Copilot login, routes each request through Copilot's Auto session and router, attaches the session token per request, and records the physical model that answered so usage, cost, and compaction limits stay accurate. The route stays sticky per conversation and re-routes after failures

Changed

  • pi-lsp-mini covers more languages: 31 built-in language-server entries instead of 5 (ruby, php, java, kotlin, csharp, fsharp, swift, zig, lua, dart, haskell, elixir, erlang, scala, clojure, ocaml, bash, terraform, dockerfile, vue, svelte, cmake, protobuf, sql, solidity, systemverilog, plus basedpyright-langserver for Python and go.work / pyrightconfig.json root markers), and rootMarkers accepts globs (*.sln, *.csproj) since a .NET solution has no fixed configuration file name. /lsp now lists the installed servers and the configured-but-missing ones, so an unsupported file type can be traced to "not installed"
  • A shell-only build (toolset: "bash") asks for less prompt. Its system prompt is the preamble, the rules and the working directory: the <tools> list (which only repeated the declarations), the <docs> pointer (to trees the build does not ship), and the docs section's "not the current working directory" rule are gone, and the preamble says the shell tool is how it works. The shell tool's declaration carries what the model still needs in one sentence (runs in the cwd, stdout and stderr, truncated to the last 2000 lines or 50KB, full output in a temp file) instead of the longer paragraph, and both schema field descriptions are shorter. Measured on the minimal flavor: system prompt 1087 B -> 483 B, tool declarations 1039 B -> 775 B, so prompt plus declarations go from ~530 estimated tokens to ~315
  • Built-in modules are individually selectable build components (module/<name> in buildconfig.json), replacing the single modes switch. A flavor that disables a module leaves its code out of the bundle and the single-file artifact (an esbuild stub aliasing the module import) instead of shipping its handlers, commands, and tools inert. BUILTIN_MODULES stays the static registry; the new enabledModules() returns the subset this build carries and is what the CLI passes to the resource loader, so --modules narrows the built set instead of resurrecting a module the build dropped. validateFlavorModules fails any flavored build whose module/* components and moduleBundles list disagree with the modules barrel
  • Every bundle and single-file build now sets esbuild minifyIdentifiers alongside minifySyntax/minifyWhitespace. The minimal single file drops from 8.8 MiB to 6.3 MiB raw (2.01 MiB to 1.75 MiB gzip) and the full one from 15.3 MiB to 12.7 MiB; the cost is that stack traces name local variables by their minified letters
  • toolset is a buildconfig.json component with values standard and bash (from the new top-level toolsetComponents map) rather than a switch. Flavored builds inject it as NANOPI_BUILD_TOOLSET; a bash-only build registers the shell tools alone and tells the model so in the system prompt
  • The welcome box and --version now report the build as v<date>.<short-commit> (for example v20261013.718adde): the date comes from the package.json version and the seven-character commit from git HEAD of the build that produced the process (bundled builds bake it in as a build-time define, source checkouts and npm installs resolve it at startup and fall back to the bare date outside a repository). Long directory paths in the welcome box fold in the middle (~/a/…/d) instead of truncating at the tail, so both the home prefix and the directory being worked in stay visible
  • The welcome box directory: row now appends the current git branch (~/a/…/d (main)) when the working directory is inside a repository. The branch comes from the same watcher the footer already uses, so it tracks branch switches instead of freezing the startup value, and the suffix is omitted entirely outside a repository or on a detached HEAD

Fixed

  • Fixed MCP and LSP servers on Windows/WSL: both resolved executables with a bare accessSync(dir/<name>, X_OK), which never matches the <name>.cmd / <name>.exe a package manager installs, so npx-based MCP servers and typescript-language-server were reported as "not installed". PATH lookup now goes through which/where first and then walks PATHEXT (defaults .COM;.EXE;.BAT;.CMD), and the absolute path is what gets spawned. On native Windows a .cmd/.bat shim is launched through cmd.exe /d /s /c, matching cross-spawn: spawn("npx") there is ENOENT because the file is npx.cmd. WSL keeps the POSIX spawn (a Windows shim started from a Linux process takes different arguments) while looking up the shims that interop puts on PATH

  • The startup deprecation notice for legacy hooks/ and tools/ directories pointed at docs/extensions.md, which no longer exists, and told the user to move files into an extension directory the loader no longer reads. It now points at docs/sdk.md#modules and says plainly that the directories are not loaded

  • Automatic threshold compaction runs before the next request instead of after the answer that crossed the threshold. Ending a conversation no longer pays for a summary nobody reads; the session stays idle above the threshold and compacts when another request needs the context, still with the pending input counted (#113)

  • Compaction summaries are inserted at their kept boundary instead of being appended at the leaf: the summary becomes the parent of firstKeptEntryId, so the visible transcript matches what the model receives and /tree navigation back to a kept entry still projects the summary instead of dropping it and compacting again (#113)

  • Compaction and branch summaries no longer cap their output at 0.8/0.5 of compaction.reserveTokens (or a hardcoded 4096). Reasoning shares the output limit on some providers, so high thinking levels used it all and compaction failed with generation hit the token cap; summary requests now rely on the provider layer, which sizes output from the request, and compaction.reserveTokens only decides when compaction starts (#9512, #9075)

  • CLI module flag values (--<module-flag>) are replayed whenever a session re-binds its modules. They were applied once, on the startup runtime, so /new, /fork, /resume, and a reload left every flags.get() returning undefined (#113)

  • --list-models has a matching --refresh that refetches provider catalogs before listing. Without it the list was always the cached snapshot, because startup creates the model runtime with allowNetwork: false (#113)

  • List selectors size their window from terminal.rows instead of hardcoding it: /model (10 rows), the thinking picker, and every settings submenu (10 rows) now scroll inside a short terminal instead of running past its bottom (#113)

  • pi-ui's exploring history rows render as flat rows instead of the labeled [pi-ui-exploring] box. Each finished Read/Search/List action is stored as a pi-ui-exploring custom message, and with no message renderer registered every row fell back to CustomMessageComponent's default panel — violet background, [pi-ui-exploring] label — while the live "• Exploring" block and every other tool call were flat rows. pi-ui now registers exploringHistoryRenderer for that type, which draws the stored row itself at the transcript's outputPad, the same shape the live block showed

  • A skill invocation renders like a tool call instead of its own boxed [skill] block: one read skill <name> row over the skill body, the same label read gives a SKILL.md file, collapsed behind the expand key or a click. Before, loading a skill picked up the violet custom-message background and a second name-only body row while every other call was a flat read skill attio line, so the same action looked like two different things depending on whether the model read SKILL.md or the user ran /skill:attio. The HTML export draws the same row (#101)

  • The /model picker no longer opens empty when a provider was authenticated after startup (#90). The picker is built from the availability snapshot, a provider auth check that runs once per pass; a nanopi login in another terminal, an exported API key, or an OAuth token refreshed on disk landed after that pass and stayed invisible until the next full catalog refresh. The picker now reads ModelRuntime.refreshAvailability(), re-runs the auth checks alone (no network, no catalog fetch) on ctrl+r while the list holds no rows, and says so instead of No matching models. Offline startup (NANOPI_OFFLINE, where the catalog refresh is skipped) also re-checks availability, so a credential stored after the last run shows up on the next start

  • The webui keeps the thinking level picked for a model when a turn switches to that model. /chat changed models with setModel, which resolves the level from the per-model setting, then the global default (off when unset), and only the first preserves a level picked for this model: a model the sheet had just configured came back as off before the request was built, and /models reported the previous value again on the next poll. /chat now re-applies the stored per-model level after the switch, /models reports a stored level ahead of the session's inherited one, and the session detail carries the transcript's thinking_level so resuming a conversation shows the level it will run at. Assistant transcript entries also name the provider/model that produced them, so a session that spans models no longer looks like it all came from the current one

  • The webui navigation sheet fills the phone screen instead of stopping at 88vw. The mobile sidebar kept the desktop 268px width and added w-[88vw] max-w-[360px], so a 412px viewport left a 49px stripe of the page visible on the right, running through the session rows. It is now full width, and the panel wrapper paints bg-sidebar itself (the aside already paints the same surface, so no overlay layer is needed). The bottom fade sits inside the wrapper, so it no longer paints across the scrollbar gutter

  • Fixed Windows shell discovery: PowerShell resolves from installation directories (%ProgramFiles%\PowerShell\7, %SystemRoot%\...\WindowsPowerShell\v1.0) when not on PATH, legacy WSL bash.exe launcher detection reads SystemRoot, and Windows Store shell aliases pass validation (existsSync rejected runnable aliases with EACCES; shell checks now use access(F_OK))

  • Reasoning effort picked in the webui model sheet now sticks. The sheet writes through setThinkingLevel, which records the level in the transcript, but GET /models answered the per-model setting and POST /models/reasoning-effort read the level back from that setting, so every reply reported the level from before the pick (null for a model whose effort was never set) and the frontend's refresh-on-open dropped the choice to null. /models now reports the live session level for the active model (the stored setting for the others), the effort endpoint resolves the active model from the session instead of the refreshed catalog, and the composer readout only refills from a real level. The 思考强度 section is also a flat row list with a checkmark on the current level: six levels wrapped the old chip row onto two lines, and the active chip used bg-foreground, which reads as a primary button on the dark surface

  • The webui model picker no longer lists models the CLI's --list-models would drop. GET /models merged the whole catalog, so a models.json provider with no key (or any provider resolving no credential) still showed up in the webui; the CLI asks getAvailable(), which skips it. The endpoint now runs the same availability pass and reports available: false on catalog rows whose provider has no credential, which the picker renders disabled and the provider settings page marks as 未配置凭证.

  • The subagent tool no longer reports a failed child as a success. In --mode json an API/auth failure arrives as an assistant message with stopReason: "error" and no content, and print mode only mapped that to a nonzero exit in text mode, so the launcher saw exit 0, a missing assistant text and no error text: the main agent got Subagent sa-2 completed with an empty report. Print mode now exits nonzero on error/aborted in both modes, and the launcher checks stopReason before trusting the exit code. Alongside it: reports are clipped head-and-tail (the tail carried the conclusion and was what got cut) and the full text is archived to the session as a subagent-job entry, so /compact and restarts no longer forget which subagents ran; the completion notification carries scope, usage and truncated in its details instead of mixing token counts into the prose; wait no longer leaks a second timer that kept a finished -p run alive for two minutes, takes waitSec, and reports a timeout instead of silently returning a running job; kill, timeout and session shutdown signal the child's whole process group (children spawn detached on POSIX) instead of only the direct process; an undeliverable completion notification is recorded instead of swallowed, since it is the only result channel; a spawn whose tools include write/edit waits for a running writer instead of letting two subagents edit the same tree; and child tools default to the parent's declared order, so the two <rules> blocks match (the last tool declaration is the Anthropic cache breakpoint, so a different order means a full cache miss on every child turn)

  • The subagent tool's child sessions start again. Children were launched as nanopi --mode json -p --no-session -ne ... -e <entry> from the pre-module extension system: -ne and -e no longer exist, so every spawn exited on Unknown option, and because the rejected flags left their values in the argv the orphaned -e path became parsed.messages[0] — the child's entire prompt was a file path instead of the task. Children are now launched with --modules (see above) and the task as the final argument. Two further defects on the same path: children lost pi-fake-opencode in every non-source install, because the entry files were guessed as <package>/src/<name>/index.ts (a bundled build has no src/ tree and nanopi's agent dir is ~/.nanopi/agent, not the hard-coded ~/.pi/agent/packages), and the launcher was resolved from a bin.pi manifest key that never existed after the rebrand (the manifest exposes bin.nanopi), so spawns failed with spawn pi ENOENT wherever no pi command is on PATH

  • ask_user_question works in plan mode and in the WebUI. Plan mode blocked every tool except read and ls/find/pwd, including the questionnaire, so a plan-mode run could find an ambiguity but never resolve it; ask_user_question is now allowed, and the plan-mode guideline tells the model so. In nanopi webui (and any other dialog-less session) the tool failed outright with "UI not available" because it renders through ctx.ui.custom(), which the headless session cannot provide; it now routes through the extra module's new ask broker, which the WebUI server publishes as user_input_request SSE events and answers at POST /chat/user-input — the endpoint and the frontend's UserInputCard already existed, only the daemon half was missing

  • Fixed the Xiaomi MiMo default model: defaultModelPerProvider pointed at mimo-v2.5-pro, which models.dev retired, so built-in chat providers have defaults in their generated catalogs failed against the regenerated catalog. The defaults now name mimo-v2.6-pro, the model currently listed for all four Xiaomi providers

  • pi-fake-opencode (the built-in OpenCode Zen free-tier module) passes Zen's re-tightened free-tier gate again. The gate (re-derived by black-box replay against the official 1.19.0 client) checks three mandatory signals: the composite User-Agent opencode/1.19.0 ai-sdk/provider-utils/4.0.23 runtime/bun/1.3.14, opencode-identifier directions (descending ses_ session ids, ascending msg_ request ids — the module previously sent ascending ids for both), and an officially-shaped body: a system message starting with a known OpenCode prompt (the module prepends the 2096-char title-generator prompt ahead of the real system prompt with an explicit override separator, and prepends a note to the top of the first user turn (string and content-parts forms) — small free models otherwise answer with a thread title instead of the task), no tools (the official agent template matches tool definitions too, so spoofed requests strip them — free models answer as plain chat models without tool calling), and the max_tokens field name (the newer max_completion_tokens is rejected). Explicitly ruled out: TLS/HTTP-stack fingerprinting, source-IP reputation, HTTP version, cookies, and parameter values — the same request passes from curl, Node, and Bun with the three signals present. Verified live end-to-end through dist/cli.js -p --model opencode/mimo-v2.6-flash-free against https://opencode.ai/inference/v1 (free model answered) and locally against a header-capturing echo server

  • The todo plan no longer renders anything in the bottom-right corner of the input box. The N/M count was dropped there before, but two producers kept writing to the same slot: renderStatusText degraded to a bare ☑/✓ glyph that stayed on screen for as long as a plan existed, and before_agent_start overwrote it with 📋 N pending at the start of every turn. The corner is where shell and the mode badges compete for width, so todo-lite now writes undefined to the todo status key instead of text (clearing the slot on session restore and on each turn) and renderStatusText is gone. The widget, the tool result, the pi-ui Working line, and /todos are unchanged; the corner now carries only shell and the mode badges

  • The pi-ui footer replaces the built-in footer in every TUI session and silently dropped the extension status channel and the shell-mode label. Its toolbar line now renders right-aligned extension statuses from ctx.ui.setStatus() (the extra module's red yolo / green plan badges, pi-rewind checkpoints) plus the yellow shell label while the composer text starts with !; the usage line truncates first when the width cannot fit both. setExtensionStatus() repaints on change so badge updates appear immediately.

  • The webui sidebar drops its bottom "NanoPi" account block and its model picker takes thinking effort the way Memoh's composer-model-menu.vue does (#69). The account row was a footer below the session list on a rail that has no other chrome, and it duplicated the workspace switcher at the top of the same rail, so removing it removes the duplication rather than a feature. Thinking effort used to be a 3-column chip grid BELOW the model list inside the same menu: reaching a level meant scrolling past every model row, the model list had to stay short so both fit, and the active level was invisible until the menu was opened. It is now a second row in that menu — 思考强度, current level on the right, chevron — which swaps the panel to the level list, and the trigger pill itself reads model · effort, so the state is visible at rest. The sidebar also gains Memoh's section labels (快捷操作 above the actions, 最近 above the list), owned by one component so the two labels cannot drift, and the list dissolves into the rail with a bottom fade instead of ending on a hard rule

  • The find tool works with fd 8.x again. The issue-3303 nested-.gitignore fix always passed --no-require-git outside a git repo, but that flag only exists from fd 9.0, and older releases reject the whole invocation with error: Found argument '--no-require-git' which wasn't expected — so every search outside a repository failed outright (the 3302/3303 regression suites, should surface fd glob parse errors, and four more find cases in tools.test.ts failed against a container's fd 8.6.0 while passing within a second after upgrading to 10.2.0). The flag is now passed only when the resolved binary reports it in --help

  • Providers no longer receive empty extension-injected messages: transformMessages drops user and assistant messages whose content is empty or whitespace-only at the choke point every converter shares (Gemini rejected them with contents.parts must not be empty)

  • Tool-call argument parsing drops no fields when a string contains an invalid \u escape such as \usepackage (#10868), and tool calls whose finished arguments text is not valid JSON no longer run silently with partial fields: arguments is now {}, ToolCall.argumentsError holds the reason and the raw text, and the validation error is reported back to the model (#10897)

  • Anthropic and Bedrock Claude requests no longer fail with a 400 when an error tool result contains images; the images are sent after the turn's tool results so the model still sees them (#10794)

  • Switching models drops thinking blocks from earlier assistant messages produced by a different model instead of sending them as plain text (#10995)

  • Automatic retry now triggers for gateway Unable to forward upstream stream errors and The service is temporarily unavailable errors (#10920, #10965); HTTP 413 responses are classified as request-size overflow so the session compacts and retries instead of surfacing a raw API error

  • Sign in with ChatGPT re-login works again: logins reauthorize with the client ID issued to this installation and restart authorization once on an invalid_grant code exchange. auth login lists only the models the signed-in account can use (Free plans no longer show gpt-6-sol/gpt-6-astra), and GitHub Copilot's model list refreshes per-account policy instead of keeping the login-time snapshot

  • Rex terminals (TERM_PROGRAM=rex) get OSC 8 hyperlinks and truecolor; images stay off because Rex only partially implements the Kitty graphics protocol (#11131)