unstale

npm / @earendil-works/pi-coding-agent

@earendil-works/pi-coding-agent

What changed in @earendil-works/pi-coding-agent 0.78 to 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

91 breaking13 security1 deprecations196 new APIs and options14 performance69 behavior and defaults4 tooling286 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@earendil-works/pi-coding-agent 1158 changes

Breaking changes 29

  • The unsupported off thinking level is no longer offered.

    1.3.0release notes

  • Uses OpenAI Chat Completions at the Kimi coding endpoint; models.json base URL overrides must include /v1.

    1.3.0release notes

  • Pi's Node.js is now only a fallback on PATH, so bash tool shells use the user's node/npm.

    1.3.0release notes

  • Moved to the opencode.ai/inference endpoints; OpenCode Go also gains Google Generative AI support.

    1.3.0release notes

  • Malformed final JSON arguments now fail validation and show the model the raw arguments instead of silently running with partial fields.

    1.3.0release notes

  • The models now expose only the off and high thinking levels, avoiding 400 errors at minimal.

    1.3.0release notes

  • An abort requested while a run is starting now aborts the run once it starts.

    1.2.0release notes

  • The event also fires for idle runs started with pi.sendMessage(..., { triggerTurn: true }); handlers receive a user or custom event, and handlers limited to prompts must check event.messageType === "user".

    1.2.0release notes

  • The event is now a union: user events carry prompt and images, while custom events carry the starting message and no prompt.

    1.2.0release notes

  • The unpublished experimental ./client export was removed.

    1.2.0release notes

  • Returns false while a run is starting, including during before_agent_start handlers.

    1.2.0release notes

  • The package used by the unreleased experimental stack was removed and is no longer released.

    1.2.0release notes

  • The unpublished experimental ./experimental/plugin export was removed.

    1.2.0release notes

  • OAuth sign-in now fails with an issuer mismatch when an authorization response includes an iss parameter that cannot be checked because server metadata was not discovered.

    1.2.0release notes

  • A // @options: line that is not the first script line now causes an error before execution instead of being silently ignored, preventing runs without the requested timeout.

    1.2.0release notes

  • Print mode now prints partial text, warns on stderr, and exits 1 when the final response is cut off at the model's output token limit.

    1.2.0release notes

  • The JSON output reports resources: true for servers offering resources instead of resource and resource-template counts.

    1.2.0release notes

  • When a run is starting, the session counts as busy and pi.sendMessage() queues into that run instead of trying to start a second run.

    1.2.0release notes

  • Calls made while a run is starting now require deliverAs.

    1.2.0release notes

  • MCP tool calls now handle structured content that is an array, null, or primitive; codemode types it as unknown when no output schema is declared.

    1.2.0release notes

  • The theme schema URL changed, and themes loaded at startup now receive the same schema validation as themes reloaded later.

    1.2.0release notes

  • The timeout now limits the whole sign-in, including requests to the authorization server, rather than only the wait for the browser.

    1.1.0release notes

  • Julia-1, Laya, Kev, lev, and OpenJev served by llama.cpp 0.6.0 or later run natively as classifiers rather than chat models.

    1.1.0release notes

  • The Azure provider is renamed from azure-openai-responses to azure; update its key in auth.json, models.json, and settings.json. AZURE_OPENAI_* environment variables are unchanged.

    1.0.3release notes

  • Home and End now always move the editor cursor to the line start or end; Ctrl+Home and Ctrl+End move to the fullscreen transcript top or bottom without moving the editor cursor.

    1.0.3release notes

  • A script that exceeds 16 Mi characters of output or 100000 items now fails instead of crashing pi from memory exhaustion.

    1.0.1release notes

  • The published package no longer includes the shrinkwrap file, so npm installations no longer pin transitive dependencies and library consumers can override them.

    1.0.1release notes

  • Using --provider without --model now fails with an error instead of silently running the default model from another provider.

    1.0.0release notes

  • Scripts probing for a tool must use the in operator; typeof tools.name no longer works for this purpose.

    1.0.0release notes

Security 4

  • Models disabled by an organization owner are no longer listed.

    1.1.0release notes

  • Output files, including full text of truncated tool output, binary MCP resources, and codemode images, are now readable only by the user.

    1.0.3release notes

  • When another login occupies the callback port, sign-in now fails with a port-in-use error instead of continuing and causing an OAuth state mismatch.

    1.0.1release notes

  • MCP OAuth rejects an authorization response whose iss parameter names another authorization server before exchanging the code.

    1.0.0release notes

New APIs and options 34

  • Choose automatic, GitHub gist, or Radius uploads for /share.

    1.3.0release notes

  • Tool namespaces can define aliases, which codemode namespace descriptions and searchTools() namespace matching recognize; MCP namespaces use the server name.

    1.2.0release notes

  • Pi lists only chat models available to the configured OpenRouter key, with that key's model limits and prices, and saves the list for offline use.

    1.2.0release notes

  • Setting PI_CLIPBOARD_OSC52=1 sends copied text to the terminal after the local clipboard write, enabling copies to reach remote clients when Pi cannot detect the remote session.

    1.2.0release notes

  • Tool definitions can declare which other tools a call may reach, allowing the MCP extension to wait for needed servers and determine whether replacement tools can reach MCP tools.

    1.2.0release notes

  • Published schemas for settings, models, keybindings, and themes can be referenced from configuration files for editor validation and completion.

    1.2.0release notes

  • agent_settled session, extension, and JSON events include aborted so integrations can distinguish a cancelled run from a finished one.

    1.1.0release notes

  • Claude Haiku 5.5 is available with adaptive thinking up to xhigh/max effort and prompt caching on Bedrock.

    1.1.0release notes

  • OpenAI's GPT-6 Luna is available as a classifier model through the Decisions API.

    1.1.0release notes

  • Tool render context and tool_execution_end extension events include the recorded execution time of a final tool result.

    1.1.0release notes

  • The codemode classification context accepts images for classifiers that support them.

    1.1.0release notes

  • Pi reports whether it is working, blocked on a dialog or login, done, or failed to terminals and dashboards that support OSC 7501.

    1.1.0release notes

  • Overrides detection of program status reporting with a value of 1 or 0.

    1.1.0release notes

  • Entries such as +codemode and -write adjust the default tool selection instead of replacing it.

    1.1.0release notes

  • Disables built-in MCP support for one run.

    1.0.4release notes

  • Gains getPromptGuidelines() for retrieving tool prompt guidelines.

    1.0.4release notes

  • The azure provider now serves Foundry Chat Completions deployments, starting with azure/deepseek-v4-pro.

    1.0.3release notes

  • Set sampling parameters such as temperature and top_p for each thinking level on OpenAI-compatible APIs.

    1.0.2release notes

  • A copy key, defaulting to ctrl+x, copies the OAuth sign-in URL when the browser cannot be opened or the wrapped link cannot be selected.

    1.0.1release notes

  • Cloudflare's Clef classifier model is usable from codemode scripts and extensions.

    1.0.1release notes

  • Cloudflare's Clef Flash classifier model is usable from codemode scripts and extensions.

    1.0.1release notes

  • The command can enable or disable a user-level MCP server for the current project.

    1.0.1release notes

  • A Nix flake lets macOS and Linux users install pi with nix profile add github:earendil-works/pi/stable.

    1.0.1release notes

  • Setting this to cimd identifies pi with its Client ID Metadata Document on pi.dev instead of using dynamic client registration.

    1.0.1release notes

  • A project entry without command or url can override enabled, exposure, and toolExposure for a user-level MCP server.

    1.0.1release notes

  • Registers how calls to a tool are drawn, including calls to tools that are not registered.

    1.0.1release notes

  • Extensions can generate images through the model registry.

    1.0.0release notes

  • The login menu offers Radius sign-in and can configure the Radius MCP server in the global mcp.json after sign-in.

    1.0.0release notes

  • Anthropic login now offers a copy code method for headless setups where the browser runs on another machine.

    1.0.0release notes

  • After Radius sign-in, /login can configure the Radius MCP server in the global mcp.json with Radius authentication.

    1.0.0release notes

  • Codemode scripts can call image models with session credentials; returned base64 image blocks can be attached to the result with image() and count toward session cost.

    1.0.0release notes

  • Configure an MCP server's OAuth metadata document when it advertises an incorrect authorization server or none; Pi uses the configured document instead of discovery.

    1.0.0release notes

  • Set quietStartup to "header" to keep the startup header with version and key hints while hiding the model scope line and loaded-resource listing.

    1.0.0release notes

  • Pass --tui-mode regular to keep the terminal's normal scrollback instead of using the fullscreen default.

    1.0.0release notes

Performance 4

  • Joining output items is no longer quadratic, preventing long process-blocking delays for scripts with many text() calls.

    1.2.0release notes

  • Tools added or redefined mid-conversation are defined inline, so redefining a tool under the same name keeps the prompt cache instead of resending the full tool list.

    1.0.1release notes

  • Codemode uses fewer prompt tokens; with default tools active, the notes report a reduction from about 5,300 to 3,300 tokens for a GPT-5.6 request.

    1.0.0release notes

  • Rendered messages retain less memory; a long assistant message keeps about a fifth of the heap it kept before.

    1.0.0release notes

