squeez 1.5.2 → 1.6.1

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 +290 -1
  2. package/README.md +22 -22
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,293 @@ This project uses [Semantic Versioning](https://semver.org/).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.6.0] - 2026-04-19
11
+
12
+ ### Added
13
+ - token-compression power-up — sig-mode, memory-file warn, structured summaries, hypothesis benchmark (#70)
14
+ - feat(setup): adapter-driven setup/uninstall across all hosts (#58)
15
+ - feat(hosts): Codex CLI adapter (hooks + AGENTS.md soft-budget) (#55)
16
+ - feat(hosts): Gemini CLI adapter (BeforeTool/AfterTool hooks) (#52)
17
+ - feat(hosts): full-parity OpenCode adapter + plugin rewrite (#48)
18
+ - wrangler, playwright, next build handlers + bun/drizzle routing (#34)
19
+ - feat(opus47): adapt squeez for Opus 4.7 tokenizer and xhigh effort
20
+ - feat(setup): auto-detect lang from CLAUDE.md/locale + stderr update notification (#29)
21
+ - v0.3.0 — token economy, pt-BR caveman, aggressive defaults, full hook install
22
+ - structured session memory, cross-session search, error snippets, configurable tunables
23
+ - feat(setup): create config.ini on first install
24
+ - feat(i18n): locale-aware compress-md with pt-BR support (#25)
25
+ - fuzzy dedup, adaptive intensity, benign summarize, MCP server, temporal memory, protocol payload
26
+ - Windows setup via cargo/npm + squeez update fix
27
+ - feat(benchmark): add squeez benchmark command with 19-scenario test suite
28
+ - feat(ci): re-add promote-develop workflow with correct registration
29
+ - feat(init): inject persona into ~/.claude/CLAUDE.md on every session start
30
+ - feat(npm+crates): add npm package and publish jobs to release workflow
31
+ - feat(statusline): add statusline.sh to repo; install via install.sh; show all-time stats
32
+ - compress-md, caveman persona, squeez update, track-result hook
33
+ - feat(context): adaptive intensity always picks Ultra
34
+ - feat(context): aggressive token-engine — adaptive intensity, redundancy cache, summarize fallback
35
+ - add Windows support to install.sh and release.yml
36
+ - add home_dir() helper with USERPROFILE fallback for Windows
37
+ - cross-platform wrap — shell_command() helper, cfg(unix) signal gates, libc unix-only
38
+ - add GitHub Copilot CLI support
39
+ - add OpenCode plugin for automatic Bash compression
40
+ - add universal installer support for macOS and Linux
41
+ - expand benchmarks, edge-case tests, and README polish
42
+ - add SessionStart + PostToolUse hooks, update install.sh and README
43
+ - wrap.rs — artifact capture (files/errors/git/tests) + compact warning header
44
+ - squeez init — session start, prior memory banner, session finalization (TDD)
45
+ - squeez track — token accumulation + session event log (TDD)
46
+ - memory.rs — Summary, read_last_n, write_summary, prune_old (TDD)
47
+ - session.rs — CurrentSession, append_event, date math (TDD)
48
+ - json_util helpers + compact_threshold_tokens, memory_retention_days config
49
+ - benchmark system — all fixtures passing
50
+ - build.sh compiles + installs squeez, registers hook
51
+ - PreToolUse hook script
52
+ - fs and runtime handlers — all handler tests passing
53
+ - cloud, database, network handlers (TDD)
54
+ - typescript and build handlers (TDD)
55
+ - package_mgr and test_runner handlers (TDD)
56
+ - git and docker handlers (TDD)
57
+ - wrap subcommand — sh -c, 120s timeout, signal forwarding, bypass check
58
+ - Handler trait with cmd+config, generic handler, command router, filter_stdin
59
+ - truncation strategy (TDD) — all strategy tests passing
60
+ - grouping strategy (TDD)
61
+ - dedup strategy (TDD)
62
+ - smart_filter strategy with node_modules frame removal (TDD)
63
+ - implement config.ini parser (TDD)
64
+
65
+ ### Changed
66
+ - chore(release): bump version to 1.6.0 [squeez-release-bot]
67
+ - docs: update changelog and benchmarks for v1.5.2
68
+ - chore(release): bump version to 1.5.2 [squeez-release-bot]
69
+ - chore(release): bump version to 1.5.1 [squeez-release-bot]
70
+ - docs: five-host matrix + squeez setup/uninstall flow (#63)
71
+ - refactor(install): delegate host registration to 'squeez setup' (#60)
72
+ - chore(release): bump version to 1.5.0 [squeez-release-bot]
73
+ - chore(release): bump version to 1.4.0 [squeez-release-bot]
74
+ - chore(release): bump version to 1.3.0 [squeez-release-bot]
75
+ - chore(release): bump version to 1.2.0 [squeez-release-bot]
76
+ - chore(release): bump version to 1.1.0 [squeez-release-bot]
77
+ - chore(release): bump version to 1.0.0 [skip release]
78
+ - refactor(hosts): extract HostAdapter trait + migrate Claude Code and Copilot (#42)
79
+ - ci: conventional-commit-driven auto-release (#40)
80
+ - chore(gov): issue-form templates + refined PR template (#39)
81
+ - docs: update changelog and benchmarks for v0.4.1 [skip release] (#33)
82
+ - chore(release): bump version to 0.4.1
83
+ - chore(release): bump version to 0.4.0
84
+ - docs: update changelog and benchmarks for v0.3.2 [skip release] (#30)
85
+ - chore: bump version to 0.3.2
86
+ - docs: add shields.io badge for changelog link
87
+ - chore: bump version to 0.3.1
88
+ - chore: bump version to 0.2.3
89
+ - docs: update README with 11 MCP tools, structured memory, and advanced tunables
90
+ - chore: bump version to 0.2.2
91
+ - docs: rewrite README with full install instructions (curl/npm/cargo) and all commands
92
+ - chore: refresh bench/report.md from latest run [skip release]
93
+ - chore(ci): remove promote-develop workflow (re-adding to fix broken registration)
94
+ - chore: bump version to 0.2.1 + auto-release on merge to main [skip release]
95
+ - chore: bump version to 0.2.0; add Cargo.toml metadata
96
+ - ci: PR template, linked-issue enforcement, no-claude-trailer check
97
+ - docs: update README with PR1+PR2 features, fresh benchmarks, changelog
98
+ - ci: auto-delete branches after PR merge
99
+ - docs: update Windows installation instructions and prerequisites in README
100
+ - docs: add Windows support and Rust install instructions to README
101
+ - refactor: use session::home_dir() in config and init (Windows compat)
102
+ - ci: trigger promote workflow (test)
103
+ - ci(workflow): avoid failing promote job when PR creation is not permitted; add PR_CREATION_TOKEN guidance
104
+ - docs(readme): add changelog, contribution workflow, and benchmark notes
105
+ - ci(workflow): create/update PR from develop to main on push
106
+ - chore: add .worktrees/ to gitignore
107
+ - chore: add docs/ to gitignore (local design specs)
108
+ - docs: update README for GitHub Copilot CLI support
109
+ - security: fix remaining LOW findings in wrap.rs
110
+ - security: fix 2 follow-up findings from second audit
111
+ - security: fix all 8 findings from security audit
112
+ - ci: build and install binary before running benchmarks
113
+ - chore: add GitHub sponsor button
114
+ - chore: ignore .omc/ directory, remove from tracking
115
+ - chore: update benchmark report (7/7 passing)
116
+ - docs: update README — real benchmarks, Phase 2 config, how it works
117
+ - style: cargo fmt on session.rs and test_session.rs
118
+ - chore: open source files — README, LICENSE, CI/release workflows, install.sh
119
+ - chore: scaffold squeez Rust project
120
+
121
+ ### Fixed
122
+ - fix(ci): push release docs directly to main (loop-safe) (#68)
123
+ - back Copilot BUDGET_HARD with Read/Grep hook + update upstream refs (#65)
124
+ - fix(ci): startsWith guard for auto-release recursion (#46)
125
+ - fix(ci): tighten auto-release bump detection + fix tag push (#44)
126
+ - fix(ci): add --allow-dirty to cargo publish for Cargo.lock changes
127
+ - fix(ci): skip publish gracefully when version already exists on crates.io/npm
128
+ - fix(ci): run update-docs even if publish jobs fail (already published)
129
+ - fix(ci): continue-on-error for publish jobs so update-docs always runs
130
+ - fix(ci): add pull-requests write permission to update-docs job
131
+ - fix(update): cargo-managed self-update + Windows deferred install + session update check (#27)
132
+ - fix(ci): update-docs creates PR instead of pushing directly to protected main
133
+ - fix(npm): copy README.md into npm package before publish; add readme field
134
+ - fix(ci): add toolchain: stable to all dtolnay/rust-toolchain steps
135
+ - fix(ci): handle no previous tags in generate-changelog.sh (pipefail + grep -v)
136
+ - fix(ci): dispatch release.yml from auto-release to bypass GITHUB_TOKEN chain limit [skip release]
137
+ - fix(ci): fix flaky test tmp dir collision + simplify auto-release
138
+ - fix(bench): exclude synthetic fixtures from filter-mode bench/run.sh
139
+ - fix(ci): remove secrets in step if-conditions — check token inside script instead
140
+ - fix(ci): rename promote-develop → promote-to-main to fix broken workflow registration
141
+ - fix(ci): bump github-script to v7 in promote-develop to force workflow re-registration
142
+ - fix(compress_md): use byte slice comparison to avoid UTF-8 char boundary panic
143
+ - fix(statusline): remove Ctx% — show only squeez compression metrics
144
+ - fix(statusline): green ✓, proper capitalization, real-time context %, all metrics
145
+ - resolve gap analysis — new handlers, wider redundancy window, token budget
146
+ - install.sh — clarify PostToolUse no-matcher intent, guard version echo
147
+ - wrap.rs — safe git hex check, O(n) dedup, full cmd in event log
148
+ - use ends_with for files_committed check in init finalize
149
+ - json_util — guard extract_u64 empty digit, add json_util test coverage
150
+ - add pre-flight binary check to bench/run.sh
151
+ - atomic settings.json write + uninstall safety guards
152
+ - harden pretooluse hook (shlex.quote, error handling, single path source)
153
+ - wrap — process_group(0) for correct signal forwarding, tighten is_streaming
154
+
155
+ ## [1.5.2] - 2026-04-18
156
+
157
+ ### Added
158
+ - feat(setup): adapter-driven setup/uninstall across all hosts (#58)
159
+ - feat(hosts): Codex CLI adapter (hooks + AGENTS.md soft-budget) (#55)
160
+ - feat(hosts): Gemini CLI adapter (BeforeTool/AfterTool hooks) (#52)
161
+ - feat(hosts): full-parity OpenCode adapter + plugin rewrite (#48)
162
+ - wrangler, playwright, next build handlers + bun/drizzle routing (#34)
163
+ - feat(opus47): adapt squeez for Opus 4.7 tokenizer and xhigh effort
164
+ - feat(setup): auto-detect lang from CLAUDE.md/locale + stderr update notification (#29)
165
+ - v0.3.0 — token economy, pt-BR caveman, aggressive defaults, full hook install
166
+ - structured session memory, cross-session search, error snippets, configurable tunables
167
+ - feat(setup): create config.ini on first install
168
+ - feat(i18n): locale-aware compress-md with pt-BR support (#25)
169
+ - fuzzy dedup, adaptive intensity, benign summarize, MCP server, temporal memory, protocol payload
170
+ - Windows setup via cargo/npm + squeez update fix
171
+ - feat(benchmark): add squeez benchmark command with 19-scenario test suite
172
+ - feat(ci): re-add promote-develop workflow with correct registration
173
+ - feat(init): inject persona into ~/.claude/CLAUDE.md on every session start
174
+ - feat(npm+crates): add npm package and publish jobs to release workflow
175
+ - feat(statusline): add statusline.sh to repo; install via install.sh; show all-time stats
176
+ - compress-md, caveman persona, squeez update, track-result hook
177
+ - feat(context): adaptive intensity always picks Ultra
178
+ - feat(context): aggressive token-engine — adaptive intensity, redundancy cache, summarize fallback
179
+ - add Windows support to install.sh and release.yml
180
+ - add home_dir() helper with USERPROFILE fallback for Windows
181
+ - cross-platform wrap — shell_command() helper, cfg(unix) signal gates, libc unix-only
182
+ - add GitHub Copilot CLI support
183
+ - add OpenCode plugin for automatic Bash compression
184
+ - add universal installer support for macOS and Linux
185
+ - expand benchmarks, edge-case tests, and README polish
186
+ - add SessionStart + PostToolUse hooks, update install.sh and README
187
+ - wrap.rs — artifact capture (files/errors/git/tests) + compact warning header
188
+ - squeez init — session start, prior memory banner, session finalization (TDD)
189
+ - squeez track — token accumulation + session event log (TDD)
190
+ - memory.rs — Summary, read_last_n, write_summary, prune_old (TDD)
191
+ - session.rs — CurrentSession, append_event, date math (TDD)
192
+ - json_util helpers + compact_threshold_tokens, memory_retention_days config
193
+ - benchmark system — all fixtures passing
194
+ - build.sh compiles + installs squeez, registers hook
195
+ - PreToolUse hook script
196
+ - fs and runtime handlers — all handler tests passing
197
+ - cloud, database, network handlers (TDD)
198
+ - typescript and build handlers (TDD)
199
+ - package_mgr and test_runner handlers (TDD)
200
+ - git and docker handlers (TDD)
201
+ - wrap subcommand — sh -c, 120s timeout, signal forwarding, bypass check
202
+ - Handler trait with cmd+config, generic handler, command router, filter_stdin
203
+ - truncation strategy (TDD) — all strategy tests passing
204
+ - grouping strategy (TDD)
205
+ - dedup strategy (TDD)
206
+ - smart_filter strategy with node_modules frame removal (TDD)
207
+ - implement config.ini parser (TDD)
208
+
209
+ ### Changed
210
+ - chore(release): bump version to 1.5.2 [squeez-release-bot]
211
+ - chore(release): bump version to 1.5.1 [squeez-release-bot]
212
+ - docs: five-host matrix + squeez setup/uninstall flow (#63)
213
+ - refactor(install): delegate host registration to 'squeez setup' (#60)
214
+ - chore(release): bump version to 1.5.0 [squeez-release-bot]
215
+ - chore(release): bump version to 1.4.0 [squeez-release-bot]
216
+ - chore(release): bump version to 1.3.0 [squeez-release-bot]
217
+ - chore(release): bump version to 1.2.0 [squeez-release-bot]
218
+ - chore(release): bump version to 1.1.0 [squeez-release-bot]
219
+ - chore(release): bump version to 1.0.0 [skip release]
220
+ - refactor(hosts): extract HostAdapter trait + migrate Claude Code and Copilot (#42)
221
+ - ci: conventional-commit-driven auto-release (#40)
222
+ - chore(gov): issue-form templates + refined PR template (#39)
223
+ - docs: update changelog and benchmarks for v0.4.1 [skip release] (#33)
224
+ - chore(release): bump version to 0.4.1
225
+ - chore(release): bump version to 0.4.0
226
+ - docs: update changelog and benchmarks for v0.3.2 [skip release] (#30)
227
+ - chore: bump version to 0.3.2
228
+ - docs: add shields.io badge for changelog link
229
+ - chore: bump version to 0.3.1
230
+ - chore: bump version to 0.2.3
231
+ - docs: update README with 11 MCP tools, structured memory, and advanced tunables
232
+ - chore: bump version to 0.2.2
233
+ - docs: rewrite README with full install instructions (curl/npm/cargo) and all commands
234
+ - chore: refresh bench/report.md from latest run [skip release]
235
+ - chore(ci): remove promote-develop workflow (re-adding to fix broken registration)
236
+ - chore: bump version to 0.2.1 + auto-release on merge to main [skip release]
237
+ - chore: bump version to 0.2.0; add Cargo.toml metadata
238
+ - ci: PR template, linked-issue enforcement, no-claude-trailer check
239
+ - docs: update README with PR1+PR2 features, fresh benchmarks, changelog
240
+ - ci: auto-delete branches after PR merge
241
+ - docs: update Windows installation instructions and prerequisites in README
242
+ - docs: add Windows support and Rust install instructions to README
243
+ - refactor: use session::home_dir() in config and init (Windows compat)
244
+ - ci: trigger promote workflow (test)
245
+ - ci(workflow): avoid failing promote job when PR creation is not permitted; add PR_CREATION_TOKEN guidance
246
+ - docs(readme): add changelog, contribution workflow, and benchmark notes
247
+ - ci(workflow): create/update PR from develop to main on push
248
+ - chore: add .worktrees/ to gitignore
249
+ - chore: add docs/ to gitignore (local design specs)
250
+ - docs: update README for GitHub Copilot CLI support
251
+ - security: fix remaining LOW findings in wrap.rs
252
+ - security: fix 2 follow-up findings from second audit
253
+ - security: fix all 8 findings from security audit
254
+ - ci: build and install binary before running benchmarks
255
+ - chore: add GitHub sponsor button
256
+ - chore: ignore .omc/ directory, remove from tracking
257
+ - chore: update benchmark report (7/7 passing)
258
+ - docs: update README — real benchmarks, Phase 2 config, how it works
259
+ - style: cargo fmt on session.rs and test_session.rs
260
+ - chore: open source files — README, LICENSE, CI/release workflows, install.sh
261
+ - chore: scaffold squeez Rust project
262
+
263
+ ### Fixed
264
+ - fix(ci): push release docs directly to main (loop-safe) (#68)
265
+ - back Copilot BUDGET_HARD with Read/Grep hook + update upstream refs (#65)
266
+ - fix(ci): startsWith guard for auto-release recursion (#46)
267
+ - fix(ci): tighten auto-release bump detection + fix tag push (#44)
268
+ - fix(ci): add --allow-dirty to cargo publish for Cargo.lock changes
269
+ - fix(ci): skip publish gracefully when version already exists on crates.io/npm
270
+ - fix(ci): run update-docs even if publish jobs fail (already published)
271
+ - fix(ci): continue-on-error for publish jobs so update-docs always runs
272
+ - fix(ci): add pull-requests write permission to update-docs job
273
+ - fix(update): cargo-managed self-update + Windows deferred install + session update check (#27)
274
+ - fix(ci): update-docs creates PR instead of pushing directly to protected main
275
+ - fix(npm): copy README.md into npm package before publish; add readme field
276
+ - fix(ci): add toolchain: stable to all dtolnay/rust-toolchain steps
277
+ - fix(ci): handle no previous tags in generate-changelog.sh (pipefail + grep -v)
278
+ - fix(ci): dispatch release.yml from auto-release to bypass GITHUB_TOKEN chain limit [skip release]
279
+ - fix(ci): fix flaky test tmp dir collision + simplify auto-release
280
+ - fix(bench): exclude synthetic fixtures from filter-mode bench/run.sh
281
+ - fix(ci): remove secrets in step if-conditions — check token inside script instead
282
+ - fix(ci): rename promote-develop → promote-to-main to fix broken workflow registration
283
+ - fix(ci): bump github-script to v7 in promote-develop to force workflow re-registration
284
+ - fix(compress_md): use byte slice comparison to avoid UTF-8 char boundary panic
285
+ - fix(statusline): remove Ctx% — show only squeez compression metrics
286
+ - fix(statusline): green ✓, proper capitalization, real-time context %, all metrics
287
+ - resolve gap analysis — new handlers, wider redundancy window, token budget
288
+ - install.sh — clarify PostToolUse no-matcher intent, guard version echo
289
+ - wrap.rs — safe git hex check, O(n) dedup, full cmd in event log
290
+ - use ends_with for files_committed check in init finalize
291
+ - json_util — guard extract_u64 empty digit, add json_util test coverage
292
+ - add pre-flight binary check to bench/run.sh
293
+ - atomic settings.json write + uninstall safety guards
294
+ - harden pretooluse hook (shlex.quote, error handling, single path source)
295
+ - wrap — process_group(0) for correct signal forwarding, tighten is_streaming
296
+
10
297
  ## [0.4.1] - 2026-04-16
11
298
 
12
299
  ### Added
@@ -346,7 +633,7 @@ This project uses [Semantic Versioning](https://semver.org/).
346
633
  - Wider redundancy window, token budget improvements
347
634
  - CI: PR template, linked-issue enforcement
348
635
 
349
- [Unreleased]: https://github.com/claudioemmanuel/squeez/compare/v0.4.1...HEAD
636
+ [Unreleased]: https://github.com/claudioemmanuel/squeez/compare/v1.6.0...HEAD
350
637
  [0.3.0]: https://github.com/claudioemmanuel/squeez/compare/v0.2.3...v0.3.0
351
638
  [0.2.3]: https://github.com/claudioemmanuel/squeez/compare/v0.2.2...v0.2.3
352
639
  [0.2.2]: https://github.com/claudioemmanuel/squeez/compare/v0.2.1...v0.2.2
@@ -354,3 +641,5 @@ This project uses [Semantic Versioning](https://semver.org/).
354
641
  [0.2.0]: https://github.com/claudioemmanuel/squeez/releases/tag/v0.2.0
355
642
  [0.3.2]: https://github.com/claudioemmanuel/squeez/releases/tag/v0.3.2
356
643
  [0.4.1]: https://github.com/claudioemmanuel/squeez/releases/tag/v0.4.1
644
+ [1.5.2]: https://github.com/claudioemmanuel/squeez/releases/tag/v1.5.2
645
+ [1.6.0]: https://github.com/claudioemmanuel/squeez/releases/tag/v1.6.0
package/README.md CHANGED
@@ -115,28 +115,28 @@ Measured on macOS (Apple Silicon). Token count = `chars / 4` (matches Claude's ~
115
115
  | Scenario | Before | After | Reduction | Latency |
116
116
  |----------|--------|-------|-----------|---------|
117
117
  | `summarize_huge` | 82,257 tk | 420 tk | **-99%** | 55.7 ms |
118
- | `repetitive_output` | 4,692 tk | 37 tk | **-99%** | 191 µs |
119
- | `high_context_adaptive` | 4,418 tk | 52 tk | **-99%** | 768 µs |
120
- | `ps_aux` | 40,373 tk | 2,352 tk | **-94%** | 2.2 ms |
121
- | `git_log_200` | 2,692 tk | 289 tk | **-89%** | 159 µs |
122
- | `tsc_errors` | 731 tk | 101 tk | **-86%** | 26 µs |
123
- | `cargo_build_noisy` | 2,106 tk | 452 tk | **-79%** | 194 µs |
124
- | `docker_logs` | 665 tk | 186 tk | **-72%** | 39 µs |
125
- | `find_deep` | 424 tk | 134 tk | **-68%** | 70 µs |
126
- | `git_status` | 50 tk | 16 tk | **-68%** | 10 µs |
127
- | `state_first_simulation` | 182 tk | 69 tk | **-62%** | 18 µs |
128
- | `verbose_app_log` | 4,957 tk | 1,991 tk | **-60%** | 226 µs |
129
- | `npm_install` | 524 tk | 232 tk | **-56%** | 37 µs |
130
- | `claude_md_overhead` | 717 tk | 318 tk | **-56%** | 80 µs |
118
+ | `repetitive_output` | 4,692 tk | 37 tk | **-99%** | 233 µs |
119
+ | `high_context_adaptive` | 4,418 tk | 52 tk | **-99%** | 835 µs |
120
+ | `ps_aux` | 40,373 tk | 2,352 tk | **-94%** | 3.0 ms |
121
+ | `git_log_200` | 2,692 tk | 289 tk | **-89%** | 220 µs |
122
+ | `tsc_errors` | 731 tk | 101 tk | **-86%** | 29 µs |
123
+ | `cargo_build_noisy` | 2,106 tk | 452 tk | **-79%** | 262 µs |
124
+ | `docker_logs` | 665 tk | 186 tk | **-72%** | 47 µs |
125
+ | `find_deep` | 424 tk | 134 tk | **-68%** | 79 µs |
126
+ | `git_status` | 50 tk | 16 tk | **-68%** | 12 µs |
127
+ | `state_first_simulation` | 182 tk | 69 tk | **-62%** | 12 µs |
128
+ | `verbose_app_log` | 4,957 tk | 1,991 tk | **-60%** | 315 µs |
129
+ | `npm_install` | 524 tk | 232 tk | **-56%** | 49 µs |
130
+ | `claude_md_overhead` | 717 tk | 318 tk | **-56%** | 361 µs |
131
131
  | `crosscall_redundancy_3x` | 486 tk | 241 tk | **-50%** | 51.5 ms |
132
- | `ls_la` | 1,782 tk | 886 tk | **-50%** | 159 µs |
133
- | `env_dump` | 441 tk | 287 tk | **-35%** | 19 µs |
134
- | `git_copilot` | 640 tk | 421 tk | **-34%** | 85 µs |
135
- | `agent_heavy` | 2,306 tk | 1,564 tk | **-32%** | 303 µs |
136
- | `md_prose` | 187 tk | 138 tk | **-26%** | 555 µs |
137
- | `md_claude_md` | 316 tk | 247 tk | **-22%** | 881 µs |
138
- | `git_diff` | 502 tk | 497 tk | **-1%** | 35 µs |
139
- | `kubectl_pods` | 1,513 tk | 1,513 tk | **-0%** | 26 µs |
132
+ | `ls_la` | 1,782 tk | 886 tk | **-50%** | 218 µs |
133
+ | `env_dump` | 441 tk | 287 tk | **-35%** | 25 µs |
134
+ | `git_copilot` | 640 tk | 421 tk | **-34%** | 104 µs |
135
+ | `agent_heavy` | 2,306 tk | 1,564 tk | **-32%** | 408 µs |
136
+ | `md_prose` | 187 tk | 138 tk | **-26%** | 678 µs |
137
+ | `md_claude_md` | 316 tk | 247 tk | **-22%** | 1.3 ms |
138
+ | `git_diff` | 502 tk | 497 tk | **-1%** | 43 µs |
139
+ | `kubectl_pods` | 1,513 tk | 1,513 tk | **-0%** | 31 µs |
140
140
 
141
141
  ### Aggregate
142
142
 
@@ -147,7 +147,7 @@ Measured on macOS (Apple Silicon). Token count = `chars / 4` (matches Claude's ~
147
147
  | Markdown / context files | **-23.5%** |
148
148
  | Wrap / cross-call engine | **-99.2%** |
149
149
  | Quality (signal terms preserved) | **23 / 23 pass** |
150
- | Latency p50 (filter mode) | **4.9 ms** |
150
+ | Latency p50 (filter mode) | **5.0 ms** |
151
151
  | Latency p95 (incl. wrap/summarize) | **51 ms** |
152
152
 
153
153
  ### Estimated cost savings — Claude Sonnet 4.6 · $3.00 / MTok input
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squeez",
3
- "version": "1.5.2",
3
+ "version": "1.6.1",
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",