v4.1.0 - Health Check, Command History & Auto Cleanup
New Tools
list_recent_commands
View command history from SQLite database with filtering options.
{
"limit": "20",
"status": "failed",
"search": "swift"
}Output:
- Exit codes, duration, timestamps
- Working directories
- Filter by success/failed
- Search within commands
self_check
Comprehensive health diagnostics in one command.
Checks:
- ✅ Configuration validity
- ✅ Database integrity & statistics
- ✅ Terminal (Warp) availability
- ✅ Temp directory writability
- ✅ Recent error rate analysis
Auto Cleanup
On MCP server startup, automatically removes orphaned temp files older than 24 hours:
claude_output_*.jsonclaude_stream_*.logclaude_script_*.sh
Prevents /tmp pollution from interrupted sessions.
Full Changelog: v4.0.1...v4.1.0