Behavior and default changes 16

  • K3, K3-256K, and Kimi For Coding accept tools added mid-conversation without invalidating the prompt cache.

    1.3.0release notes

  • Thinking blocks from earlier assistant messages produced by another model are dropped instead of being sent as plain text.

    1.3.0release notes

  • Changing the thinking level mid-session with an API key keeps the prompt cache.

    1.3.0release notes

  • Conversation serialization for compaction, branch summaries, and bug reports omits thinking blocks to avoid oversized summarization requests.

    1.2.0release notes

  • When enabled, the setting uses only the terminal cursor instead of also drawing Pi's reverse-video cursor.

    1.2.0release notes

  • Reusable theme colors should be defined under vars when updating themes for the published schema.

    1.2.0release notes

  • The tool render context includes outputPad, which now also applies to ! command output, tool output, and summary blocks.

    1.1.0release notes

  • Accepts * patterns to exclude matching tools.

    1.0.4release notes

  • Accepts * patterns and keeps MCP tools unless an entry starts with mcp__; this lets you select tools without unintentionally removing MCP tools.

    1.0.4release notes

  • Codemode image() also writes each image to a temp file and names the path in the result, allowing later turns to copy or move generated images.

    1.0.3release notes

  • The default NVIDIA model now points to nvidia/nemotron-3-ultra-550b-a55b instead of the model NVIDIA no longer serves.

    1.0.1release notes

  • On global npm installations, the command now recommends migrating to the managed installation from the pi.dev installer, which pins all dependencies.

    1.0.1release notes

  • Codemode errors now provide recovery guidance, including close matches, expected argument shapes, a suggested API for unknown models, and guidance for oversized store values or undisplayed images.

    1.0.0release notes

  • Provider status labels now say "not configured" instead of "unconfigured" when credentials are absent.

    1.0.0release notes

  • OAuth credentials are stored per server name and URL, allowing servers with the same URL to use different accounts; URL-only credentials move to the first server that uses them.

    1.0.0release notes

  • The TUI now defaults to fullscreen; set tuiMode to "regular" to keep the terminal's normal scrollback.

    1.0.0release notes

Tooling 4

  • Tool declarations expose input constraints as @ tags on property comments, so scripts can see constraints without repeating them in descriptions.

    1.2.0release notes

  • Codemode tool rows show elapsed time while a script runs and total time when it finishes.

    1.2.0release notes

  • Codemode declarations spell out MCP result fields instead of referring to an undefined CallToolResult<T> type, and no longer include shared MCP types.

    1.2.0release notes

  • A Nix flake lets macOS and Linux users run the latest release with nix run github:earendil-works/pi/stable.

    1.0.1release notes

Fixes and other changes 67

  • Requests with images in an error tool result no longer fail with a 400; images are sent after the turn's tool results.

    1.3.0release notes

  • Retries now trigger for gateway upstream-stream forwarding errors and temporary service-unavailable errors.

    1.3.0release notes

  • Stopping a script or reaching its deadline no longer waits for a non-interruptible built-in to return on Bun.

    1.3.0release notes

  • Live workers are limited to two across sessions, with cancelled workers counted until they exit.

    1.3.0release notes

  • Calling done() on a custom overlay closes that overlay rather than the topmost overlay.

    1.3.0release notes

  • Vertex requests no longer fail with an unsupported thinking-budget error, and the thinking level is honored on the Gemini API.

    1.3.0release notes

  • When several providers offer a model match, Pi prefers the provider with credentials and otherwise reports the ambiguity.

    0.84.0, 1.3.0release notesrelease notes

  • Adds a model for each provider that offers it and warns when the match is ambiguous.

    1.3.0release notes

  • Uses a 500K context window instead of 272K.

    1.3.0release notes

  • Thinking no longer appears after the answer when a proxy sends reasoning and content in the same stream chunk.

    1.3.0release notes

  • Uses the Anthropic Messages API for MiniMax M2.7, fixing the unsupported protocol error.

    1.3.0release notes

  • Empty quoted arguments are preserved, so later positional arguments are not shifted and positional defaults can apply.

    1.3.0release notes

  • Fixed labels for numeric-string or null arguments in the TUI, session tree, and HTML exports.

    1.3.0release notes

  • Resume restores the session's active tools, with --tools +name/-name entries applied on top unless tool selection is explicit.

    1.3.0release notes

  • Parsing no longer drops fields when a string contains an invalid Unicode escape.

    1.3.0release notes

  • A symlinked AGENTS.md in a git worktree nested inside its main repository no longer prevents project context from loading.

    1.2.0release notes

  • When Anthropic rejects strict tools due to grammar size, tool count, or union limits, Pi retries once with preferred tools non-strict.

    1.2.0release notes

  • On Windows, Pi briefly retries reads or writes when a previous lock folder is still being deleted, rather than failing immediately with EPERM.

    1.2.0release notes

  • Codemode no longer fails with a broken bridge when Pi runs under node --watch on Node 24 or 26.

    1.2.0release notes

  • Tilde expansion now works in !pattern, +path, and -path entries for the extensions, skills, prompts, and themes settings.

    1.2.0release notes

  • Pi no longer lists resources while connecting, so servers with resources can register tools without waiting for resource enumeration.

    1.2.0release notes

  • Cancelled or timed-out MCP calls waiting for an OAuth refresh are no longer sent to the server after the refresh finishes.

    1.2.0release notes

  • The request timeout now applies only while waiting for response headers, preventing streams from being aborted mid-generation.

    1.2.0release notes

  • Negative placeholder prices from OpenRouter are treated as zero, avoiding extreme negative cost displays for router models.

    1.2.0release notes

  • The timeout limits the entire sign-in, not only the wait for the browser.

    1.2.0release notes

  • Runs started with pi.sendMessage(..., { triggerTurn: true }) no longer remove sections added by before_agent_start after the first tool call.

    1.2.0release notes

  • A tool declaring an output schema resolves with its value on failure too, rather than rejecting every failed tool call.

    1.2.0release notes

  • “The upstream provider returned an error” is now retried as a transient provider error.

    1.2.0release notes

  • Login falls back to a free loopback port when port 53692 is reserved or in use.

    1.1.0release notes

  • Clipboard paste works in Termux, and failed copies include the Termux:API install hint.

    1.1.0release notes

  • Text outputs are separated with numbered markers, and console calls appear after other output in one block with one line per call.

    1.1.0release notes

  • Input is estimated at 3.5 characters per token instead of 4 when calculating output limits, reducing context-limit request failures.

    1.1.0release notes

  • Standalone binaries load .env, .env.local, and .env.development from the launch directory into Pi's environment.

    1.1.0release notes

  • Mistral responses ending with finish_reason: error are retried.

    1.1.0release notes

  • The manager opens without waiting for all servers to connect and remains usable while servers are enabled, reconnected, or disabled.

    1.1.0release notes

  • Sign-ins can be cancelled with Esc at every step, session shutdown aborts a running sign-in, and authorization-server requests time out after 15 seconds.

    1.1.0release notes

  • Model headers now override the originator and User-Agent headers of Codex requests.

    1.1.0release notes

  • Images are no longer dropped as “could not be resized” on Node 24.19+ and 26.x because of Node messages on the image resize worker channel.

    1.1.0release notes

  • Bedrock OpenAI models now honor the configured thinking level instead of always using Bedrock's default reasoning effort.

    1.1.0release notes

  • Managed installs now keep only the new release and the release it updated from.

    1.1.0release notes

  • The codemode description now marks searchTools(), describeTool(), and describeNamespace() as async, preventing models from serializing unawaited promises as {}.

    1.1.0release notes

  • Provider busy errors are retried rather than ending the turn.

    1.1.0release notes

  • Costs no longer undercount long prompts on models with prompt-length pricing tiers across the listed providers.

    1.1.0release notes

  • Bash and PowerShell results retain Took after session reloads, and live results show recorded execution time instead of wall-clock steps.

    1.1.0release notes

  • Automatically retries requests that fail with The pending stream has been canceled after a stalled HTTP/2 connection.

    1.0.4release notes

  • Freezes built-ins before codemode scripts run, so attempts to patch them have no effect instead of crashing pi and leaving the tool call unsettled.

    1.0.4release notes

  • Registers pi as a native client, fixing invalid_redirect_uri sign-in failures on servers with OpenID Connect client registration.

    1.0.4release notes

  • Waits for a connecting server during shutdown instead of returning while its transport remains open.

    1.0.4release notes

  • On an image file, resolves to an image block that image() can show, allowing codemode scripts to receive and display images.

    1.0.4release notes

  • Fixed codemode failing for the rest of a session after a pnpm global update removed the running install; errors after pi was updated or removed on disk now include a restart hint.

    1.0.3release notes

  • Fixed subscription logins such as Sign in with ChatGPT failing after a request was cancelled during an OAuth token refresh.

    1.0.3release notes

  • Fixed interactive sessions crashing with read EIO or setRawMode EIO when the terminal went away, such as after closing the window or resuming a suspended pi in a closed terminal.

    1.0.3release notes

  • Requests no longer fail with an invalid signature in the thinking block after the system prompt or tools change.

    1.0.1release notes

  • Pricing tiers listed on models.dev are now included, correcting the short-context rate for requests above 272k input tokens.

    1.0.1release notes

  • Claude model IDs use dashes rather than periods to avoid 404 errors.

    1.0.1release notes

  • Fullscreen Kitty images no longer collapse to a one-row strip after scrolling in WezTerm.

    1.0.1release notes

  • JPEG, GIF, and WebP images rendered by extensions through Image now appear in Kitty, Ghostty, WezTerm, and Warp.

    1.0.1release notes

  • Calls in resumed sessions and HTML exports no longer render fully expanded while waiting for the server to connect, or permanently when it never connects.

    1.0.1release notes

  • A trailing comma no longer adds an extra model to the model cycle.

    1.0.1release notes

  • Provider errors with this message are now retried instead of ending the turn.

    1.0.1release notes

  • Thinking level controls now work after Together renamed the model.

    1.0.1release notes

  • The sign-in URL remains clickable when it wraps across lines.

    1.0.0release notes

  • Empty or null optional OAuth fields, including an empty token response scope, no longer cause sign-in failures.

    1.0.0release notes

  • When an MCP server requests additional scope, sign-in requests only the missing scopes while preserving previously granted scopes.

    1.0.0release notes

  • Slash command autocompletion now triggers when the input starts with whitespace.

    1.0.0release notes

  • Palette colors retain their chroma when the system theme is applied, avoiding overly vivid pastel palettes.

    1.0.0release notes

  • Deferred MCP tools loaded by tool_search are no longer dropped on resume or /reload when their server reconnects before the next prompt.

    1.0.0release notes

@earendil-works/pi-coding-agent 0.9958 changes

