feat: Add pu watch — live terminal dashboard#108
Conversation
Adds a real-time dashboard that polls the daemon and renders a continuously updating view of all agents across all worktrees. Features animated spinners for streaming agents, color-coded status indicators, elapsed time tracking, prompt previews, and summary counts. Uses alternate screen buffer for clean terminal restoration on Ctrl+C. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
pu watchcommand — a live-updating terminal dashboard that shows all agents across all worktrees in real-time--interval), clean Ctrl+C exit using alternate screen bufferWhat it looks like
Implementation
crates/pu-cli/src/commands/watch.rs— polls daemon status, renders ANSI dashboard with owo-colorsctrlccrate for graceful Ctrl+C handling + alternate screen buffer (\x1b[?1049h)Test plan
cargo clippy --package pu-cli— 0 warningscargo test --package pu-cli— 79/79 passpu watchwith active agents shows live dashboardpu watch --interval 2000refreshes at 2s intervals🤖 Generated with Claude Code