v0.2.2 — structured task UI & background parity
@heyhuynhgiabuu/pi-task v0.2.2
Structured scout/task output in the TUI, foreground Ctrl+O, and background completion parity.
Highlights
- Ctrl+O on finished tasks shows Summary / Findings / Evidence / Files / Caveats / Next steps when the subagent returns XML (canonical
<result>or agent<episode>aliases). - Background tasks use the same renderer on
task-completenotifications; start receipt is a plain⎿ Started task…block (no<task>XML dump). - Episode alias parsing:
sources→ evidence,blockers→ caveats,checks→ next_steps,decisions→ findings. - Fix:
task-completeno longer crashes the TUI (Text.trimon rendered array).
Install
pi install npm:@heyhuynhgiabuu/pi-task@0.2.2Pair with updated .pi/agents/*.md <result> envelopes for best results.
Verify
npm run build && npm test