tokencompact 0.1.0

Compact noisy logs into token-efficient diagnostics
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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.

```console
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.