---
title: "@earendil-works/pi-tui 1.6.0 Breaking Changes on npm"
description: "What each @earendil-works/pi-tui release removed, renamed or changed: 120 breaking changes in 24 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@earendil-works/pi-tui
last_updated: 2026-12-04
---

# @earendil-works/pi-tui breaking changes

@earendil-works/pi-tui 1.6.0 (November 20, 2026) is its newest release with breaking changes, 14 of them. The first: Removed CodemodeNamespace.prefix. Every breaking API change we have recorded in @earendil-works/pi-tui on npm: 120 breaking changes in 24 versions. Below, its 24 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.8.0`, released December 3, 2026. [Source repository](https://github.com/earendil-works/pi)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.99.2](#v-0-99-2) to [1.6.0](#v-1-6-0): 60 breaking changes in 11 versions.
- From [0.80.1](#v-0-80-1) to [1.6.0](#v-1-6-0): 119 breaking changes in 23 versions.

## @earendil-works/pi-tui 1.6.0 breaking changes

@earendil-works/pi-tui 1.6.0, released November 20, 2026: 14 breaking changes.

- **Removed** `CodemodeNamespace.prefix`  

Prefix namespaces are removed without fallback; declare namespaces with Extension.namespace instead. [github.com](https://github.com/earendil-works/pi/commit/5e24c6b1f9b5e3049ec07b2101a105b11d1d1b4f)
- **Removed** `CodemodeToolOptions.namespaces`  

Prefix namespaces are removed without fallback; declare namespaces with Extension.namespace instead. [github.com](https://github.com/earendil-works/pi/commit/5e24c6b1f9b5e3049ec07b2101a105b11d1d1b4f)
- **Removed** `deepseek-v3.2`  

The retired model was removed from the Qwen Token Plan Team providers; use deepseek-v4-flash-0731 or deepseek-v4.1-flash instead. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.6.0)
- **Removed** `deepseek-v4-flash`  

The retired model was removed from the Qwen Token Plan Team providers; use deepseek-v4-flash-0731 or deepseek-v4.1-flash instead. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.6.0)
- **Removed** `namespaceOf`  

Prefix namespaces are removed without fallback; use namespacesOf(extensions) to map tools to namespaces. [github.com](https://github.com/earendil-works/pi/commit/5e24c6b1f9b5e3049ec07b2101a105b11d1d1b4f)
- **Behavior changed**  

Patterns with a slash match from the search directory, so src/\*.ts no longer finds nested paths; use \*\*/src/\*.ts to match at any depth. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.6.0)
- **Behavior changed** `Extension.namespace`  

Instructions passed in the Extension.namespace declaration no longer feed the prompt; provide them through describeNamespace(). [github.com](https://github.com/earendil-works/pi/commit/5e24c6b1f9b5e3049ec07b2101a105b11d1d1b4f)
- **Behavior changed** `pi.exec`  

Commands ended by a signal now report exit code 128 plus the signal number, like a shell, instead of 0; code checking exit codes must be updated. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.6.0)
- **Default changed**  

The llama.cpp extension now connects to port 9931 by default instead of 8080; set the port explicitly to keep the old one. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.6.0)
- **Default changed**  

The default model changed from GPT-6.1 Sol to GPT-6.2 Sol at the same price; users relying on the old default must select a model explicitly. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.6.0)
- **Default changed**  

Message threads are enabled by default for any provider whose baseUrl is on api.anthropic.com, not only the anthropic provider. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.6.0)
- **Signature changed** `Component.render`  

Extensions that modify render output in place must copy it first, since Container returns the same cached array while its children are unchanged. [npmjs.com](https://www.npmjs.com/package/@earendil-works/pi-tui/v/1.6.0)
- **Signature changed** `TuiAltScreen.resolveFakeCursors`  

Was protected resolveFakeCursors(lines: string\[\]): string\[\]; now protected resolveFakeCursors(lines: readonly string\[\]): string\[\]. [npmjs.com](https://www.npmjs.com/package/@earendil-works/pi-tui/v/1.6.0)
- **Signature changed** `TuiMainScreen.resolveFakeCursors`  

Was protected resolveFakeCursors(lines: string\[\]): string\[\]; now protected resolveFakeCursors(lines: readonly string\[\]): string\[\]. [npmjs.com](https://www.npmjs.com/package/@earendil-works/pi-tui/v/1.6.0)

## @earendil-works/pi-tui 1.5.2 breaking changes

@earendil-works/pi-tui 1.5.2, released November 10, 2026: 1 breaking change.

- **Behavior changed** `ctx.switchSession`  

When a session's working directory no longer exists, interactive mode now offers Continue, Fork, or Cancel instead of only continuing. Code that relies on the old continue-only behaviour, including ctx.switchSession() from extensions... [github.com](https://github.com/earendil-works/pi/releases/tag/v1.5.2)

## @earendil-works/pi-tui 1.5.1 breaking changes

@earendil-works/pi-tui 1.5.1, released November 9, 2026: 7 breaking changes.

- **Behavior changed**  

When all tools are disabled in a session that has used tools, the tools field is now omitted instead of sent as an empty array. Proxies that require tools once history has tool calls need compat.requiresToolsWithToolHistory set in... [github.com](https://github.com/earendil-works/pi/releases/tag/v1.5.1)
- **Behavior changed**  

Anthropic sessions now send only new messages on api.anthropic.com by default. Set compat.supportsMessageThreads in models.json to turn it off or to enable it for gateways. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.5.1)
- **Behavior changed** `src.*.ts`  

On Windows, src/\*.ts no longer finds files in subdirectories, and src/\*\*/\*.ts also finds files directly in src/. Update patterns that relied on the old matching. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.5.1)
- **Default changed**  

Default models moved to newer models at the same or a lower price for several providers, and Kimi K2.7 Code replaces Kimi K2.6 as default for several others. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.5.1)
- **Default changed**  

The default model for the anthropic provider is now Claude Opus 5.5 instead of Claude Opus 4.8. Set a model explicitly if the old default is needed. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.5.1)
- **Default changed**  

The default output limit now reserves 15% of the estimated input, and near a full window at most 32,768 output tokens are requested. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.5.1)
- **Default changed** `cacheWarming`  

Prompt caches are now also kept warm between agent runs by default. Set cacheWarming to streaming in global settings to keep the previous behavior. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.5.1)

## @earendil-works/pi-tui 1.5.0 breaking changes

@earendil-works/pi-tui 1.5.0, released November 2, 2026: 6 breaking changes.

- **Removed** `sandbox`  

The sandbox/ extension example and its dependency are gone. Use the Gondolin example or the containerization guide instead. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.5.0)
- **Behavior changed**  

TypeBox features outside JSON Schema no longer apply to tool arguments, and validation error messages change. Check custom tool schemas that rely on them. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.5.0)
- **Behavior changed** `@earendil-works.pi-ai`  

Code that imports TypeBox through pi-ai itself must import it from TypeBox directly. Extensions importing Type, Static and TSchema from pi-ai keep working through a compat entry. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.5.0)
- **Behavior changed** `resume`  

Fuzzy matching no longer applies to session IDs and message text in /resume search. Session names and working directories still match fuzzily. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.5.0)
- **Default changed**  

Users who rely on the default now get gpt-6.1-sol instead of gpt-5.5. Select a model explicitly to keep the old one. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.5.0)
- **Default changed** `oauth.clientRegistration`  

MCP OAuth sign-in now uses the Client ID Metadata Document or dynamic registration by default. Set the mode explicitly if the old behavior is needed. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.5.0)

## @earendil-works/pi-tui 1.4.0 breaking changes

@earendil-works/pi-tui 1.4.0, released October 21, 2026: 7 breaking changes.

- **Behavior changed**  

ChatGPT Business workspace usage-limit errors are not retried and now tell the user to ask their workspace admin to increase the limit. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.4.0)
- **Behavior changed** `before_provider_headers`  

before_provider_headers handlers no longer receive the OpenRouter, NVIDIA NIM, and OpenCode attribution headers. Returning null for one still removes it. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.4.0)
- **Behavior changed** `generateSummary`  

Summary requests now use the model's output limit, so the reserveTokens argument no longer has any effect. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.4.0)
- **Behavior changed** `generateSummaryWithUsage`  

Summary requests now use the model's output limit, so the reserveTokens argument no longer has any effect. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.4.0)
- **Default changed**  

The default model is now gpt-6.1-sol instead of gpt-5.4, which Copilot retired. Code relying on the old default must set its model explicitly. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.4.0)
- **Default changed**  

The default NVIDIA model is now nvidia/nemotron-3.5-super-vl-120b-a12b. Code relying on the old default must set its model explicitly. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.4.0)
- **Default changed**  

The default Xiaomi model is now mimo-v2.6-pro for the xiaomi and Xiaomi Token Plan providers. Code relying on the old default must set its model explicitly. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.4.0)

## @earendil-works/pi-tui 1.3.0 breaking changes

@earendil-works/pi-tui 1.3.0, released October 15, 2026: 3 breaking changes.

- **Behavior changed**  

When switching models, thinking blocks from earlier assistant messages made by a different model are now dropped instead of being sent to the new model as plain text. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.3.0)
- **Behavior changed** `--model`  

When several providers offer the same model, --model no longer picks by catalog order. It prefers the provider with credentials and otherwise reports the ambiguity. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.3.0)
- **Configuration changed**  

The kimi-coding provider now uses OpenAI Chat Completions at https://api.kimi.com/coding/v1. Any models.json override of its base URL must now include /v1. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.3.0)

## Older versions

18 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @earendil-works/pi-tui 1.2.0 breaking changes

@earendil-works/pi-tui 1.2.0, released October 12, 2026: 10 breaking changes.

- **Removed** `client`  

The source-only ./client export was removed along with the unreleased experimental stack. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.2.0)
- **Removed** `experimental.plugin`  

The source-only ./experimental/plugin export was removed along with the unreleased experimental stack. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.2.0)

And 8 more in this version.

### @earendil-works/pi-tui 1.0.4 breaking changes

@earendil-works/pi-tui 1.0.4, released October 5, 2026: 3 breaking changes.

- **Behavior changed**  

Codemode scripts that patch built-ins such as Array.prototype no longer have any effect, because built-ins are frozen before the script runs. Code relying on such patches must change. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.0.4)
- **Behavior changed** `--tools`  

Previously --tools removed MCP tools. Now MCP tools are kept unless an entry starts with mcp\_\_, so scripts that relied on the old filtering must list mcp\_\_ entries explicitly. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.0.4)

And 1 more in this version.

### @earendil-works/pi-tui 1.0.3 breaking changes

@earendil-works/pi-tui 1.0.3, released October 5, 2026: 5 breaking changes.

- **Renamed** `azure-openai-responses`  

Update the provider key to azure in auth.json, models.json and settings.json. Sessions that used the old provider fall back to another model when resumed. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.0.3)
- **Behavior changed**  

Home and End no longer behave differently in fullscreen transcript mode. Code relying on the previous keys must be checked. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.0.3)

And 3 more in this version.

### @earendil-works/pi-tui 1.0.1 breaking changes

@earendil-works/pi-tui 1.0.1, released October 3, 2026: 1 breaking change.

- **Removed**  

npm installations no longer pin transitive dependencies, and library consumers can now override them. Users who want pinned installations should use the pi.dev installer. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.0.1)

### @earendil-works/pi-tui 1.0.0 breaking changes

@earendil-works/pi-tui 1.0.0, released October 1, 2026: 3 breaking changes.

- **Behavior changed**  

Credentials saved by URL alone move to the first server that uses them, so servers sharing a URL may need separate sign-in. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.0.0)
- **Behavior changed** `tools`  

Scripts that probed for a tool with typeof must use the in operator instead. [github.com](https://github.com/earendil-works/pi/releases/tag/v1.0.0)

And 1 more in this version.

### @earendil-works/pi-tui 0.99.2 breaking changes

@earendil-works/pi-tui 0.99.2, released September 30, 2026: 6 breaking changes.

- **Renamed** `mcp__my-server__x`  

Tool and namespace names containing dashes now use underscores, so scripts and code that reference the old names must be updated. [github.com](https://github.com/earendil-works/pi/releases/tag/v0.99.2)
- **Behavior changed**  

Server names that differ only in - and \_ are now rejected, so such configurations must be renamed. [github.com](https://github.com/earendil-works/pi/releases/tag/v0.99.2)

And 4 more in this version.

### @earendil-works/pi-tui 0.99.1 breaking changes

@earendil-works/pi-tui 0.99.1, released September 29, 2026: 1 breaking change.

- **Default changed**  

The default OpenAI Codex model is now gpt-6.1-sol. Code that relied on the previous default model must select a model explicitly to keep its behavior. [github.com](https://github.com/earendil-works/pi/releases/tag/v0.99.1)

### @earendil-works/pi-tui 0.99.0 breaking changes

@earendil-works/pi-tui 0.99.0, released September 29, 2026: 8 breaking changes.

- **Removed** `parseOsc11BackgroundColor`  

parseOsc11BackgroundColor was removed in @earendil-works/pi-tui 0.99.0 [npmjs.com](https://www.npmjs.com/package/@earendil-works/pi-tui/v/0.99.0)
- **Removed** `TUI.queryTerminalBackgroundColor`  

TUI.queryTerminalBackgroundColor was removed in @earendil-works/pi-tui 0.99.0 [npmjs.com](https://www.npmjs.com/package/@earendil-works/pi-tui/v/0.99.0)

And 6 more in this version.

### @earendil-works/pi-tui 0.87.1 breaking changes

@earendil-works/pi-tui 0.87.1, released September 22, 2026: 2 breaking changes.

- **Behavior changed** `--mode`  

Missing or invalid --mode values were previously ignored silently; they now report an error and exit with a nonzero status. Scripts that depended on the silent fallback must pass a valid mode. [github.com](https://github.com/earendil-works/pi/releases/tag/v0.87.1)
- **Default changed**  

New xAI sessions now default to Grok 4.7 instead of the previous default. Code that relies on the default xAI model should set the model explicitly if it needs a specific one. [github.com](https://github.com/earendil-works/pi/releases/tag/v0.87.1)

### @earendil-works/pi-tui 0.87.0 breaking changes

@earendil-works/pi-tui 0.87.0, released September 21, 2026: 5 breaking changes.

- **Behavior changed** `agent_settled`  

Runs requested from agent_settled handlers now start only after all settled handlers finish, so no reentrant agent_start occurs during that dispatch. [github.com](https://github.com/earendil-works/pi/releases/tag/v0.87.0)
- **Behavior changed** `context`  

context handlers no longer receive system messages; Pi restores the prompt and tool state after they run. [github.com](https://github.com/earendil-works/pi/releases/tag/v0.87.0)

And 3 more in this version.

### @earendil-works/pi-tui 0.86.0 breaking changes

@earendil-works/pi-tui 0.86.0, released September 19, 2026: 1 breaking change.

- **Signature changed** `TuiAltScreenOptions.copySelection`  

Was copySelection?: (text: string) => Promise\<boolean>; now copySelection?: (text: string) => Promise\<boolean | string>. [npmjs.com](https://www.npmjs.com/package/@earendil-works/pi-tui/v/0.86.0)

### @earendil-works/pi-tui 0.85.1 breaking changes

@earendil-works/pi-tui 0.85.1, released September 5, 2026: 2 breaking changes.

- **Removed** `client`  

The experimental client subpath was published by mistake in 0.85.0 and is now source-only, so importing it from the installed package no longer works. Use the supported local SDK and stdio RPC API instead. [github.com](https://github.com/earendil-works/pi/releases/tag/v0.85.1)
- **Removed** `experimental.plugin`  

The experimental plugin subpath was published by mistake in 0.85.0 and is now source-only, so importing it from the installed package no longer works. Use the supported local SDK and stdio RPC API instead. [github.com](https://github.com/earendil-works/pi/releases/tag/v0.85.1)

### @earendil-works/pi-tui 0.85.0 breaking changes

@earendil-works/pi-tui 0.85.0, released September 4, 2026: 5 breaking changes.

- **Removed** `ScrollView.scrollbarStyle`  

ScrollView.scrollbarStyle was removed in @earendil-works/pi-tui 0.85.0 [npmjs.com](https://www.npmjs.com/package/@earendil-works/pi-tui/v/0.85.0)
- **Removed** `ScrollViewOptions.scrollbarStyle`  

ScrollViewOptions.scrollbarStyle was removed in @earendil-works/pi-tui 0.85.0 [npmjs.com](https://www.npmjs.com/package/@earendil-works/pi-tui/v/0.85.0)

And 3 more in this version.

### @earendil-works/pi-tui 0.84.0 breaking changes

@earendil-works/pi-tui 0.84.0, released August 6, 2026: 24 breaking changes.

- **Removed** `context.store`  

Direct context.store access in Provider.refreshModels() is replaced by the read-only context.stored snapshot and context.publish() transaction. [github.com](https://github.com/earendil-works/pi/releases/tag/v0.84.0)
- **Removed** `pi-agent-core harness session model`  

The inherited pi-agent-core harness session model is replaced by the v4 lane-based Session, SessionStorage, and SessionRepo APIs. [github.com](https://github.com/earendil-works/pi/releases/tag/v0.84.0)

And 22 more in this version.

### @earendil-works/pi-tui 0.83.0 breaking changes

@earendil-works/pi-tui 0.83.0, released July 29, 2026: 2 breaking changes.

- **Behavior changed**  

Provider streams now report unmapped terminal stop reasons as errors instead of successful stops. [github.com](https://github.com/earendil-works/pi/releases/tag/v0.83.0)
- **Behavior changed**  

OAuth tokens are now refreshed when less than five minutes of validity remain rather than at expiration. [github.com](https://github.com/earendil-works/pi/releases/tag/v0.83.0)

### @earendil-works/pi-tui 0.82.0 breaking changes

@earendil-works/pi-tui 0.82.0, released July 24, 2026: 1 breaking change.

- **Signature changed** `TUI.constructor`  

Was constructor(terminal: Terminal, showHardwareCursor?: boolean); now constructor(terminal: Terminal, showHardwareCursor?: boolean, logDirectory?: string). [npmjs.com](https://www.npmjs.com/package/@earendil-works/pi-tui/v/0.82.0)

### @earendil-works/pi-tui 0.81.0 breaking changes

@earendil-works/pi-tui 0.81.0, released July 21, 2026: 2 breaking changes.

- **Behavior changed**  

Stored remote model catalogs no longer take precedence over newer bundled catalogs after an upgrade. [github.com](https://github.com/earendil-works/pi/releases/tag/v0.81.0)
- **Behavior changed**  

Automatic model catalog refresh no longer runs during startup initialization; it now runs in the running interactive and RPC modes. [github.com](https://github.com/earendil-works/pi/releases/tag/v0.81.0)

### @earendil-works/pi-tui 0.80.1 breaking changes

@earendil-works/pi-tui 0.80.1, released June 23, 2026: 1 breaking change.

- **Signature changed** `TUI_KEYBINDINGS`  

Was const TUI_KEYBINDINGS: {readonly "tui.editor.cursorUp": {readonly defaultKeys: "up"; readonly description: "Move cursor up";}; readonly "tui.editor.cursorDown": {readonly defaultKeys: "down"; readonly description: "Move cursor down";}... [npmjs.com](https://www.npmjs.com/package/@earendil-works/pi-tui/v/0.80.1)

## Related packages

- [@earendil-works/pi-ai](https://since.dev/packages/npm/@earendil-works/pi-ai.md)
- [@earendil-works/pi-coding-agent](https://since.dev/packages/npm/@earendil-works/pi-coding-agent.md)
- [@earendil-works/pi-agent-core](https://since.dev/packages/npm/@earendil-works/pi-agent-core.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
