v0.11.0 - Smart Watch Mode 🎯
🎉 What's New - Smart Watch Mode
pr-vibe now includes an intelligent watch mode that monitors your PRs for bot activity, making it perfect for fresh PRs where bots haven't arrived yet!
🚀 Key Features
Smart Watch Command
# Watch for bots with intelligent monitoring
pr-vibe watch 123
# Auto-process when all bots complete
pr-vibe watch 123 --auto-process
# Custom timeout (default 10 minutes)
pr-vibe watch 123 --timeout 30
Adaptive Polling Intervals
- 0-30s: Check every 5 seconds (rapid bot response period)
- 30s-2m: Check every 10 seconds (most bots have responded)
- 2-5m: Check every 20 seconds (waiting for slower bots)
- 5m+: Check every 30 seconds (long-running analysis)
Bot Completion Detection
- Recognizes completion signals: "review complete", "analysis finished", "approved", "LGTM"
- Tracks which bots typically review your PRs
- Shows real-time status of pending bots with expected completion times
- Automatically detects when all bots have finished
📊 Enhanced User Experience
-
Real-time Status Updates
- Shows which specific bots are still pending
- Displays expected completion times based on historical data
- Updates spinner with current polling interval
-
Smart Bot Tracking
- Learns which bots typically review your repository
- Tracks average response times for better predictions
- Differentiates between "should finish soon" vs "taking longer than usual"
-
Flexible Processing Options
- Manual mode: Prompts when bots complete (default)
- Auto mode: Automatically processes with
--auto-process
flag - Exit anytime: Full control over the watch process
🔧 Technical Improvements
- Bot response time tracking with configurable expectations
- Completion signal pattern matching for reliable detection
- Graceful handling of unexpected bot behavior
- Comprehensive test coverage for all watch mode features
📚 Documentation
- Updated README with Smart Watch Mode section
- New demo script:
examples/smart-watch-demo.js
- Enhanced command help with detailed usage examples
🎯 Perfect For
- Fresh PRs where you're waiting for bots to arrive
- CI/CD pipelines that need to wait for bot approvals
- Developers who want to minimize context switching
- Teams with multiple review bots
💡 Usage Example
After creating a PR:
# Create your PR
gh pr create --title "Add new feature" --body "..."
# Immediately start watching for bots
pr-vibe watch 123 --auto-process
# pr-vibe will:
# 1. Monitor for bot arrivals
# 2. Track their completion
# 3. Auto-process when all bots finish
# 4. Let you get back to coding\!
🙏 Acknowledgments
This release addresses valuable feedback from the Woodhouse project community about handling fresh PRs. Thank you for helping make pr-vibe better!
📦 Installation
npm install -g pr-vibe@latest
Or use directly:
npx pr-vibe@latest watch 123
🔗 Links
Full Changelog: v0.10.0...v0.11.0