Winnow lossless context compaction
jev_compactDelete irrelevant log, grep, or diff lines based on a goal, keeping needed lines byte-identical—no summarization, zero cost.
Instructions
Delete irrelevant log/grep/diff lines at $0 cost WITHOUT summarizing: kept lines are byte-identical. File paths, commands, error codes, URLs and diff headers are always preserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Alternative: absolute path of a file to compact. | |
| goal | No | What the context is for (relevance anchor). | |
| text | No | Raw multi-line text to compact. | |
| maxLines | No | Safety valve for huge inputs (default 1500). | |
| keepThreshold | No | Noul keep threshold (default 0.5). |