* Add collapsible agent log headers
- Make process headers (Setup Script, Coding Agent, Cleanup Script) clickable to hide/show logs
- Add chevron icon with rotation animation to indicate collapsed state
- Filter log entries to hide those from collapsed processes while preserving virtualization
- Maintain scroll position and follow-output behavior when toggling collapse
- Support keyboard navigation (Enter/Space) for accessibility
Amp-Thread: https://ampcode.com/threads/T-f44b0256-de19-45e1-96cb-df755553716d
Co-authored-by: Amp <amp@ampcode.com>
* Cleanup script changes for task attempt 990e23da-53ff-4203-ac58-f5b28653bc1f
* Commit changes from coding agent for task attempt 990e23da-53ff-4203-ac58-f5b28653bc1f
* Cleanup (and adjust lint)
* Enhance agent log collapsibility with auto-hide and dev server filtering
- Filter dev server processes from logs tab to reduce noise
- Auto-collapse completed setup/cleanup scripts on initial load for cleaner UX
- Auto-expand scripts that restart after completion
- Add process constants for type safety and consistency
- Separate auto-collapsed and user-collapsed state management
- Maintain scroll position and user preferences throughout
Amp-Thread: https://ampcode.com/threads/T-f44b0256-de19-45e1-96cb-df755553716d
Co-authored-by: Amp <amp@ampcode.com>
* Cleanup script changes for task attempt 990e23da-53ff-4203-ac58-f5b28653bc1f
* Add coding agent auto-collapse for cleaner log focus
- Auto-collapse all non-latest coding agents on task load for focused viewing
- Detect new coding agent starts (follow-ups) and collapse previous agents
- Latest coding agent always remains expanded for active monitoring
- Robust latest agent detection with timestamp tie-breaking
- One-shot initial collapse prevents duplicate processing
- Smart follow-up detection tracks new running agents
- User manual toggles permanently override auto-collapse behavior
- Comprehensive state reset on attempt changes
Amp-Thread: https://ampcode.com/threads/T-f44b0256-de19-45e1-96cb-df755553716d
Co-authored-by: Amp <amp@ampcode.com>
* Cleanup script changes for task attempt 990e23da-53ff-4203-ac58-f5b28653bc1f
* Fix timing issue with coding agent auto-collapse
- Only mark initial collapse as complete when coding agents are actually processed
- Prevents race condition where flag was set before real data arrived
- Ensures auto-collapse logic runs after data loads, not during empty state
- Fixes issue where all coding agents remained expanded instead of latest-only
Amp-Thread: https://ampcode.com/threads/T-f44b0256-de19-45e1-96cb-df755553716d
Co-authored-by: Amp <amp@ampcode.com>
* Cleanup script changes for task attempt 990e23da-53ff-4203-ac58-f5b28653bc1f
* refactor
* lints
* prettier
---------
Co-authored-by: Amp <amp@ampcode.com>