Skip to content

v0.11.1

Choose a tag to compare

@github-actions github-actions released this 28 Jun 06:01

What Changed

Fixed

  • Depth 2+ subagents now appear in the TUI widget — Each child session's DefaultResourceLoader previously created its own isolated event bus, so lifecycle events (subagents:created, subagents:started, subagents:completed, subagents:failed) from depth 2+ agents never reached the parent's widget listener. A forwarding event bus now wraps the parent bus: the child gets its own isolated local bus (so it does not see parent/sibling events), but lifecycle events are forwarded to the parent so the widget renders the full recursive agent tree with ├─/└─ connectors at any depth. (b2af0dd, 0478029)

  • Agent tool description shows next spawn depth instead of agent's own depth — The {{currentDepth}} placeholder and recursive guideline in the Agent tool description now show extensionDepth + 1 (the depth the next spawned agent would be at) instead of extensionDepth (the agent's own depth), eliminating the off-by-one confusion where a depth-1 agent displayed "1/4" but spawned agents at depth 2. (0b2c69d)

  • Event bus propagation covers all spawn paths — RPC-spawned agents (cross-extension-rpc.ts), scheduled agents (schedule.ts), and spawnAndWait foreground agents now correctly receive the parent's event bus and recursive depth metadata, so lifecycle events from agents spawned via any path are visible in the parent widget. (0478029)

  • Dashboard UI action handlers — Steer, abort, and view-result row actions in the subagents management modal now route to the correct handler functions instead of silently no-opping. (fb07d08)

  • Dashboard UI duplicate module push guard — The ui_management probe no longer pushes duplicate module entries when called multiple times in the same session. (241b1d5)

Added

  • Dashboard UI model column — The subagents management modal now shows the model used by each agent (e.g. "opus", "sonnet") in a dedicated column. (3ffead0)

Install

npm install @clanker-code/pi-subagents@0.11.1

Full Changelog: v0.11.0...v0.11.1