Commit a47ea13
committed
feat: implement live task progress tracking for CLI
This commit implements the real-time progress tracking system for CLI tasks
as specified in AGENT_10_PROGRESS.md.
## Changes
### cortex-core/src/progress/ (new module)
- Added enum for task lifecycle events
- Implemented and using tokio broadcast
- Added and types for todo list tracking
- Added and types for results
### cortex-tui/src/widgets/task_progress.rs (new widget)
- Implemented for displaying task progress in TUI
- Implemented for aggregating progress state
- Implemented for status bar display
- Implemented that prevents overflow when
multiple tasks run in parallel by:
- Limiting visible tasks
- Using proper vertical spacing
- Coordinating spinner animations
- Showing overflow indicator
## Features
- Spinners with elapsed time display
- Live tool call tracking
- Todo list with status icons (○ pending, ◐ in progress, ● completed)
- Progress bar with percentage
- Parallel task overflow prevention1 parent 8008824 commit a47ea13
File tree
7 files changed
+1461
-0
lines changed- cortex-core
- src
- progress
- cortex-tui/src/widgets
7 files changed
+1461
-0
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
112 | 117 | | |
113 | 118 | | |
114 | 119 | | |
| |||
0 commit comments