Spaces:
Build error
Build error
Commit History
-
Add Click-based CLI with memory management commands
Refactor CLI from argparse to Click for better extensibility: - New headroom/cli/ package with modular command structure - Memory commands: list, show, stats, edit, delete, prune, purge, export, import - Rich terminal output with tables, colors, and formatted stats - Duration parsing for --older-than and --since flags (7d, 2w, 1m) - Comprehensive tests using Click's CliRunner (55 tests, no mocks) CLI structure: headroom proxy - Start optimization proxy (migrated from argparse) headroom memory ... - Memory management (new) headroom evals ... - Evaluation commands (migrated, now under evals group) Backwards compatibility maintained via headroom/cli.py shim.4353958