Packages

@earendil-works/pi-coding-agent

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

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

40 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.78.0Clears its 4 advisories0.79.0Latest1.6.0
  1. 0.78.0yours
  2. 0.78.1security
  3. 0.79.0major
  4. 19 releases
  5. 0.81.0major
  6. 1 release
  7. 0.82.0security
  8. 1 release
  9. 0.83.0major
  10. 0.84.0security
  11. 1 release
  12. 0.84.2security
  13. 2 releases
  14. 0.85.0major
  15. 1 release
  16. 0.86.0major
  17. 1 release
  18. 0.87.0major
  19. 1 release
  20. 0.99.0major
  21. 1 release
  22. 0.99.2target

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
  • Breaking0.86.0
  • Breaking0.86.0
  • Breaking0.86.0
  • Breaking0.86.0
  • Breaking0.84.3

Security

  • Updated the transitive nanoid development dependency to address a denial-of-service vulnerability.

    0.84.2
  • Updated the packaged brace-expansion dependency to 5.0.8 to address GHSA-mh99-v99m-4gvg (#7316).

    0.84.0
  • Updated undici to 8.9.0 and the packaged brace-expansion to 5.0.9 to address GHSA-8xcm-r25x-g524, GHSA-4cwx-7wf7-3272, GHSA-m8rv-5g2x-5cg5, GHSA-jr45-8vmc-qm54, GHSA-v3r7-h72x-cjcm, and GHSA-rgw5-rvv9-x895.

    0.84.0
  • Updated the packaged protobufjs dependency to 7.6.5 to address GHSA-j3f2-48v5-ccww (#7005).

    0.82.0
  • Fixed stored XSS in HTML session exports by sanitizing Markdown link and image URLs with a scheme allow-list after stripping control characters.

    0.78.1

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).

  6. 0.86.1

    20 Sep 20262 new · 5 fixes
    • New

      Meta Muse provider — Sign in with Meta using /login meta or use META_API_KEY to access Muse Spark models. See Meta (Muse subscription).

    • New

      Added Meta (Muse subscription) login via /login meta with automatic Model API key refresh, plus META_API_KEY support

    • Fixed

      Fixed /bug descriptions dropping line breaks from pasted diagnostics.

    • Fixed

      Fixed /bug hints appearing for user cancellations and retryable provider failures such as service unavailability.

    • Fixed

      Fixed clipboard copy failing in containers and WSL without WSLg by restoring the OSC 52 fallback when no display is available, and added a verified Windows clipboard backend for WSL (#9688).

    • Fixed

      Fixed inherited z.ai Prompt too long errors not being recognized as context overflow (#9805).

    • Fixed

      Fixed inherited Cerebras models advertising unsupported strict tool schemas, which caused HTTP 400 errors when strict and non-strict tools were mixed

  7. 0.86.0

    Migration needed19 Sep 202616 new · 37 fixes
    • Breaking

      Changed inherited pi-ai provider stream inputs from Context to normalized TranscriptContext values. Custom providers must read system prompts and tool declarations from context.messages with getCurrentSystemPrompt() and getCurrentTools(). See Custom Streaming API.

    • Breaking

      Restricted inherited ToolCall.arguments and ToolResultMessage.details to JSON-compatible values, changed ToolResultMessage into a conditional type, and made JsonValue arrays readonly.

    • Breaking

      user_bash now fails closed: errors or invalid defined results abort the command without invoking later handlers or executing locally. Return undefined to continue propagation; otherwise return { operations } or { result } (#9068).

    • Breaking

      Removed unavailable inherited GPT-5.4 and GPT-5.4 mini models from OpenAI Codex selection (#9394).

  8. 0.85.1

    5 Sep 20263 new · 4 fixes
    • New

      GPT-6 Astra — Available through OpenAI API keys and OpenAI Codex subscriptions. See API Keys and OpenAI Codex.

    • New

      Added GPT-6 Astra for OpenAI API keys and OpenAI Codex subscriptions.

    • New

      Added five-times-faster mouse wheel scrolling while holding Alt in fullscreen mode

    • Fixed

      Fixed configurable save keybindings in the model and thinking selectors

    • Fixed

      Fixed SDK import failures caused by unintentionally publishing internal experimental code and dependencies in 0.85.0. The experimental client and experimental/plugin subpaths and server/client commands are now source-only through pi-test.sh; the supported local SDK and stdio RPC API are unchanged (#9132).

    • Fixed

      Fixed mouse hover changing selection and recentering autocomplete and settings lists, causing clicks to target a different item.

    • Fixed

      Fixed long prompt-cache requests for GPT-5.6+ Responses models to use prompt_cache_options.ttl: "30m" instead of prompt_cache_retention: "24h".

58 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.