squeez 1.25.0 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +274 -1
  2. package/README.md +29 -29
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -9,6 +9,278 @@ conventional commit messages on `main`.
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [1.25.0] - 2026-06-21
13
+
14
+ ### Added
15
+ - feat(sig-mode): capture indented method signatures inside impl/class blocks (#147)
16
+ - feat(safety): workflow abuse prevention — all 8 gap items from transcript audit
17
+ - feat(context): real-context tracking, image/skill dedup, quota nudges, transcript integration
18
+ - feat(economy): enterprise-aware mode — Bedrock/Vertex/OTEL detection + USD savings (#135)
19
+ - feat(benchmark): add information-preservation guard against output-token inflation (#133)
20
+ - feat(cloud): TOON re-encoder for JSON-array outputs (gh, kubectl, aws, gcloud, az) (#134)
21
+ - feat(sig-mode): preserve attribute / decorator above kept signatures (#137)
22
+ - feat(economy): auto-curation nudges + cross-session handler stats (#118)
23
+ - feat(hosts): add Pi adapter (#116)
24
+ - feat(compress): plug Agent/Task output, HTML bash, and PreCompact telemetry gaps
25
+ - feat(bench): add pytest, jest, xcode_build scenarios — 23 → 26 scenarios
26
+ - feat(hooks): PreCompact + PostCompact lifecycle hooks (#102)
27
+ - feat(hooks): SubagentStop hook feeds sub-agent output into SessionContext (#101)
28
+ - feat(monitor): add Monitor tool to PostToolUse compress-output dispatch (#100)
29
+ - PostToolUse updatedToolOutput for Read/Grep/Glob (Claude Code v2.1.119+)
30
+ - session-analysis improvements — az JSON, vite noise, prisma generate, hook health check (#90)
31
+ - feat(fs): auto-compress cat'd markdown via compress_md pipeline (#88)
32
+ - feat(economy): compress Agent/Task prompt at PreToolUse time (#87)
33
+ - feat(handlers): xcodebuild noise filter + log-file tail detection (#84)
34
+ - feat(bench): efficiency-proof benchmark suite — quantitative savings for US-001/003/004 (#74)
35
+ - token-compression power-up — sig-mode, memory-file warn, structured summaries, hypothesis benchmark (#70)
36
+ - feat(setup): adapter-driven setup/uninstall across all hosts (#58)
37
+ - feat(hosts): Codex CLI adapter (hooks + AGENTS.md soft-budget) (#55)
38
+ - feat(hosts): Gemini CLI adapter (BeforeTool/AfterTool hooks) (#52)
39
+ - feat(hosts): full-parity OpenCode adapter + plugin rewrite (#48)
40
+ - wrangler, playwright, next build handlers + bun/drizzle routing (#34)
41
+ - feat(opus47): adapt squeez for Opus 4.7 tokenizer and xhigh effort
42
+ - feat(setup): auto-detect lang from CLAUDE.md/locale + stderr update notification (#29)
43
+ - v0.3.0 — token economy, pt-BR caveman, aggressive defaults, full hook install
44
+ - structured session memory, cross-session search, error snippets, configurable tunables
45
+ - feat(setup): create config.ini on first install
46
+ - feat(i18n): locale-aware compress-md with pt-BR support (#25)
47
+ - fuzzy dedup, adaptive intensity, benign summarize, MCP server, temporal memory, protocol payload
48
+ - Windows setup via cargo/npm + squeez update fix
49
+ - feat(benchmark): add squeez benchmark command with 19-scenario test suite
50
+ - feat(ci): re-add promote-develop workflow with correct registration
51
+ - feat(init): inject persona into ~/.claude/CLAUDE.md on every session start
52
+ - feat(npm+crates): add npm package and publish jobs to release workflow
53
+ - feat(statusline): add statusline.sh to repo; install via install.sh; show all-time stats
54
+ - compress-md, caveman persona, squeez update, track-result hook
55
+ - feat(context): adaptive intensity always picks Ultra
56
+ - feat(context): aggressive token-engine — adaptive intensity, redundancy cache, summarize fallback
57
+ - add Windows support to install.sh and release.yml
58
+ - add home_dir() helper with USERPROFILE fallback for Windows
59
+ - cross-platform wrap — shell_command() helper, cfg(unix) signal gates, libc unix-only
60
+ - add GitHub Copilot CLI support
61
+ - add OpenCode plugin for automatic Bash compression
62
+ - add universal installer support for macOS and Linux
63
+ - expand benchmarks, edge-case tests, and README polish
64
+ - add SessionStart + PostToolUse hooks, update install.sh and README
65
+ - wrap.rs — artifact capture (files/errors/git/tests) + compact warning header
66
+ - squeez init — session start, prior memory banner, session finalization (TDD)
67
+ - squeez track — token accumulation + session event log (TDD)
68
+ - memory.rs — Summary, read_last_n, write_summary, prune_old (TDD)
69
+ - session.rs — CurrentSession, append_event, date math (TDD)
70
+ - json_util helpers + compact_threshold_tokens, memory_retention_days config
71
+ - benchmark system — all fixtures passing
72
+ - build.sh compiles + installs squeez, registers hook
73
+ - PreToolUse hook script
74
+ - fs and runtime handlers — all handler tests passing
75
+ - cloud, database, network handlers (TDD)
76
+ - typescript and build handlers (TDD)
77
+ - package_mgr and test_runner handlers (TDD)
78
+ - git and docker handlers (TDD)
79
+ - wrap subcommand — sh -c, 120s timeout, signal forwarding, bypass check
80
+ - Handler trait with cmd+config, generic handler, command router, filter_stdin
81
+ - truncation strategy (TDD) — all strategy tests passing
82
+ - grouping strategy (TDD)
83
+ - dedup strategy (TDD)
84
+ - smart_filter strategy with node_modules frame removal (TDD)
85
+ - implement config.ini parser (TDD)
86
+
87
+ ### Changed
88
+ - chore(release): bump version to 1.25.0 [squeez-release-bot]
89
+ - docs: update changelog and benchmarks for v1.24.0
90
+ - docs: update changelog and benchmarks for v1.23.1
91
+ - chore(release): bump version to 1.24.0 [squeez-release-bot]
92
+ - chore(release): bump version to 1.23.1 [squeez-release-bot]
93
+ - docs: update changelog and benchmarks for v1.23.0
94
+ - chore(release): bump version to 1.23.0 [squeez-release-bot]
95
+ - docs: update changelog and benchmarks for v1.22.1
96
+ - docs: update changelog and benchmarks for v1.22.1
97
+ - docs: update changelog and benchmarks for v1.22.1
98
+ - chore(release): bump version to 1.22.1 [squeez-release-bot]
99
+ - docs: update changelog and benchmarks for v1.22.0
100
+ - chore(release): bump version to 1.22.0 [squeez-release-bot]
101
+ - docs: update changelog and benchmarks for v1.21.1
102
+ - chore(release): bump version to 1.21.1 [squeez-release-bot]
103
+ - refactor(skills): session-long re-injection dedup; drop lexical skill compression (#142)
104
+ - docs: update changelog and benchmarks for v1.21.0
105
+ - chore(release): bump version to 1.21.0 [squeez-release-bot]
106
+ - docs: update changelog and benchmarks for v1.20.0
107
+ - chore(release): bump version to 1.20.0 [squeez-release-bot]
108
+ - docs(readme): add "How squeez compares" table vs rtk / KRLabs squeez / sqz / LLMLingua-2 / TOON (#138)
109
+ - test(cache): lock in byte-stability of MCP and protocol payloads (#136)
110
+ - docs: update changelog and benchmarks for v1.19.4
111
+ - chore(release): bump version to 1.19.4 [squeez-release-bot]
112
+ - docs: update changelog and benchmarks for v1.19.3
113
+ - chore(release): bump version to 1.19.3 [squeez-release-bot]
114
+ - docs: update changelog and benchmarks for v1.19.2
115
+ - chore(release): bump version to 1.19.2 [squeez-release-bot]
116
+ - docs: update changelog and benchmarks for v1.19.1
117
+ - chore(release): bump version to 1.19.1 [squeez-release-bot]
118
+ - docs: update changelog and benchmarks for v1.19.0
119
+ - chore(release): bump version to 1.19.0 [squeez-release-bot]
120
+ - docs: update changelog and benchmarks for v1.18.1
121
+ - chore(release): bump version to 1.18.1 [squeez-release-bot]
122
+ - docs: update changelog and benchmarks for v1.18.0
123
+ - chore(release): bump version to 1.18.0 [squeez-release-bot]
124
+ - docs: document DCO Signed-off-by requirement in CLAUDE.md (#111)
125
+ - docs: update changelog and benchmarks for v1.17.0
126
+ - chore(release): bump version to 1.17.0 [squeez-release-bot]
127
+ - docs: update changelog and benchmarks for v1.16.0
128
+ - chore(release): bump version to 1.16.0 [squeez-release-bot]
129
+ - docs: update changelog and benchmarks for v1.15.1
130
+ - chore(release): bump version to 1.15.1 [squeez-release-bot]
131
+ - docs: update README and CLAUDE.md for new hooks and PostToolUse rewrite (#108)
132
+ - refactor(bench): unify benches/ into bench/ — single benchmark directory (#106)
133
+ - test: add missing coverage for compress-output, filter dispatch, SubagentStop, hook registration (#103)
134
+ - docs: update changelog and benchmarks for v1.15.0
135
+ - chore(release): bump version to 1.15.0 [squeez-release-bot]
136
+ - docs: update changelog and benchmarks for v1.13.0
137
+ - chore(release): bump version to 1.14.0 [squeez-release-bot]
138
+ - chore(release): bump version to 1.13.0 [squeez-release-bot]
139
+ - docs: update changelog and benchmarks for v1.12.0
140
+ - chore(release): bump version to 1.12.0 [squeez-release-bot]
141
+ - docs(codex): update adapter comments and README for 0.123.0 hook surface
142
+ - docs: update changelog and benchmarks for v1.11.2
143
+ - chore(release): bump version to 1.11.2 [squeez-release-bot]
144
+ - docs: update changelog and benchmarks for v1.11.1
145
+ - chore(release): bump version to 1.11.1 [squeez-release-bot]
146
+ - docs: update changelog and benchmarks for v1.11.0
147
+ - chore(release): bump version to 1.11.0 [squeez-release-bot]
148
+ - docs: update changelog and benchmarks for v1.10.0
149
+ - docs: update changelog and benchmarks for v1.9.0
150
+ - chore(release): bump version to 1.10.0 [squeez-release-bot]
151
+ - docs(readme): document squeez's compression scope and architectural limits (#85)
152
+ - chore(release): bump version to 1.9.0 [squeez-release-bot]
153
+ - chore(release): bump version to 1.8.0 [squeez-release-bot]
154
+ - docs: update changelog and benchmarks for v1.7.7
155
+ - chore(release): bump version to 1.7.7 [squeez-release-bot]
156
+ - docs: update changelog and benchmarks for v1.7.6
157
+ - chore(release): bump version to 1.7.6 [squeez-release-bot]
158
+ - docs: update changelog and benchmarks for v1.7.5
159
+ - chore(release): bump version to 1.7.5 [squeez-release-bot]
160
+ - docs: update changelog and benchmarks for v1.7.4
161
+ - chore(release): bump version to 1.7.4 [squeez-release-bot]
162
+ - perf: O(log n) refactor — tail read, offset index, single-pass parser
163
+ - docs: update changelog and benchmarks for v1.7.3
164
+ - chore(release): bump version to 1.7.3 [squeez-release-bot]
165
+ - chore(release): bump version to 1.7.2 [squeez-release-bot]
166
+ - restore: revert accidental deletion of auto-release.yml workflow
167
+ - docs: update changelog and benchmarks for v1.7.1
168
+ - chore(release): bump version to 1.7.1 [squeez-release-bot]
169
+ - chore: relicense to Apache 2.0 + add DCO policy + banner (#76)
170
+ - docs: update changelog and benchmarks for v1.7.0
171
+ - chore(release): bump version to 1.7.0 [squeez-release-bot]
172
+ - docs: update changelog and benchmarks for v1.6.1
173
+ - chore(release): bump version to 1.6.1 [squeez-release-bot]
174
+ - docs: update changelog and benchmarks for v1.6.0
175
+ - chore(release): bump version to 1.6.0 [squeez-release-bot]
176
+ - docs: update changelog and benchmarks for v1.5.2
177
+ - chore(release): bump version to 1.5.2 [squeez-release-bot]
178
+ - chore(release): bump version to 1.5.1 [squeez-release-bot]
179
+ - docs: five-host matrix + squeez setup/uninstall flow (#63)
180
+ - refactor(install): delegate host registration to 'squeez setup' (#60)
181
+ - chore(release): bump version to 1.5.0 [squeez-release-bot]
182
+ - chore(release): bump version to 1.4.0 [squeez-release-bot]
183
+ - chore(release): bump version to 1.3.0 [squeez-release-bot]
184
+ - chore(release): bump version to 1.2.0 [squeez-release-bot]
185
+ - chore(release): bump version to 1.1.0 [squeez-release-bot]
186
+ - chore(release): bump version to 1.0.0 [skip release]
187
+ - refactor(hosts): extract HostAdapter trait + migrate Claude Code and Copilot (#42)
188
+ - ci: conventional-commit-driven auto-release (#40)
189
+ - chore(gov): issue-form templates + refined PR template (#39)
190
+ - docs: update changelog and benchmarks for v0.4.1 [skip release] (#33)
191
+ - chore(release): bump version to 0.4.1
192
+ - chore(release): bump version to 0.4.0
193
+ - docs: update changelog and benchmarks for v0.3.2 [skip release] (#30)
194
+ - chore: bump version to 0.3.2
195
+ - docs: add shields.io badge for changelog link
196
+ - chore: bump version to 0.3.1
197
+ - chore: bump version to 0.2.3
198
+ - docs: update README with 11 MCP tools, structured memory, and advanced tunables
199
+ - chore: bump version to 0.2.2
200
+ - docs: rewrite README with full install instructions (curl/npm/cargo) and all commands
201
+ - chore: refresh bench/report.md from latest run [skip release]
202
+ - chore(ci): remove promote-develop workflow (re-adding to fix broken registration)
203
+ - chore: bump version to 0.2.1 + auto-release on merge to main [skip release]
204
+ - chore: bump version to 0.2.0; add Cargo.toml metadata
205
+ - ci: PR template, linked-issue enforcement, no-claude-trailer check
206
+ - docs: update README with PR1+PR2 features, fresh benchmarks, changelog
207
+ - ci: auto-delete branches after PR merge
208
+ - docs: update Windows installation instructions and prerequisites in README
209
+ - docs: add Windows support and Rust install instructions to README
210
+ - refactor: use session::home_dir() in config and init (Windows compat)
211
+ - ci: trigger promote workflow (test)
212
+ - ci(workflow): avoid failing promote job when PR creation is not permitted; add PR_CREATION_TOKEN guidance
213
+ - docs(readme): add changelog, contribution workflow, and benchmark notes
214
+ - ci(workflow): create/update PR from develop to main on push
215
+ - chore: add .worktrees/ to gitignore
216
+ - chore: add docs/ to gitignore (local design specs)
217
+ - docs: update README for GitHub Copilot CLI support
218
+ - security: fix remaining LOW findings in wrap.rs
219
+ - security: fix 2 follow-up findings from second audit
220
+ - security: fix all 8 findings from security audit
221
+ - ci: build and install binary before running benchmarks
222
+ - chore: add GitHub sponsor button
223
+ - chore: ignore .omc/ directory, remove from tracking
224
+ - chore: update benchmark report (7/7 passing)
225
+ - docs: update README — real benchmarks, Phase 2 config, how it works
226
+ - style: cargo fmt on session.rs and test_session.rs
227
+ - chore: open source files — README, LICENSE, CI/release workflows, install.sh
228
+ - chore: scaffold squeez Rust project
229
+
230
+ ### Fixed
231
+ - fix(fs): stop collapsing ls/find listings to "N modified" count (#151)
232
+ - fix(hooks): strip --no-squeez marker in codex and gemini pretooluse hooks (#146)
233
+ - fix(release): make publish-npm non-blocking; add npm whoami diagnostic
234
+ - fix(codex): emit current PreToolUse/SessionStart hook shapes; silence PostToolUse (#143)
235
+ - fix(claude-code): stop writing statusline.sh + remove orphans on install (#126)
236
+ - fix(claude-code): stop registering squeez statusLine + delegate install to adapter (#124)
237
+ - fix(compress-output): close PostToolUse compression gaps for Read/Edit/Write (#121)
238
+ - fix(claude-code): write hooks under settings.hooks.<event>, not at top level (#119)
239
+ - fix(opencode): shell-quote bash command before prepending `squeez wrap` (#115)
240
+ - fix(statusline): show compression % and fix Python heredoc expansion bug
241
+ - plan-mode passthrough + release description body (#95)
242
+ - fix(session-start): health check missed top-level event keys (#92)
243
+ - fix(hosts): expand PreToolUse matcher to cover Read, Grep, Glob, Agent, Task (#86)
244
+ - fix(json_util,statusline): whitespace-tolerant JSON parser + UTF-8 statusline on Windows (#81)
245
+ - fix(hosts): preserve user settings.json when existing JSON fails to parse (#83)
246
+ - prevent OOM from unbounded file reads + data integrity fixes
247
+ - fix(ci): use native ubuntu-24.04-arm runner for aarch64 build
248
+ - eliminate memory leaks causing 16 GB RAM on MCP server startup (#79)
249
+ - fix(hooks): add hookEventName to PreToolUse hookSpecificOutput (#78)
250
+ - fix(opencode): align plugin with PluginModule SDK shape (default export + server map) (#72)
251
+ - fix(ci): push release docs directly to main (loop-safe) (#68)
252
+ - back Copilot BUDGET_HARD with Read/Grep hook + update upstream refs (#65)
253
+ - fix(ci): startsWith guard for auto-release recursion (#46)
254
+ - fix(ci): tighten auto-release bump detection + fix tag push (#44)
255
+ - fix(ci): add --allow-dirty to cargo publish for Cargo.lock changes
256
+ - fix(ci): skip publish gracefully when version already exists on crates.io/npm
257
+ - fix(ci): run update-docs even if publish jobs fail (already published)
258
+ - fix(ci): continue-on-error for publish jobs so update-docs always runs
259
+ - fix(ci): add pull-requests write permission to update-docs job
260
+ - fix(update): cargo-managed self-update + Windows deferred install + session update check (#27)
261
+ - fix(ci): update-docs creates PR instead of pushing directly to protected main
262
+ - fix(npm): copy README.md into npm package before publish; add readme field
263
+ - fix(ci): add toolchain: stable to all dtolnay/rust-toolchain steps
264
+ - fix(ci): handle no previous tags in generate-changelog.sh (pipefail + grep -v)
265
+ - fix(ci): dispatch release.yml from auto-release to bypass GITHUB_TOKEN chain limit [skip release]
266
+ - fix(ci): fix flaky test tmp dir collision + simplify auto-release
267
+ - fix(bench): exclude synthetic fixtures from filter-mode bench/run.sh
268
+ - fix(ci): remove secrets in step if-conditions — check token inside script instead
269
+ - fix(ci): rename promote-develop → promote-to-main to fix broken workflow registration
270
+ - fix(ci): bump github-script to v7 in promote-develop to force workflow re-registration
271
+ - fix(compress_md): use byte slice comparison to avoid UTF-8 char boundary panic
272
+ - fix(statusline): remove Ctx% — show only squeez compression metrics
273
+ - fix(statusline): green ✓, proper capitalization, real-time context %, all metrics
274
+ - resolve gap analysis — new handlers, wider redundancy window, token budget
275
+ - install.sh — clarify PostToolUse no-matcher intent, guard version echo
276
+ - wrap.rs — safe git hex check, O(n) dedup, full cmd in event log
277
+ - use ends_with for files_committed check in init finalize
278
+ - json_util — guard extract_u64 empty digit, add json_util test coverage
279
+ - add pre-flight binary check to bench/run.sh
280
+ - atomic settings.json write + uninstall safety guards
281
+ - harden pretooluse hook (shlex.quote, error handling, single path source)
282
+ - wrap — process_group(0) for correct signal forwarding, tighten is_streaming
283
+
12
284
  ## [1.24.0] - 2026-06-18
13
285
 
14
286
  ### Added
@@ -5649,7 +5921,7 @@ conventional commit messages on `main`.
5649
5921
  ## [1.5.1] and earlier
5650
5922
  See the [git tag history](https://github.com/claudioemmanuel/squeez/tags) for pre-1.5.2 details. release-please takes over changelog generation from 1.7.1 onwards.
5651
5923
 
5652
- [Unreleased]: https://github.com/claudioemmanuel/squeez/compare/v1.24.0...HEAD
5924
+ [Unreleased]: https://github.com/claudioemmanuel/squeez/compare/v1.25.0...HEAD
5653
5925
  [1.7.0]: https://github.com/claudioemmanuel/squeez/compare/v1.6.1...v1.7.0
5654
5926
  [1.6.1]: https://github.com/claudioemmanuel/squeez/compare/v1.6.0...v1.6.1
5655
5927
  [1.6.0]: https://github.com/claudioemmanuel/squeez/compare/v1.5.2...v1.6.0
@@ -5685,3 +5957,4 @@ See the [git tag history](https://github.com/claudioemmanuel/squeez/tags) for pr
5685
5957
  [1.23.0]: https://github.com/claudioemmanuel/squeez/releases/tag/v1.23.0
5686
5958
  [1.23.1]: https://github.com/claudioemmanuel/squeez/compare/v1.24.0...v1.23.1
5687
5959
  [1.24.0]: https://github.com/claudioemmanuel/squeez/releases/tag/v1.24.0
5960
+ [1.25.0]: https://github.com/claudioemmanuel/squeez/releases/tag/v1.25.0
package/README.md CHANGED
@@ -180,54 +180,54 @@ Measured on macOS (Apple Silicon). Token count = `chars / 4` (matches Claude's ~
180
180
 
181
181
  | Scenario | Before | After | Reduction | Latency |
182
182
  |----------|--------|-------|-----------|---------|
183
- | `summarize_huge` | 82,257 tk | 420 tk | **-99%** | 57.0 ms |
184
- | `repetitive_output` | 4,692 tk | 37 tk | **-99%** | 201 µs |
185
- | `xcode_build` | 1,881 tk | 17 tk | **-99%** | 56 µs |
186
- | `high_context_adaptive` | 4,418 tk | 52 tk | **-99%** | 807 µs |
187
- | `agent_directory_output` | 3,348 tk | 167 tk | **-95%** | 330 µs |
188
- | `ps_aux` | 40,373 tk | 2,338 tk | **-94%** | 2.7 ms |
183
+ | `summarize_huge` | 82,257 tk | 420 tk | **-99%** | 56.8 ms |
184
+ | `repetitive_output` | 4,692 tk | 37 tk | **-99%** | 203 µs |
185
+ | `xcode_build` | 1,881 tk | 17 tk | **-99%** | 57 µs |
186
+ | `high_context_adaptive` | 4,418 tk | 52 tk | **-99%** | 811 µs |
187
+ | `agent_directory_output` | 3,348 tk | 167 tk | **-95%** | 325 µs |
188
+ | `ps_aux` | 40,373 tk | 2,338 tk | **-94%** | 889 µs |
189
189
  | `git_log_200` | 2,692 tk | 275 tk | **-90%** | 206 µs |
190
- | `tsc_errors` | 731 tk | 101 tk | **-86%** | 21 µs |
191
- | `cargo_build_noisy` | 2,106 tk | 439 tk | **-79%** | 262 µs |
192
- | `docker_logs` | 665 tk | 186 tk | **-72%** | 47 µs |
193
- | `curl_html_response` | 2,181 tk | 626 tk | **-71%** | 47 µs |
194
- | `find_deep` | 424 tk | 134 tk | **-68%** | 83 µs |
195
- | `git_status` | 50 tk | 16 tk | **-68%** | 14 µs |
196
- | `pytest_failures` | 3,402 tk | 1,175 tk | **-65%** | 293 µs |
197
- | `verbose_app_log` | 4,957 tk | 1,978 tk | **-60%** | 288 µs |
198
- | `npm_install` | 524 tk | 218 tk | **-58%** | 48 µs |
199
- | `crosscall_redundancy_3x` | 486 tk | 237 tk | **-51%** | 51.7 ms |
200
- | `ls_la` | 1,782 tk | 872 tk | **-51%** | 195 µs |
201
- | `env_dump` | 441 tk | 287 tk | **-35%** | 26 µs |
202
- | `git_copilot` | 640 tk | 421 tk | **-34%** | 102 µs |
203
- | `agent_heavy` | 2,306 tk | 1,551 tk | **-33%** | 328 µs |
204
- | `md_prose` | 187 tk | 138 tk | **-26%** | 862 µs |
190
+ | `tsc_errors` | 731 tk | 101 tk | **-86%** | 24 µs |
191
+ | `cargo_build_noisy` | 2,106 tk | 439 tk | **-79%** | 250 µs |
192
+ | `docker_logs` | 665 tk | 186 tk | **-72%** | 49 µs |
193
+ | `curl_html_response` | 2,181 tk | 626 tk | **-71%** | 46 µs |
194
+ | `git_status` | 50 tk | 16 tk | **-68%** | 15 µs |
195
+ | `pytest_failures` | 3,402 tk | 1,175 tk | **-65%** | 303 µs |
196
+ | `verbose_app_log` | 4,957 tk | 1,978 tk | **-60%** | 298 µs |
197
+ | `npm_install` | 524 tk | 218 tk | **-58%** | 47 µs |
198
+ | `crosscall_redundancy_3x` | 486 tk | 237 tk | **-51%** | 51.9 ms |
199
+ | `ls_la` | 1,782 tk | 872 tk | **-51%** | 43 µs |
200
+ | `env_dump` | 441 tk | 287 tk | **-35%** | 24 µs |
201
+ | `git_copilot` | 640 tk | 421 tk | **-34%** | 100 µs |
202
+ | `find_deep` | 424 tk | 279 tk | **-34%** | 23 µs |
203
+ | `agent_heavy` | 2,306 tk | 1,551 tk | **-33%** | 334 µs |
204
+ | `md_prose` | 187 tk | 138 tk | **-26%** | 831 µs |
205
205
  | `md_claude_md` | 316 tk | 247 tk | **-22%** | 1.1 ms |
206
206
  | `claude_md_overhead` | 717 tk | 635 tk | **-11%** | 22 µs |
207
- | `git_diff` | 502 tk | 497 tk | **-1%** | 41 µs |
207
+ | `git_diff` | 502 tk | 497 tk | **-1%** | 47 µs |
208
208
  | `jest_failures` | 451 tk | 448 tk | **-1%** | 49 µs |
209
- | `state_first_simulation` | 182 tk | 181 tk | **-1%** | 5 µs |
209
+ | `state_first_simulation` | 182 tk | 181 tk | **-1%** | 6 µs |
210
210
  | `kubectl_pods` | 1,513 tk | 1,513 tk | **-0%** | 32 µs |
211
211
 
212
212
  ### Aggregate
213
213
 
214
214
  | Metric | Value |
215
215
  |--------|-------|
216
- | **Total token reduction** | **90.7%** — 164,224 tk → 15,206 tk |
217
- | Bash output | **-84.0%** |
216
+ | **Total token reduction** | **90.7%** — 164,224 tk → 15,351 tk |
217
+ | Bash output | **-83.8%** |
218
218
  | Markdown / context files | **-23.5%** |
219
219
  | Wrap / cross-call engine | **-99.2%** |
220
220
  | Quality (signal terms preserved) | **28 / 28 pass** |
221
- | Latency p50 (filter mode) | **4.2 ms** |
221
+ | Latency p50 (filter mode) | **4.1 ms** |
222
222
  | Latency p95 (incl. wrap/summarize) | **52 ms** |
223
223
 
224
224
  ### Estimated cost savings — Claude Sonnet 4.6 · $3.00 / MTok input
225
225
 
226
226
  | Usage | Baseline / month | Saved / month |
227
227
  |-------|-----------------|---------------|
228
- | 100 calls / day | $18.00 | **$16.33 (91%)** |
229
- | 1,000 calls / day | $180.00 | **$163.33 (91%)** |
230
- | 10,000 calls / day | $1800.00 | **$1633.32 (91%)** |
228
+ | 100 calls / day | $18.00 | **$16.32 (91%)** |
229
+ | 1,000 calls / day | $180.00 | **$163.17 (91%)** |
230
+ | 10,000 calls / day | $1800.00 | **$1631.70 (91%)** |
231
231
  <!-- BENCHMARK:END -->
232
232
 
233
233
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squeez",
3
- "version": "1.25.0",
3
+ "version": "1.26.0",
4
4
  "description": "Hook-based token compressor for Claude Code, Copilot CLI, and OpenCode. Compresses bash output up to 95%, collapses redundant calls, injects caveman persona.",
5
5
  "keywords": [
6
6
  "claude-code",