v0.3.1
WoopCode v0.3.1
Major Improvements
Modern Code Review UI
- Removed heavy borders - Clean, spacious design inspired by OpenCode and Claude Code
- Split layout - Agent conversation stays visible while reviewing diffs
- Change summaries - See file counts and line changes (+128 -14) at a glance
- Collapsed context - Diffs now show "..." for unchanged sections, focusing on what matters
- Better syntax highlighting - Additions/deletions pop, context fades away
- Modern controls -
Enterto apply,Escto reject with directional arrows (← →)
Free Tier Optimization
- Drastically reduced token usage - Removed massive file listings from context (saved ~50K-100K tokens per request)
- Smart duplicate detection - Blocks wasteful repeat operations (no more installing packages 5 times!)
- Aggressive efficiency mode - Max 2 searches, max 3 file reads before implementing
- Iteration warnings - Agent gets nudged to start coding after 6 tool calls
- Better rate limit errors - Clear, actionable messages when hitting API quotas
Tool Improvements
- Terminal tool timeout - Commands auto-kill after 30s (no more infinite hangs)
- Background process blocking - Prevents agents from trying to start servers
- Smarter file searches - Blocks overly broad queries like
*or single characters - Better error messages - Helpful guidance when files don't exist or directories are searched
Bug Fixes
- Fixed tool loop detection - Now allows legitimate re-reads (threshold: 2 calls)
- Fixed missing file crashes - Returns errors instead of throwing exceptions
- Better command normalization -
bun install===npm installfor duplicate detection - Agent thrashing prevention - Stops endless search loops before hitting iteration limits
✨ New Features
/clearcommand - Clear conversation history and UI timeline- Top-level project structure - Agent gets a project "map" without token waste
- Token usage debugging - Set
DEBUG=1to see token consumption estimates
Breaking Changes
None - fully backward compatible
Performance
- Token usage: Reduced by ~85% for typical tasks (300K → 45K tokens)
- Iterations: Most tasks complete in 10-15 iterations vs hitting 25 limit
- Rate limits: Should stay within free tier for normal usage
Upgrade: bun install -g woopcode@latest