squeez 1.19.2 → 1.19.4

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 +470 -1
  2. package/README.md +33 -33
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -9,6 +9,473 @@ conventional commit messages on `main`.
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [1.19.3] - 2026-05-18
13
+
14
+ ### Added
15
+ - feat(economy): auto-curation nudges + cross-session handler stats (#118)
16
+ - feat(hosts): add Pi adapter (#116)
17
+ - feat(compress): plug Agent/Task output, HTML bash, and PreCompact telemetry gaps
18
+ - feat(bench): add pytest, jest, xcode_build scenarios — 23 → 26 scenarios
19
+ - feat(hooks): PreCompact + PostCompact lifecycle hooks (#102)
20
+ - feat(hooks): SubagentStop hook feeds sub-agent output into SessionContext (#101)
21
+ - feat(monitor): add Monitor tool to PostToolUse compress-output dispatch (#100)
22
+ - PostToolUse updatedToolOutput for Read/Grep/Glob (Claude Code v2.1.119+)
23
+ - session-analysis improvements — az JSON, vite noise, prisma generate, hook health check (#90)
24
+ - feat(fs): auto-compress cat'd markdown via compress_md pipeline (#88)
25
+ - feat(economy): compress Agent/Task prompt at PreToolUse time (#87)
26
+ - feat(handlers): xcodebuild noise filter + log-file tail detection (#84)
27
+ - feat(bench): efficiency-proof benchmark suite — quantitative savings for US-001/003/004 (#74)
28
+ - token-compression power-up — sig-mode, memory-file warn, structured summaries, hypothesis benchmark (#70)
29
+ - feat(setup): adapter-driven setup/uninstall across all hosts (#58)
30
+ - feat(hosts): Codex CLI adapter (hooks + AGENTS.md soft-budget) (#55)
31
+ - feat(hosts): Gemini CLI adapter (BeforeTool/AfterTool hooks) (#52)
32
+ - feat(hosts): full-parity OpenCode adapter + plugin rewrite (#48)
33
+ - wrangler, playwright, next build handlers + bun/drizzle routing (#34)
34
+ - feat(opus47): adapt squeez for Opus 4.7 tokenizer and xhigh effort
35
+ - feat(setup): auto-detect lang from CLAUDE.md/locale + stderr update notification (#29)
36
+ - v0.3.0 — token economy, pt-BR caveman, aggressive defaults, full hook install
37
+ - structured session memory, cross-session search, error snippets, configurable tunables
38
+ - feat(setup): create config.ini on first install
39
+ - feat(i18n): locale-aware compress-md with pt-BR support (#25)
40
+ - fuzzy dedup, adaptive intensity, benign summarize, MCP server, temporal memory, protocol payload
41
+ - Windows setup via cargo/npm + squeez update fix
42
+ - feat(benchmark): add squeez benchmark command with 19-scenario test suite
43
+ - feat(ci): re-add promote-develop workflow with correct registration
44
+ - feat(init): inject persona into ~/.claude/CLAUDE.md on every session start
45
+ - feat(npm+crates): add npm package and publish jobs to release workflow
46
+ - feat(statusline): add statusline.sh to repo; install via install.sh; show all-time stats
47
+ - compress-md, caveman persona, squeez update, track-result hook
48
+ - feat(context): adaptive intensity always picks Ultra
49
+ - feat(context): aggressive token-engine — adaptive intensity, redundancy cache, summarize fallback
50
+ - add Windows support to install.sh and release.yml
51
+ - add home_dir() helper with USERPROFILE fallback for Windows
52
+ - cross-platform wrap — shell_command() helper, cfg(unix) signal gates, libc unix-only
53
+ - add GitHub Copilot CLI support
54
+ - add OpenCode plugin for automatic Bash compression
55
+ - add universal installer support for macOS and Linux
56
+ - expand benchmarks, edge-case tests, and README polish
57
+ - add SessionStart + PostToolUse hooks, update install.sh and README
58
+ - wrap.rs — artifact capture (files/errors/git/tests) + compact warning header
59
+ - squeez init — session start, prior memory banner, session finalization (TDD)
60
+ - squeez track — token accumulation + session event log (TDD)
61
+ - memory.rs — Summary, read_last_n, write_summary, prune_old (TDD)
62
+ - session.rs — CurrentSession, append_event, date math (TDD)
63
+ - json_util helpers + compact_threshold_tokens, memory_retention_days config
64
+ - benchmark system — all fixtures passing
65
+ - build.sh compiles + installs squeez, registers hook
66
+ - PreToolUse hook script
67
+ - fs and runtime handlers — all handler tests passing
68
+ - cloud, database, network handlers (TDD)
69
+ - typescript and build handlers (TDD)
70
+ - package_mgr and test_runner handlers (TDD)
71
+ - git and docker handlers (TDD)
72
+ - wrap subcommand — sh -c, 120s timeout, signal forwarding, bypass check
73
+ - Handler trait with cmd+config, generic handler, command router, filter_stdin
74
+ - truncation strategy (TDD) — all strategy tests passing
75
+ - grouping strategy (TDD)
76
+ - dedup strategy (TDD)
77
+ - smart_filter strategy with node_modules frame removal (TDD)
78
+ - implement config.ini parser (TDD)
79
+
80
+ ### Changed
81
+ - chore(release): bump version to 1.19.3 [squeez-release-bot]
82
+ - docs: update changelog and benchmarks for v1.19.2
83
+ - chore(release): bump version to 1.19.2 [squeez-release-bot]
84
+ - docs: update changelog and benchmarks for v1.19.1
85
+ - chore(release): bump version to 1.19.1 [squeez-release-bot]
86
+ - docs: update changelog and benchmarks for v1.19.0
87
+ - chore(release): bump version to 1.19.0 [squeez-release-bot]
88
+ - docs: update changelog and benchmarks for v1.18.1
89
+ - chore(release): bump version to 1.18.1 [squeez-release-bot]
90
+ - docs: update changelog and benchmarks for v1.18.0
91
+ - chore(release): bump version to 1.18.0 [squeez-release-bot]
92
+ - docs: document DCO Signed-off-by requirement in CLAUDE.md (#111)
93
+ - docs: update changelog and benchmarks for v1.17.0
94
+ - chore(release): bump version to 1.17.0 [squeez-release-bot]
95
+ - docs: update changelog and benchmarks for v1.16.0
96
+ - chore(release): bump version to 1.16.0 [squeez-release-bot]
97
+ - docs: update changelog and benchmarks for v1.15.1
98
+ - chore(release): bump version to 1.15.1 [squeez-release-bot]
99
+ - docs: update README and CLAUDE.md for new hooks and PostToolUse rewrite (#108)
100
+ - refactor(bench): unify benches/ into bench/ — single benchmark directory (#106)
101
+ - test: add missing coverage for compress-output, filter dispatch, SubagentStop, hook registration (#103)
102
+ - docs: update changelog and benchmarks for v1.15.0
103
+ - chore(release): bump version to 1.15.0 [squeez-release-bot]
104
+ - docs: update changelog and benchmarks for v1.13.0
105
+ - chore(release): bump version to 1.14.0 [squeez-release-bot]
106
+ - chore(release): bump version to 1.13.0 [squeez-release-bot]
107
+ - docs: update changelog and benchmarks for v1.12.0
108
+ - chore(release): bump version to 1.12.0 [squeez-release-bot]
109
+ - docs(codex): update adapter comments and README for 0.123.0 hook surface
110
+ - docs: update changelog and benchmarks for v1.11.2
111
+ - chore(release): bump version to 1.11.2 [squeez-release-bot]
112
+ - docs: update changelog and benchmarks for v1.11.1
113
+ - chore(release): bump version to 1.11.1 [squeez-release-bot]
114
+ - docs: update changelog and benchmarks for v1.11.0
115
+ - chore(release): bump version to 1.11.0 [squeez-release-bot]
116
+ - docs: update changelog and benchmarks for v1.10.0
117
+ - docs: update changelog and benchmarks for v1.9.0
118
+ - chore(release): bump version to 1.10.0 [squeez-release-bot]
119
+ - docs(readme): document squeez's compression scope and architectural limits (#85)
120
+ - chore(release): bump version to 1.9.0 [squeez-release-bot]
121
+ - chore(release): bump version to 1.8.0 [squeez-release-bot]
122
+ - docs: update changelog and benchmarks for v1.7.7
123
+ - chore(release): bump version to 1.7.7 [squeez-release-bot]
124
+ - docs: update changelog and benchmarks for v1.7.6
125
+ - chore(release): bump version to 1.7.6 [squeez-release-bot]
126
+ - docs: update changelog and benchmarks for v1.7.5
127
+ - chore(release): bump version to 1.7.5 [squeez-release-bot]
128
+ - docs: update changelog and benchmarks for v1.7.4
129
+ - chore(release): bump version to 1.7.4 [squeez-release-bot]
130
+ - perf: O(log n) refactor — tail read, offset index, single-pass parser
131
+ - docs: update changelog and benchmarks for v1.7.3
132
+ - chore(release): bump version to 1.7.3 [squeez-release-bot]
133
+ - chore(release): bump version to 1.7.2 [squeez-release-bot]
134
+ - restore: revert accidental deletion of auto-release.yml workflow
135
+ - docs: update changelog and benchmarks for v1.7.1
136
+ - chore(release): bump version to 1.7.1 [squeez-release-bot]
137
+ - chore: relicense to Apache 2.0 + add DCO policy + banner (#76)
138
+ - docs: update changelog and benchmarks for v1.7.0
139
+ - chore(release): bump version to 1.7.0 [squeez-release-bot]
140
+ - docs: update changelog and benchmarks for v1.6.1
141
+ - chore(release): bump version to 1.6.1 [squeez-release-bot]
142
+ - docs: update changelog and benchmarks for v1.6.0
143
+ - chore(release): bump version to 1.6.0 [squeez-release-bot]
144
+ - docs: update changelog and benchmarks for v1.5.2
145
+ - chore(release): bump version to 1.5.2 [squeez-release-bot]
146
+ - chore(release): bump version to 1.5.1 [squeez-release-bot]
147
+ - docs: five-host matrix + squeez setup/uninstall flow (#63)
148
+ - refactor(install): delegate host registration to 'squeez setup' (#60)
149
+ - chore(release): bump version to 1.5.0 [squeez-release-bot]
150
+ - chore(release): bump version to 1.4.0 [squeez-release-bot]
151
+ - chore(release): bump version to 1.3.0 [squeez-release-bot]
152
+ - chore(release): bump version to 1.2.0 [squeez-release-bot]
153
+ - chore(release): bump version to 1.1.0 [squeez-release-bot]
154
+ - chore(release): bump version to 1.0.0 [skip release]
155
+ - refactor(hosts): extract HostAdapter trait + migrate Claude Code and Copilot (#42)
156
+ - ci: conventional-commit-driven auto-release (#40)
157
+ - chore(gov): issue-form templates + refined PR template (#39)
158
+ - docs: update changelog and benchmarks for v0.4.1 [skip release] (#33)
159
+ - chore(release): bump version to 0.4.1
160
+ - chore(release): bump version to 0.4.0
161
+ - docs: update changelog and benchmarks for v0.3.2 [skip release] (#30)
162
+ - chore: bump version to 0.3.2
163
+ - docs: add shields.io badge for changelog link
164
+ - chore: bump version to 0.3.1
165
+ - chore: bump version to 0.2.3
166
+ - docs: update README with 11 MCP tools, structured memory, and advanced tunables
167
+ - chore: bump version to 0.2.2
168
+ - docs: rewrite README with full install instructions (curl/npm/cargo) and all commands
169
+ - chore: refresh bench/report.md from latest run [skip release]
170
+ - chore(ci): remove promote-develop workflow (re-adding to fix broken registration)
171
+ - chore: bump version to 0.2.1 + auto-release on merge to main [skip release]
172
+ - chore: bump version to 0.2.0; add Cargo.toml metadata
173
+ - ci: PR template, linked-issue enforcement, no-claude-trailer check
174
+ - docs: update README with PR1+PR2 features, fresh benchmarks, changelog
175
+ - ci: auto-delete branches after PR merge
176
+ - docs: update Windows installation instructions and prerequisites in README
177
+ - docs: add Windows support and Rust install instructions to README
178
+ - refactor: use session::home_dir() in config and init (Windows compat)
179
+ - ci: trigger promote workflow (test)
180
+ - ci(workflow): avoid failing promote job when PR creation is not permitted; add PR_CREATION_TOKEN guidance
181
+ - docs(readme): add changelog, contribution workflow, and benchmark notes
182
+ - ci(workflow): create/update PR from develop to main on push
183
+ - chore: add .worktrees/ to gitignore
184
+ - chore: add docs/ to gitignore (local design specs)
185
+ - docs: update README for GitHub Copilot CLI support
186
+ - security: fix remaining LOW findings in wrap.rs
187
+ - security: fix 2 follow-up findings from second audit
188
+ - security: fix all 8 findings from security audit
189
+ - ci: build and install binary before running benchmarks
190
+ - chore: add GitHub sponsor button
191
+ - chore: ignore .omc/ directory, remove from tracking
192
+ - chore: update benchmark report (7/7 passing)
193
+ - docs: update README — real benchmarks, Phase 2 config, how it works
194
+ - style: cargo fmt on session.rs and test_session.rs
195
+ - chore: open source files — README, LICENSE, CI/release workflows, install.sh
196
+ - chore: scaffold squeez Rust project
197
+
198
+ ### Fixed
199
+ - fix(claude-code): stop registering squeez statusLine + delegate install to adapter (#124)
200
+ - fix(compress-output): close PostToolUse compression gaps for Read/Edit/Write (#121)
201
+ - fix(claude-code): write hooks under settings.hooks.<event>, not at top level (#119)
202
+ - fix(opencode): shell-quote bash command before prepending `squeez wrap` (#115)
203
+ - fix(statusline): show compression % and fix Python heredoc expansion bug
204
+ - plan-mode passthrough + release description body (#95)
205
+ - fix(session-start): health check missed top-level event keys (#92)
206
+ - fix(hosts): expand PreToolUse matcher to cover Read, Grep, Glob, Agent, Task (#86)
207
+ - fix(json_util,statusline): whitespace-tolerant JSON parser + UTF-8 statusline on Windows (#81)
208
+ - fix(hosts): preserve user settings.json when existing JSON fails to parse (#83)
209
+ - prevent OOM from unbounded file reads + data integrity fixes
210
+ - fix(ci): use native ubuntu-24.04-arm runner for aarch64 build
211
+ - eliminate memory leaks causing 16 GB RAM on MCP server startup (#79)
212
+ - fix(hooks): add hookEventName to PreToolUse hookSpecificOutput (#78)
213
+ - fix(opencode): align plugin with PluginModule SDK shape (default export + server map) (#72)
214
+ - fix(ci): push release docs directly to main (loop-safe) (#68)
215
+ - back Copilot BUDGET_HARD with Read/Grep hook + update upstream refs (#65)
216
+ - fix(ci): startsWith guard for auto-release recursion (#46)
217
+ - fix(ci): tighten auto-release bump detection + fix tag push (#44)
218
+ - fix(ci): add --allow-dirty to cargo publish for Cargo.lock changes
219
+ - fix(ci): skip publish gracefully when version already exists on crates.io/npm
220
+ - fix(ci): run update-docs even if publish jobs fail (already published)
221
+ - fix(ci): continue-on-error for publish jobs so update-docs always runs
222
+ - fix(ci): add pull-requests write permission to update-docs job
223
+ - fix(update): cargo-managed self-update + Windows deferred install + session update check (#27)
224
+ - fix(ci): update-docs creates PR instead of pushing directly to protected main
225
+ - fix(npm): copy README.md into npm package before publish; add readme field
226
+ - fix(ci): add toolchain: stable to all dtolnay/rust-toolchain steps
227
+ - fix(ci): handle no previous tags in generate-changelog.sh (pipefail + grep -v)
228
+ - fix(ci): dispatch release.yml from auto-release to bypass GITHUB_TOKEN chain limit [skip release]
229
+ - fix(ci): fix flaky test tmp dir collision + simplify auto-release
230
+ - fix(bench): exclude synthetic fixtures from filter-mode bench/run.sh
231
+ - fix(ci): remove secrets in step if-conditions — check token inside script instead
232
+ - fix(ci): rename promote-develop → promote-to-main to fix broken workflow registration
233
+ - fix(ci): bump github-script to v7 in promote-develop to force workflow re-registration
234
+ - fix(compress_md): use byte slice comparison to avoid UTF-8 char boundary panic
235
+ - fix(statusline): remove Ctx% — show only squeez compression metrics
236
+ - fix(statusline): green ✓, proper capitalization, real-time context %, all metrics
237
+ - resolve gap analysis — new handlers, wider redundancy window, token budget
238
+ - install.sh — clarify PostToolUse no-matcher intent, guard version echo
239
+ - wrap.rs — safe git hex check, O(n) dedup, full cmd in event log
240
+ - use ends_with for files_committed check in init finalize
241
+ - json_util — guard extract_u64 empty digit, add json_util test coverage
242
+ - add pre-flight binary check to bench/run.sh
243
+ - atomic settings.json write + uninstall safety guards
244
+ - harden pretooluse hook (shlex.quote, error handling, single path source)
245
+ - wrap — process_group(0) for correct signal forwarding, tighten is_streaming
246
+
247
+ ## [1.19.2] - 2026-05-18
248
+
249
+ ### Added
250
+ - feat(economy): auto-curation nudges + cross-session handler stats (#118)
251
+ - feat(hosts): add Pi adapter (#116)
252
+ - feat(compress): plug Agent/Task output, HTML bash, and PreCompact telemetry gaps
253
+ - feat(bench): add pytest, jest, xcode_build scenarios — 23 → 26 scenarios
254
+ - feat(hooks): PreCompact + PostCompact lifecycle hooks (#102)
255
+ - feat(hooks): SubagentStop hook feeds sub-agent output into SessionContext (#101)
256
+ - feat(monitor): add Monitor tool to PostToolUse compress-output dispatch (#100)
257
+ - PostToolUse updatedToolOutput for Read/Grep/Glob (Claude Code v2.1.119+)
258
+ - session-analysis improvements — az JSON, vite noise, prisma generate, hook health check (#90)
259
+ - feat(fs): auto-compress cat'd markdown via compress_md pipeline (#88)
260
+ - feat(economy): compress Agent/Task prompt at PreToolUse time (#87)
261
+ - feat(handlers): xcodebuild noise filter + log-file tail detection (#84)
262
+ - feat(bench): efficiency-proof benchmark suite — quantitative savings for US-001/003/004 (#74)
263
+ - token-compression power-up — sig-mode, memory-file warn, structured summaries, hypothesis benchmark (#70)
264
+ - feat(setup): adapter-driven setup/uninstall across all hosts (#58)
265
+ - feat(hosts): Codex CLI adapter (hooks + AGENTS.md soft-budget) (#55)
266
+ - feat(hosts): Gemini CLI adapter (BeforeTool/AfterTool hooks) (#52)
267
+ - feat(hosts): full-parity OpenCode adapter + plugin rewrite (#48)
268
+ - wrangler, playwright, next build handlers + bun/drizzle routing (#34)
269
+ - feat(opus47): adapt squeez for Opus 4.7 tokenizer and xhigh effort
270
+ - feat(setup): auto-detect lang from CLAUDE.md/locale + stderr update notification (#29)
271
+ - v0.3.0 — token economy, pt-BR caveman, aggressive defaults, full hook install
272
+ - structured session memory, cross-session search, error snippets, configurable tunables
273
+ - feat(setup): create config.ini on first install
274
+ - feat(i18n): locale-aware compress-md with pt-BR support (#25)
275
+ - fuzzy dedup, adaptive intensity, benign summarize, MCP server, temporal memory, protocol payload
276
+ - Windows setup via cargo/npm + squeez update fix
277
+ - feat(benchmark): add squeez benchmark command with 19-scenario test suite
278
+ - feat(ci): re-add promote-develop workflow with correct registration
279
+ - feat(init): inject persona into ~/.claude/CLAUDE.md on every session start
280
+ - feat(npm+crates): add npm package and publish jobs to release workflow
281
+ - feat(statusline): add statusline.sh to repo; install via install.sh; show all-time stats
282
+ - compress-md, caveman persona, squeez update, track-result hook
283
+ - feat(context): adaptive intensity always picks Ultra
284
+ - feat(context): aggressive token-engine — adaptive intensity, redundancy cache, summarize fallback
285
+ - add Windows support to install.sh and release.yml
286
+ - add home_dir() helper with USERPROFILE fallback for Windows
287
+ - cross-platform wrap — shell_command() helper, cfg(unix) signal gates, libc unix-only
288
+ - add GitHub Copilot CLI support
289
+ - add OpenCode plugin for automatic Bash compression
290
+ - add universal installer support for macOS and Linux
291
+ - expand benchmarks, edge-case tests, and README polish
292
+ - add SessionStart + PostToolUse hooks, update install.sh and README
293
+ - wrap.rs — artifact capture (files/errors/git/tests) + compact warning header
294
+ - squeez init — session start, prior memory banner, session finalization (TDD)
295
+ - squeez track — token accumulation + session event log (TDD)
296
+ - memory.rs — Summary, read_last_n, write_summary, prune_old (TDD)
297
+ - session.rs — CurrentSession, append_event, date math (TDD)
298
+ - json_util helpers + compact_threshold_tokens, memory_retention_days config
299
+ - benchmark system — all fixtures passing
300
+ - build.sh compiles + installs squeez, registers hook
301
+ - PreToolUse hook script
302
+ - fs and runtime handlers — all handler tests passing
303
+ - cloud, database, network handlers (TDD)
304
+ - typescript and build handlers (TDD)
305
+ - package_mgr and test_runner handlers (TDD)
306
+ - git and docker handlers (TDD)
307
+ - wrap subcommand — sh -c, 120s timeout, signal forwarding, bypass check
308
+ - Handler trait with cmd+config, generic handler, command router, filter_stdin
309
+ - truncation strategy (TDD) — all strategy tests passing
310
+ - grouping strategy (TDD)
311
+ - dedup strategy (TDD)
312
+ - smart_filter strategy with node_modules frame removal (TDD)
313
+ - implement config.ini parser (TDD)
314
+
315
+ ### Changed
316
+ - chore(release): bump version to 1.19.2 [squeez-release-bot]
317
+ - docs: update changelog and benchmarks for v1.19.1
318
+ - chore(release): bump version to 1.19.1 [squeez-release-bot]
319
+ - docs: update changelog and benchmarks for v1.19.0
320
+ - chore(release): bump version to 1.19.0 [squeez-release-bot]
321
+ - docs: update changelog and benchmarks for v1.18.1
322
+ - chore(release): bump version to 1.18.1 [squeez-release-bot]
323
+ - docs: update changelog and benchmarks for v1.18.0
324
+ - chore(release): bump version to 1.18.0 [squeez-release-bot]
325
+ - docs: document DCO Signed-off-by requirement in CLAUDE.md (#111)
326
+ - docs: update changelog and benchmarks for v1.17.0
327
+ - chore(release): bump version to 1.17.0 [squeez-release-bot]
328
+ - docs: update changelog and benchmarks for v1.16.0
329
+ - chore(release): bump version to 1.16.0 [squeez-release-bot]
330
+ - docs: update changelog and benchmarks for v1.15.1
331
+ - chore(release): bump version to 1.15.1 [squeez-release-bot]
332
+ - docs: update README and CLAUDE.md for new hooks and PostToolUse rewrite (#108)
333
+ - refactor(bench): unify benches/ into bench/ — single benchmark directory (#106)
334
+ - test: add missing coverage for compress-output, filter dispatch, SubagentStop, hook registration (#103)
335
+ - docs: update changelog and benchmarks for v1.15.0
336
+ - chore(release): bump version to 1.15.0 [squeez-release-bot]
337
+ - docs: update changelog and benchmarks for v1.13.0
338
+ - chore(release): bump version to 1.14.0 [squeez-release-bot]
339
+ - chore(release): bump version to 1.13.0 [squeez-release-bot]
340
+ - docs: update changelog and benchmarks for v1.12.0
341
+ - chore(release): bump version to 1.12.0 [squeez-release-bot]
342
+ - docs(codex): update adapter comments and README for 0.123.0 hook surface
343
+ - docs: update changelog and benchmarks for v1.11.2
344
+ - chore(release): bump version to 1.11.2 [squeez-release-bot]
345
+ - docs: update changelog and benchmarks for v1.11.1
346
+ - chore(release): bump version to 1.11.1 [squeez-release-bot]
347
+ - docs: update changelog and benchmarks for v1.11.0
348
+ - chore(release): bump version to 1.11.0 [squeez-release-bot]
349
+ - docs: update changelog and benchmarks for v1.10.0
350
+ - docs: update changelog and benchmarks for v1.9.0
351
+ - chore(release): bump version to 1.10.0 [squeez-release-bot]
352
+ - docs(readme): document squeez's compression scope and architectural limits (#85)
353
+ - chore(release): bump version to 1.9.0 [squeez-release-bot]
354
+ - chore(release): bump version to 1.8.0 [squeez-release-bot]
355
+ - docs: update changelog and benchmarks for v1.7.7
356
+ - chore(release): bump version to 1.7.7 [squeez-release-bot]
357
+ - docs: update changelog and benchmarks for v1.7.6
358
+ - chore(release): bump version to 1.7.6 [squeez-release-bot]
359
+ - docs: update changelog and benchmarks for v1.7.5
360
+ - chore(release): bump version to 1.7.5 [squeez-release-bot]
361
+ - docs: update changelog and benchmarks for v1.7.4
362
+ - chore(release): bump version to 1.7.4 [squeez-release-bot]
363
+ - perf: O(log n) refactor — tail read, offset index, single-pass parser
364
+ - docs: update changelog and benchmarks for v1.7.3
365
+ - chore(release): bump version to 1.7.3 [squeez-release-bot]
366
+ - chore(release): bump version to 1.7.2 [squeez-release-bot]
367
+ - restore: revert accidental deletion of auto-release.yml workflow
368
+ - docs: update changelog and benchmarks for v1.7.1
369
+ - chore(release): bump version to 1.7.1 [squeez-release-bot]
370
+ - chore: relicense to Apache 2.0 + add DCO policy + banner (#76)
371
+ - docs: update changelog and benchmarks for v1.7.0
372
+ - chore(release): bump version to 1.7.0 [squeez-release-bot]
373
+ - docs: update changelog and benchmarks for v1.6.1
374
+ - chore(release): bump version to 1.6.1 [squeez-release-bot]
375
+ - docs: update changelog and benchmarks for v1.6.0
376
+ - chore(release): bump version to 1.6.0 [squeez-release-bot]
377
+ - docs: update changelog and benchmarks for v1.5.2
378
+ - chore(release): bump version to 1.5.2 [squeez-release-bot]
379
+ - chore(release): bump version to 1.5.1 [squeez-release-bot]
380
+ - docs: five-host matrix + squeez setup/uninstall flow (#63)
381
+ - refactor(install): delegate host registration to 'squeez setup' (#60)
382
+ - chore(release): bump version to 1.5.0 [squeez-release-bot]
383
+ - chore(release): bump version to 1.4.0 [squeez-release-bot]
384
+ - chore(release): bump version to 1.3.0 [squeez-release-bot]
385
+ - chore(release): bump version to 1.2.0 [squeez-release-bot]
386
+ - chore(release): bump version to 1.1.0 [squeez-release-bot]
387
+ - chore(release): bump version to 1.0.0 [skip release]
388
+ - refactor(hosts): extract HostAdapter trait + migrate Claude Code and Copilot (#42)
389
+ - ci: conventional-commit-driven auto-release (#40)
390
+ - chore(gov): issue-form templates + refined PR template (#39)
391
+ - docs: update changelog and benchmarks for v0.4.1 [skip release] (#33)
392
+ - chore(release): bump version to 0.4.1
393
+ - chore(release): bump version to 0.4.0
394
+ - docs: update changelog and benchmarks for v0.3.2 [skip release] (#30)
395
+ - chore: bump version to 0.3.2
396
+ - docs: add shields.io badge for changelog link
397
+ - chore: bump version to 0.3.1
398
+ - chore: bump version to 0.2.3
399
+ - docs: update README with 11 MCP tools, structured memory, and advanced tunables
400
+ - chore: bump version to 0.2.2
401
+ - docs: rewrite README with full install instructions (curl/npm/cargo) and all commands
402
+ - chore: refresh bench/report.md from latest run [skip release]
403
+ - chore(ci): remove promote-develop workflow (re-adding to fix broken registration)
404
+ - chore: bump version to 0.2.1 + auto-release on merge to main [skip release]
405
+ - chore: bump version to 0.2.0; add Cargo.toml metadata
406
+ - ci: PR template, linked-issue enforcement, no-claude-trailer check
407
+ - docs: update README with PR1+PR2 features, fresh benchmarks, changelog
408
+ - ci: auto-delete branches after PR merge
409
+ - docs: update Windows installation instructions and prerequisites in README
410
+ - docs: add Windows support and Rust install instructions to README
411
+ - refactor: use session::home_dir() in config and init (Windows compat)
412
+ - ci: trigger promote workflow (test)
413
+ - ci(workflow): avoid failing promote job when PR creation is not permitted; add PR_CREATION_TOKEN guidance
414
+ - docs(readme): add changelog, contribution workflow, and benchmark notes
415
+ - ci(workflow): create/update PR from develop to main on push
416
+ - chore: add .worktrees/ to gitignore
417
+ - chore: add docs/ to gitignore (local design specs)
418
+ - docs: update README for GitHub Copilot CLI support
419
+ - security: fix remaining LOW findings in wrap.rs
420
+ - security: fix 2 follow-up findings from second audit
421
+ - security: fix all 8 findings from security audit
422
+ - ci: build and install binary before running benchmarks
423
+ - chore: add GitHub sponsor button
424
+ - chore: ignore .omc/ directory, remove from tracking
425
+ - chore: update benchmark report (7/7 passing)
426
+ - docs: update README — real benchmarks, Phase 2 config, how it works
427
+ - style: cargo fmt on session.rs and test_session.rs
428
+ - chore: open source files — README, LICENSE, CI/release workflows, install.sh
429
+ - chore: scaffold squeez Rust project
430
+
431
+ ### Fixed
432
+ - fix(compress-output): close PostToolUse compression gaps for Read/Edit/Write (#121)
433
+ - fix(claude-code): write hooks under settings.hooks.<event>, not at top level (#119)
434
+ - fix(opencode): shell-quote bash command before prepending `squeez wrap` (#115)
435
+ - fix(statusline): show compression % and fix Python heredoc expansion bug
436
+ - plan-mode passthrough + release description body (#95)
437
+ - fix(session-start): health check missed top-level event keys (#92)
438
+ - fix(hosts): expand PreToolUse matcher to cover Read, Grep, Glob, Agent, Task (#86)
439
+ - fix(json_util,statusline): whitespace-tolerant JSON parser + UTF-8 statusline on Windows (#81)
440
+ - fix(hosts): preserve user settings.json when existing JSON fails to parse (#83)
441
+ - prevent OOM from unbounded file reads + data integrity fixes
442
+ - fix(ci): use native ubuntu-24.04-arm runner for aarch64 build
443
+ - eliminate memory leaks causing 16 GB RAM on MCP server startup (#79)
444
+ - fix(hooks): add hookEventName to PreToolUse hookSpecificOutput (#78)
445
+ - fix(opencode): align plugin with PluginModule SDK shape (default export + server map) (#72)
446
+ - fix(ci): push release docs directly to main (loop-safe) (#68)
447
+ - back Copilot BUDGET_HARD with Read/Grep hook + update upstream refs (#65)
448
+ - fix(ci): startsWith guard for auto-release recursion (#46)
449
+ - fix(ci): tighten auto-release bump detection + fix tag push (#44)
450
+ - fix(ci): add --allow-dirty to cargo publish for Cargo.lock changes
451
+ - fix(ci): skip publish gracefully when version already exists on crates.io/npm
452
+ - fix(ci): run update-docs even if publish jobs fail (already published)
453
+ - fix(ci): continue-on-error for publish jobs so update-docs always runs
454
+ - fix(ci): add pull-requests write permission to update-docs job
455
+ - fix(update): cargo-managed self-update + Windows deferred install + session update check (#27)
456
+ - fix(ci): update-docs creates PR instead of pushing directly to protected main
457
+ - fix(npm): copy README.md into npm package before publish; add readme field
458
+ - fix(ci): add toolchain: stable to all dtolnay/rust-toolchain steps
459
+ - fix(ci): handle no previous tags in generate-changelog.sh (pipefail + grep -v)
460
+ - fix(ci): dispatch release.yml from auto-release to bypass GITHUB_TOKEN chain limit [skip release]
461
+ - fix(ci): fix flaky test tmp dir collision + simplify auto-release
462
+ - fix(bench): exclude synthetic fixtures from filter-mode bench/run.sh
463
+ - fix(ci): remove secrets in step if-conditions — check token inside script instead
464
+ - fix(ci): rename promote-develop → promote-to-main to fix broken workflow registration
465
+ - fix(ci): bump github-script to v7 in promote-develop to force workflow re-registration
466
+ - fix(compress_md): use byte slice comparison to avoid UTF-8 char boundary panic
467
+ - fix(statusline): remove Ctx% — show only squeez compression metrics
468
+ - fix(statusline): green ✓, proper capitalization, real-time context %, all metrics
469
+ - resolve gap analysis — new handlers, wider redundancy window, token budget
470
+ - install.sh — clarify PostToolUse no-matcher intent, guard version echo
471
+ - wrap.rs — safe git hex check, O(n) dedup, full cmd in event log
472
+ - use ends_with for files_committed check in init finalize
473
+ - json_util — guard extract_u64 empty digit, add json_util test coverage
474
+ - add pre-flight binary check to bench/run.sh
475
+ - atomic settings.json write + uninstall safety guards
476
+ - harden pretooluse hook (shlex.quote, error handling, single path source)
477
+ - wrap — process_group(0) for correct signal forwarding, tighten is_streaming
478
+
12
479
  ## [1.19.1] - 2026-05-18
13
480
 
14
481
  ### Added
@@ -2637,7 +3104,7 @@ conventional commit messages on `main`.
2637
3104
  ## [1.5.1] and earlier
2638
3105
  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.
2639
3106
 
2640
- [Unreleased]: https://github.com/claudioemmanuel/squeez/compare/v1.19.1...HEAD
3107
+ [Unreleased]: https://github.com/claudioemmanuel/squeez/compare/v1.19.3...HEAD
2641
3108
  [1.7.0]: https://github.com/claudioemmanuel/squeez/compare/v1.6.1...v1.7.0
2642
3109
  [1.6.1]: https://github.com/claudioemmanuel/squeez/compare/v1.6.0...v1.6.1
2643
3110
  [1.6.0]: https://github.com/claudioemmanuel/squeez/compare/v1.5.2...v1.6.0
@@ -2662,3 +3129,5 @@ See the [git tag history](https://github.com/claudioemmanuel/squeez/tags) for pr
2662
3129
  [1.18.1]: https://github.com/claudioemmanuel/squeez/releases/tag/v1.18.1
2663
3130
  [1.19.0]: https://github.com/claudioemmanuel/squeez/releases/tag/v1.19.0
2664
3131
  [1.19.1]: https://github.com/claudioemmanuel/squeez/releases/tag/v1.19.1
3132
+ [1.19.2]: https://github.com/claudioemmanuel/squeez/releases/tag/v1.19.2
3133
+ [1.19.3]: https://github.com/claudioemmanuel/squeez/releases/tag/v1.19.3
package/README.md CHANGED
@@ -162,41 +162,41 @@ Measured on macOS (Apple Silicon). Token count = `chars / 4` (matches Claude's ~
162
162
 
163
163
  | Scenario | Before | After | Reduction | Latency |
164
164
  |----------|--------|-------|-----------|---------|
165
- | `summarize_huge` | 82,257 tk | 420 tk | **-99%** | 55.9 ms |
166
- | `repetitive_output` | 4,692 tk | 37 tk | **-99%** | 221 µs |
167
- | `xcode_build` | 1,881 tk | 17 tk | **-99%** | 83 µs |
168
- | `high_context_adaptive` | 4,418 tk | 52 tk | **-99%** | 866 µs |
169
- | `agent_directory_output` | 3,348 tk | 167 tk | **-95%** | 371 µs |
170
- | `ps_aux` | 40,373 tk | 2,352 tk | **-94%** | 4.6 ms |
171
- | `git_log_200` | 2,692 tk | 289 tk | **-89%** | 229 µs |
172
- | `tsc_errors` | 731 tk | 101 tk | **-86%** | 22 µs |
173
- | `cargo_build_noisy` | 2,106 tk | 452 tk | **-79%** | 289 µs |
174
- | `docker_logs` | 665 tk | 186 tk | **-72%** | 50 µs |
175
- | `curl_html_response` | 2,181 tk | 626 tk | **-71%** | 50 µs |
176
- | `find_deep` | 424 tk | 134 tk | **-68%** | 132 µs |
177
- | `git_status` | 50 tk | 16 tk | **-68%** | 15 µs |
178
- | `pytest_failures` | 3,402 tk | 1,189 tk | **-65%** | 358 µs |
179
- | `verbose_app_log` | 4,957 tk | 1,991 tk | **-60%** | 330 µs |
180
- | `npm_install` | 524 tk | 232 tk | **-56%** | 49 µs |
181
- | `crosscall_redundancy_3x` | 486 tk | 241 tk | **-50%** | 51.7 ms |
182
- | `ls_la` | 1,782 tk | 886 tk | **-50%** | 237 µs |
183
- | `env_dump` | 441 tk | 287 tk | **-35%** | 28 µs |
184
- | `git_copilot` | 640 tk | 421 tk | **-34%** | 131 µs |
185
- | `agent_heavy` | 2,306 tk | 1,564 tk | **-32%** | 368 µs |
186
- | `md_prose` | 187 tk | 138 tk | **-26%** | 880 µs |
187
- | `md_claude_md` | 316 tk | 247 tk | **-22%** | 1.4 ms |
188
- | `claude_md_overhead` | 717 tk | 649 tk | **-9%** | 22 µs |
189
- | `git_diff` | 502 tk | 497 tk | **-1%** | 44 µs |
190
- | `jest_failures` | 451 tk | 448 tk | **-1%** | 54 µs |
191
- | `state_first_simulation` | 182 tk | 181 tk | **-1%** | 5 µs |
192
- | `kubectl_pods` | 1,513 tk | 1,513 tk | **-0%** | 36 µs |
165
+ | `summarize_huge` | 82,257 tk | 420 tk | **-99%** | 56.0 ms |
166
+ | `repetitive_output` | 4,692 tk | 37 tk | **-99%** | 227 µs |
167
+ | `xcode_build` | 1,881 tk | 17 tk | **-99%** | 80 µs |
168
+ | `high_context_adaptive` | 4,418 tk | 52 tk | **-99%** | 847 µs |
169
+ | `agent_directory_output` | 3,348 tk | 167 tk | **-95%** | 366 µs |
170
+ | `ps_aux` | 40,373 tk | 2,338 tk | **-94%** | 3.2 ms |
171
+ | `git_log_200` | 2,692 tk | 275 tk | **-90%** | 228 µs |
172
+ | `tsc_errors` | 731 tk | 101 tk | **-86%** | 23 µs |
173
+ | `cargo_build_noisy` | 2,106 tk | 439 tk | **-79%** | 266 µs |
174
+ | `docker_logs` | 665 tk | 186 tk | **-72%** | 53 µs |
175
+ | `curl_html_response` | 2,181 tk | 626 tk | **-71%** | 53 µs |
176
+ | `find_deep` | 424 tk | 134 tk | **-68%** | 84 µs |
177
+ | `git_status` | 50 tk | 16 tk | **-68%** | 16 µs |
178
+ | `pytest_failures` | 3,402 tk | 1,175 tk | **-65%** | 338 µs |
179
+ | `verbose_app_log` | 4,957 tk | 1,978 tk | **-60%** | 324 µs |
180
+ | `npm_install` | 524 tk | 218 tk | **-58%** | 51 µs |
181
+ | `crosscall_redundancy_3x` | 486 tk | 237 tk | **-51%** | 51.8 ms |
182
+ | `ls_la` | 1,782 tk | 872 tk | **-51%** | 221 µs |
183
+ | `env_dump` | 441 tk | 287 tk | **-35%** | 26 µs |
184
+ | `git_copilot` | 640 tk | 421 tk | **-34%** | 126 µs |
185
+ | `agent_heavy` | 2,306 tk | 1,551 tk | **-33%** | 345 µs |
186
+ | `md_prose` | 187 tk | 138 tk | **-26%** | 799 µs |
187
+ | `md_claude_md` | 316 tk | 247 tk | **-22%** | 1.2 ms |
188
+ | `claude_md_overhead` | 717 tk | 635 tk | **-11%** | 24 µs |
189
+ | `git_diff` | 502 tk | 497 tk | **-1%** | 47 µs |
190
+ | `jest_failures` | 451 tk | 448 tk | **-1%** | 56 µs |
191
+ | `state_first_simulation` | 182 tk | 181 tk | **-1%** | 6 µs |
192
+ | `kubectl_pods` | 1,513 tk | 1,513 tk | **-0%** | 39 µs |
193
193
 
194
194
  ### Aggregate
195
195
 
196
196
  | Metric | Value |
197
197
  |--------|-------|
198
- | **Total token reduction** | **90.7%** — 164,224 tk → 15,333 tk |
199
- | Bash output | **-83.9%** |
198
+ | **Total token reduction** | **90.7%** — 164,224 tk → 15,206 tk |
199
+ | Bash output | **-84.0%** |
200
200
  | Markdown / context files | **-23.5%** |
201
201
  | Wrap / cross-call engine | **-99.2%** |
202
202
  | Quality (signal terms preserved) | **28 / 28 pass** |
@@ -207,9 +207,9 @@ Measured on macOS (Apple Silicon). Token count = `chars / 4` (matches Claude's ~
207
207
 
208
208
  | Usage | Baseline / month | Saved / month |
209
209
  |-------|-----------------|---------------|
210
- | 100 calls / day | $18.00 | **$16.32 (91%)** |
211
- | 1,000 calls / day | $180.00 | **$163.19 (91%)** |
212
- | 10,000 calls / day | $1800.00 | **$1631.88 (91%)** |
210
+ | 100 calls / day | $18.00 | **$16.33 (91%)** |
211
+ | 1,000 calls / day | $180.00 | **$163.33 (91%)** |
212
+ | 10,000 calls / day | $1800.00 | **$1633.32 (91%)** |
213
213
  <!-- BENCHMARK:END -->
214
214
 
215
215
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squeez",
3
- "version": "1.19.2",
3
+ "version": "1.19.4",
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",