Packages

@earendil-works/pi-coding-agent

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

Upgrading @earendil-works/pi-coding-agent From 1.1.0 to 1.2.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.1.0Newest 1.x, Latest1.6.0
  1. 1.1.0yours
  2. 1.2.0target

Start here

Before you upgrade

Tick each one off as you go
  • Breaking1.2.0
  • Breaking1.2.0
  • Breaking1.2.0
  • Breaking1.2.0
  • Breaking1.2.0
  • Breaking1.2.0

Release by release

  1. 1.2.0

    Migration needed12 Oct 202610 new · 22 fixes
    • Breaking

      Published generated configuration schemas for models, settings, keybindings, and themes at https://pi.dev/schemas/*.schema.json. The theme schema moved to https://pi.dev/schemas/theme.schema.json; themes loaded during startup now receive the same schema validation as later reloads. Update theme $schema references, define reusable colors under vars, and remove unsupported metadata (#9880, #10751

    • Breaking

      Changed before_agent_start to also fire for runs started by pi.sendMessage(..., { triggerTurn: true }) while idle. BeforeAgentStartEvent is now a union on messageType: "user" events carry prompt and images, and "custom" events carry the starting message and no prompt. Messages returned by handlers are added to both kinds of run, and pending deliverAs: "nextTurn" messages are delivered with the custom-message run. Handlers that should act only on user prompts must check event.messageType === "user" (#10267, #5581, #10739

    • Breaking

      Changed the session to count as busy while a run starts, including during before_agent_start handlers: ctx.isIdle() is false, pi.sendMessage() queues into the starting run instead of starting a second run that failed with "Agent is already processing", pi.sendUserMessage() requires deliverAs, and an abort requested meanwhile aborts the run once it starts

    • Breaking

      Changed pi mcp list --json to report resources: true for servers that offer resources instead of resources and resourceTemplates counts; Pi no longer lists resources when connecting

4 other lines we could not sort, mostly version bumps
  • Changed the showHardwareCursor setting to use only the terminal cursor instead of also drawing Pi's reverse-video cursor

    1.2.0
  • Changed codemode tool declarations to show input constraints such as integer, minimum/maximum, length, pattern, and default as @ tags on property comments, so scripts see them without the tool repeating them in descriptions

    1.2.0
  • Changed codemode declarations of MCP tools to spell out the result type (content, structuredContent, isError) instead of referring to CallToolResult<T>, which describeTool(), searchTools(), and ALL_TOOLS showed without defining it; the codemode description no longer includes the shared MCP types

    1.2.0
  • Changed serializeConversation() (compaction, branch summaries, bug reports) to omit thinking blocks; replayed thinking is often not in the live context, so including it could make a summarization request larger than the context it summarizes and fail

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