The CLI currently outputs human-readable compression results. For CI/CD integration and automated pipelines, a --json flag that outputs structured JSON would be useful:
claw-compact input.txt --json
# {"original_tokens": 4200, "compressed_tokens": 1050, "reduction_pct": 75.0, ...}
This would make it easy to track compression ratios over time in CI.
The CLI currently outputs human-readable compression results. For CI/CD integration and automated pipelines, a
--jsonflag that outputs structured JSON would be useful:claw-compact input.txt --json # {"original_tokens": 4200, "compressed_tokens": 1050, "reduction_pct": 75.0, ...}This would make it easy to track compression ratios over time in CI.