Added
- Added configurable subagent recursion depth controls with global
maxSubagentDepthconfig and per-agentmaxSubagentDepthfrontmatter overrides. Child delegation now honors stricter inherited limits while still allowing per-agent tightening. - Added optional worktree setup hooks via extension config (
worktreeSetupHook,worktreeSetupHookTimeoutMs). Hooks run once per created worktree, receive JSON over stdin, return JSON on stdout, and can declare synthetic helper paths (e.g..venv, copied local config files) to exclude from patch capture.
Fixed
- Added support for loading agents and skills from
.agents/and~/.agents/directories. - Switched internal source imports from
.jsto.tsso the extension can be loaded directly from TypeScript sources under the strip-types/transform-types runtime path. - Declared pi runtime packages and
@sinclair/typeboxas peer dependencies so direct source-loading environments fail less often from missing package resolution. - Single-output runs now preserve agent-written file contents instead of overwriting them with the final assistant receipt, and artifacts/truncation now follow the authoritative saved file content.
- Async/background runs now reuse the current Node executable and prefer the resolved current pi CLI path on all platforms, avoiding PATH drift from wrapped or version-pinned parent launches.
Changed
- Added release documentation for TypeScript direct-runtime loading support and related package requirements.