tokencompact 0.1.0

Compact noisy logs into token-efficient diagnostics
Documentation

tokencompact

tokencompact incrementally parses generic compiler, test, lint, and tool logs from stdin or files. It is a presentation adapter over tokencompact-core and tokencompact-builtins; it does not launch commands or retain raw evidence.

some-command 2>&1 | tokencompact --format human
tokencompact build.log --format sarif > diagnostics.sarif
tokencompact test.log --format github --fail-on error

Formats are human, json, jsonl, sarif, and github. Repeated --redact-literal arguments replace matching output text before findings are deduplicated or serialized. Repeated --strip-prefix arguments provide a pure CI workspace-path projection without giving the reducer filesystem access.