@mariozechner/pi-agent-core
0.73.1 · 7 May 2026MIT523.2k / weekRepositoryHomepagenpmAtom feed
0.73.1 is the newest release of 0.64.x.
In short
1 breaking5 new4 fixed
- Breaking
ModelRegistryno longer has a public constructor. SDK callers and tests must useModelRegistry.create(authStorage, modelsJsonPath?)for file-backed registries orModelRegistry.inMemory(authStorage)for built-in-only registries. Directnew ModelRegistry(...)calls no longer compile.
Release note
New Features
Extensions and SDK callers can attach a
prepareArgumentshook to any tool definition, letting them normalize or migrate raw model arguments before schema validation. The built-inedittool uses this to transparently support sessions created with the old single-edit schema. See docs/extensions.mdExtensions can customize the collapsed thinking block label via
ctx.ui.setHiddenThinkingLabel(). See examples/extensions/hidden-thinking-label.ts
Breaking Changes
- Breaking
ModelRegistryno longer has a public constructor. SDK callers and tests must useModelRegistry.create(authStorage, modelsJsonPath?)for file-backed registries orModelRegistry.inMemory(authStorage)for built-in-only registries. Directnew ModelRegistry(...)calls no longer compile.
Added
Added
ToolDefinition.prepareArgumentshook to prepare raw tool call arguments before schema validation, enabling compatibility shims for resumed sessions with outdated tool schemasBuilt-in
edittool now usesprepareArgumentsto silently fold legacy top-leveloldText/newTextintoeditswhen resuming old sessionsAdded
ctx.ui.setHiddenThinkingLabel()so extensions can customize the collapsed thinking label in interactive mode, with a no-op in RPC mode and a runnable example extension inexamples/extensions/hidden-thinking-label.ts
Fixed
Fixed extension-queued user messages to refresh the interactive pending-message list so messages submitted while a turn is active are no longer silently dropped
Fixed monorepo
tsconfig.jsonpath mappings to resolve@mariozechner/pi-aisubpath exports to source files in development checkoutsFixed TUI cell size response handling to consume only exact
CSI 6 ; height ; width treplies, so bareEscapeis no longer swallowed while waiting for terminal image metadataFixed Kitty keyboard protocol keypad functional keys to normalize to logical digits, symbols, and navigation keys, so numpad input in terminals such as iTerm2 no longer inserts Private Use Area gibberish or gets ignored
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.