Commit b0ff94e
feat: Add loading spinner and smart output visualization for UX
Implemented two major UX enhancements for aofctl:
1. Loading Spinner (#72)
- Shows animated spinner while agent executes
- Updates every 100ms with rotating animation
- Automatically clears when execution completes
- Clean visual feedback in non-interactive mode
2. Smart Output Visualization (#73)
- Auto-detects output format (JSON, tables, lists, docker stats)
- Beautiful Unicode table rendering with comfy-table
- Colorized output with colored crate
- Robust with graceful fallback to plain text
- Never crashes on unexpected formats
Additional improvements:
- Smart docker stats --no-stream injection
- Clean error-level logging by default
- Token efficiency documentation
- Simplified getting-started example
Dependencies added:
- comfy-table: 7.1 (table rendering)
- colored: 2.1 (terminal colors)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 5548dc0 commit b0ff94e
19 files changed
Lines changed: 3980 additions & 25 deletions
File tree
- crates
- aof-core/src/tool
- aof-tools
- src
- benchmark
- bin
- tools
- aofctl
- src
- commands
- output
- docs
- internal
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
0 commit comments