Skip to content

v0.23.0

Choose a tag to compare

@tintinweb tintinweb released this 03 Nov 12:57
· 56 commits to master since this release

What changes for existing users

  • Explore uses the session's model (#175, #350). On non-Anthropic sessions, its Haiku pin spent another provider's credits. To keep Haiku, eject Explore in /agents and add model: anthropic/claude-haiku-4-5.
  • Agent files written for Claude Code behave as written (#396, #370). Tool names like Read and Glob now work. disallowedTools is enforced, and mcp__… entries narrow MCP tools. An agent whose tools: match nothing is refused. If you copied agents from Claude Code, review their toolsets.
  • @handle mentions honour inherit_context: true in direct mode and in the model-mode fallback (#300). Those prompts now include the conversation.
  • Reopening an isolation: worktree agent no longer creates a fresh worktree (#420). If its worktree held changes, the reopen is refused and the work is on its branch. If the worktree was clean, the agent continues in the main checkout.

New

  • Agent({ resume }) and workflow resume reopen agents that were cleaned up, after the ten-minute eviction or a reload (#420).
  • get_subagent_result returns the saved result after eviction instead of "Agent not found" (#397).

Fixes

  • The Agent tool no longer suggests Explore when Explore is disabled (#330).
  • ext:<pkg> and exclude_extensions: <pkg> now match packages that declare a directory in pi.extensions.
  • Workflow completion notifications count agents, not progress events. A 28-agent run used to report "27/138 agents".

QA

  • Automated: 2519 unit tests and 95 scripted end-to-end tests (real pi sessions, scripted model). New end-to-end checks cover isolated: true keeping MCP out of the subagent and the workflow completion count.
  • Live: the end-to-end suite against a real model. It covers background spawn with get_subagent_result, Explore dispatch, workflow fan-out, and structured output.
  • Manual: a pi session on Haiku exercised every Agent parameter (types, name, max_turns, thinking, model, inherit_context, isolated, run_in_background, schedule with offset/cron/interval, worktree isolation with file changes) and every workflow agent() option (effort, model, agentType, schema, gate pass/fail, invalid inputs). It found the workflow count bug above. Everything else it flagged was documented behavior.

Thanks @DraconDev, @renatomoselli, @yukukotani, @vlamai, @shkrabov, @lluppi, @zenworr. Full details in CHANGELOG.md.