Breaking changes 4

  • MCP tool and namespace names replace hyphens with underscores; colliding tools from a server get hash suffixes, and server names differing only by hyphen and underscore are rejected.

    0.99.2release notes

  • Scripts use searchTools() to find tools from MCP servers with default codemode exposure; namespace arguments accept hyphens or underscores, including mcp-prefixed forms.

    0.99.2release notes

  • This option now also disables built-in extensions, including the llama.cpp provider; load one explicitly with -e builtin:<name>.

    0.99.0release notes

  • The build switched to TypeScript 7.0 with an ES2024 target and replaced tsx with Node's built-in type stripping for running from source.

    0.99.0release notes

Deprecations 1

  • The inherited provider was renamed OpenAI Codex (legacy); Sign in with ChatGPT on the OpenAI provider supersedes it.

    0.99.0release notes

New APIs and options 30

  • Anthropic workload identity federation can use the Anthropic SDK environment variables ANTHROPIC_FEDERATION_RULE_ID, ANTHROPIC_ORGANIZATION_ID, and ANTHROPIC_IDENTITY_TOKEN_FILE.

    0.99.2release notes

  • HTTP MCP servers can use a provider's current /login token as a bearer token instead of MCP OAuth. Allowed only in global mcp.json and extensions; HTTPS is required except on loopback hosts.

    0.99.2release notes

  • New codemode helper returns a namespace's instructions and tool names. It accepts namespace names with hyphens or underscores, including mcp-prefixed forms.

    0.99.2release notes

  • MCP servers can have a description, set with pi mcp add --description; it appears in the system prompt and helps rank tools in tool search.

    0.99.2release notes

  • Sets the client name sent during OAuth client registration for MCP servers that only accept known clients.

    0.99.2release notes

  • GPT-6.1 Sol is available on the OpenAI, Azure OpenAI Responses, and OpenAI Codex providers.

    0.99.1release notes

  • Extension tools can provide annotations.

    0.99.0release notes

  • Theme files can specify an optional appearance field.

    0.99.0release notes

  • A built-in extension runs model-written JavaScript in a QuickJS sandbox that can call pi tools; enable it with defaultTools or --tools and configure it with codemode.mode and codemode.inlineBudget.

    0.99.0release notes

  • Extensions can make nested tool calls; emitted events include parentToolCallId and calling-tool results record bounded nestedCalls.

    0.99.0release notes

  • Entries prefixed with + or - add or remove tools without repeating defaults; project entries apply on top of the user setting.

    0.99.0release notes

  • Extension tools can declare exposure as direct, model-only, codemode, deferred, or hidden.

    0.99.0release notes

  • Controls fullscreen mouse-wheel scrolling; the default auto accelerates fast wheel spins outside local macOS terminals.

    0.99.0release notes

  • Extension tool results can indicate errors with isError.

    0.99.0release notes

  • Configure MCP servers over stdio or streamable HTTP, with OAuth; server definitions can be global or project-local once trusted.

    0.99.0release notes

  • ModelRuntime adds classifier support, including classify(), classifier model accessors, runtime-resolved authentication, and the built-in TypeSafe jev-latest model.

    0.99.0release notes

  • ModelRuntime can generate images using runtime-resolved authentication, including stored credentials, OAuth, runtime API keys, and models.json headers.

    0.99.0release notes

  • ModelRuntime adds model accessors for supported model types.

    0.99.0release notes

  • Extension tools can specify a namespace.

    0.99.0release notes

  • Extension tools can provide an output schema with structuredContent.

    0.99.0release notes

  • Manage MCP servers with add, remove, list, login, and logout subcommands.

    0.99.0release notes

  • Extensions can register MCP servers programmatically.

    0.99.0release notes

  • Extensions can register virtual models that select a physical model and thinking level for each request.

    0.99.0release notes

  • Extensions gain prepareLoadout() for orchestrating tools.

    0.99.0release notes

  • Extensions can observe parsed provider events before normalization.

    0.99.0release notes

  • RpcClient.prompt() now accepts streamingBehavior.

    0.99.0release notes

  • Extensions can access theme appearance.

    0.99.0release notes

  • Extensions can access theme colors.

    0.99.0release notes

  • Extensions can access the theme style API.

    0.99.0release notes

  • A built-in tool finds tools not declared to the model and declares them.

    0.99.0release notes

Performance 2

  • Merging remote catalog models no longer takes quadratic time, improving model lookups for providers with a refreshed pi.dev catalog.

    0.99.2release notes

  • Prompt submission no longer looks up the model catalog once per assistant message, avoiding slowdown as sessions grow.

    0.99.2release notes

Behavior and default changes 10

  • codemode-deferred is now an alias for codemode. Use direct exposure for tools the model should see without searching.

    0.99.2release notes

  • The first prompt no longer waits for MCP servers without direct tools; they connect in the background and are awaited when scripts name them, search tools, or tool_search runs.

    0.99.2release notes

  • MCP servers are listed in an mcp_servers system prompt section with one-line summaries, updated at each prompt; changed sections are appended to the conversation.

    0.99.2release notes

  • Reload enables tools newly added to defaultTools. Removed tools remain enabled, session-disabled tools stay off unless newly added, and command-line tool flags still override the setting.

    0.99.2release notes

  • GPT-6.1 Sol (gpt-6.1-sol) is now the default OpenAI Codex model.

    0.99.1release notes

  • followUp() responses now provide per-input disposition.

    0.99.0release notes

  • steer() responses now provide per-input disposition.

    0.99.0release notes

  • Structured results received by codemode scripts now hold up to 1 MiB, include truncated and full_output_path, and retain the first and last 512 KiB of longer output; empty output is an empty string.

    0.99.0release notes

  • Built-in extensions and tools are now named builtin:<name> in errors, diagnostics, RPC source info, and bug reports.

    0.99.0release notes

  • The system theme is now the default and derives colors from the terminal palette, rebuilding them when the terminal switches between light and dark.

    0.99.0release notes

Fixes and other changes 11

  • Tools with schema keywords rejected by Anthropic strict tool use, such as minimum or maximum, are now sent non-strict.

    0.99.2release notes

  • In only mode, the system prompt tool list no longer includes read, bash, edit, and write when requests declare only codemode.

    0.99.2release notes

  • Context overflow detection now handles Z.AI CN endpoint “Prompt exceeds max length” errors.

    0.99.2release notes

  • Extension commands registered without a string name or handler now cause the extension to fail loading with an error instead of crashing pi when / is typed.

    0.99.2release notes

  • codemode image() rejects malformed base64 data and unsupported image types, preventing invalid image blocks from breaking later provider requests.

    0.99.2release notes

  • Provider retries use exponential backoff when a Retry-After header contains an unparseable date, rather than firing immediately.

    0.99.2release notes

  • New sessions no longer intermittently ignore the saved default model or warn that no models are available when the model belongs to an extension-registered native provider with a stored credential.

    0.99.2release notes

  • Fixed /login with OpenAI failing in the bundled release because of a missing openai-chatgpt.js module.

    0.99.1release notes

  • Usage from tools called through ctx.executeTool() is now added to the calling tool's result usage and session cost.

    0.99.0release notes

  • Event dispatch no longer skips the next listener when a listener unsubscribes during handling, avoiding waitForIdle() timeouts after collectEvents().

    0.99.0release notes

  • A session file is now created when the first user message is sent, preventing new sessions from being lost if pi exits before the first assistant response.

    0.99.0release notes

@earendil-works/pi-coding-agent 0.8737 changes

Breaking changes 10

  • Missing or invalid --mode values now report an error and exit with a nonzero status instead of being silently ignored.

    0.87.1release notes

  • Runs requested from settled handlers are deferred until all settled handlers finish; handlers no longer see a reentrant agent_start during the same dispatch.

    0.87.0release notes

  • Adds AgentBeforeSettleEvent to the exported ExtensionEvent union; exhaustive switches must handle the new event shape.

    0.87.0release notes

  • Offline mode now blocks uploads while preserving local zip exports.

    0.87.0release notes

  • Adds append-only model-context edits to the exported SessionEntry union; exhaustive TypeScript entry switches must handle context_edit.

    0.87.0release notes

  • No longer accepts turn_end; host integrations must dispatch actionable boundaries with emitBoundary.

    0.87.0release notes

  • Use finishTurn instead of shouldStopAfterTurn; it runs before turn_end, applies its decision afterward, and receives error and aborted responses.

    0.87.0release notes

  • Becomes canonical for AgentSession provider context; assigning session.agent.state.messages no longer replaces future request history.

    0.87.0release notes

  • Removes the inherited agent option; use finishTurn and return { action: "end" } instead.

    0.87.0release notes

  • Gains required boundary fields, so consumers constructing TurnEndEvent values must provide the new shape.

    0.87.0release notes

New APIs and options 11

  • Claude Opus 5.5 is available through supported providers, including GitHub Copilot; Anthropic support includes adaptive thinking and a 1M context window.

    0.87.1release notes

  • GPT-6 Luna is available through supported providers, including GitHub Copilot, OpenAI API keys, and OpenAI Codex subscriptions.

    0.87.1release notes

  • GPT-6 Sol is available through supported providers, including GitHub Copilot, OpenAI API keys, and OpenAI Codex subscriptions.

    0.87.1release notes

  • Adds an actionable extension boundary for persisting structural entries and ensuring one next provider request.

    0.87.0release notes

  • Adds context_edit entries for omitting or replacing messages in future provider context without changing raw history, usage, or UI history.

    0.87.0release notes

  • Adds a per-request extension event that runs after context handlers on the full transcript, including system messages, and sends its result verbatim.

    0.87.0release notes

  • Provides host integrations a way to dispatch actionable boundaries using a base event and context builder.

    0.87.0release notes

  • Adds per-model image resize profiles in models.json for attachments, image reads, and tool-result images.

    0.87.0release notes

  • Supports retain-none compaction input by storing the compaction's own ID as its kept boundary when the second argument is null.

    0.87.0release notes

  • Appends a model-context edit; passing null omits a message from future provider context without changing raw history, usage, or UI history.

    0.87.0release notes

  • Adds an actionable extension boundary that can persist structural entries in order and ensure one next provider request.

    0.87.0release notes

Behavior and default changes 3

  • New xAI sessions now default to Grok 4.7.

    0.87.1release notes

  • Is the documented navigation path for AgentSession history now that SessionManager is canonical for provider context.

    0.87.0release notes

  • Call after appending through session.sessionManager to refresh provider context.

    0.87.0release notes

