feat: interactive agent tree overlay (/agents)

Adds an overlay panel (ctx.ui.custom with overlay options) showing the full
agent tree: tree glyphs, colored statuses and icons, live elapsed time, and
keyboard navigation (up/down, enter toggles a detail pane with the agent's
task and result, esc closes). The panel refreshes itself every 1.5s while
open. Also fixes /research-pause and /research-resume to use the same
loop-state guards as research_control (previously they could desync the tree
from the loop). The live widget header now hints at /agents.
This commit is contained in:
Emil
2026-07-31 23:31:18 +03:00
parent 5ea92990eb
commit d9bc32d909
4 changed files with 108 additions and 3 deletions
+4
View File
@@ -39,6 +39,10 @@
once, and optional `subagent_model` routes subagents to a different
model/backend (e.g. a local Ollama model) so they never contend with the
main session.
- New `/agents` command opens an interactive overlay with the full agent tree:
tree glyphs (├─/└─/│), colored statuses and icons, live elapsed time,
keyboard navigation (↑/↓), and a detail pane (Enter) showing each agent's
task and result. The live widget header now hints at `/agents`.
## 0.1.1 — 2026-07-31