github nicobailon/pi-subagents v0.11.2

latest releases: v0.28.0, v0.27.0, v0.26.0...
3 months ago

Fixed

  • --no-skills was missing from the async runner (subagent-runner.ts). PR #41 added skill scoping to the sync path but the async runner spawns pi through its own code path, so background subagents with explicit skills still got the full <available_skills> catalog injected.
  • defaultSessionDir and sessionDir with ~ paths (e.g. "~/.pi/agent/sessions/subagent/") were not expanded — path.resolve("~/...") treats ~ as a literal directory name. Added tilde expansion matching the existing pattern in skills.ts.
  • Multiple subagent calls within a session would collide when defaultSessionDir was configured, since it wasn't appending a unique runId. Both defaultSessionDir and parent-session-derived paths now get runId appended.

Removed

  • Removed exported resolveSessionRoot() function and SessionRootInput interface. These were introduced by PR #46 but never called in production — the inline resolution logic diverged (always-on sessions, runId appended) making the function's contract misleading. Associated tests and dead code from PR #47 scaffolding also removed from path-handling.test.ts.

Don't miss a new pi-subagents release

NewReleases is sending notifications on new releases.