Fixes and other changes 13

  • Anthropic OAuth requests no longer report an outdated Claude Code version.

    0.87.1release notes

  • Image-only user messages are no longer rejected by some OpenAI-compatible providers because of an empty text part.

    0.87.1release notes

  • Compaction summaries are no longer refused by Claude Fable 5.1; the conversation is clearly separated and instructions are continuation-oriented.

    0.87.1release notes

  • Context handlers no longer see system messages; Pi restores the prompt and tool state after handlers filter or slice messages.

    0.87.0release notes

  • String replacements now produce valid assistant and tool-result message content as text blocks.

    0.87.0release notes

  • Preserves valid assistant usage captured after the latest context edit and avoids reusing usage made stale by later compaction.

    0.87.0release notes

  • Selected error retries and final length/overflow recovery no longer retain abandoned model attempts in future provider context.

    0.87.0release notes

  • Text files beginning with GIF are no longer misclassified as images and omitted from CLI file input.

    0.87.0release notes

  • Inherited unknown endpoints no longer receive strict tool schemas unless they explicitly advertise support.

    0.87.0release notes

  • Idle prompt-cache warming no longer rebuilds expired caches when its timer or an extension decision is delayed.

    0.87.0release notes

  • Malformed frontmatter is now reported as a resource warning instead of being silently ignored.

    0.87.0release notes

  • Text files beginning with GIF are no longer misclassified as images and omitted from read input.

    0.87.0release notes

  • Provides the documented restore path for session history under the canonical SessionManager provider context.

    0.87.0release notes

@earendil-works/pi-coding-agent 0.8631 changes

Breaking changes 5

  • Its arrays are now readonly.

    0.86.0release notes

  • The inherited field is now restricted to JSON-compatible values.

    0.86.0release notes

  • The inherited type is now conditional.

    0.86.0release notes

  • Custom providers now receive normalized TranscriptContext stream inputs and must read system prompts and tool declarations from context.messages using the provided helpers.

    0.86.0release notes

  • Errors or invalid defined results now abort the command without invoking later handlers or executing locally; return undefined to continue propagation.

    0.86.0release notes

New APIs and options 15

  • Adds META_API_KEY support to access Muse Spark models.

    0.86.1release notes

  • Report problems with redacted diagnostics and optionally include transcripts or a model-written summary; reports can be uploaded or exported as a zip archive.

    0.86.0release notes

  • Configure reserved and recent-token budgets per model, falling back to ordinary compaction settings.

    0.86.0release notes

  • Override or disable Anthropic server-side fallback models.

    0.86.0release notes

  • Extensions can set this to false when re-registering tool definitions to opt out of constrained sampling.

    0.86.0release notes

  • Extensions can make model calls through configured providers with resolved authentication.

    0.86.0release notes

  • Custom providers use this helper to read system prompts from normalized transcript context messages.

    0.86.0release notes

  • Custom providers use this helper to read tool declarations from normalized transcript context messages.

    0.86.0release notes

  • Set a per-model recent-token budget through compaction.modelOverrides.

    0.86.0release notes

  • Returns an unsubscribe function so extensions can drop event handlers; handler changes during dispatch apply to later dispatches.

    0.86.0release notes

  • Cost-aware refreshes keep valuable prompt caches alive during long tool runs and optionally while idle, with configurable modes and cache-lifetime metadata.

    0.86.0release notes

  • Models can be selected immediately from an offline catalog, with cached and live gateway catalogs overlaid when available.

    0.86.0release notes

  • Set a per-model reserved-token budget through compaction.modelOverrides.

    0.86.0release notes

  • Use tool_search as the loader name for prompt-prefix deferred native tool loading on Fireworks Messages models.

    0.86.0release notes

  • Use ToolSearch as the loader name for prompt-prefix deferred native tool loading on Fireworks Messages models.

    0.86.0release notes

Performance 1

  • Enables Node's persistent compile cache before loading the bundled CLI runtime, reducing repeat launch time.

    0.86.1release notes

Behavior and default changes 3

  • System prompt and tool updates are recorded in the transcript so they survive resume and branch navigation while preserving cached prefixes on supported models.

    0.86.0release notes

  • Radius now defaults to balanced, falling back to the first available Radius model when needed.

    0.86.0release notes

  • Enabled by default for built-in tools without requiring PI_EXPERIMENTAL; extensions can re-register definitions with constrainedSampling: false.

    0.86.0release notes

Fixes and other changes 7

  • Preserves line breaks in pasted diagnostics in /bug descriptions.

    0.86.1release notes

  • Suppresses /bug hints for user cancellations and retryable provider failures such as service unavailability.

    0.86.1release notes

  • Restores the OSC 52 fallback when no display is available and adds a verified Windows clipboard backend for WSL.

    0.86.1release notes

  • Recognizes inherited z.ai Prompt too long errors as context overflow.

    0.86.1release notes

  • Prevents inherited Cerebras models from advertising unsupported strict tool schemas that caused HTTP 400 errors when strict and non-strict tools were mixed.

    0.86.1release notes

  • Extension tools without parameter schemas are rejected during registration rather than breaking provider requests.

    0.86.0release notes

  • Caps agent-level retry backoff at 60 seconds by default so long retry runs stay responsive during prolonged transient outages.

    0.86.0release notes

@earendil-works/pi-coding-agent 0.8540 changes

Breaking changes 3

  • The experimental client subpath is source-only through pi-test.sh; the supported local SDK and stdio RPC API are unchanged.

    0.85.1release notes

  • The experimental plugin subpath is source-only through pi-test.sh; the supported local SDK and stdio RPC API are unchanged.

    0.85.1release notes

  • Removes the unavailable inherited Grok Build 0.1 model from the model picker.

    0.85.0release notes

New APIs and options 7

  • GPT-6 Astra is available through OpenAI API keys and OpenAI Codex subscriptions.

    0.85.1release notes

  • Adds Meta (Muse subscription) login with automatic Model API key refresh, enabling access to Muse Spark models.

    0.85.0release notesrelease notes

  • Adds support for the Meta API key environment variable.

    0.85.0release notes

  • Adds support for restoring externally managed session entries through the SDK.

    0.85.0release notes

  • Adds an inherited OpenAI-compatible model setting for OpenAI Responses output-token limits.

    0.85.0release notes

  • Adds a shortcut for jumping to the latest message while the fullscreen transcript is scrolled up.

    0.85.0release notes

  • Adds an inherited OpenAI-compatible model setting for vLLM scheduler priority.

    0.85.0release notes

Performance 1

  • Reduces search latency on large transcripts by caching unchanged results, indexing ASCII runs, and limiting highlight work to visible matches.

    0.85.0release notes

Behavior and default changes 3

  • Mouse wheel scrolling is five times faster while holding Alt in fullscreen mode.

    0.85.1release notes

  • Adds inherited LaTeX rendering for relational algebra join symbols.

    0.85.0release notes

  • The default editor embeds the streaming working indicator in its border; custom editors retain the standalone indicator unless they opt in.

    0.85.0release notes

Fixes and other changes 26

  • Mouse hover no longer changes selection or recenters autocomplete and settings lists, preventing clicks from targeting a different item.

    0.85.1release notes

  • Long prompt-cache requests for GPT-5.6+ Responses models use ttl: "30m" instead of prompt_cache_retention: "24h".

    0.85.1release notes

  • Configurable save keybindings work in the model and thinking selectors.

    0.85.1release notes

  • Fixes models incorrectly advertising image input support.

    0.85.0release notes

  • Fixes branch summaries failing when reasoning consumes the previous 2048-token output cap.

    0.85.0release notes

  • Supported Anthropic transports preserve per-turn effort and recover safely from signed-thinking mismatches.

    0.85.0release notes

  • Fixes bash, edit, find, grep, ls, read, and write tools ignoring the context working directory.

    0.85.0release notes

  • Restores the package's client compatibility entry point.

    0.85.0release notes

  • Fixes inherited Fireworks GLM models using the wrong API adapter.

    0.85.0release notes

  • Prevents drag selection from continuing over the fullscreen editor.

    0.85.0release notes

  • Ensures selected reasoning levels are sent with requests.

    0.85.0release notes

  • Fixes EXIF detection after non-EXIF APP1 segments.

    0.85.0release notes

  • Prevents imported sessions from overwriting an existing session with the same filename.

    0.85.0release notes

  • Fixes managed fd and ripgrep downloads on Linux musl systems and removes the requirement for the GitHub Releases API.

    0.85.0release notes

  • Fixes inherited matching for root domains and subdomains.

    0.85.0release notes

  • Processes terminal events that are not followed by a blank line.

    0.85.0release notes

  • Fixes inherited provider streams emitting incompatible event sequences and custom tool-call deltas.

    0.85.0release notes

  • Fixes requests hanging after a tool call by tunneling them with CONNECT.

    0.85.0release notes

  • Fixes the inherited catalog to include Qwen3.8 Flash.

    0.85.0release notes

  • Ensures abort cancels an in-progress manual compaction instead of reporting success without cancelling it.

    0.85.0release notes

  • Preserves the compaction boundary when forking sessions and fixes in-memory forks before an active turn settles.

    0.85.0release notes

  • Prevents concurrent session shares from overwriting one another.

    0.85.0release notes

  • Fixes skills being unavailable when Bash is the only enabled tool.

    0.85.0release notes

  • Fixes inherited terminal startup under restricted seccomp policies that reject the SIGWINCH self-signal.

    0.85.0release notes

  • Removes a misleading count that reported UTF-16 code units as byte counts.

    0.85.0release notes

  • Fixes inherited image capability detection for the Zed terminal.

    0.85.0release notes

@earendil-works/pi-coding-agent 0.84143 changes

