mirror of
https://github.com/zeronsh/comet.git
synced 2026-11-16 18:57:19 +00:00
The compact "Called N tools" fold budgeted each spawn card at the tree row height (32px) while subagent_chip paints CHIP_HEIGHT (38px): 6px lost per card, so the last cards were clipped and unreachable (a fold body does not scroll). Budget spawn links at CHIP_HEIGHT. A regression test renders the fold for 1/4/5/12 spawns in compact and regular mode and checks every card fits and the last one opens; the subagent-fold fixture produced docs/screenshots/subagent-fold. Fixes #1024 Co-authored-by: Alexandre Vargas Lopez <alexandre.vargas.lopez@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
History
|
|
|---|---|---|
| .. | ||
| after.png | ||
| before.png | ||
| README.md | ||
Compact-mode subagent fold
before.png / after.png: a live turn that spawned four subagents, compact transcript, work fold open — before and after render_tool_group budgets spawn cards at CHIP_HEIGHT.
Captured from the fixture (production Shell over an isolated in-process engine, synthetic transcript, no agent runs), cropped to the transcript:
cargo run -p zeron-ui --features appshots-fixture,resource-profile --example subagent-fold-fixture -- [hold-secs] [app-id]
It prints READY once the fold is open and keeps the window up for capture (grim -T here).