Packages

@mariozechner/pi-agent-core

0.73.1 · 7 May 2026MIT523.2k / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: please use @earendil-works/pi-agent-core instead going forwardWhat to use instead

Upgrading @mariozechner/pi-agent-core From 0.67.68 to 0.68.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.67.68Newest 0.x, Latest0.73.1
  1. 0.67.68yours
  2. 0.68.0target

Before you upgrade

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

Release by release

  1. 0.68.0

    Migration needed20 Apr 202611 new · 24 fixes
    • Breaking

      Changed SDK and CLI tool selection from cwd-bound built-in tool instances to tool-name allowlists. createAgentSession({ tools }) now expects string names such as "read" and "bash" instead of Tool, --tools now allowlists built-in, extension, and custom tools by name, and --no-tools now disables all tools by default rather than only built-ins. Migrate SDK code from tools: [readTool, bashTool] to tools: ["read", "bash"] (#2835, #3452)

    • Breaking

      Removed prebuilt cwd-bound tool and tool-definition exports from @mariozechner/pi-coding-agent, including readTool, bashTool, editTool, writeTool, grepTool, findTool, lsTool, readOnlyTools, codingTools, and the corresponding *ToolDefinition values. Use the explicit factory exports instead, for example createReadTool(cwd), createBashTool(cwd), createCodingTools(cwd), and createReadToolDefinition(cwd)

    • Breaking

      Removed ambient process.cwd() / default agent-dir fallback behavior from public resource helpers. DefaultResourceLoader, loadProjectContextFiles(), and loadSkills() now require explicit cwd/agent-dir style inputs, and exported system-prompt option types now require an explicit cwd. Pass the session or project cwd explicitly instead of relying on process-global defaults

    • New

      Configurable streaming working indicator for extensions via ctx.ui.setWorkingIndicator(), including animated, static, and hidden indicators. See docs/tui.md#working-indicator, docs/extensions.md, and examples/extensions/working-indicator.ts.

2 other lines we could not sort, mostly version bumps
  • Changed pi update to batch npm package updates per scope and run git package updates with bounded parallelism, reducing multi-package update time while preserving skip behavior for pinned and already-current packages

    0.68.0
  • Changed Bedrock session requests to omit maxTokens when model token limits are unknown and to omit temperature when unset, letting Bedrock use provider defaults and avoid unnecessary TPM quota reservation

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