Packages

@earendil-works/pi-coding-agent

1.6.0 · 20 Nov 2026MIT6.6M / weekRepositoryHomepagenpmAtom feed

Upgrading @earendil-works/pi-coding-agent From 0.86.1 to 0.99.2

5 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.86.1Latest1.6.0

Start here

Before you upgrade

Tick each one off as you go
  • Breaking0.87.0
  • Breaking0.87.0
  • Breaking0.87.0
  • Breaking0.87.0
  • Breaking0.87.0

Release by release

  1. 0.99.2

    30 Sep 20269 new · 14 fixes
    • New

      MCP servers stay out of the way: servers with the default codemode exposure are no longer listed in the codemode description and no longer block the first prompt. They appear in a short system prompt section, and scripts find their tools with searchTools() and describeNamespace(). See Control tool exposure.

    • New

      More MCP authentication options: oauth.clientName for servers that only accept known OAuth clients, and "auth": { "provider": "<provider>" } to authenticate HTTP servers with a provider's /login token. See Authenticate with OAuth.

    • New

      Anthropic workload identity federation from the Anthropic SDK environment variables. See Use an API key from the environment.

    • New

      /reload enables tools newly added to the defaultTools setting. See Tools.

  2. 0.99.1

    29 Sep 20262 new · 1 fix
    • New

      GPT-6.1 Sol — Available on OpenAI, Azure OpenAI, and OpenAI Codex, and now the default OpenAI Codex model. See Select a model.

    • New

      Added GPT-6.1 Sol (gpt-6.1-sol) to the OpenAI, Azure OpenAI Responses, and OpenAI Codex providers.

    • Fixed

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

  3. 0.99.0

    29 Sep 202625 new · 29 fixes
    • New

      Codemode and MCP — Connect MCP servers and let models run JavaScript that calls tools in parallel. See MCP Servers and Enable codemode.

    • New

      System theme — Pi's colors now come from your terminal's own palette by default. See Use your terminal's colors.

    • New

      Sign in with ChatGPT — Use a ChatGPT subscription with the OpenAI provider through /login openai. See Authenticate interactively.

    • New

      Virtual models — Extensions can route each request to a different physical model. See Virtual Models.

  4. 0.87.1

    22 Sep 20265 new · 4 fixes
    • New

      Latest frontier models — Use Claude Opus 5.5, GPT-6 Sol, and GPT-6 Luna through supported providers, including GitHub Copilot. See Choose a Model.

    • New

      Grok 4.7 by default for xAI — New xAI sessions now default to Grok 4.7. See Provider Authentication.

    • New

      Added inherited Claude Opus 5.5, GPT-6 Sol, and GPT-6 Luna support for GitHub Copilot.

    • New

      Added inherited GPT-6 Sol and GPT-6 Luna support for OpenAI API keys and OpenAI Codex subscriptions.

  5. 0.87.0

    Migration needed21 Sep 20268 new · 11 fixes
    • Breaking

      Removed the inherited shouldStopAfterTurn agent option. Use finishTurn and return { action: "end" } instead. finishTurn runs before turn_end but applies the decision afterward, and it also receives error and aborted responses; migrate normal-response predicates by returning undefined for those hard exits. See the @earendil-works/pi-agent-core changelog for a complete before-and-after example.

    • Breaking

      Added ContextEditEntry to the exported SessionEntry union. TypeScript consumers with exhaustive entry switches must handle context_edit; use replacement: null for omission and a content replacement otherwise.

    • Breaking

      Made SessionManager canonical for AgentSession provider context. Assigning session.agent.state.messages no longer replaces future request history; restore with SessionManager.inMemory(cwd, { id }, entries), navigate with session.navigateTree(), or append through session.sessionManager and call session.refreshContext().

    • Breaking

      Expanded TurnEndEvent with required boundary fields and added AgentBeforeSettleEvent to the exported ExtensionEvent union. Consumers constructing events or exhaustively switching on ExtensionEvent must handle the new shapes. ExtensionRunner.emit() no longer accepts turn_end; host integrations dispatch actionable boundaries with emitBoundary(baseEvent, buildContext).

14 other lines we could not sort, mostly version bumps
  • MCP servers with the default codemode exposure no longer appear in the codemode description; scripts find them with searchTools(). codemode-deferred is now an alias for codemode. Use direct exposure for tools the model should see without searching (#10212).

    0.99.2
  • Changed the default OpenAI Codex model to GPT-6.1 Sol (gpt-6.1-sol).

    0.99.1
  • Switched the build from the TypeScript native preview to TypeScript 7.0 with an ES2024 target, and replaced tsx with Node's built-in type stripping for running from source (#9965).

    0.99.0
  • Removed the [Themes] section from the startup banner. Custom themes remain available in /settings, and theme conflicts are still reported.

    0.99.0
  • Changed the startup header to show the pi logo with the version instead of the app name.

    0.99.0
  • Changed the built-in dark and light themes to the revised pi colors, written in OKHSL.

    0.99.0
  • Changed light/dark terminal detection to use the reported background color first, then the terminal's light/dark report, then COLORFGBG. The first-time setup no longer shows the detected appearance.

    0.99.0
  • Renamed the inherited OpenAI Codex provider to "OpenAI Codex (legacy)"; Sign in with ChatGPT on the OpenAI provider supersedes it.

    0.99.0
  • Changed inherited terminal detection to treat TERM=*-direct as truecolor.

    0.99.0
  • Built-in extensions and tools are named builtin:<name> (for example builtin:mcp and builtin:read) in errors, diagnostics, RPC source info, and bug reports, instead of <inline:name> and <builtin:name>. Their slash commands no longer carry a [t] autocomplete tag.

    0.99.0

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.