Skip to content

Releases

1.10.2

Choose a tag to compare

@ilovepixelart ilovepixelart released this 21 Nov 12:16
41640fc

Requirements unchanged (Node >= 22.19). Nothing breaks: this release fixes the status line after a model switch.

Fixes

  • The status line no longer keeps the rate_limits windows of the previous provider after switching to a model of another provider. The 5-hour and 7-day windows come only from Anthropic response headers, so after a switch to, for example, an OpenAI Codex model the last Anthropic numbers stayed on screen for the rest of the session. A switch between models of the same provider keeps them. (#480, thanks @przadka-agents)

Internal

  • @types/node follows the lowest supported Node, and Dependabot holds its major and minor updates until the engines floor moves. (#477, #481)
  • Dependabot version updates wait 7 days; dependabot.yml is audited in CI. (#476)
  • CI workflow hardening, provenance verification on the Node 24 legs, and unified community files. (#473, #474, #475)

1.10.1

Choose a tag to compare

@ilovepixelart ilovepixelart released this 17 Nov 15:14
822515f

Requirements unchanged (Node >= 22.19). Nothing changes for you: this release only restructures code to resolve SonarCloud findings, with no change in behaviour.

Internal

  • Nested ternaries and nested template literals rewritten as statements and locals; three helpers in the question form moved to module scope; two global-regex replacements now use replaceAll with a string literal. (#471)

1.10.0

Choose a tag to compare

@ilovepixelart ilovepixelart released this 16 Nov 22:26
bff3168

Requirements unchanged (Node >= 22.19). Two discovery changes are visible; both now match Claude Code.

What changes for you

  • Claude's account-synced skills are no longer listed as personal skills. pi-code handed the whole ~/.claude/skills folder to pi, which imported Claude's synced cache in skills/synced/ recursively: every account bucket on the machine, under bare names. Claude Code skips that folder in its personal scan, and pi-code now does too; a personal skill that links into the cache still loads. Claude Code loads the current account's synced skills separately as anthropic-skills:<name>, which pi-code does not yet do. To keep one, add its SKILL.md to pi's skills setting. (#458)
  • Plugins from a local marketplace load from the marketplace itself. For a marketplace added with claude plugin marketplace add <directory> or <path>/marketplace.json, a plugin with a relative ./ entry loaded from the copy cached at install time, so source edits stayed invisible until claude plugin update. It now loads from the source after /reload, as in Claude Code. The plugin must still be installed; when the marketplace is gone or no longer lists it, it does not load rather than falling back to the cached copy. Remote entries keep loading from the cache. (#465, #466)

Added

  • /todos-widget off|compact|full. compact shows the todo counts and the active task on one line, off hides the widget, full (the default) is the existing panel. The choice lasts until reload, new session, resume or fork. It needs the terminal UI. Claude Code collapses its list with Ctrl+T instead. (#459, #468)

Fixed

  • A met /goal no longer stays active after a long verdict. The evaluator and type: prompt hooks requested at most 512 output tokens; a reason quoting the transcript at length was cut off mid-JSON, reported as an unreadable verdict, and left the session idle with the goal active. Both now get the model's own output limit, as in Claude Code. A model without a declared limit, such as a virtual model, gets the completion default instead of a cap of 0. (#464, #467)
  • The question form shows which answer is confirmed. Revisiting a question focuses its first row, and the confirmed option shows a green label and ✔ (kept on rows wider than the form); a confirmed typed answer keeps its ✔ while it is edited. Text typed in the free-text row stays when an option is confirmed and is not sent. (#461, #469)

Dependencies

  • pi 1.5.0 → 1.5.2, Biome 2.6.8, knip 6.45.1, typebox 1.4.7. (#463)

1.9.0

Choose a tag to compare

@ilovepixelart ilovepixelart released this 15 Nov 16:38
c7ff779

Requirements unchanged (Node >= 22.19). Nothing breaks: no setting, payload or command changes meaning.

Added

  • "Chat about this" in the question form. A row below the options on every question ends the call and sends the model Claude Code's clarify text, listing each question with the answer Submit would send. Down at the bottom of a question now stops on this row. Claude Code returns the text as a rejected tool call behind its rejection preamble; pi-code sends the clarify text alone. The RPC fallback has no such row. (#454)

Fixed

  • The context of a SessionStart hook with matcher compact reaches the model at the compaction, as in Claude Code: a run that continues past an automatic compaction reads it on its next request, and a compaction while idle stores it right after the summary. Before, it waited for the next user prompt and was lost in print mode. (#455)

1.8.0

Choose a tag to compare

@ilovepixelart ilovepixelart released this 15 Nov 11:47
424f357

Requirements unchanged (Node >= 22.19). Five changes alter what an existing setup does; each now matches Claude Code, and each entry says what to do. Read the behavior changes before upgrading.

Behavior changes

  • CLAUDE_PROJECT_DIR is the directory the session started in, not the git checkout root. This applies to hook commands, stdio MCP server env, ${CLAUDE_PROJECT_DIR} in plugin MCP config and in command and skill bodies, and the status line. In a session started in a subdirectory, a script that needs the repository root should ask git rev-parse --show-toplevel. A hook from the repository root's settings.local.json still gets the checkout root. (#428)
  • A PostToolUse hook's updatedToolOutput is read only under hookSpecificOutput. At the top level of the hook output it is now ignored, as in Claude Code. Move the field under hookSpecificOutput. For an MCP tool, updatedToolOutput wins over updatedMCPToolOutput. (#448)
  • Plugin skills keep their plugin namespace: /kit:deploy instead of /skill:deploy. The bare /skill:name form still runs a plugin skill when exactly one enabled plugin ships that name, with a one-time notice; it is deprecated and will be removed in the next major version. Personal and project skills keep /skill:name. (#433)
  • A bash command that reaches its timeout is no longer always killed. With a UI it moves to the background and keeps running; stop it with task_stop. In print and json modes and in subagents it is stopped at the timeout, which follows BASH_DEFAULT_TIMEOUT_MS / BASH_MAX_TIMEOUT_MS (2 / 10 minutes by default). Raise those for long commands in headless runs. (#426)
  • In the question form, Esc cancels the whole call from anywhere, and Enter on a blank single-select text field does the same. Several questions in one call share one tabbed form with a Submit review; submitting a partial form marks the unanswered questions as skipped. Single-select text is an answer only once Enter confirms it. (#431, #443)

Added

  • Background bash commands. run_in_background: true starts a command as a background task; a completion message reaches the session; task_stop stops it; /tasks lists it; the footer shows the count. Disabled with CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1. (#426)
  • A monitor tool (Claude's Monitor) that runs a command in the background and feeds its stdout lines to the session, batched and rate-limited as Claude Code does: a 200 ms batch window, 10 events at once and one more every 2 seconds, with suppressed events reported as a count and a monitor suppressed for 30 seconds stopped automatically. (#427, #441)
  • piCode.enabledPlugins in ~/.pi/agent/settings.json turns a Claude plugin on or off for pi alone, and /claude-plugins lists plugins with the setting that decided their state. (#430)
  • autoMemoryStorage: "claude" reads and writes the memory store Claude Code keeps for the project, in place. (#434)
  • Question form: an inline text field in the "Type something." row, also on multiSelect questions; wrapped question text and option descriptions; Claude Code's look. (#432, #435, #443)

Fixed

  • Plugin hooks load from hooks/hooks.json and from every hooks entry of the manifest, including an array. (#429)
  • A hook declared identically in several settings files runs as the copy from the highest-precedence source, so a project's async copy no longer replaces a managed or --settings blocking guard. (#440)
  • A PreToolUse hook with a Bash matcher also runs on commands started through monitor, with a Bash payload, and can block them. A handler selected both as Monitor and as Bash runs once. (#439, #450)
  • bash, and monitor with it, stay off in a session whose tool selection leaves bash out (--tools -bash, --no-builtin-tools, defaultTools), including after /reload and /tree. (#442, #451)
  • A background command's completion notice is sent once its output file is complete. (#445)
  • An oversized BASH_DEFAULT_TIMEOUT_MS or BASH_MAX_TIMEOUT_MS no longer makes every command time out at once or fail. (#438)
  • Saving or deleting a memory no longer rewrites or removes other index lines that mention its file. (#437)
  • A remote answer that completes a question batch does not submit text that is still being typed. (#443, #449)
  • The monitor rate limit holds when the system clock steps back. (#451)

1.7.0

Choose a tag to compare

@ilovepixelart ilovepixelart released this 04 Nov 14:59
4d30da7

Requirements unchanged (Node >= 22.19). No configuration breaks. Some agents that were rejected before now load, and some plugin agents get more tools, so read the behavior changes.

Behavior changes

These change what an existing setup does; each now matches Claude Code. What to do is in each entry.

  • An agent with an argument scope in tools: now loads with the whole tool. Bash(git log:*), Read(src/**), WebFetch(domain:example.com) and Bash() used to reject the agent with a warning. The scope does not limit the agent in Claude Code either, but Claude Code still runs each call through its permission flow and pi has no such flow, so this agent can run any command without a prompt. To restrict it, add a PreToolUse hook. (#420)
  • A plugin agent's hooks are ignored. They used to be passed to the child and run there. Declare them as plugin hooks instead. (#421)
  • A plugin agent's permissionMode is ignored. permissionMode: plan with no tools: used to give read-only tools; the agent now has every tool. To keep it read-only, list the tools in tools:. (#421)
  • A plugin agent with no description, or with frontmatter that does not parse, now loads. A missing description becomes Agent from <plugin> plugin. Frontmatter that does not parse loads the agent under its filename with every field ignored, so tools: in that file is not applied and the agent has every tool. To keep its restrictions, fix the frontmatter. (#421)

Fixed

  • An entry in tools: whose scope does not close (Bash(, Bash(foo)bar) is unrecognized and grants nothing. Beside a valid entry it is dropped, so Read, Bash(foo, Write grants read only; when nothing else resolves, the launch is refused and names it. (#420)
  • A rejected agent repeated its discovery warning on every subagent call. Each distinct warning now prints once per process, across /reload and new sessions. (#420)

1.6.2

Choose a tag to compare

@ilovepixelart ilovepixelart released this 02 Nov 16:38
89e8420

Requirements unchanged (Node >= 22.19). Nothing breaks: no API or configuration change.

Fixed

  • On pi 1.5.0, an output style applied after an earlier extension forced the system prompt was appended and pi's default instructions stayed in the prompt. The style now replaces them, on pi 1.5.0 and on older hosts. (#416)

Security

  • pi 1.1.0 to 1.4.0 pin undici 8.10.2 (GHSA-xjj6-f33q-929c): a server answering with more than five content codings and closing early ends the process, even when the fetch() rejection is caught. pi-code's MCP HTTP transports and HTTP hooks use that fetch. pi supplies this copy, so update pi to 1.5.0 or later to get the fix. (#416)
  • This repository's lockfile moves to patched body-parser, fast-uri, ip-address, zod, qs and minimatch. The lockfile is not published, so fresh installs already resolve patched versions. (#416)

Changed

  • Tool parameter types and git-checkpoint compile against pi 1.5.0. The emitted tool schemas are unchanged. (#416)

1.6.1

Choose a tag to compare

@ilovepixelart ilovepixelart released this 23 Oct 13:04
d3fd25a

Requirements unchanged (pi >= 0.80.5, Node >= 22.19). Nothing breaks: no API or configuration change.

Fixed

  • A PreToolUse hook that blocked a tool call (deny, decision: "block", exit 2, a fail-closed timeout, or an ask with no UI) ended the agent run when the blocked call was the only one in its batch. A headless run (-p, --mode json) exited 0 with no final answer and nothing on stderr. The hook's reason now reaches the model as the tool's error and the run continues, as in Claude Code. Behavior change: interactive sessions also continue after a block instead of waiting for input. continue: false, permissionDecision: "defer" and an ask declined in the dialog still end the run. Thanks to @outlawpractice for the report. (#410, #411)
  • Several PreToolUse hooks combine with Claude's deny > defer > ask > allow precedence; a defer listed before a deny previously won. (#411)

1.6.0

Choose a tag to compare

@ilovepixelart ilovepixelart released this 22 Oct 09:10
1e0a5a4

Requirements unchanged (pi >= 0.80.5, Node >= 22.19). One default changes; no configuration breaks.

Changed

  • MCP servers pi-code hands to pi's native MCP (pi 0.99 and later) are deferred behind tool_search, as Claude Code defers MCP tools by default. Their tool definitions are no longer sent with every request: pi names each server in the prompt and declares its tools once tool_search loads them. Behavior change: to keep a server's tools declared upfront, set "alwaysLoad": true on it; to declare every server upfront, set ENABLE_TOOL_SEARCH=false (shell or settings env). ENABLE_TOOL_SEARCH set to true, auto or auto:N defers. Thanks to @stalgiag for the report. (#406, #408)

Fixed

  • The subagent roster, the memory index and the active output style replaced the whole system prompt each turn, so prompt sections that extensions loaded afterwards add never reached the model, among them pi's mcp_servers listing of servers with deferred or codemode tools. They are now added as prompt sections (<subagents>, <memory>, <output_style>); on a pi that does not re-render the prompt they append as before. (#407)

Dependencies

  • pi packages 1.2.0, Vitest 5.0.4, knip 6.41.0, typebox 1.3.37, CodeQL action 4.38.3. (#404, #405)

1.5.2

Choose a tag to compare

@ilovepixelart ilovepixelart released this 12 Oct 07:26
e10b3ef

Nothing breaks: no configuration change, requirements unchanged (pi >= 0.80.5, Node >= 22.19).

Fixed

  • Todo changes made inside Codemode were lost on reload or restart, and the next add could reuse an existing ID. Each successful todo mutation now also saves a snapshot to the session, and replay restores from it; sessions recorded before this release still replay as before. Thanks to @nikunj95. (#401)

Tests

  • The shellWords property no longer depends on the bash version: macOS /bin/bash 3.2 and bash 5 read a trailing unquoted backslash differently, which failed the suite on a stock Mac. (#402)