Repository navigation
v20261022
New Features
- Web search without keys: the new
websearchmodule shipsweb_searchandread_pagetools 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
mcpshell tool:mcp-liteimports 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.jsonbelow your own~/.nanopi/mcp.json; every MCP call goes through onemcpshell tool that routes to the real server inside an isolated subagent - Modules from disk:
baseandfullbuilds load.ts/.jsmodules 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/autovirtual 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|offwrapsbashcommands inbubblewrap(Linux) orsandbox-exec(macOS): the working directory stays writable, everything else is read-only, and network is cut unless--networkwas passed, with configuration in the extra settings
Breaking Changes
- A tool set can now name the tools it ships (
toolsin thetoolsetComponentsentry ofbuildconfig.json), and the build drops the other tool implementations instead of only filtering them at runtime. Theminimalflavor's tool set listsbashandpowershell, soread,edit,write,grep,find, andlsare no longer compiled in: their barrel exports throw, andcreateAllToolDefinitionsbuilds only the listed tools (namesargument).minimalalso drops OAuth login (oauth/*off: no/loginOAuth option, no/logoutin autocomplete, noxflow code in the bundle), syntax highlighting (syntax-highlightoff: 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-codeoff). Its endpoint support is cut to the OpenAI-compatible chat completions API (newapiscomponent andapiSetsmap,openaiset):models.jsonentries naming anotherapifail with a build-scoped error, and the other API clients stay out of the bundle - Build flavors are now
full,base, andminimal(previouslyfullandminimal).basekeeps the core CLI and every builtin module except the bundled extras, with the standard tool set.minimalisbaseplus thetoolset: "bash"component: the build registers only the shell tools (bash,powershell), soread,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 formerminimal(core CLI without peripherals) is nowbase
Added
- Added module files on disk: the
baseandfullbuilds load.ts/.jsfrom$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 toloadModules()as an ordinarySessionModule. TheSessionModule = { 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 forminimaland for every single-file artifact through the newjiti-modulescomponent (#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.jsonentries — Claude Desktop (claude_desktop_config.jsonon all three platform paths), Cursor (~/.cursor/mcp.json), Windsurf, VS Code (Code/User/mcp.json,serverskey), 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+argsand OpenCode's argv array,type/transport/no discriminator,urlmeans remote,enabled: false/disabled: trueskipped) and${VAR}/${VAR:-default}expand from the environment..nanopi/mcp.jsongains adiscoveryblock (mode: "auto"|"off",globalOnly,include,exclude) because a project config file can start an arbitrary command;/mcpreports 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
mcpshell tool tomcp-lite: every MCP call from the main agent has one shape — the main agent callsmcpwithserver+tool+args,mcpspawns a subagent, the subagent calls the realmcp__<server>__<tool>with those arguments passed through unchanged, and the server's output comes back. Withoutserverit lists the configured servers, withouttoolit 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 nosubagenttool - 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.mdlinked a06-extensions.tsthat no longer exists; the examples table,examples/sdk/README.md, and the focused-example links now point at06-modules.ts, and the guides that still described extensions as a loadable resource now describe modules (cli.mddocumented the removed--extension/--no-extensionsflags and package commands,security.mdproject trust listed.nanopi/extensions,compaction.mddocumented a cutsession_compact_failedevent) - Added the
retry.nonRetryableErrorPatternssetting: 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
websearchmodule with two tools,web_searchandread_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, andexaeach take a comma-separated key list (apiKeyinwebsearch.json, orFIRECRAWL_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 inwebsearch-state.jsonand 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), andgetActiveBashOperations()to the module API, plus theoperationsProviders/operationsProvideroptions onBashToolOptionsand the exportedresolveShellOperations().BashOperations,createBashToolDefinition({ operations }), andcreateLocalBashOperationswere 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 asexecuted_onin the bash tool's structured output. A backend must wrapexec()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_LEVELandTHINKING_LEVEL_OPTIONS;DEFAULT_TOOL_NAMES,applyToolModifiers,isToolModifier,getToolListError,createToolNameMatcher,FileSettingsStorage,InMemorySettingsStorage, and theSettingsScope/SettingsStorage/SettingsErrortypes;AuthStorageandReadOnlyAuthStorage;resolveProjectTrusted;executeBashWithOperationswithBashResult/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 helpersShellConfig,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 exportSessionModuleand pass.factorytoBUILTIN_MODULESlike every other module: they still imported the removedExtensionAPI/ExtensionCommandContexttypes, so they had not loaded since the plugin system was deleted.prompt-url-widgetalso handled a cutsession_switchevent and readevent.prompton a union that includes custom-message runs - Added the built-in
github-copilot/autovirtual model. Copilot Free and Student plans force Auto model selection, leaving no usable model in nanopi's Copilot list;autois 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-minicovers 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, plusbasedpyright-langserverfor Python andgo.work/pyrightconfig.jsonroot markers), androotMarkersaccepts globs (*.sln,*.csproj) since a .NET solution has no fixed configuration file name./lspnow 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>inbuildconfig.json), replacing the singlemodesswitch. 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_MODULESstays the static registry; the newenabledModules()returns the subset this build carries and is what the CLI passes to the resource loader, so--modulesnarrows the built set instead of resurrecting a module the build dropped.validateFlavorModulesfails any flavored build whosemodule/*components andmoduleBundleslist disagree with the modules barrel - Every bundle and single-file build now sets esbuild
minifyIdentifiersalongsideminifySyntax/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 toolsetis a buildconfig.json component with valuesstandardandbash(from the new top-leveltoolsetComponentsmap) rather than a switch. Flavored builds inject it asNANOPI_BUILD_TOOLSET; a bash-only build registers the shell tools alone and tells the model so in the system prompt- The welcome box and
--versionnow report the build asv<date>.<short-commit>(for examplev20261013.718adde): the date comes from the package.json version and the seven-character commit fromgit HEADof 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>.exea package manager installs, sonpx-based MCP servers andtypescript-language-serverwere reported as "not installed". PATH lookup now goes throughwhich/wherefirst and then walksPATHEXT(defaults.COM;.EXE;.BAT;.CMD), and the absolute path is what gets spawned. On native Windows a.cmd/.batshim is launched throughcmd.exe /d /s /c, matchingcross-spawn:spawn("npx")there isENOENTbecause the file isnpx.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/andtools/directories pointed atdocs/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 atdocs/sdk.md#modulesand 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/treenavigation 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.5ofcompaction.reserveTokens(or a hardcoded 4096). Reasoning shares the output limit on some providers, so high thinking levels used it all and compaction failed withgeneration hit the token cap; summary requests now rely on the provider layer, which sizes output from the request, andcompaction.reserveTokensonly 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 everyflags.get()returningundefined(#113) -
--list-modelshas a matching--refreshthat refetches provider catalogs before listing. Without it the list was always the cached snapshot, because startup creates the model runtime withallowNetwork: false(#113) -
List selectors size their window from
terminal.rowsinstead 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 finishedRead/Search/Listaction is stored as api-ui-exploringcustom message, and with no message renderer registered every row fell back toCustomMessageComponent'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 registersexploringHistoryRendererfor that type, which draws the stored row itself at the transcript'soutputPad, the same shape the live block showed -
A skill invocation renders like a tool call instead of its own boxed
[skill]block: oneread skill <name>row over the skill body, the same labelreadgives aSKILL.mdfile, 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 flatread skill attioline, so the same action looked like two different things depending on whether the model readSKILL.mdor the user ran/skill:attio. The HTML export draws the same row (#101) -
The
/modelpicker 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; ananopi loginin 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 readsModelRuntime.refreshAvailability(), re-runs the auth checks alone (no network, no catalog fetch) onctrl+rwhile the list holds no rows, and says so instead ofNo 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.
/chatchanged models withsetModel, which resolves the level from the per-model setting, then the global default (offwhen unset), and only the first preserves a level picked for this model: a model the sheet had just configured came back asoffbefore the request was built, and/modelsreported the previous value again on the next poll./chatnow re-applies the stored per-model level after the switch,/modelsreports a stored level ahead of the session's inherited one, and the session detail carries the transcript'sthinking_levelso resuming a conversation shows the level it will run at. Assistant transcript entries also name theprovider/modelthat 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 desktop268pxwidth and addedw-[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 paintsbg-sidebaritself (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 onPATH, legacy WSLbash.exelauncher detection readsSystemRoot, and Windows Store shell aliases pass validation (existsSyncrejected runnable aliases withEACCES; shell checks now useaccess(F_OK)) -
Reasoning effort picked in the webui model sheet now sticks. The sheet writes through
setThinkingLevel, which records the level in the transcript, butGET /modelsanswered the per-model setting andPOST /models/reasoning-effortread 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 tonull./modelsnow 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 usedbg-foreground, which reads as a primary button on the dark surface -
The webui model picker no longer lists models the CLI's
--list-modelswould drop.GET /modelsmerged 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 asksgetAvailable(), which skips it. The endpoint now runs the same availability pass and reportsavailable: falseon catalog rows whose provider has no credential, which the picker renders disabled and the provider settings page marks as 未配置凭证. -
The
subagenttool no longer reports a failed child as a success. In--mode jsonan API/auth failure arrives as an assistant message withstopReason: "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 gotSubagent sa-2 completedwith an empty report. Print mode now exits nonzero onerror/abortedin both modes, and the launcher checksstopReasonbefore 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 asubagent-jobentry, so/compactand restarts no longer forget which subagents ran; the completion notification carriesscope,usageandtruncatedin its details instead of mixing token counts into the prose;waitno longer leaks a second timer that kept a finished-prun alive for two minutes, takeswaitSec, and reports a timeout instead of silently returning a running job;kill, timeout and session shutdown signal the child's whole process group (children spawndetachedon 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 includewrite/editwaits 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
subagenttool's child sessions start again. Children were launched asnanopi --mode json -p --no-session -ne ... -e <entry>from the pre-module extension system:-neand-eno longer exist, so every spawn exited onUnknown option, and because the rejected flags left their values in the argv the orphaned-epath becameparsed.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 lostpi-fake-opencodein every non-source install, because the entry files were guessed as<package>/src/<name>/index.ts(a bundled build has nosrc/tree and nanopi's agent dir is~/.nanopi/agent, not the hard-coded~/.pi/agent/packages), and the launcher was resolved from abin.pimanifest key that never existed after the rebrand (the manifest exposesbin.nanopi), so spawns failed withspawn pi ENOENTwherever nopicommand is on PATH -
ask_user_question works in plan mode and in the WebUI. Plan mode blocked every tool except
readandls/find/pwd, including the questionnaire, so a plan-mode run could find an ambiguity but never resolve it;ask_user_questionis now allowed, and the plan-mode guideline tells the model so. Innanopi webui(and any other dialog-less session) the tool failed outright with "UI not available" because it renders throughctx.ui.custom(), which the headless session cannot provide; it now routes through the extra module's new ask broker, which the WebUI server publishes asuser_input_requestSSE events and answers atPOST /chat/user-input— the endpoint and the frontend'sUserInputCardalready existed, only the daemon half was missing -
Fixed the Xiaomi MiMo default model:
defaultModelPerProviderpointed atmimo-v2.5-pro, which models.dev retired, sobuilt-in chat providers have defaults in their generated catalogsfailed against the regenerated catalog. The defaults now namemimo-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-Agentopencode/1.19.0 ai-sdk/provider-utils/4.0.23 runtime/bun/1.3.14, opencode-identifier directions (descendingses_session ids, ascendingmsg_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), notools(the official agent template matches tool definitions too, so spoofed requests strip them — free models answer as plain chat models without tool calling), and themax_tokensfield name (the newermax_completion_tokensis 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 throughdist/cli.js -p --model opencode/mimo-v2.6-flash-freeagainsthttps://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/Mcount was dropped there before, but two producers kept writing to the same slot:renderStatusTextdegraded to a bare☑/✓glyph that stayed on screen for as long as a plan existed, andbefore_agent_startoverwrote it with📋 N pendingat the start of every turn. The corner is whereshelland the mode badges compete for width, so todo-lite now writesundefinedto thetodostatus key instead of text (clearing the slot on session restore and on each turn) andrenderStatusTextis gone. The widget, the tool result, the pi-ui Working line, and/todosare unchanged; the corner now carries onlyshelland 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 redyolo/ greenplanbadges, pi-rewind checkpoints) plus the yellowshelllabel 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.vuedoes (#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 readsmodel · 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
findtool works with fd 8.x again. The issue-3303 nested-.gitignorefix always passed--no-require-gitoutside a git repo, but that flag only exists from fd 9.0, and older releases reject the whole invocation witherror: Found argument '--no-require-git' which wasn't expected— so every search outside a repository failed outright (the3302/3303regression suites,should surface fd glob parse errors, and four morefindcases intools.test.tsfailed 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:
transformMessagesdrops user and assistant messages whose content is empty or whitespace-only at the choke point every converter shares (Gemini rejected them withcontents.parts must not be empty) -
Tool-call argument parsing drops no fields when a string contains an invalid
\uescape such as\usepackage(#10868), and tool calls whose finishedargumentstext is not valid JSON no longer run silently with partial fields:argumentsis now{},ToolCall.argumentsErrorholds 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 streamerrors andThe service is temporarily unavailableerrors (#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_grantcode exchange.auth loginlists only the models the signed-in account can use (Free plans no longer showgpt-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)