Features
- generic fallback commands — tokf err, tokf test, tokf summary (#298)
- tokf setup — interactive wizard for AI tool detection (#306)
- add cargo/nextest filter (#305)
Features
- tokf discover — find missed token savings in AI sessions (#294)
Bug Fixes
- default discover to showing only unfiltered commands (#297)
- use pattern_matches_prefix for consistent filter matching (#295)
Bug Fixes
- support wildcards in any position in permission patterns (#291)
Bug Fixes
- respect Claude Code deny/ask permission rules on rewrite (#289)
Features
- add Gemini CLI, Cursor, Cline, Windsurf, Copilot, and Aider integrations (#286)
Features
- add description, truncate_lines_at, on_empty, and top-level tail (#278)
- add RTK filter format compatibility (#281)
- compression indicator, tokf raw alias, and TOKF.md context (#282)
Documentation
- add description to all 48 built-in filters (#280)
Features
- add passthrough_args to skip filters on flag conflicts (#275)
Features
- version info in search, backfill fix, per-command deprecation (#272)
Bug Fixes
- use unquoted args for rewrite matching in shell argv mode (#273)
Features
- migrate shims to use shell mode (#268)
Bug Fixes
- isolate cli_cache tests to prevent shim races (#269)
- gh pr checks false positive on failures (#266)
Features
- filter versioning & grouped catalog (#265)
- PATH-based shim injection for sub-process filtering (#262)
Bug Fixes
- remove wildcard from gh view/checks patterns that consumed {args} (#260)
Features
- add `tokf telemetry status` subcommand (#87) (#254)
- add reduction stats to tokf verify (#250)
- condense cargo clippy error output with grouping (#256)
- JSON extraction via JSONPath (RFC 9535) (#255)
- OpenTelemetry OTLP metrics exporter (#85) (#134)
- track raw_bytes, enhance gain display, fix passthrough filters (#257)
Features
- improve search ergonomics (#248)
Features
- add eslint, prettier, and ruff filters (#164)
- add go/test filter (issue [#42](https://github.com/mpecan/tokf/issues/42)) (#246)
- add playwright, vue-tsc, firebase deploy, and vite/build filters (#165)
Features
- add rich color for gain, with NO_COLOR support (#240)
- add filter examples generation and safety checks (#241)
Bug Fixes
- add explicit type annotation for stdlib-publish collect (#236)
Performance Improvements
- optimize test execution and eliminate unsafe env var access (#195) (#237)
Features
- add `tokf completions` subcommand (#233)
- add onboarding flow and usage stats opt-in (#235)
Code Refactoring
- consolidate publish and stdlib-publish paths (#231)
Bug Fixes
- use i64 for ToS version fields (CockroachDB INT8) (#229)
Features
- add `tokf history last` subcommand (#223)
- add Terms of Service and account deletion (#224)
Bug Fixes
- normalize basename on both pattern and input words (#221)
Bug Fixes
- store savings_pct as 0-100, rename INSTALLS to RUNS (#217)
Features
- filter search, download, and install — tokf search/install (#118) (#183)
- centralized HTTP client with retry and error classification (#200)
- remote stats sync and gain display (#115) (#188)
- shell-override wrappers for task runners (make, just) (#209)
- sandbox CLI Lua execution and inline scripts on publish (#194)
- chunk processing engine with tree-structured grouping (#203)
- allow updating test suites for published filters (#119) (#192)
- comprehensive API rate limiting (#196)
- publish stdlib filters to registry (#204) (#205)
- usage stats sync and aggregation endpoints (#114) (#186)
Bug Fixes
- use test: prefix in multipart fields and add just recipes (#193)
- use bare tokf in generated hook scripts (#208)
Code Refactoring
- address Copilot review feedback (#201)
Features
- filter publishing — tokf publish <filter-name> (#117) (#181)
- rewrite git/status and add cargo/fmt stdlib filters (#184)
Features
- sticky PR comment for filter verification + reject empty fixtures (#173)
- machine UUID registration for remote sync (#113) (#179)
- add tokf auth login/logout/status commands (#178)
- add TOKF_HOME env var and improve permission diagnostics (#180)
Bug Fixes
- stop running stdlib verify tests redundantly in cargo test (#175)
Features
- add --preserve-color flag for ANSI color passthrough (#162)
Code Refactoring
- split oversized files, reduce duplication, add cargo-dupes CI (#161)
Features
- add --raw flag to history show (#155)
- add tokf info command and tokf verify --scope (#158)
- add OpenAI Codex CLI integration (#157)
Features
- pipe stripping control, --prefer-less mode, and override tracking (#154)
Features
- exit-code masking and improved push filter (#150)
- add DB connection pooling, schema migrations, and health probes (#140)
Features
- strip leading env var prefix before command matching (#141)
Features
- add opencode plugin installer (#136)
- bootstrap axum server with /health, config, and CI (#109) (#127)
Bug Fixes
- move skill files into crate for cargo package compatibility (#137)
Features
- canonical content hash for filter identity (#126)
- show history hint for filtered output (#129)
Documentation
- document history hint, pipe stripping, and add docs requirement (#130)
Code Refactoring
- restructure repository as a Cargo workspace (#124)
Features
- support filter variants and delegation (#104)
- fair accounting for stripped pipes (#105)
Documentation
- comprehensive pre-release documentation update (#106)
- document eject subcommand (#102)
Features
- add eject subcommand for filter customization (#100)
- improve weak stdlib filters (#98)
Documentation
- improve discoverability and add before/after examples (#96)
⚠ BREAKING CHANGES
- piped commands (e.g. `cargo test | grep FAILED`) are no longer rewritten by the hook or `tokf rewrite`. Previously they were wrapped with `tokf run`, causing downstream tools to receive filtered rather than raw output. The public `rewrite(command, verbose)` function signature now requires a `verbose: bool` argument.
Bug Fixes
- skip auto-rewrite for piped commands (#93)
Features
- add tokf verify — declarative filter test suites (#57) (#61)
- add --require-all flag to fail on uncovered filters (#77)
Bug Fixes
- update rust crate toml to 0.9 (#64)
- update rust crate toml to v1 (#68)
Code Refactoring
- replace Rust filter tests with declarative verify suites (#69)
Bug Fixes
- add --version flag to tokf (#58)
Features
- basename matching + transparent global flag interception (#55)
- add docker build and compose filters (#50)
- add Gradle build/test/dependencies filters (#54)
- output cleanup flags — strip_ansi, trim_lines, strip_empty_lines, collapse_empty_lines (#46) (#47)
- store raw and filtered outputs for debugging (#52)
Bug Fixes
- explicitly add rustup target before cross-compiling x86_64-apple-darwin (#34)
Bug Fixes
- use macos-14 runner for x86_64-apple-darwin cross-compilation (#32)
Features
- Homebrew installation support (#30)
Bug Fixes
- shell-quote hook script path in settings.json (#29)
Documentation
- credit rtk as inspiration in README (#24)
Features
- add tokf skill install subcommand, closes [#19](https://github.com/mpecan/tokf/issues/19)
Documentation
- add Claude Code skill for filter authoring, closes [#19](https://github.com/mpecan/tokf/issues/19)