# Changelog

All notable changes to this package are documented here.

## 0.3.0 - 2026-07-25

- Correct local custom-agent inventory to recurse through agent directories,
  honor `PI_SUBAGENT_EXTRA_AGENT_DIRS`, match Pi's scope selection, and exclude
  chain definitions.
- Add coverage for nested custom agents and `agentScope` selection.
- Make the package publishable and use Pi's recommended unrestricted peer range
  for its bundled core API.
- Document the `pi-subagents` global `turnBudget` fallback that remains outside
  a Pi `tool_call` interceptor and must stay unset for mutation-capable runs.

## 0.2.0 - 2026-07-25

- Initial standalone package extracted after an audit of Pi `0.82.0` and
  `pi-subagents` `0.35.1`.
- Removes caller-supplied `timeoutMs`, `maxRuntimeMs`, and `turnBudget` for
  possibly mutating LLM-issued subagent tool calls.
- Adds checkpoint instructions and durable policy audit messages.
- Documents direct-launch paths that a Pi `tool_call` hook cannot intercept.
