Highlights
- Make background workflow delivery durable and session-bound, preserving send ownership across reloads and waiting for the host to become idle before delivery. Fix startup warnings and duplicate SDK identity in the packaged extension. (#189, #193)
- Add a pre-spawn model resolver hook for policy-controlled model selection. (#179)
- Support per-call working directories with directory-specific resources and settings. (#192)
- Configure thinking independently of model IDs, child cache retention, and initial workflow effort. (#188, #191, #194)
- Retain isolated agent worktrees by default, support explicit cleanup or isolation opt-out, and fail closed when requested isolation cannot be created. (#190)
- Warn when all agents in a workflow return no result. (#182)
- Update compatible transitive dependency security patches. (#195)
Upgrade notes
- Existing Pi sessions should reload or restart after updating the package.
- Isolated worktrees are retained by default. Use
keepWorktree: falsewhen automatic cleanup is desired;isolation: falseexplicitly disables isolation for an agent call. - A thinking suffix in a model specification takes precedence over the separate thinking option.
Verification
- 1,424 automated tests passed, with build, documentation, context and package release checks.
- Real Pi sessions verified model routing, thinking, working-directory binding, worktree isolation and background delivery, including reload and compaction.
- Full dependency audit reported zero vulnerabilities at release preparation.
Contributors
Thanks to @yaokuku123, @fishfuuu, @johnwards and @kaankoken for the contributions and proposals included in this release.
Full changelog: v3.10.1...v3.11.0