Packages

@earendil-works/pi-tui

1.5.2 · 10 Nov 2026MIT9.8M / weekRepositoryHomepagenpmAtom feed

Upgrading @earendil-works/pi-tui From 0.86.1 to 0.87.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.86.1Newest 0.x0.99.2Latest1.5.2
  1. 0.86.1yours
  2. 0.87.0target

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

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.