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
Your version

235 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 0.73.x · latest line
  2. 0.73.1

    7 May 2026
    • Self-update support for the npm scope migration: pi update --self now supports the upcoming package rename from @mariozechner/pi-coding-agent to @earendil-works/pi-coding-agent. After the new package is published, existing global installs can update through the normal self-update flow; pi will uninstall the old global package and install the package name returned by the version check endpoint.

    • Interactive OAuth login selection: OAuth providers can now present multiple login choices in /login, enabling provider-specific interactive authentication flows. See Providers.

    • JSONC-style models.json parsing: models.json now allows comments and trailing commas, making custom provider and model configuration easier to maintain. See Providers and Custom Providers.

  3. 0.73.0

    4 May 2026
    • Breaking

      Switched the built-in xiaomi provider from Token Plan AMS to Xiaomi's API billing endpoint, and renamed its /login display from "Xiaomi MiMo Token Plan" to "Xiaomi MiMo". XIAOMI_API_KEY now refers to the API billing key from platform.xiaomimimo.com. Users on Token Plan should switch to the appropriate xiaomi-token-plan-* provider and set the corresponding env var

    • Xiaomi MiMo API billing and regional Token Plan providers - xiaomi now uses API billing, with separate xiaomi-token-plan-{cn,ams,sgp} providers. See docs/providers.md#api-keys and README.md#providers--models.

    • Incremental bash output streaming - Bash tool output now appears while commands run instead of only after completion.

  4. 0.72.x
  5. 0.72.1

    2 May 2026

    Reading the note…

  6. 0.72.0

    1 May 2026

    Reading the note…

  7. 0.71.x
  8. 0.71.1

    1 May 2026

    Reading the note…

  9. 0.71.0

    30 Apr 2026

    Reading the note…

  10. 0.70.x
  11. 0.70.6

    28 Apr 2026
    • Cloudflare Workers AI provider support with CLOUDFLARE_API_KEY/CLOUDFLARE_ACCOUNT_ID setup. See docs/providers.md#api-keys.

    • Pi update checks now use pi.dev and identify Pi with a pi/<version> user agent. See docs/packages.md.

    • Added Cloudflare Workers AI as a built-in provider with CLOUDFLARE_API_KEY/CLOUDFLARE_ACCOUNT_ID setup, default model resolution, /login support, and provider documentation

  12. 0.70.5

    27 Apr 2026
    • Fixed HTML export preserving ANSI-renderer trailing padding as extra blank wrapped lines.

  13. 0.70.4

    27 Apr 2026
    • Fixed packaged pi startup failing because the session selector imported a source-only utility path.

  14. 0.70.3

    27 Apr 2026
    • pi update can now update pi itself in addition to installed pi packages. See docs/packages.md.

    • Azure Cognitive Services endpoint support for Azure OpenAI Responses deployments. See docs/providers.md#api-keys.

    • Suppressible Anthropic extra-usage billing warning via warnings.anthropicExtraUsage in /settings. See docs/settings.md.

  15. 0.70.2

    24 Apr 2026
    • Fixed provider retry/timeout forwarding to omit undefined provider request controls, avoiding downstream SDK validation errors such as timeout must be an integer when retry.provider.timeoutMs is not configured

  16. 0.70.1

    24 Apr 2026
    • DeepSeek provider support with V4 Flash/Pro models and DEEPSEEK_API_KEY authentication. See README.md#providers--models and docs/providers.md#api-keys.

    • Provider request timeout/retry controls via retry.provider.{timeoutMs,maxRetries,maxRetryDelayMs}, useful for long-running local inference and provider SDK retry behavior. See docs/settings.md#retry.

    • Added DeepSeek to built-in provider setup, default model resolution, and provider documentation.

  17. 0.70.0

    23 Apr 2026
    • Breaking

      Disabled OSC 9;4 terminal progress indicators by default. Set terminal.showTerminalProgress to true in /settings to re-enable

    • Searchable auth provider login flow: the /login provider selector now supports fuzzy search/filtering, making it faster to find providers when many are configured. See docs/providers.md.

    • GPT-5.5 Codex support: openai-codex/gpt-5.5 is available as a model option, including xhigh reasoning support and corrected priority-tier pricing.

  18. 0.69.x
  19. 0.69.0

    22 Apr 2026
    • Breaking

      Migrated first-party coding-agent code, SDK/examples/docs, and package metadata from @sinclair/typebox 0.34.x to typebox 1.x. New extensions, SDK integrations, and pi packages should depend on and import from typebox. Legacy extension loading still aliases the root @sinclair/typebox package, but @sinclair/typebox/compiler is no longer shimmed. This migration also picks up the new @mariozechner/pi-ai TypeBox-native validator path, so tool argument validation now works in eval-restricted runtimes such as Cloudflare Workers instead of being skipped

    • Breaking

      Session-replacement commands now invalidate captured pre-replacement session-bound extension objects after ctx.newSession(), ctx.fork(), and ctx.switchSession(). Old pi and command ctx references now throw instead of silently targeting the replaced session. Migration: if code needs to keep working in the replacement session after one of those calls, pass withSession to that same method and do the post-switch work there. In practice, move post-switch pi.sendUserMessage(), pi.sendMessage(), and command-ctx/session-manager access into withSession, and use only the ReplacedSessionContext passed to that callback for session-bound operations. Footguns: withSession runs after the old extension instance has already received session_shutdown, old cleanup may already have invalidated captured state, captured old pi / old command ctx are stale, and previously extracted raw objects such as const sm = ctx.sessionManager remain the caller's responsibility and must not be reused after the switch.

    • TypeBox 1.x migration for extensions and SDK integrations, including TypeBox-native tool argument validation that now works in eval-restricted runtimes such as Cloudflare Workers. See docs/extensions.md and docs/sdk.md.

  20. 0.68.x
  21. 0.68.1

    22 Apr 2026
    • Fireworks provider support with built-in models and FIREWORKS_API_KEY auth. See README.md#providers--models and docs/providers.md.

    • Configurable inline tool image width via terminal.imageWidthCells in /settings. See docs/settings.md#terminal--images.

    • Added built-in Fireworks provider support, including FIREWORKS_API_KEY setup/docs and the default Fireworks model accounts/fireworks/models/kimi-k2p6

  22. 0.68.0

    20 Apr 2026
    • 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

  23. 0.67.x
  24. 0.67.68

    17 Apr 2026
  25. 0.67.67

    17 Apr 2026
    • Bedrock sessions can now authenticate with AWS_BEARER_TOKEN_BEDROCK, enabling Converse API access without local SigV4 credentials. See docs/providers.md#amazon-bedrock.

    • Added Bedrock bearer-token authentication support via AWS_BEARER_TOKEN_BEDROCK, enabling coding-agent sessions to use Bedrock Converse without local SigV4 credentials

    • Fixed /scoped-models Alt+Up/Down to stay a no-op in the implicit all enabled state instead of materializing a full explicit enabled-model list and marking the selector dirty

  26. 0.67.6

    16 Apr 2026
    • Prompt templates support an argument-hint frontmatter field that renders before the description in the / autocomplete dropdown, using <angle> for required and [square] for optional arguments. See docs/prompt-templates.md#argument-hints.

    • New after_provider_response extension hook lets extensions inspect provider HTTP status codes and headers immediately after each response is received and before stream consumption begins. See docs/extensions.md.

    • Compact interactive startup header with a comma-separated view of loaded AGENTS.md files, prompt templates, skills, and extensions. Press Ctrl+O to toggle the expanded listing.

  27. 0.67.5

    16 Apr 2026
    • Fixed Opus 4.7 adaptive thinking configuration across Anthropic and Bedrock providers by recognizing Opus 4.7 adaptive-thinking support and mapping xhigh reasoning to provider-supported effort values

    • Fixed Zellij Shift+Enter regressions by reverting the Zellij-specific Kitty keyboard query bypass and restoring the previous keyboard negotiation behavior

  28. 0.67.4

    16 Apr 2026
    • --no-context-files (-nc) disables automatic AGENTS.md / CLAUDE.md discovery when you need a clean run without project context injection. See README.md#context-files.

    • loadProjectContextFiles() is now exported as a standalone utility for extensions and SDK-style integrations that need to inspect the same context-file resolution order used by the CLI. See README.md#context-files.

    • New after_provider_response extension hook lets extensions inspect provider HTTP status codes and headers immediately after response creation and before stream consumption. See docs/extensions.md.

  29. 0.67.3

    15 Apr 2026
    • renderShell: "self" for custom and built-in tool renderers so tools can own their outer shell instead of the default boxed shell. Useful for stable large previews such as edit diffs. See docs/extensions.md#custom-rendering.

    • Interactive auto-retry status now shows a live countdown during backoff instead of a static retry delay message.

    • Added renderShell: "self" for custom and built-in tool renderers so tools can own their outer shell instead of using the default boxed shell. This is useful for stable large previews such as edit diffs

  30. 0.67.2

    14 Apr 2026
    • Support for multiple --append-system-prompt flags, each value is appended to the system prompt separated by double newlines. See README.md#other-options.

    • Support for passing inline extension factories to main() for embedded integrations and custom entrypoints.

    • Interactive keybinding support for Kitty super-modified shortcuts such as super+k, super+enter, and ctrl+super+k. See docs/keybindings.md.

  31. 0.67.1

    13 Apr 2026
    • Pi needs a reliable per-version usage signal to understand whether releases are being adopted and to help justify funding continued development.

    • Npm download counts are not a reliable proxy for actual Pi usage.

    • It only runs in interactive mode.

  32. 0.67.0

    13 Apr 2026
    • Pi needs a reliable per-version usage signal to understand whether releases are being adopted and to help justify funding continued development.

    • Npm download counts are not a reliable proxy for actual Pi usage.

    • It only runs in interactive mode.

  33. 0.66.x
  34. 0.66.1

    8 Apr 2026
    • Changed the Earendil announcement from an automatic startup notice to the hidden /dementedelves slash command.

  35. 0.66.0

    8 Apr 2026
    • Earendil startup announcement with bundled inline image rendering and a linked blog post for April 8 and 9, 2026.

    • Interactive Anthropic subscription auth warning when Anthropic subscription auth is active, clarifying that Anthropic third-party usage draws from extra usage and is billed per token.

    • Fixed bare readline import to use node:readline prefix for Deno compatibility

  36. 0.65.x
  37. 0.65.2

    6 Apr 2026
  38. 0.65.1

    5 Apr 2026
    • Fixed bash output truncation by line count to always persist full output to a temp file, preventing data loss when output exceeds 2000 lines but stays under the byte threshold

    • RpcClient now forwards subprocess stderr to parent process in real-time

    • Theme file watcher now handles async fs.watch error events instead of crashing the process

  39. 0.65.0

    3 Apr 2026
    • Breaking

      Removed extension post-transition events session_switch and session_fork. Use session_start with event.reason ("startup" | "reload" | "new" | "resume" | "fork"). For "new", "resume", and "fork", session_start includes previousSessionFile.

    • Breaking

      Removed session-replacement methods from AgentSession. Use AgentSessionRuntime for newSession(), switchSession(), fork(), and importFromJsonl(). Cross-cwd session replacement rebuilds all cwd-bound runtime state and replaces the live AgentSession instance.

    • Breaking

      Removed session_directory from extension and settings APIs.

  40. 0.64.x
  41. 0.64.0

    29 Mar 2026
    • Breaking

      ModelRegistry no longer has a public constructor. SDK callers and tests must use ModelRegistry.create(authStorage, modelsJsonPath?) for file-backed registries or ModelRegistry.inMemory(authStorage) for built-in-only registries. Direct new ModelRegistry(...) calls no longer compile.

    • Extensions and SDK callers can attach a prepareArguments hook to any tool definition, letting them normalize or migrate raw model arguments before schema validation. The built-in edit tool uses this to transparently support sessions created with the old single-edit schema. See docs/extensions.md

    • Extensions can customize the collapsed thinking block label via ctx.ui.setHiddenThinkingLabel(). See examples/extensions/hidden-thinking-label.ts

  42. 0.63.x
  43. 0.63.2

    29 Mar 2026
    • Extension handlers can now use ctx.signal to forward cancellation into nested model calls, fetch(), and other abort-aware work. See docs/extensions.md#ctxsignal

    • Built-in edit tool input now uses edits as the only replacement shape, reducing invalid tool calls caused by mixed single-edit and multi-edit schemas

    • Large multi-edit results no longer trigger full-screen redraws in the interactive TUI when the final diff is rendered

  44. 0.63.1

    27 Mar 2026
    • Added gemini-3.1-pro-preview-customtools model availability for the google-vertex provider

    • Documented tool_call input mutation as supported extension API behavior, clarified that post-mutation inputs are not re-validated, and added regression coverage for executing mutated tool arguments

    • Fixed repeated compactions dropping messages that were kept by an earlier compaction by re-summarizing from the previous kept boundary and recalculating tokensBefore from the rebuilt session context

  45. 0.63.0

    27 Mar 2026
    • Breaking

      ModelRegistry.getApiKey(model) has been replaced by getApiKeyAndHeaders(model) because models.json auth and header values can now resolve dynamically on every request. Extensions and SDK integrations that previously fetched only an API key must now fetch request auth per call and forward both apiKey and headers. Use getApiKeyForProvider(provider) only when you explicitly want provider-level API key lookup without model headers or authHeader handling

    • Breaking

      Removed deprecated direct minimax and minimax-cn model IDs, keeping only MiniMax-M2.7 and MiniMax-M2.7-highspeed. Update pinned model IDs to one of those supported direct MiniMax models, or use another provider route that still exposes the older IDs

    • Added sessionDir setting support in global and project settings.json so session storage can be configured without passing --session-dir on every invocation

  46. 0.62.x
  47. 0.62.0

    23 Mar 2026

    Reading the note…

  48. 0.61.x
  49. 0.61.1

    20 Mar 2026

    Reading the note…

  50. 0.61.0

    20 Mar 2026

    Reading the note…

  51. 0.60.x
  52. 0.60.0

    18 Mar 2026

    Reading the note…

  53. 0.59.x
  54. 0.59.0

    17 Mar 2026
    • Breaking

      Changed custom tool system prompt behavior so extension and SDK tools are included in the default Available tools section only when they provide promptSnippet. Omitting promptSnippet now leaves the tool out of that section instead of falling back to description

    • Faster startup by lazy-loading @mariozechner/pi-ai provider SDKs on first use instead of import time

    • Better provider retry behavior when providers return error messages as responses

  55. 0.58.x
  56. 0.58.4

    16 Mar 2026
    • Fixed steering messages to wait until the current assistant message's tool-call batch fully finishes instead of skipping pending tool calls.

  57. 0.58.3

    15 Mar 2026
  58. 0.58.2

    15 Mar 2026
    • Improved settings, theme, thinking, and show-images selector layouts by using configurable select-list primary column sizing

    • Fixed fuzzy edit matching to normalize Unicode compatibility variants before comparison, reducing false "oldText not found" failures for text such as CJK and full-width characters

    • Fixed /model <ref> exact matching and picker search to recognize canonical provider/model references when model IDs themselves contain /, such as LM Studio models like unsloth/qwen3.5-35b-a3b

  59. 0.58.1

    14 Mar 2026
    • Added pi uninstall alias for pi install --uninstall convenience

    • Fixed OpenAI Codex websocket protocol to include required headers and properly terminate SSE streams on connection close

    • Fixed WSL clipboard image fallback to properly handle missing clipboard utilities and permission errors

  60. 0.58.0

    14 Mar 2026
    • Claude Opus 4.6, Sonnet 4.6, and related Bedrock models now use a 1M token context window (up from 200K)

    • Extension tool calls now execute in parallel by default, with sequential tool_call preflight preserved for extension interception.

    • GOOGLE_CLOUD_API_KEY environment variable support for the google-vertex provider as an alternative to Application Default Credentials

  61. 0.57.x
  62. 0.57.1

    7 Mar 2026
    • Tree branch folding and segment-jump navigation in /tree, with Ctrl+←/Ctrl+→ and Alt+←/Alt+→ shortcuts while ←/→ and Page Up/Page Down remain available for paging. See docs/tree.md and docs/keybindings.md.

    • session_directory extension event for customizing session directory paths before session manager creation. See docs/extensions.md.

    • Digit keybindings (0-9) in the TUI keybinding system, including modified combos like ctrl+1. See docs/keybindings.md.

  63. 0.57.0

    7 Mar 2026

    Reading the note…

  64. 0.56.x
  65. 0.56.3

    6 Mar 2026

    Reading the note…

  66. 0.56.2

    5 Mar 2026

    Reading the note…

  67. 0.56.1

    5 Mar 2026

    Reading the note…

  68. 0.56.0

    4 Mar 2026

    Reading the note…

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.