v0.11.0
What's Changed
Added
- Dashboard UI module integration —
pi-agent-dashboardusers can now see subagents in the dashboard. Three integration points: a footer-segment decorator showing running/completed agent counts, a/subagentsmanagement-modal command that opens a table view of all subagent history with row actions (view result, abort, steer), and round-trip event handlers wired through theui_managementprotocol. Lifecycle events trigger automatic dashboard invalidation. - Compact view for
get_subagent_result— when tool output is collapsed in the TUI,get_subagent_resultnow shows first 20 + last 20 lines of the result body with a styled divider. The full content is still passed through to the LLM. The divider format also applies to the Agent tool's collapsed view. list_subagentsandclear_subagentstools — agents can inspect retained subagent records with a compact renderer and clear stale completed records.list_subagentsdefaults to active/problem agents plus the two most recent successful completions;all: trueshows the full retained list.clear_subagentsdefaults to successful completions older than 5 minutes.
Changed
- Agent defaults omitted
subagent_typetogeneral-purpose— callers can omit the type for the default agent. - Built-in Explore no longer pins Haiku — inherits the parent/session model unless overridden.
snipMiddleLinesdivider updated — uses a styled format with line counts instead of plain text.
Fixed
- Nested subagents now appear in the live widget as soon as they are created — the widget listens to
subagents:createdlifecycle events. get_subagent_resultpeek bounds embedded multiline output — JSONL transcript entries with newlines are split before line-count limits are applied.get_subagent_resultrenderResult uses typed status — correctly renders queued status with accent spinner icon.
Full Changelog: v0.10.8...v0.11.0