Breaking changes 19

  • Replaces the inherited GoogleThinkingLevel type.

    0.84.3release notes

  • The inherited type was renamed to GoogleApiThinkingLevel; update references to the old type.

    0.84.3release notes

  • Default values that do not match the declared flag type are no longer accepted.

    0.84.3release notes

  • A new type represents normalized adapter thinking levels.

    0.84.3release notes

  • Agent.reset() now rejects until the agent is idle, rather than clearing transcript and runtime state during active runs.

    0.84.1release notes

  • The inherited v2 session and AgentHarness API moved from the experimental entrypoint to the default export, and experimental subpaths were removed.

    0.84.0release notes

  • Publish provider refresh updates through a generation-checked transaction, optionally persisting or deleting a ModelsStoreEntry.

    0.84.0release notes

  • Provider refresh callbacks use the read-only stored snapshot instead of dynamic refresh context store access.

    0.84.0release notes

  • Custom harness file-system implementations must provide this operation with same-filesystem replacement semantics for atomic JSONL publication.

    0.84.0release notes

  • JSON and RPC events now emit only assistantMessageEvent deltas; clients needing partial messages must assemble them between message_start and message_end.

    0.84.0release notes

  • Returns ProviderHeaders with string or null values and preserves null header-deletion markers; extensions must handle or forward null values unchanged.

    0.84.0release notes

  • Now accepts ModelsRefreshOptions and returns ModelsRefreshResult instead of discarding cancellation and provider errors.

    0.84.0release notes

  • Now accepts auth cancellation options rather than catalog refresh options; call refresh separately when remote freshness is required.

    0.84.0release notes

  • Renames the inherited pi-ai interface because its header transformation now applies to all authenticated provider requests.

    0.84.0release notes

  • This inherited interface was renamed to ModelsRequestTransforms; update extensions that refer to the old name.

    0.84.0release notes

  • Config-form extension OAuth callbacks must accept and honor a concrete abort signal.

    0.84.0release notes

  • No longer exposes runtime phase, model, thinking, attachment, or lock state; acquire SessionSnapshot values for that runtime information.

    0.84.0release notes

  • The inherited harness session model is replaced by v4 lane-based Session, SessionStorage, and SessionRepo APIs.

    0.84.0release notes

  • The v4 session repository contract is implemented by JsonlSessionRepo and InMemorySessionRepo; legacy JSONL and in-memory repository APIs were removed.

    0.84.0release notes

Security 3

  • Writes no longer override administrator-managed file permissions and ACLs.

    0.84.3release notes

  • Grok 4.6 is now the default xAI model.

    0.84.3release notes

  • Built-in models now use the Responses API with encrypted reasoning replay.

    0.84.3release notes

New APIs and options 43

  • RPC method retrieves and removes queued steering and follow-up messages.

    0.84.4release notes

  • Adds inherited experimental support for the vision-capable DeepSeek V4 Flash model through the built-in DeepSeek provider.

    0.84.4release notes

  • This function is now available through the public library exports.

    0.84.4release notes

  • Disables automatic fullscreen selection copying; Ctrl+X copies the active selection before falling back to the last assistant message, while /tree still copies the selected message.

    0.84.4release notes

  • Fullscreen scrollbars support an optional thumb theme color with a text fallback, consistent across normal and expanded states.

    0.84.4release notes

  • Fullscreen scrollbars support an optional track theme color with a muted fallback.

    0.84.4release notes

  • Custom Anthropic Messages model compatibility settings can now specify supportsMidConvoEffort.

    0.84.4release notes

  • Override detected terminal hyperlink, image, and truecolor support using environment variables or advanced settings.

    0.84.4release notes

  • New extension event lets host integrations distinguish waiting on a user-facing ctx.ui prompt from active agent work.

    0.84.4release notes

  • Exported helpers accept optional routing session IDs so callers can preserve provider routing without enabling prompt cache writes.

    0.84.3release notes

  • Saves the selected model as the global default; model and thinking selections otherwise remain session-scoped.

    0.84.3release notes

  • The Qwen Token Plan Individual catalog now supports this model.

    0.84.3release notes

  • Configurable thinking-token budget fields are available for vLLM, Qwen/SGLang, and llama.cpp servers.

    0.84.3release notes

  • An optional native PowerShell command execution tool is available on Windows and can be configured through defaultTools and the SDK.

    0.84.3release notes

  • Extension handlers receive compaction failure and abort events with the reason, retry state, source, and error message.

    0.84.3release notes

  • A selector lets users choose thinking levels; model and thinking selectors also offer searchable defaults, and selections remain session-scoped unless saved.

    0.84.3release notes

  • Simple stream requests now support inherited provider-neutral tool choice.

    0.84.3release notes

  • The catalog adds China-specific models, including GLM-4.6V vision support and API-equivalent usage cost estimates.

    0.84.3release notes

  • The inherited field preserves OpenAI Codex's terminal end_turn signal for diagnostics.

    0.84.2release notes

  • Route Cloudflare AI Gateway requests through a Workers AI binding without an API token.

    0.84.2release notes

  • Choose the initial built-in tool selection globally or per project; extension and SDK custom tools are preserved when selecting built-in defaults.

    0.84.2release notes

  • Choose whether fullscreen exit prints the final transcript or only a session resume hint.

    0.84.2release notes

  • Fullscreen mode adds unbound single-line transcript scrolling actions.

    0.84.2release notes

  • Fullscreen mode can search and navigate transcript matches, with incremental highlighting and configurable match theme colors.

    0.84.2release notes

  • The options can explicitly dispatch commands and expand skills and prompt templates when sending a user message.

    0.84.2release notes

  • Experimental constrained sampling is available for the default read, bash, edit, and write tools when PI_EXPERIMENTAL=1.

    0.84.2release notes

  • Select an initial per-run interactive theme without changing saved settings.

    0.84.2release notes

  • Fullscreen mode adds inherited, unbound actions for half-page transcript scrolling.

    0.84.1release notes

  • Preflights provider or model credentials and can optionally emit the resolved credential.

    0.84.1release notes

  • Added the shared international API key environment variable for Qwen Token Plan Individual.

    0.84.1release notes

  • Added a built-in provider with its documented subscription model catalog.

    0.84.1release notes

  • Gracefully stop after a completed turn before processing queued messages or making another model call.

    0.84.0release notes

  • Use this per-directory context file to replace AGENTS.md or CLAUDE.md in the same directory while preserving context from other directories.

    0.84.0release notes

  • Use the built-in Baseten provider with BASETEN_API_KEY authentication and zai-org/GLM-5.2 as its default model.

    0.84.0release notes

  • Enable compatibility handling for OpenAI-compatible streams that omit finish_reason, inferring normal and tool-use stops when the stream ends.

    0.84.0release notes

  • Opt in to prompt history navigation; explicit history bindings take precedence over application shortcuts while the editor is focused.

    0.84.0release notes

  • Switch between regular and fullscreen modes at runtime; fullscreen mode provides a sticky editor and footer with an independently scrollable transcript.

    0.84.0release notes

  • Interactive messages can render supported Mermaid diagrams as themed Unicode, optionally while streaming.

    0.84.0release notes

  • Register chainable hooks for display-only transformation of user and assistant Markdown.

    0.84.0release notes

  • Experimental remote-session client APIs include a transport-neutral client, CBOR protocol, Unix-socket transport, and RemoteSession controller.

    0.84.0release notes

  • Configure arbitrary OpenAI-compatible model sampling parameters in models.json, model overrides, extension providers, and stream options.

    0.84.0release notes

  • Opt in to vLLM thinking-token budgeting for OpenAI-compatible models, reserving output tokens for the final answer.

    0.84.0release notes

  • Select fullscreen TUI mode when starting the application.

    0.84.0release notes

Performance 3

  • Full-width layout rows are painted directly instead of recomposited on every frame, reducing allocation churn.

    0.84.2release notes

  • Mistral requests use a native Chat Completions HTTP stream instead of the inherited SDK transport, eliminating generated client and schema runtime overhead.

    0.84.2release notes

  • Worst-case automatic detection delay was reduced from 200 ms to 100 ms by probing color-scheme and background support concurrently.

    0.84.1release notes

Behavior and default changes 19

  • Transcript notices report Anthropic thinking blocks dropped during provider recovery when cache miss notices are enabled.

    0.84.4release notes

  • Scrollbars reveal on pointer entry and support track-click jumping.

    0.84.4release notes

  • Search arrows underline on hover, and the search placeholder is capitalized.

    0.84.4release notes

  • The selector keeps active options marked while browsing.

    0.84.4release notes

  • The selector keeps active options marked, uses consistent per-item toggles, and strikes through unavailable models.

    0.84.4release notes

  • Supported first-party models can use an automatic server-side refusal fallback, with usage pricing based on the returned model.

    0.84.3release notes

  • Transcript usage notices are shown for compaction and branch summaries when cache miss notices are enabled.

    0.84.3release notesrelease notes

  • For installer-managed installations, updates now stage and verify the selected release before activating it atomically in place.

    0.84.3release notes

  • Shared sessions render clickable terminal links, show only the canonical Radius artifact URL, and include the current system prompt and active tool definitions.

    0.84.3release notes

  • Anthropic, Azure OpenAI, Google, Mistral, and OpenAI adapters now send Pi's default User-Agent unless overridden.

    0.84.3release notes

  • Defaults avoid terminal-reserved shortcuts for image paste, model cycling, editor undo, fullscreen transcript navigation and search, and message queueing.

    0.84.3release notes

  • OpenAI Responses deferred tool loading prefers message-anchored additional_tools where supported, retaining tool-search and top-level fallbacks.

    0.84.2release notes

  • Thinking sections and tool results can be expanded per block with the mouse while preserving drag selection and link activation.

    0.84.2release notes

  • Kimi Coding requests now use pi's runtime User-Agent header.

    0.84.2release notes

  • Softened the guideline for PI_* environment variables in an attempt to reduce unnecessary inspection commands.

    0.84.1release notes

  • Fullscreen mode supports inherited double-click word and whitespace selection, granularity-aware drag selection, and triple-click paragraph selection.

    0.84.1release notes

  • Blocked extension tool_call events can terminate all-terminating batches, skipping the automatic follow-up model call.

    0.84.1release notes

  • CLI and RPC child processes now receive AI_AGENT=pi for generic agent attribution.

    0.84.0release notes

  • Markdown rendering now supports terminal-friendly Unicode rendering for LaTeX expressions.

    0.84.0release notes

