squeez 1.24.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 +546 -1
  2. package/README.md +31 -31
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -9,6 +9,548 @@ 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
+
284
+ ## [1.24.0] - 2026-06-18
285
+
286
+ ### Added
287
+ - feat(sig-mode): capture indented method signatures inside impl/class blocks (#147)
288
+ - feat(safety): workflow abuse prevention — all 8 gap items from transcript audit
289
+ - feat(context): real-context tracking, image/skill dedup, quota nudges, transcript integration
290
+ - feat(economy): enterprise-aware mode — Bedrock/Vertex/OTEL detection + USD savings (#135)
291
+ - feat(benchmark): add information-preservation guard against output-token inflation (#133)
292
+ - feat(cloud): TOON re-encoder for JSON-array outputs (gh, kubectl, aws, gcloud, az) (#134)
293
+ - feat(sig-mode): preserve attribute / decorator above kept signatures (#137)
294
+ - feat(economy): auto-curation nudges + cross-session handler stats (#118)
295
+ - feat(hosts): add Pi adapter (#116)
296
+ - feat(compress): plug Agent/Task output, HTML bash, and PreCompact telemetry gaps
297
+ - feat(bench): add pytest, jest, xcode_build scenarios — 23 → 26 scenarios
298
+ - feat(hooks): PreCompact + PostCompact lifecycle hooks (#102)
299
+ - feat(hooks): SubagentStop hook feeds sub-agent output into SessionContext (#101)
300
+ - feat(monitor): add Monitor tool to PostToolUse compress-output dispatch (#100)
301
+ - PostToolUse updatedToolOutput for Read/Grep/Glob (Claude Code v2.1.119+)
302
+ - session-analysis improvements — az JSON, vite noise, prisma generate, hook health check (#90)
303
+ - feat(fs): auto-compress cat'd markdown via compress_md pipeline (#88)
304
+ - feat(economy): compress Agent/Task prompt at PreToolUse time (#87)
305
+ - feat(handlers): xcodebuild noise filter + log-file tail detection (#84)
306
+ - feat(bench): efficiency-proof benchmark suite — quantitative savings for US-001/003/004 (#74)
307
+ - token-compression power-up — sig-mode, memory-file warn, structured summaries, hypothesis benchmark (#70)
308
+ - feat(setup): adapter-driven setup/uninstall across all hosts (#58)
309
+ - feat(hosts): Codex CLI adapter (hooks + AGENTS.md soft-budget) (#55)
310
+ - feat(hosts): Gemini CLI adapter (BeforeTool/AfterTool hooks) (#52)
311
+ - feat(hosts): full-parity OpenCode adapter + plugin rewrite (#48)
312
+ - wrangler, playwright, next build handlers + bun/drizzle routing (#34)
313
+ - feat(opus47): adapt squeez for Opus 4.7 tokenizer and xhigh effort
314
+ - feat(setup): auto-detect lang from CLAUDE.md/locale + stderr update notification (#29)
315
+ - v0.3.0 — token economy, pt-BR caveman, aggressive defaults, full hook install
316
+ - structured session memory, cross-session search, error snippets, configurable tunables
317
+ - feat(setup): create config.ini on first install
318
+ - feat(i18n): locale-aware compress-md with pt-BR support (#25)
319
+ - fuzzy dedup, adaptive intensity, benign summarize, MCP server, temporal memory, protocol payload
320
+ - Windows setup via cargo/npm + squeez update fix
321
+ - feat(benchmark): add squeez benchmark command with 19-scenario test suite
322
+ - feat(ci): re-add promote-develop workflow with correct registration
323
+ - feat(init): inject persona into ~/.claude/CLAUDE.md on every session start
324
+ - feat(npm+crates): add npm package and publish jobs to release workflow
325
+ - feat(statusline): add statusline.sh to repo; install via install.sh; show all-time stats
326
+ - compress-md, caveman persona, squeez update, track-result hook
327
+ - feat(context): adaptive intensity always picks Ultra
328
+ - feat(context): aggressive token-engine — adaptive intensity, redundancy cache, summarize fallback
329
+ - add Windows support to install.sh and release.yml
330
+ - add home_dir() helper with USERPROFILE fallback for Windows
331
+ - cross-platform wrap — shell_command() helper, cfg(unix) signal gates, libc unix-only
332
+ - add GitHub Copilot CLI support
333
+ - add OpenCode plugin for automatic Bash compression
334
+ - add universal installer support for macOS and Linux
335
+ - expand benchmarks, edge-case tests, and README polish
336
+ - add SessionStart + PostToolUse hooks, update install.sh and README
337
+ - wrap.rs — artifact capture (files/errors/git/tests) + compact warning header
338
+ - squeez init — session start, prior memory banner, session finalization (TDD)
339
+ - squeez track — token accumulation + session event log (TDD)
340
+ - memory.rs — Summary, read_last_n, write_summary, prune_old (TDD)
341
+ - session.rs — CurrentSession, append_event, date math (TDD)
342
+ - json_util helpers + compact_threshold_tokens, memory_retention_days config
343
+ - benchmark system — all fixtures passing
344
+ - build.sh compiles + installs squeez, registers hook
345
+ - PreToolUse hook script
346
+ - fs and runtime handlers — all handler tests passing
347
+ - cloud, database, network handlers (TDD)
348
+ - typescript and build handlers (TDD)
349
+ - package_mgr and test_runner handlers (TDD)
350
+ - git and docker handlers (TDD)
351
+ - wrap subcommand — sh -c, 120s timeout, signal forwarding, bypass check
352
+ - Handler trait with cmd+config, generic handler, command router, filter_stdin
353
+ - truncation strategy (TDD) — all strategy tests passing
354
+ - grouping strategy (TDD)
355
+ - dedup strategy (TDD)
356
+ - smart_filter strategy with node_modules frame removal (TDD)
357
+ - implement config.ini parser (TDD)
358
+
359
+ ### Changed
360
+ - chore(release): bump version to 1.24.0 [squeez-release-bot]
361
+ - chore(release): bump version to 1.23.1 [squeez-release-bot]
362
+ - docs: update changelog and benchmarks for v1.23.0
363
+ - chore(release): bump version to 1.23.0 [squeez-release-bot]
364
+ - docs: update changelog and benchmarks for v1.22.1
365
+ - docs: update changelog and benchmarks for v1.22.1
366
+ - docs: update changelog and benchmarks for v1.22.1
367
+ - chore(release): bump version to 1.22.1 [squeez-release-bot]
368
+ - docs: update changelog and benchmarks for v1.22.0
369
+ - chore(release): bump version to 1.22.0 [squeez-release-bot]
370
+ - docs: update changelog and benchmarks for v1.21.1
371
+ - chore(release): bump version to 1.21.1 [squeez-release-bot]
372
+ - refactor(skills): session-long re-injection dedup; drop lexical skill compression (#142)
373
+ - docs: update changelog and benchmarks for v1.21.0
374
+ - chore(release): bump version to 1.21.0 [squeez-release-bot]
375
+ - docs: update changelog and benchmarks for v1.20.0
376
+ - chore(release): bump version to 1.20.0 [squeez-release-bot]
377
+ - docs(readme): add "How squeez compares" table vs rtk / KRLabs squeez / sqz / LLMLingua-2 / TOON (#138)
378
+ - test(cache): lock in byte-stability of MCP and protocol payloads (#136)
379
+ - docs: update changelog and benchmarks for v1.19.4
380
+ - chore(release): bump version to 1.19.4 [squeez-release-bot]
381
+ - docs: update changelog and benchmarks for v1.19.3
382
+ - chore(release): bump version to 1.19.3 [squeez-release-bot]
383
+ - docs: update changelog and benchmarks for v1.19.2
384
+ - chore(release): bump version to 1.19.2 [squeez-release-bot]
385
+ - docs: update changelog and benchmarks for v1.19.1
386
+ - chore(release): bump version to 1.19.1 [squeez-release-bot]
387
+ - docs: update changelog and benchmarks for v1.19.0
388
+ - chore(release): bump version to 1.19.0 [squeez-release-bot]
389
+ - docs: update changelog and benchmarks for v1.18.1
390
+ - chore(release): bump version to 1.18.1 [squeez-release-bot]
391
+ - docs: update changelog and benchmarks for v1.18.0
392
+ - chore(release): bump version to 1.18.0 [squeez-release-bot]
393
+ - docs: document DCO Signed-off-by requirement in CLAUDE.md (#111)
394
+ - docs: update changelog and benchmarks for v1.17.0
395
+ - chore(release): bump version to 1.17.0 [squeez-release-bot]
396
+ - docs: update changelog and benchmarks for v1.16.0
397
+ - chore(release): bump version to 1.16.0 [squeez-release-bot]
398
+ - docs: update changelog and benchmarks for v1.15.1
399
+ - chore(release): bump version to 1.15.1 [squeez-release-bot]
400
+ - docs: update README and CLAUDE.md for new hooks and PostToolUse rewrite (#108)
401
+ - refactor(bench): unify benches/ into bench/ — single benchmark directory (#106)
402
+ - test: add missing coverage for compress-output, filter dispatch, SubagentStop, hook registration (#103)
403
+ - docs: update changelog and benchmarks for v1.15.0
404
+ - chore(release): bump version to 1.15.0 [squeez-release-bot]
405
+ - docs: update changelog and benchmarks for v1.13.0
406
+ - chore(release): bump version to 1.14.0 [squeez-release-bot]
407
+ - chore(release): bump version to 1.13.0 [squeez-release-bot]
408
+ - docs: update changelog and benchmarks for v1.12.0
409
+ - chore(release): bump version to 1.12.0 [squeez-release-bot]
410
+ - docs(codex): update adapter comments and README for 0.123.0 hook surface
411
+ - docs: update changelog and benchmarks for v1.11.2
412
+ - chore(release): bump version to 1.11.2 [squeez-release-bot]
413
+ - docs: update changelog and benchmarks for v1.11.1
414
+ - chore(release): bump version to 1.11.1 [squeez-release-bot]
415
+ - docs: update changelog and benchmarks for v1.11.0
416
+ - chore(release): bump version to 1.11.0 [squeez-release-bot]
417
+ - docs: update changelog and benchmarks for v1.10.0
418
+ - docs: update changelog and benchmarks for v1.9.0
419
+ - chore(release): bump version to 1.10.0 [squeez-release-bot]
420
+ - docs(readme): document squeez's compression scope and architectural limits (#85)
421
+ - chore(release): bump version to 1.9.0 [squeez-release-bot]
422
+ - chore(release): bump version to 1.8.0 [squeez-release-bot]
423
+ - docs: update changelog and benchmarks for v1.7.7
424
+ - chore(release): bump version to 1.7.7 [squeez-release-bot]
425
+ - docs: update changelog and benchmarks for v1.7.6
426
+ - chore(release): bump version to 1.7.6 [squeez-release-bot]
427
+ - docs: update changelog and benchmarks for v1.7.5
428
+ - chore(release): bump version to 1.7.5 [squeez-release-bot]
429
+ - docs: update changelog and benchmarks for v1.7.4
430
+ - chore(release): bump version to 1.7.4 [squeez-release-bot]
431
+ - perf: O(log n) refactor — tail read, offset index, single-pass parser
432
+ - docs: update changelog and benchmarks for v1.7.3
433
+ - chore(release): bump version to 1.7.3 [squeez-release-bot]
434
+ - chore(release): bump version to 1.7.2 [squeez-release-bot]
435
+ - restore: revert accidental deletion of auto-release.yml workflow
436
+ - docs: update changelog and benchmarks for v1.7.1
437
+ - chore(release): bump version to 1.7.1 [squeez-release-bot]
438
+ - chore: relicense to Apache 2.0 + add DCO policy + banner (#76)
439
+ - docs: update changelog and benchmarks for v1.7.0
440
+ - chore(release): bump version to 1.7.0 [squeez-release-bot]
441
+ - docs: update changelog and benchmarks for v1.6.1
442
+ - chore(release): bump version to 1.6.1 [squeez-release-bot]
443
+ - docs: update changelog and benchmarks for v1.6.0
444
+ - chore(release): bump version to 1.6.0 [squeez-release-bot]
445
+ - docs: update changelog and benchmarks for v1.5.2
446
+ - chore(release): bump version to 1.5.2 [squeez-release-bot]
447
+ - chore(release): bump version to 1.5.1 [squeez-release-bot]
448
+ - docs: five-host matrix + squeez setup/uninstall flow (#63)
449
+ - refactor(install): delegate host registration to 'squeez setup' (#60)
450
+ - chore(release): bump version to 1.5.0 [squeez-release-bot]
451
+ - chore(release): bump version to 1.4.0 [squeez-release-bot]
452
+ - chore(release): bump version to 1.3.0 [squeez-release-bot]
453
+ - chore(release): bump version to 1.2.0 [squeez-release-bot]
454
+ - chore(release): bump version to 1.1.0 [squeez-release-bot]
455
+ - chore(release): bump version to 1.0.0 [skip release]
456
+ - refactor(hosts): extract HostAdapter trait + migrate Claude Code and Copilot (#42)
457
+ - ci: conventional-commit-driven auto-release (#40)
458
+ - chore(gov): issue-form templates + refined PR template (#39)
459
+ - docs: update changelog and benchmarks for v0.4.1 [skip release] (#33)
460
+ - chore(release): bump version to 0.4.1
461
+ - chore(release): bump version to 0.4.0
462
+ - docs: update changelog and benchmarks for v0.3.2 [skip release] (#30)
463
+ - chore: bump version to 0.3.2
464
+ - docs: add shields.io badge for changelog link
465
+ - chore: bump version to 0.3.1
466
+ - chore: bump version to 0.2.3
467
+ - docs: update README with 11 MCP tools, structured memory, and advanced tunables
468
+ - chore: bump version to 0.2.2
469
+ - docs: rewrite README with full install instructions (curl/npm/cargo) and all commands
470
+ - chore: refresh bench/report.md from latest run [skip release]
471
+ - chore(ci): remove promote-develop workflow (re-adding to fix broken registration)
472
+ - chore: bump version to 0.2.1 + auto-release on merge to main [skip release]
473
+ - chore: bump version to 0.2.0; add Cargo.toml metadata
474
+ - ci: PR template, linked-issue enforcement, no-claude-trailer check
475
+ - docs: update README with PR1+PR2 features, fresh benchmarks, changelog
476
+ - ci: auto-delete branches after PR merge
477
+ - docs: update Windows installation instructions and prerequisites in README
478
+ - docs: add Windows support and Rust install instructions to README
479
+ - refactor: use session::home_dir() in config and init (Windows compat)
480
+ - ci: trigger promote workflow (test)
481
+ - ci(workflow): avoid failing promote job when PR creation is not permitted; add PR_CREATION_TOKEN guidance
482
+ - docs(readme): add changelog, contribution workflow, and benchmark notes
483
+ - ci(workflow): create/update PR from develop to main on push
484
+ - chore: add .worktrees/ to gitignore
485
+ - chore: add docs/ to gitignore (local design specs)
486
+ - docs: update README for GitHub Copilot CLI support
487
+ - security: fix remaining LOW findings in wrap.rs
488
+ - security: fix 2 follow-up findings from second audit
489
+ - security: fix all 8 findings from security audit
490
+ - ci: build and install binary before running benchmarks
491
+ - chore: add GitHub sponsor button
492
+ - chore: ignore .omc/ directory, remove from tracking
493
+ - chore: update benchmark report (7/7 passing)
494
+ - docs: update README — real benchmarks, Phase 2 config, how it works
495
+ - style: cargo fmt on session.rs and test_session.rs
496
+ - chore: open source files — README, LICENSE, CI/release workflows, install.sh
497
+ - chore: scaffold squeez Rust project
498
+
499
+ ### Fixed
500
+ - fix(hooks): strip --no-squeez marker in codex and gemini pretooluse hooks (#146)
501
+ - fix(release): make publish-npm non-blocking; add npm whoami diagnostic
502
+ - fix(codex): emit current PreToolUse/SessionStart hook shapes; silence PostToolUse (#143)
503
+ - fix(claude-code): stop writing statusline.sh + remove orphans on install (#126)
504
+ - fix(claude-code): stop registering squeez statusLine + delegate install to adapter (#124)
505
+ - fix(compress-output): close PostToolUse compression gaps for Read/Edit/Write (#121)
506
+ - fix(claude-code): write hooks under settings.hooks.<event>, not at top level (#119)
507
+ - fix(opencode): shell-quote bash command before prepending `squeez wrap` (#115)
508
+ - fix(statusline): show compression % and fix Python heredoc expansion bug
509
+ - plan-mode passthrough + release description body (#95)
510
+ - fix(session-start): health check missed top-level event keys (#92)
511
+ - fix(hosts): expand PreToolUse matcher to cover Read, Grep, Glob, Agent, Task (#86)
512
+ - fix(json_util,statusline): whitespace-tolerant JSON parser + UTF-8 statusline on Windows (#81)
513
+ - fix(hosts): preserve user settings.json when existing JSON fails to parse (#83)
514
+ - prevent OOM from unbounded file reads + data integrity fixes
515
+ - fix(ci): use native ubuntu-24.04-arm runner for aarch64 build
516
+ - eliminate memory leaks causing 16 GB RAM on MCP server startup (#79)
517
+ - fix(hooks): add hookEventName to PreToolUse hookSpecificOutput (#78)
518
+ - fix(opencode): align plugin with PluginModule SDK shape (default export + server map) (#72)
519
+ - fix(ci): push release docs directly to main (loop-safe) (#68)
520
+ - back Copilot BUDGET_HARD with Read/Grep hook + update upstream refs (#65)
521
+ - fix(ci): startsWith guard for auto-release recursion (#46)
522
+ - fix(ci): tighten auto-release bump detection + fix tag push (#44)
523
+ - fix(ci): add --allow-dirty to cargo publish for Cargo.lock changes
524
+ - fix(ci): skip publish gracefully when version already exists on crates.io/npm
525
+ - fix(ci): run update-docs even if publish jobs fail (already published)
526
+ - fix(ci): continue-on-error for publish jobs so update-docs always runs
527
+ - fix(ci): add pull-requests write permission to update-docs job
528
+ - fix(update): cargo-managed self-update + Windows deferred install + session update check (#27)
529
+ - fix(ci): update-docs creates PR instead of pushing directly to protected main
530
+ - fix(npm): copy README.md into npm package before publish; add readme field
531
+ - fix(ci): add toolchain: stable to all dtolnay/rust-toolchain steps
532
+ - fix(ci): handle no previous tags in generate-changelog.sh (pipefail + grep -v)
533
+ - fix(ci): dispatch release.yml from auto-release to bypass GITHUB_TOKEN chain limit [skip release]
534
+ - fix(ci): fix flaky test tmp dir collision + simplify auto-release
535
+ - fix(bench): exclude synthetic fixtures from filter-mode bench/run.sh
536
+ - fix(ci): remove secrets in step if-conditions — check token inside script instead
537
+ - fix(ci): rename promote-develop → promote-to-main to fix broken workflow registration
538
+ - fix(ci): bump github-script to v7 in promote-develop to force workflow re-registration
539
+ - fix(compress_md): use byte slice comparison to avoid UTF-8 char boundary panic
540
+ - fix(statusline): remove Ctx% — show only squeez compression metrics
541
+ - fix(statusline): green ✓, proper capitalization, real-time context %, all metrics
542
+ - resolve gap analysis — new handlers, wider redundancy window, token budget
543
+ - install.sh — clarify PostToolUse no-matcher intent, guard version echo
544
+ - wrap.rs — safe git hex check, O(n) dedup, full cmd in event log
545
+ - use ends_with for files_committed check in init finalize
546
+ - json_util — guard extract_u64 empty digit, add json_util test coverage
547
+ - add pre-flight binary check to bench/run.sh
548
+ - atomic settings.json write + uninstall safety guards
549
+ - harden pretooluse hook (shlex.quote, error handling, single path source)
550
+ - wrap — process_group(0) for correct signal forwarding, tighten is_streaming
551
+
552
+ ## [1.23.1] - 2026-06-18
553
+
12
554
  ## [1.23.0] - 2026-06-11
13
555
 
14
556
  ### Added
@@ -5379,7 +5921,7 @@ conventional commit messages on `main`.
5379
5921
  ## [1.5.1] and earlier
5380
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.
5381
5923
 
5382
- [Unreleased]: https://github.com/claudioemmanuel/squeez/compare/v1.23.0...HEAD
5924
+ [Unreleased]: https://github.com/claudioemmanuel/squeez/compare/v1.25.0...HEAD
5383
5925
  [1.7.0]: https://github.com/claudioemmanuel/squeez/compare/v1.6.1...v1.7.0
5384
5926
  [1.6.1]: https://github.com/claudioemmanuel/squeez/compare/v1.6.0...v1.6.1
5385
5927
  [1.6.0]: https://github.com/claudioemmanuel/squeez/compare/v1.5.2...v1.6.0
@@ -5413,3 +5955,6 @@ See the [git tag history](https://github.com/claudioemmanuel/squeez/tags) for pr
5413
5955
  [1.22.0]: https://github.com/claudioemmanuel/squeez/releases/tag/v1.22.0
5414
5956
  [1.22.1]: https://github.com/claudioemmanuel/squeez/releases/tag/v1.22.1
5415
5957
  [1.23.0]: https://github.com/claudioemmanuel/squeez/releases/tag/v1.23.0
5958
+ [1.23.1]: https://github.com/claudioemmanuel/squeez/compare/v1.24.0...v1.23.1
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.2 ms |
184
- | `repetitive_output` | 4,692 tk | 37 tk | **-99%** | 221 µs |
185
- | `xcode_build` | 1,881 tk | 17 tk | **-99%** | 63 µs |
186
- | `high_context_adaptive` | 4,418 tk | 52 tk | **-99%** | 908 µs |
187
- | `agent_directory_output` | 3,348 tk | 167 tk | **-95%** | 347 µs |
188
- | `ps_aux` | 40,373 tk | 2,338 tk | **-94%** | 2.8 ms |
189
- | `git_log_200` | 2,692 tk | 275 tk | **-90%** | 211 µs |
190
- | `tsc_errors` | 731 tk | 101 tk | **-86%** | 25 µs |
191
- | `cargo_build_noisy` | 2,106 tk | 439 tk | **-79%** | 255 µs |
192
- | `docker_logs` | 665 tk | 186 tk | **-72%** | 52 µs |
193
- | `curl_html_response` | 2,181 tk | 626 tk | **-71%** | 49 µs |
194
- | `find_deep` | 424 tk | 134 tk | **-68%** | 79 µs |
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
+ | `git_log_200` | 2,692 tk | 275 tk | **-90%** | 206 µ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 |
195
194
  | `git_status` | 50 tk | 16 tk | **-68%** | 15 µs |
196
- | `pytest_failures` | 3,402 tk | 1,175 tk | **-65%** | 315 µs |
197
- | `verbose_app_log` | 4,957 tk | 1,978 tk | **-60%** | 302 µs |
198
- | `npm_install` | 524 tk | 218 tk | **-58%** | 51 µ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 |
199
198
  | `crosscall_redundancy_3x` | 486 tk | 237 tk | **-51%** | 51.9 ms |
200
- | `ls_la` | 1,782 tk | 872 tk | **-51%** | 207 µs |
201
- | `env_dump` | 441 tk | 287 tk | **-35%** | 27 µs |
202
- | `git_copilot` | 640 tk | 421 tk | **-34%** | 109 µs |
203
- | `agent_heavy` | 2,306 tk | 1,551 tk | **-33%** | 357 µs |
204
- | `md_prose` | 187 tk | 138 tk | **-26%** | 895 µs |
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
- | `claude_md_overhead` | 717 tk | 635 tk | **-11%** | 23 µs |
207
- | `git_diff` | 502 tk | 497 tk | **-1%** | 53 µs |
208
- | `jest_failures` | 451 tk | 448 tk | **-1%** | 57 µs |
209
- | `state_first_simulation` | 182 tk | 181 tk | **-1%** | 5 µs |
210
- | `kubectl_pods` | 1,513 tk | 1,513 tk | **-0%** | 33 µs |
206
+ | `claude_md_overhead` | 717 tk | 635 tk | **-11%** | 22 µs |
207
+ | `git_diff` | 502 tk | 497 tk | **-1%** | 47 µs |
208
+ | `jest_failures` | 451 tk | 448 tk | **-1%** | 49 µs |
209
+ | `state_first_simulation` | 182 tk | 181 tk | **-1%** | 6 µ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.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.24.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",