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