Processors

Token-Saver ships 36 specialized processors, each one built around the output shape of a single tool family. A processor knows which lines carry signal — errors, diffs, stack traces, changed resources — and which are ceremony, so it can drop the ceremony without the guesswork a generic truncator would need.

Every page below documents the same three things: what the processor matches, what it keeps, and what it drops. The full list is also in the sidebar.

All processors

  • Act — Compress local GitHub Actions logs from act while retaining workflow output, step results, job status, and recognized errors.
  • Ansible — Handles `ansible-playbook` and `ansible` command output.
  • Build Output — Handles build tool output across all major ecosystems.
  • Bun — Compress Bun package installation output, retaining package changes, summaries, and recognized warnings and errors.
  • Cargo — Dedicated processor for Rust's cargo build system.
  • Cargo Clippy — Dedicated processor for Rust clippy lint output with multi-line block awareness.
  • CDKTF — Compress CDK for Terraform output using the Terraform plan and apply processor after filtering synthesis and compilation progress.
  • Cloud CLI — Handles cloud provider CLI output.
  • Database Query — Handles database query result output.
  • Docker — Handles Docker CLI and Docker Compose output. Supports global options (`--context`, `-H`, `--host`).
  • Environment — Handles environment variable listing commands.
  • File Content — Content-aware compression for file viewing commands. Instead of blind head/tail truncation, detects content type and applies a specialized strategy.
  • File Listing — Handles directory listing commands.
  • Generic (Fallback) — Universal fallback processor. Applies to any command not recognized by specialized processors, and also serves as a second-pass cleaner after specialized processors.
  • Git — Handles all common git subcommands, including those with global options (`-C`, `--no-pager`, `-c`, `--git-dir`, `--work-tree`).
  • GitHub CLI — Handles GitHub CLI (`gh`) output.
  • Go — Dedicated processor for Go toolchain commands.
  • Helm — Handles Helm CLI output for chart management operations.
  • JQ/YQ — Compresses large JSON and YAML outputs from jq and yq.
  • Just — Compact long just recipe listings with recipe counts, an explicit overflow marker, and recognized errors.
  • Kubernetes — Handles kubectl and oc (OpenShift) commands. Supports global options (`-n`, `--namespace`, `--context`, `-A`, `--all-namespaces`, `--kubeconfig`).
  • Lint Output — Handles linter and static analysis output.
  • Maven/Gradle — Dedicated processor for Maven and Gradle build output.
  • Mise — Reduce mise runtime installation progress while preserving installation results and recognized warnings and errors.
  • Network — Handles HTTP client output.
  • Nix — Summarize Nix build and store-transfer output with counts while retaining recognized diagnostics and plan summaries.
  • Package List — Handles package listing commands. Runs at high priority (15) to intercept `pip list`/`npm ls` before the build processor.
  • Pulumi — Compact Pulumi infrastructure updates and previews while retaining resource operations, output summaries, and recognized diagnostics.
  • Python Install — Dedicated processor for Python package installation output.
  • Search — Handles search tool output.
  • SSH — Handles non-interactive SSH and SCP command output.
  • Structured Log — Processor for JSON Lines log output from log tailing tools.
  • Syslog — Handles system log output from `journalctl` and `dmesg`.
  • System Info — Handles disk and file counting commands.
  • Terraform — Handles Terraform and OpenTofu commands.
  • Test Output — Handles test runner output across all major ecosystems.

Compare compression approaches or check the measured benchmarks before choosing thresholds.