Fixes and other changes 56

  • Large tool results crossing the threshold are compacted between tool execution and the next assistant response, with interactive progress restored when the run resumes.

    0.84.4release notes

  • Catalogs now include supported workers-ai/* passthrough models.

    0.84.4release notes

  • Compaction and branch summaries no longer force toolChoice to none.

    0.84.4release notes

  • Saving a default model from a non-empty model scope now keeps it available in that scope.

    0.84.4release notes

  • Autocomplete ranking now prefers direct and shallower matches over similarly ranked nested paths.

    0.84.4release notes

  • Word selection no longer splits paths and kebab-case tokens on / and -.

    0.84.4release notes

  • Requests no longer fail with HttpsProxyAgent is not a constructor when the bundled Node.js runtime uses an HTTP(S) proxy.

    0.84.4release notes

  • Rendering no longer crashes when image-heavy output exceeds V8's string length limit.

    0.84.4release notes

  • Fragmented tool calls no longer split when continuation chunks omit the tool-call ID.

    0.84.4release notes

  • Thinking signatures are no longer serialized repeatedly during streaming.

    0.84.4release notes

  • Reasoning-mandatory models no longer receive effort none.

    0.84.4release notes

  • OpenAI-compatible reasoning replay merges consecutive streamed text and summary deltas.

    0.84.4release notes

  • Appending to a resumed session whose JSONL file lacks a trailing newline no longer corrupts the next entry.

    0.84.4release notes

  • The selector keeps active options marked while browsing.

    0.84.4release notes

  • Toggling thinking visibility no longer clears partial output from running Bash tools.

    0.84.4release notes

  • OpenAI-compatible Chat Completions now honors an explicitly requested toolChoice when no tools are defined.

    0.84.4release notes

  • Extension messages sent with triggerTurn false while the agent is running are appended after the turn's tool results, preserving valid replayed message order.

    0.84.4release notes

  • Windows shell aborts no longer crash Pi when taskkill.exe is unavailable on PATH.

    0.84.4release notes

  • Opaque redacted reasoning from non-Anthropic models is no longer dropped and can be replayed.

    0.84.3release notes

  • Fallback response usage is now priced using the returned fallback model rather than the requested model.

    0.84.3release notes

  • An end-of-options delimiter lets prompts beginning with a dash be passed without being parsed as options.

    0.84.3release notes

  • Truncated summaries are no longer persisted when generation reaches its output token limit.

    0.84.3release notes

  • Built-in llama.cpp models remain selectable after a configured server refresh under PI_OFFLINE; sleeping router models and autoloadable unloaded presets are also included.

    0.84.3release notes

  • Typings now include the documented OpenAI-compatible compat.supportsFinishReason provider and model override.

    0.84.3release notes

  • Update checks no longer treat older registry versions as available updates, preventing downgrades of newer installed packages.

    0.84.3release notes

  • OpenAI-compatible Chat Completions reasoning replay now preserves and resends assistant-level reasoning_details verbatim and in order.

    0.84.3release notes

  • Interactive startup now renders warnings with the file path when settings files are invalid.

    0.84.3release notes

  • Google custom models now honor thinkingLevelMap, preserving extended thinking controls.

    0.84.3release notes

  • JSON and RPC events now include the tool call id and name.

    0.84.3release notes

  • Azure OpenAI Responses now honors toolChoice in provider-specific stream requests.

    0.84.3release notes

  • BOM markers no longer prevent frontmatter and user configuration files from loading.

    0.84.3release notes

  • Upstream request buffer failures now trigger automatic assistant retries.

    0.84.2release notes

  • The current working directory is no longer concatenated with later appended prompt content.

    0.84.2release notes

  • Built-in and custom DeepSeek API models no longer send output limits through an unsupported field.

    0.84.2release notes

  • Selecting built-in defaults no longer drops extension and SDK custom tools.

    0.84.2release notes

  • Coding-agent and harness edit tools now accept single-object inputs as one-edit arrays.

    0.84.2release notesrelease notes

  • Selection copy uses the host clipboard and reports failure when OSC 52 is unsupported instead of claiming success.

    0.84.2release notes

  • Manual scrolling no longer snaps back to the current match, and fragmented mouse input no longer leaks into the search query.

    0.84.2release notes

  • Responses with tool calls no longer treat output-limit or provider-error stops as normal tool use.

    0.84.2release notes

  • JSON and RPC streaming events now retain cumulative usage.

    0.84.2release notes

  • Function and custom tool calls retain namespaces during streaming, proxying, and replay.

    0.84.2release notes

  • Configure the Escape timeout for high-latency terminals; the timeout applies only to lone Escape input.

    0.84.2release notes

  • With triggerTurn false, sending a message records the custom message without steering an active run.

    0.84.2release notes

  • Fixed startup crashes when the current working directory contains a bunfig.toml with preload.

    0.84.1release notes

  • Fixed wrappers recursing indefinitely when delegating to the original method.

    0.84.1release notes

  • Reduced fullscreen mouse event volume under tmux, Zellij, and GNU Screen by using button-motion tracking instead of all-motion tracking.

    0.84.1release notes

  • Fixed right-click clipboard pasting in fullscreen mode on Windows.

    0.84.1release notes

  • Fixed relation, multiplication, and named-operator spacing, plus matrix composition with stacked fractions, operator limits, and adjacent matrices.

    0.84.1release notes

  • Long-running sessions no longer keep using stale credentials after another process updates the file.

    0.84.0release notes

  • Path-containing globs now return results on Windows, and results from filesystem roots no longer lose path segments or gain duplicate trailing separators.

    0.84.0release notes

  • Oversized images returned by extension and built-in tools now go through automatic image resizing.

    0.84.0release notes

  • Model-name matching now checks cached models before waiting for catalog refresh.

    0.84.0release notes

  • Forced model availability refreshes no longer remain blocked behind a stalled earlier refresh.

    0.84.0release notes

  • Nested project-level provider retry settings no longer replace unmodified global provider retry settings.

    0.84.0release notes

  • The command now renders cached models without waiting for remote catalogs and cancels refresh when closed.

    0.84.0release notes

  • Calling setToolsExpanded(false) when tool output is already collapsed is now a no-op, avoiding redundant startup notices.

    0.84.0release notes

@earendil-works/pi-coding-agent 0.8329 changes

Breaking changes 2

  • Provider stop reasons are surfaced across supported streams; unmapped terminal reasons now produce provider errors instead of successful stops.

    0.83.0release notes

  • This deprecated TypeBox API was removed; extensions using it must migrate to supported TypeBox APIs.

    0.83.0release notes

New APIs and options 6

  • Claude Opus 5 is available through GitHub Copilot with adaptive thinking and a 1M context window.

    0.83.0release notes

  • Extensions can access the session's resolved model scope through the extension context.

    0.83.0release notes

  • Login can be completed in remote or headless environments by entering the redirect URL or authorization code when the loopback callback is unavailable.

    0.83.0release notes

  • Partial streaming messages can use the inherited pending stop reason.

    0.83.0release notes

  • Exports configured API credentials for external clients, with automatic OAuth refresh and minimum-validity enforcement.

    0.83.0release notes

  • Exports configured bearer tokens for external clients, with automatic OAuth refresh and minimum-validity enforcement.

    0.83.0release notes

Behavior and default changes 2

  • Supported text and image provider transports inherit per-request fetch injection.

    0.83.0release notes

  • OAuth credentials are refreshed when less than five minutes of validity remain, rather than waiting until expiration.

    0.83.0release notes

Fixes and other changes 19

  • Explicitly configured Amazon Bedrock profiles are no longer overridden by ambient AWS access keys.

    0.83.0release notes

  • File-backed APPEND_SYSTEM.md prompts are now included in the interactive startup context listing.

    0.83.0release notes

  • Navigating the committed tree during an active response aborts and persists the outgoing turn instead of leaving dangling tool calls.

    0.83.0release notes

  • Context files no longer load twice when a linked Git worktree is nested under its main repository.

    0.83.0release notes

  • Failed Git package installs no longer leave partial directories that block clean retries.

    0.83.0release notes

  • Fallback paths no longer overflow narrow terminals; home paths are shortened and absolute paths are clickable when terminal hyperlinks are available.

    0.83.0release notes

  • Streamed responses now report token usage and populate session context accounting.

    0.83.0release notes

  • Filtering in the model selector now highlights the top match instead of retaining a stale selection.

    0.83.0release notes

  • Compiled validation of nullable array tool arguments is fixed.

    0.83.0release notes

  • Tool calls retain function arguments when malformed deltas also contain an empty custom object.

    0.83.0release notes

  • Skills, prompts, and themes retain package source metadata when extensions reload resources.

    0.83.0release notes

  • Reasoning models now send service-specific thinking controls and supported reasoning-effort levels.

    0.83.0release notes

  • Replacing a session during an active response aborts and persists the outgoing turn instead of leaving dangling tool calls.

    0.83.0release notes

  • Duplicate messages no longer appear when extensions switch sessions during interactive startup.

    0.83.0release notes

  • File-backed SYSTEM.md prompts are now included in the interactive startup context listing.

    0.83.0release notes

  • A status line now appears when tool output expansion is toggled.

    0.83.0release notes

  • Cancelling concurrently running user bash commands now aborts every active command.

    0.83.0release notes

  • Direct RPC bash commands now invoke extension user_bash handlers.

    0.83.0release notes

  • Output limits are no longer sent through an unsupported parameter.

    0.83.0release notes

@earendil-works/pi-coding-agent 0.8235 changes

Breaking changes 1

  • Generated model catalogs now expose only reasoning effort levels verified by providers in models.dev.

    0.82.0release notes

New APIs and options 15

  • This environment variable authenticates against Anthropic-compatible gateways using Bearer authorization, including for compaction and branch summaries.

    0.82.1release notes

  • Claude Opus 5 is available on Anthropic and Amazon Bedrock with adaptive thinking, inference profiles, and prompt caching.

    0.82.1release notes

  • Custom message renderers can now access the outputPad setting.

    0.82.1release notes

  • Direct RPC bash commands now stream output events correlated with request IDs.

    0.82.0release notes

  • Kimi Code subscription login supports device authorization and automatic token refresh.

    0.82.0release notes

  • The login flow now supports OpenRouter OAuth PKCE and mints a user-controlled API key.

    0.82.0release notes

  • Commands run by built-in and factory-created bash tools now receive the current model in this environment variable.

    0.82.0release notes

  • Commands run by built-in and factory-created bash tools now receive the current provider in this environment variable.

    0.82.0release notes

  • Commands run by built-in and factory-created bash tools now receive the current reasoning level in this environment variable.

    0.82.0release notes

  • Commands run by built-in and factory-created bash tools now receive the current session file in this environment variable.

    0.82.0release notes

  • Commands run by built-in and factory-created bash tools now receive the current session ID in this environment variable.

    0.82.0release notes

  • This inherited compatibility flag indicates whether a model supports grammar tools and helps gate constrained sampling.

    0.82.0release notes

  • Strict-mode compatibility coverage was expanded to gate constrained sampling for supported models.

    0.82.0release notes

  • This inherited compatibility flag indicates whether a model supports strict tools and helps gate constrained sampling.

    0.82.0release notes

  • Tools can prefer or require strict JSON Schema sampling, or use OpenAI Lark/regex grammars, across supported providers.

    0.82.0release notes

Performance 2

  • pi.dev catalog refreshes revalidate with If-None-Match, so unchanged provider catalogs return an empty 304 instead of a full download.

    0.82.1release notes

  • External-editor startup is no longer slow when the system temporary directory contains many entries.

    0.82.0release notes

Behavior and default changes 3

  • Model loading errors append the underlying cause, exposing provider responses such as OAuth refresh failures instead of only a wrapper message.

    0.82.1release notes

  • Device authorization, token exchange, and refresh requests use the configured gateway directly.

    0.82.1release notes

  • Generated model capability metadata gates constrained sampling so unsupported requests are prevented.

    0.82.0release notes

Fixes and other changes 14

  • The llama.cpp extension persists its model catalog so models stay listed before the first successful refresh and across restarts.

    0.82.1release notes

  • DNS lookup failures such as getaddrinfo, ENOTFOUND, and EAI_AGAIN now trigger automatic assistant retries.

    0.82.0release notes

  • These requests now use fresh routing session IDs and disable prompt caching where supported.

    0.82.0release notes

  • On Wayland, copying now falls back to X11 or OSC 52 when wl-copy fails.

    0.82.0release notes

  • llama.cpp models now use the loaded context window as their output token limit instead of capping it at 16K.

    0.82.0release notes

  • Fresh installs no longer prefer bundled model catalogs over newer remote catalogs because of newer package file mtimes.

    0.82.0release notes

  • Opening the model picker now reloads updated models.json configuration.

    0.82.0release notes

  • Retry waits now honor abort signals and configured delay limits.

    0.82.0release notes

  • Sessions retry once without a missing previous-response continuation after previous_response_not_found errors.

    0.82.0release notes

  • Cache breakpoints now advance through tool results, and cache control is enabled for ~anthropic/*-latest aliases.

    0.82.0release notes

  • Explicit self-updates now work when this environment variable is set.

    0.82.0release notes

  • IDs containing brackets now resolve as literal exact matches before glob matching.

    0.82.0release notes

  • Relative paths are preserved for sibling npm extensions loaded by a package.

    0.82.0release notes

  • Logs now respect custom agent directories instead of always writing under ~/.pi/agent.

    0.82.0release notes

@earendil-works/pi-coding-agent 0.8131 changes

Security 1

  • GitHub releases now include deterministic, checksummed source archives with instructions for rebuilding standalone binaries.

    0.81.1release notes

New APIs and options 12

  • A retry lifecycle event is available to interactive, JSON, RPC, and SDK consumers.

    0.81.1release notes

  • A retry lifecycle event is available to interactive, JSON, RPC, and SDK consumers.

    0.81.1release notes

  • A retry lifecycle event is available to interactive, JSON, RPC, and SDK consumers.

    0.81.1release notes

  • Extensions can register complete pi-ai providers, including native authentication, model refresh, filtering, and streaming behavior.

    0.81.0release notes

  • A new RPC command returns available thinking levels.

    0.81.0release notes

  • Use /llama to search and download Hugging Face models and explicitly load or unload them with live progress.

    0.81.0release notes

  • Connect to a llama.cpp router, search and download Hugging Face models, and explicitly load or unload models with live progress.

    0.81.0release notes

  • Use /login to set up a connection to a llama.cpp router.

    0.81.0release notes

  • Message and tool execution lifecycle event types are now exported from the package root.

    0.81.0release notes

  • A built-in China subscription provider is available for provider setup and default model resolution, using regional endpoints and API-key authentication.

    0.81.0release notes

  • A built-in international subscription provider is available for provider setup and default model resolution, using regional endpoints and API-key authentication.

    0.81.0release notes

  • A new client method retrieves available thinking levels.

    0.81.0release notes

Performance 1

  • Sessions are no longer read and parsed twice when opened, reducing startup latency for large sessions.

    0.81.0release notes

Behavior and default changes 2

  • Automatic model catalog network refresh now runs in interactive and RPC modes instead of during startup initialization.

    0.81.0release notes

  • Tool, compaction, and branch-summary usage is persisted and included in session totals, footer totals, and session statistics.

    0.81.0release notes

Fixes and other changes 15

  • Transient provider failures now follow the configured retry policy during compaction and branch summarization.

    0.81.1release notes

  • Interactive startup no longer waits for background model catalog refresh while computing the footer provider count.

    0.81.1release notes

  • Inherited Kimi K3 models from Moonshot AI and Moonshot AI China use the OpenAI thinking format and expose reasoning effort support.

    0.81.1release notes

  • Extensions using the pre-0.81 agent-core API again receive the default stream fallback.

    0.81.1release notes

  • Prompt-template defaults now work for all arguments.

    0.81.0release notes

  • Inherited stored API-key credentials now apply their provider-scoped env values, including Amazon Bedrock profiles.

    0.81.0release notes

  • These models now default to the 272K context window, avoiding automatic long-context pricing.

    0.81.0release notes

  • The k2p7 alias is normalized to kimi-for-coding.

    0.81.0release notes

  • Sessions now show API-equivalent implied costs with the subscription indicator.

    0.81.0release notes

  • Kimi K3 now exposes low, high, and max thinking levels.

    0.81.0release notes

  • Queued messages now preserve steering and follow-up delivery behavior during compaction.

    0.81.0release notes

  • Early stream endings now trigger automatic retry instead of ending the agent run.

    0.81.0release notes

  • OpenCode Go models routed through the OpenAI Responses API now work correctly.

    0.81.0release notes

  • Read tool errors are no longer syntax-highlighted as if they were file contents.

    0.81.0release notes

  • Persisted remote model catalogs no longer override newer bundled catalogs after an upgrade.

    0.81.0release notes

@earendil-works/pi-coding-agent 0.80108 changes

Breaking changes 18

  • Grok 3, Grok 3 Fast, Grok 4.20 variants, and Grok Code Fast 1 were removed from the built-in xAI model catalog.

    0.80.9release notes

  • AuthStorage and its storage backends are no longer exported; use ModelRuntime, a custom pi-ai CredentialStore, or readStoredCredential() for one-off auth.json reads.

    0.80.8release notes

  • The authStorage option was replaced by the async modelRuntime option; use ModelRuntime or a custom pi-ai CredentialStore.

    0.80.8release notes

  • The modelRegistry option was replaced by the async modelRuntime option.

    0.80.8release notes

  • A custom pi-ai CredentialStore can be used with ModelRuntime in place of the no-longer-exported AuthStorage backends.

    0.80.8release notes

  • SDK request-auth assembly through this method was replaced by ModelRuntime.getAuth().

    0.80.8release notes

  • This extension-facing method now returns Promise<void>; extensions must await it before synchronous registry reads because models.json loading is asynchronous.

    0.80.8release notes

  • An async option replaces authStorage and modelRegistry for SDK session model and authentication configuration.

    0.80.8release notes

  • This redundant projection was removed; use the pi-ai Models methods directly.

    0.80.8release notes

  • Assembles request auth; a provider ID returns provider-scoped auth, while a model also resolves built-in, models.json, and extension model headers.

    0.80.8release notes

  • Asynchronous ModelRuntime.refresh() is the canonical dynamic catalog refresh method.

    0.80.8release notes

  • Asynchronous pi-ai Models.refresh() provides canonical dynamic catalog refresh.

    0.80.8release notes

  • Use the pi-ai Models methods getModels(), getModel(), getProviders(), and checkAuth() in place of removed ModelRuntime projections.

    0.80.8release notes

  • Use readStoredCredential() for one-off reads of auth.json after AuthStorage is no longer exported.

    0.80.8release notes

  • The openai-responses flag was removed from models.json; replace sendSessionIdHeader: false with sessionAffinityFormat: "openai-nosession".

    0.80.7release notes

  • Session-affinity behavior is now controlled by this setting, with "openai", "openai-nosession", or "openrouter" values.

    0.80.7release notes

  • The inherited credential now uses the auth.json-compatible discriminator type: "api_key" and provider-scoped env values instead of type: "api-key" and metadata.

    0.80.2release notes

  • The inherited agent-core public harness shell execution options type was renamed from ExecutionEnvExecOptions.

    0.80.2release notes

Security 1

  • Rejects non-empty invalid session files without overwriting them.

    0.80.3release notes

New APIs and options 23

  • Extensions can progressively activate tools through Kimi’s native protocol using deferred tool loading.

    0.80.9release notes

  • Kimi K3 support is available across built-in providers, including Kimi Coding, Moonshot AI, Moonshot AI China, OpenRouter, and Vercel AI Gateway.

    0.80.9release notes

  • Grok 4.5 OpenAI Responses support is available with low, medium, and high thinking levels.

    0.80.8release notes

  • ModelRuntime.create() accepts any pi-ai CredentialStore through its credentials option.

    0.80.8release notes

  • ModelRuntime is the canonical async SDK and internal model/auth facade, composing model configuration, provider authentication, and dynamic catalogs.

    0.80.8release notes

  • Dynamic catalogs are now file-backed in models-store.json.

    0.80.8release notes

  • Forces an immediate model catalog refresh without updating pi or extensions.

    0.80.8release notes

  • The /login command discovers registered pi-ai providers directly, including ambient auth status and informational links.

    0.80.8release notes

  • Extensions can implement refreshModels(context) for dynamic model discovery, with optional provider-controlled persistence.

    0.80.8release notes

  • Users can sign in to xAI with a device code.

    0.80.8release notes

  • Copies the last assistant message in the transcript or the selected message in /tree.

    0.80.7release notes

  • Extensions can add tools during execution while supported Anthropic and OpenAI Responses models preserve prompt-cache prefixes.

    0.80.7release notes

  • Native xhigh and max thinking levels are available for Claude Fable 5 across generated provider catalogs.

    0.80.7release notes

  • Adds request-wide input-token pricing tiers to custom model costs in models.json, modelOverrides, and extension-registered providers for accurate long-context cost accounting.

    0.80.6release notes

  • Adds the opt-in max thinking level across CLI, SDK, RPC, model selection, and themes; themes fall back to thinkingXhigh when thinkingMax is undefined.

    0.80.6release notes

  • Claude Sonnet 5 is available through inherited Anthropic-compatible and Bedrock provider catalogs with adaptive thinking enabled.

    0.80.3release notes

  • Lets Ctrl+G use a configured editor before $VISUAL and $EDITOR fallbacks; defaults to Notepad on Windows and nano elsewhere.

    0.80.3release notes

  • Adds an RPC command for reading session entries.

    0.80.3release notes

  • Adds an RPC command for reading session tree snapshots.

    0.80.3release notes

  • Controls horizontal padding for user messages, assistant messages, and thinking blocks.

    0.80.3release notes

  • Adds a package export for launching Pi directly in RPC mode.

    0.80.3release notes

  • Adds an extension event for observing session name changes.

    0.80.3release notes

  • Adds inherited reasoning token counts for providers that report reasoning or thinking token usage.

    0.80.3release notes

Behavior and default changes 8

  • The default xAI model is now Grok 4.5.

    0.80.9release notes

  • xAI login now uses a prefilled device-authorization link labeled “Sign in with SuperGrok or X Premium.”

    0.80.9release notes

  • The selector renders the current model snapshot immediately, refreshes configured providers in the background, and updates with partial results or timeout errors.

    0.80.8release notes

  • getAuth(model) includes configured model headers; stream methods resolve auth once, and before_provider_headers runs as a Models-only header transform before provider dispatch.

    0.80.8release notes

  • ModelRuntime composes built-in providers, immutable models.json configuration, and extension overlays through ad-hoc pi-ai provider methods.

    0.80.8release notes

  • OpenAI and Codex Responses now support inherited toolChoice, including required and named tool selection.

    0.80.7release notes

  • The shellPath setting now expands ~ to the home directory.

    0.80.6release notes

  • The default OpenAI model changes to gpt-5.5.

    0.80.3release notes

Fixes and other changes 58

  • K3 and kimi-for-coding support replaying thinking blocks with empty signatures.

    0.80.10release notes

  • K3 exposes only its supported max thinking level.

    0.80.10release notes

  • Kimi Coding models now use adaptive thinking correctly; inherited requests use Anthropic adaptive thinking effort without token budgets.

    0.80.10release notes

  • Corrected inherited pricing metadata for Moonshot AI and Moonshot AI China.

    0.80.10release notes

  • Catalog generation no longer restores xAI models that were removed in 0.80.9.

    0.80.10release notes

  • Fixed inherited Kimi K3 output limits for Vercel AI Gateway and OpenRouter models.

    0.80.9release notes

  • Cloning or forking a session before its first assistant response now explains that the session must be saved first.

    0.80.9release notes

  • Adjacent assistant thinking blocks now render as one thinking section.

    0.80.8release notes

  • Bun standalone binaries now bundle OAuth adapters for interactive logins.

    0.80.8release notes

  • Refresh now parses pi.dev model-ID keyed responses, throttles checks to once per four hours, sends a versioned pi user agent, treats unimplemented routes as unavailable overlays, and shows concise /model status.

    0.80.8release notes

  • Inherited session IDs longer than 64 characters are fixed to meet the API limit.

    0.80.8release notes

  • Inherited terminal output now normalizes tab characters consistently.

    0.80.8release notes

  • Fixed the Windows terminal title after checking npm packages.

    0.80.8release notes

  • Legacy terminal decoding now handles Alt+symbol combinations such as Alt+, and Alt+.

    0.80.7release notes

  • Ambient AWS credentials keep using SigV4 authentication, including for custom model IDs.

    0.80.7release notes

  • Unhandled provider stop reasons are reported instead of only showing a generic unknown-error message.

    0.80.7release notes

  • Proxies that omit usage from message_delta events are now supported.

    0.80.7release notes

  • Reasoning replay now handles encrypted_content appearing only in the terminal response event.

    0.80.7release notes

  • Branch summaries now work with providers that use ambient authentication instead of API keys.

    0.80.7release notes

  • Authentication uses ambient account and gateway IDs when stored credentials contain only an API key.

    0.80.7release notes

  • Pastes clipboard text when the pasteboard does not contain an image.

    0.80.7release notes

  • Prompts for and saves a Bedrock API key instead of only displaying ambient AWS credential setup instructions.

    0.80.7release notes

  • The GitHub Copilot model now routes through the /responses endpoint.

    0.80.7release notes

  • Package removal now works when installed packages have conflicting peer dependencies.

    0.80.7release notes

  • Models omit the unsupported session-id header while preserving other cache-affinity data.

    0.80.7release notes

  • Inherited OpenRouter model context windows now use the top provider's actual context length.

    0.80.7release notes

  • Inherited OpenRouter OpenAI-compatible session IDs now use the x-session-id header instead of OpenAI-specific session-affinity fields.

    0.80.7release notes

  • The current date was removed from the default prompt to prevent cache invalidation across dates.

    0.80.7release notes

  • Preserves thinking blocks with empty thinking text but a valid signature instead of dropping them, avoiding thinking-block errors on newer Claude models.

    0.80.6release notes

  • Fixes inherited long-context cost accounting while retaining the intentional 272K default context limit for models that require an explicit override.

    0.80.6release notes

  • Removes the nonexistent bare gpt-5.6 alias.

    0.80.6release notes

  • Direct OpenAI requests use the 272K short-context tier, while the Codex backend exposes a 372K context window with long-context pricing.

    0.80.6release notes

  • Inherited post-compaction output-token budgeting now ignores stale assistant usage from before the compaction boundary.

    0.80.6release notes

  • Provider stream errors that explicitly tell callers to retry the request now trigger auto-retry.

    0.80.3release notes

  • Provider setup supports current Microsoft Foundry endpoint URLs.

    0.80.3release notes

  • Disk BMP files are detected, converted to PNG, and attached through read and CLI @file inputs.

    0.80.3release notes

  • Inherited Claude Sonnet 5 metadata now uses adaptive thinking payloads for Anthropic-compatible and Bedrock requests.

    0.80.3release notes

  • Tool changes now apply before the next provider request in the same agent run without dropping before_agent_start system-prompt overrides.

    0.80.3release notes

  • Inherited OpenAI Codex Responses SSE response-header waits now use the configured HTTP timeout instead of a fixed 20 seconds, reducing false timeouts on slow connections.

    0.80.3release notes

  • Assistant messages stopped by output length now show a visible incomplete-response error.

    0.80.3release notes

  • Ending work, retry, compaction, or branch-summary indicators no longer shrink the TUI when clear-on-shrink is enabled.

    0.80.3release notes

  • Ephemeral CLI runs can use deterministic session IDs for provider cache affinity.

    0.80.3release notes

  • Streams now preserve reasoning replay state when output items finish out of order.

    0.80.3release notes

  • Compaction now stops after completing instead of continuing immediately.

    0.80.3release notes

  • Inherited provider HTTP errors now include response bodies instead of opaque SDK messages.

    0.80.3release notes

  • Notifications now stay before messages when resuming sessions.

    0.80.3release notes

  • Inherited max-token caps are fixed for providers that count input and output against one context window, preventing rejection of long requests.

    0.80.3release notes

  • Preserved-thinking requests send false when thinking is enabled, allowing replayed reasoning_content to participate in provider caching.

    0.80.3release notes

  • Markdown escape sequences such as \" keep their visible backslashes in rendered transcripts.

    0.80.3release notes

  • Inherited generated model pricing now matches current pay-as-you-go pricing from models.dev.

    0.80.3release notes

  • Request-scoped apiKey values now participate in provider auth resolution, allowing providers such as Cloudflare to derive request-specific base URLs from explicit call options.

    0.80.2release notes

  • Inherited Anthropic-compatible custom models now use explicit compatibility metadata rather than provider-name heuristics for session-affinity headers and unsupported tool-field omissions.

    0.80.2release notes

  • The inherited runtime detectCompat fallback in openai-completions was restored for models without explicit compat metadata.

    0.80.2release notes

  • Request-scoped env values now participate in provider auth resolution, allowing providers such as Cloudflare to derive request-specific base URLs from explicit call options.

    0.80.2release notes

  • The temporary legacy per-API stream alias was restored on the pi-ai compat entrypoint.

    0.80.2release notes

  • Inherited AWS_PROFILE now resolves built-in inference profile endpoints correctly.

    0.80.1release notes

  • Inherited Anthropic-compatible requests now apply session-affinity and unsupported tool-field defaults for custom Fireworks models.

    0.80.1release notes

  • Inherited metadata no longer enables unsupported Together reasoning toggles.

    0.80.1release notes

@earendil-works/pi-coding-agent 0.791 changes

Security 1

@earendil-works/pi-coding-agent 0.783 changes

Security 3

  • Pi Agent: Potential XSS in HTML session exports via Markdown URL sanitization bypass

    0.78.1security advisory

  • Pi Agent: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts

    0.78.1security advisory

  • Pi Agent: Race condition in Pi auth.json writes could expose stored credentials

    0.78.1security advisory