squeez 1.16.0 → 1.17.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.
- package/CHANGELOG.md +215 -1
- package/README.md +28 -25
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,219 @@ conventional commit messages on `main`.
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [1.16.0] - 2026-05-06
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- feat(bench): add pytest, jest, xcode_build scenarios — 23 → 26 scenarios
|
|
16
|
+
- feat(hooks): PreCompact + PostCompact lifecycle hooks (#102)
|
|
17
|
+
- feat(hooks): SubagentStop hook feeds sub-agent output into SessionContext (#101)
|
|
18
|
+
- feat(monitor): add Monitor tool to PostToolUse compress-output dispatch (#100)
|
|
19
|
+
- PostToolUse updatedToolOutput for Read/Grep/Glob (Claude Code v2.1.119+)
|
|
20
|
+
- session-analysis improvements — az JSON, vite noise, prisma generate, hook health check (#90)
|
|
21
|
+
- feat(fs): auto-compress cat'd markdown via compress_md pipeline (#88)
|
|
22
|
+
- feat(economy): compress Agent/Task prompt at PreToolUse time (#87)
|
|
23
|
+
- feat(handlers): xcodebuild noise filter + log-file tail detection (#84)
|
|
24
|
+
- feat(bench): efficiency-proof benchmark suite — quantitative savings for US-001/003/004 (#74)
|
|
25
|
+
- token-compression power-up — sig-mode, memory-file warn, structured summaries, hypothesis benchmark (#70)
|
|
26
|
+
- feat(setup): adapter-driven setup/uninstall across all hosts (#58)
|
|
27
|
+
- feat(hosts): Codex CLI adapter (hooks + AGENTS.md soft-budget) (#55)
|
|
28
|
+
- feat(hosts): Gemini CLI adapter (BeforeTool/AfterTool hooks) (#52)
|
|
29
|
+
- feat(hosts): full-parity OpenCode adapter + plugin rewrite (#48)
|
|
30
|
+
- wrangler, playwright, next build handlers + bun/drizzle routing (#34)
|
|
31
|
+
- feat(opus47): adapt squeez for Opus 4.7 tokenizer and xhigh effort
|
|
32
|
+
- feat(setup): auto-detect lang from CLAUDE.md/locale + stderr update notification (#29)
|
|
33
|
+
- v0.3.0 — token economy, pt-BR caveman, aggressive defaults, full hook install
|
|
34
|
+
- structured session memory, cross-session search, error snippets, configurable tunables
|
|
35
|
+
- feat(setup): create config.ini on first install
|
|
36
|
+
- feat(i18n): locale-aware compress-md with pt-BR support (#25)
|
|
37
|
+
- fuzzy dedup, adaptive intensity, benign summarize, MCP server, temporal memory, protocol payload
|
|
38
|
+
- Windows setup via cargo/npm + squeez update fix
|
|
39
|
+
- feat(benchmark): add squeez benchmark command with 19-scenario test suite
|
|
40
|
+
- feat(ci): re-add promote-develop workflow with correct registration
|
|
41
|
+
- feat(init): inject persona into ~/.claude/CLAUDE.md on every session start
|
|
42
|
+
- feat(npm+crates): add npm package and publish jobs to release workflow
|
|
43
|
+
- feat(statusline): add statusline.sh to repo; install via install.sh; show all-time stats
|
|
44
|
+
- compress-md, caveman persona, squeez update, track-result hook
|
|
45
|
+
- feat(context): adaptive intensity always picks Ultra
|
|
46
|
+
- feat(context): aggressive token-engine — adaptive intensity, redundancy cache, summarize fallback
|
|
47
|
+
- add Windows support to install.sh and release.yml
|
|
48
|
+
- add home_dir() helper with USERPROFILE fallback for Windows
|
|
49
|
+
- cross-platform wrap — shell_command() helper, cfg(unix) signal gates, libc unix-only
|
|
50
|
+
- add GitHub Copilot CLI support
|
|
51
|
+
- add OpenCode plugin for automatic Bash compression
|
|
52
|
+
- add universal installer support for macOS and Linux
|
|
53
|
+
- expand benchmarks, edge-case tests, and README polish
|
|
54
|
+
- add SessionStart + PostToolUse hooks, update install.sh and README
|
|
55
|
+
- wrap.rs — artifact capture (files/errors/git/tests) + compact warning header
|
|
56
|
+
- squeez init — session start, prior memory banner, session finalization (TDD)
|
|
57
|
+
- squeez track — token accumulation + session event log (TDD)
|
|
58
|
+
- memory.rs — Summary, read_last_n, write_summary, prune_old (TDD)
|
|
59
|
+
- session.rs — CurrentSession, append_event, date math (TDD)
|
|
60
|
+
- json_util helpers + compact_threshold_tokens, memory_retention_days config
|
|
61
|
+
- benchmark system — all fixtures passing
|
|
62
|
+
- build.sh compiles + installs squeez, registers hook
|
|
63
|
+
- PreToolUse hook script
|
|
64
|
+
- fs and runtime handlers — all handler tests passing
|
|
65
|
+
- cloud, database, network handlers (TDD)
|
|
66
|
+
- typescript and build handlers (TDD)
|
|
67
|
+
- package_mgr and test_runner handlers (TDD)
|
|
68
|
+
- git and docker handlers (TDD)
|
|
69
|
+
- wrap subcommand — sh -c, 120s timeout, signal forwarding, bypass check
|
|
70
|
+
- Handler trait with cmd+config, generic handler, command router, filter_stdin
|
|
71
|
+
- truncation strategy (TDD) — all strategy tests passing
|
|
72
|
+
- grouping strategy (TDD)
|
|
73
|
+
- dedup strategy (TDD)
|
|
74
|
+
- smart_filter strategy with node_modules frame removal (TDD)
|
|
75
|
+
- implement config.ini parser (TDD)
|
|
76
|
+
|
|
77
|
+
### Changed
|
|
78
|
+
- chore(release): bump version to 1.16.0 [squeez-release-bot]
|
|
79
|
+
- docs: update changelog and benchmarks for v1.15.1
|
|
80
|
+
- chore(release): bump version to 1.15.1 [squeez-release-bot]
|
|
81
|
+
- docs: update README and CLAUDE.md for new hooks and PostToolUse rewrite (#108)
|
|
82
|
+
- refactor(bench): unify benches/ into bench/ — single benchmark directory (#106)
|
|
83
|
+
- test: add missing coverage for compress-output, filter dispatch, SubagentStop, hook registration (#103)
|
|
84
|
+
- docs: update changelog and benchmarks for v1.15.0
|
|
85
|
+
- chore(release): bump version to 1.15.0 [squeez-release-bot]
|
|
86
|
+
- docs: update changelog and benchmarks for v1.13.0
|
|
87
|
+
- chore(release): bump version to 1.14.0 [squeez-release-bot]
|
|
88
|
+
- chore(release): bump version to 1.13.0 [squeez-release-bot]
|
|
89
|
+
- docs: update changelog and benchmarks for v1.12.0
|
|
90
|
+
- chore(release): bump version to 1.12.0 [squeez-release-bot]
|
|
91
|
+
- docs(codex): update adapter comments and README for 0.123.0 hook surface
|
|
92
|
+
- docs: update changelog and benchmarks for v1.11.2
|
|
93
|
+
- chore(release): bump version to 1.11.2 [squeez-release-bot]
|
|
94
|
+
- docs: update changelog and benchmarks for v1.11.1
|
|
95
|
+
- chore(release): bump version to 1.11.1 [squeez-release-bot]
|
|
96
|
+
- docs: update changelog and benchmarks for v1.11.0
|
|
97
|
+
- chore(release): bump version to 1.11.0 [squeez-release-bot]
|
|
98
|
+
- docs: update changelog and benchmarks for v1.10.0
|
|
99
|
+
- docs: update changelog and benchmarks for v1.9.0
|
|
100
|
+
- chore(release): bump version to 1.10.0 [squeez-release-bot]
|
|
101
|
+
- docs(readme): document squeez's compression scope and architectural limits (#85)
|
|
102
|
+
- chore(release): bump version to 1.9.0 [squeez-release-bot]
|
|
103
|
+
- chore(release): bump version to 1.8.0 [squeez-release-bot]
|
|
104
|
+
- docs: update changelog and benchmarks for v1.7.7
|
|
105
|
+
- chore(release): bump version to 1.7.7 [squeez-release-bot]
|
|
106
|
+
- docs: update changelog and benchmarks for v1.7.6
|
|
107
|
+
- chore(release): bump version to 1.7.6 [squeez-release-bot]
|
|
108
|
+
- docs: update changelog and benchmarks for v1.7.5
|
|
109
|
+
- chore(release): bump version to 1.7.5 [squeez-release-bot]
|
|
110
|
+
- docs: update changelog and benchmarks for v1.7.4
|
|
111
|
+
- chore(release): bump version to 1.7.4 [squeez-release-bot]
|
|
112
|
+
- perf: O(log n) refactor — tail read, offset index, single-pass parser
|
|
113
|
+
- docs: update changelog and benchmarks for v1.7.3
|
|
114
|
+
- chore(release): bump version to 1.7.3 [squeez-release-bot]
|
|
115
|
+
- chore(release): bump version to 1.7.2 [squeez-release-bot]
|
|
116
|
+
- restore: revert accidental deletion of auto-release.yml workflow
|
|
117
|
+
- docs: update changelog and benchmarks for v1.7.1
|
|
118
|
+
- chore(release): bump version to 1.7.1 [squeez-release-bot]
|
|
119
|
+
- chore: relicense to Apache 2.0 + add DCO policy + banner (#76)
|
|
120
|
+
- docs: update changelog and benchmarks for v1.7.0
|
|
121
|
+
- chore(release): bump version to 1.7.0 [squeez-release-bot]
|
|
122
|
+
- docs: update changelog and benchmarks for v1.6.1
|
|
123
|
+
- chore(release): bump version to 1.6.1 [squeez-release-bot]
|
|
124
|
+
- docs: update changelog and benchmarks for v1.6.0
|
|
125
|
+
- chore(release): bump version to 1.6.0 [squeez-release-bot]
|
|
126
|
+
- docs: update changelog and benchmarks for v1.5.2
|
|
127
|
+
- chore(release): bump version to 1.5.2 [squeez-release-bot]
|
|
128
|
+
- chore(release): bump version to 1.5.1 [squeez-release-bot]
|
|
129
|
+
- docs: five-host matrix + squeez setup/uninstall flow (#63)
|
|
130
|
+
- refactor(install): delegate host registration to 'squeez setup' (#60)
|
|
131
|
+
- chore(release): bump version to 1.5.0 [squeez-release-bot]
|
|
132
|
+
- chore(release): bump version to 1.4.0 [squeez-release-bot]
|
|
133
|
+
- chore(release): bump version to 1.3.0 [squeez-release-bot]
|
|
134
|
+
- chore(release): bump version to 1.2.0 [squeez-release-bot]
|
|
135
|
+
- chore(release): bump version to 1.1.0 [squeez-release-bot]
|
|
136
|
+
- chore(release): bump version to 1.0.0 [skip release]
|
|
137
|
+
- refactor(hosts): extract HostAdapter trait + migrate Claude Code and Copilot (#42)
|
|
138
|
+
- ci: conventional-commit-driven auto-release (#40)
|
|
139
|
+
- chore(gov): issue-form templates + refined PR template (#39)
|
|
140
|
+
- docs: update changelog and benchmarks for v0.4.1 [skip release] (#33)
|
|
141
|
+
- chore(release): bump version to 0.4.1
|
|
142
|
+
- chore(release): bump version to 0.4.0
|
|
143
|
+
- docs: update changelog and benchmarks for v0.3.2 [skip release] (#30)
|
|
144
|
+
- chore: bump version to 0.3.2
|
|
145
|
+
- docs: add shields.io badge for changelog link
|
|
146
|
+
- chore: bump version to 0.3.1
|
|
147
|
+
- chore: bump version to 0.2.3
|
|
148
|
+
- docs: update README with 11 MCP tools, structured memory, and advanced tunables
|
|
149
|
+
- chore: bump version to 0.2.2
|
|
150
|
+
- docs: rewrite README with full install instructions (curl/npm/cargo) and all commands
|
|
151
|
+
- chore: refresh bench/report.md from latest run [skip release]
|
|
152
|
+
- chore(ci): remove promote-develop workflow (re-adding to fix broken registration)
|
|
153
|
+
- chore: bump version to 0.2.1 + auto-release on merge to main [skip release]
|
|
154
|
+
- chore: bump version to 0.2.0; add Cargo.toml metadata
|
|
155
|
+
- ci: PR template, linked-issue enforcement, no-claude-trailer check
|
|
156
|
+
- docs: update README with PR1+PR2 features, fresh benchmarks, changelog
|
|
157
|
+
- ci: auto-delete branches after PR merge
|
|
158
|
+
- docs: update Windows installation instructions and prerequisites in README
|
|
159
|
+
- docs: add Windows support and Rust install instructions to README
|
|
160
|
+
- refactor: use session::home_dir() in config and init (Windows compat)
|
|
161
|
+
- ci: trigger promote workflow (test)
|
|
162
|
+
- ci(workflow): avoid failing promote job when PR creation is not permitted; add PR_CREATION_TOKEN guidance
|
|
163
|
+
- docs(readme): add changelog, contribution workflow, and benchmark notes
|
|
164
|
+
- ci(workflow): create/update PR from develop to main on push
|
|
165
|
+
- chore: add .worktrees/ to gitignore
|
|
166
|
+
- chore: add docs/ to gitignore (local design specs)
|
|
167
|
+
- docs: update README for GitHub Copilot CLI support
|
|
168
|
+
- security: fix remaining LOW findings in wrap.rs
|
|
169
|
+
- security: fix 2 follow-up findings from second audit
|
|
170
|
+
- security: fix all 8 findings from security audit
|
|
171
|
+
- ci: build and install binary before running benchmarks
|
|
172
|
+
- chore: add GitHub sponsor button
|
|
173
|
+
- chore: ignore .omc/ directory, remove from tracking
|
|
174
|
+
- chore: update benchmark report (7/7 passing)
|
|
175
|
+
- docs: update README — real benchmarks, Phase 2 config, how it works
|
|
176
|
+
- style: cargo fmt on session.rs and test_session.rs
|
|
177
|
+
- chore: open source files — README, LICENSE, CI/release workflows, install.sh
|
|
178
|
+
- chore: scaffold squeez Rust project
|
|
179
|
+
|
|
180
|
+
### Fixed
|
|
181
|
+
- fix(statusline): show compression % and fix Python heredoc expansion bug
|
|
182
|
+
- plan-mode passthrough + release description body (#95)
|
|
183
|
+
- fix(session-start): health check missed top-level event keys (#92)
|
|
184
|
+
- fix(hosts): expand PreToolUse matcher to cover Read, Grep, Glob, Agent, Task (#86)
|
|
185
|
+
- fix(json_util,statusline): whitespace-tolerant JSON parser + UTF-8 statusline on Windows (#81)
|
|
186
|
+
- fix(hosts): preserve user settings.json when existing JSON fails to parse (#83)
|
|
187
|
+
- prevent OOM from unbounded file reads + data integrity fixes
|
|
188
|
+
- fix(ci): use native ubuntu-24.04-arm runner for aarch64 build
|
|
189
|
+
- eliminate memory leaks causing 16 GB RAM on MCP server startup (#79)
|
|
190
|
+
- fix(hooks): add hookEventName to PreToolUse hookSpecificOutput (#78)
|
|
191
|
+
- fix(opencode): align plugin with PluginModule SDK shape (default export + server map) (#72)
|
|
192
|
+
- fix(ci): push release docs directly to main (loop-safe) (#68)
|
|
193
|
+
- back Copilot BUDGET_HARD with Read/Grep hook + update upstream refs (#65)
|
|
194
|
+
- fix(ci): startsWith guard for auto-release recursion (#46)
|
|
195
|
+
- fix(ci): tighten auto-release bump detection + fix tag push (#44)
|
|
196
|
+
- fix(ci): add --allow-dirty to cargo publish for Cargo.lock changes
|
|
197
|
+
- fix(ci): skip publish gracefully when version already exists on crates.io/npm
|
|
198
|
+
- fix(ci): run update-docs even if publish jobs fail (already published)
|
|
199
|
+
- fix(ci): continue-on-error for publish jobs so update-docs always runs
|
|
200
|
+
- fix(ci): add pull-requests write permission to update-docs job
|
|
201
|
+
- fix(update): cargo-managed self-update + Windows deferred install + session update check (#27)
|
|
202
|
+
- fix(ci): update-docs creates PR instead of pushing directly to protected main
|
|
203
|
+
- fix(npm): copy README.md into npm package before publish; add readme field
|
|
204
|
+
- fix(ci): add toolchain: stable to all dtolnay/rust-toolchain steps
|
|
205
|
+
- fix(ci): handle no previous tags in generate-changelog.sh (pipefail + grep -v)
|
|
206
|
+
- fix(ci): dispatch release.yml from auto-release to bypass GITHUB_TOKEN chain limit [skip release]
|
|
207
|
+
- fix(ci): fix flaky test tmp dir collision + simplify auto-release
|
|
208
|
+
- fix(bench): exclude synthetic fixtures from filter-mode bench/run.sh
|
|
209
|
+
- fix(ci): remove secrets in step if-conditions — check token inside script instead
|
|
210
|
+
- fix(ci): rename promote-develop → promote-to-main to fix broken workflow registration
|
|
211
|
+
- fix(ci): bump github-script to v7 in promote-develop to force workflow re-registration
|
|
212
|
+
- fix(compress_md): use byte slice comparison to avoid UTF-8 char boundary panic
|
|
213
|
+
- fix(statusline): remove Ctx% — show only squeez compression metrics
|
|
214
|
+
- fix(statusline): green ✓, proper capitalization, real-time context %, all metrics
|
|
215
|
+
- resolve gap analysis — new handlers, wider redundancy window, token budget
|
|
216
|
+
- install.sh — clarify PostToolUse no-matcher intent, guard version echo
|
|
217
|
+
- wrap.rs — safe git hex check, O(n) dedup, full cmd in event log
|
|
218
|
+
- use ends_with for files_committed check in init finalize
|
|
219
|
+
- json_util — guard extract_u64 empty digit, add json_util test coverage
|
|
220
|
+
- add pre-flight binary check to bench/run.sh
|
|
221
|
+
- atomic settings.json write + uninstall safety guards
|
|
222
|
+
- harden pretooluse hook (shlex.quote, error handling, single path source)
|
|
223
|
+
- wrap — process_group(0) for correct signal forwarding, tighten is_streaming
|
|
224
|
+
|
|
12
225
|
## [1.15.1] - 2026-05-06
|
|
13
226
|
|
|
14
227
|
### Added
|
|
@@ -1310,7 +1523,7 @@ conventional commit messages on `main`.
|
|
|
1310
1523
|
## [1.5.1] and earlier
|
|
1311
1524
|
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.
|
|
1312
1525
|
|
|
1313
|
-
[Unreleased]: https://github.com/claudioemmanuel/squeez/compare/v1.
|
|
1526
|
+
[Unreleased]: https://github.com/claudioemmanuel/squeez/compare/v1.16.0...HEAD
|
|
1314
1527
|
[1.7.0]: https://github.com/claudioemmanuel/squeez/compare/v1.6.1...v1.7.0
|
|
1315
1528
|
[1.6.1]: https://github.com/claudioemmanuel/squeez/compare/v1.6.0...v1.6.1
|
|
1316
1529
|
[1.6.0]: https://github.com/claudioemmanuel/squeez/compare/v1.5.2...v1.6.0
|
|
@@ -1329,3 +1542,4 @@ See the [git tag history](https://github.com/claudioemmanuel/squeez/tags) for pr
|
|
|
1329
1542
|
[1.13.0]: https://github.com/claudioemmanuel/squeez/compare/v1.14.0...v1.13.0
|
|
1330
1543
|
[1.15.0]: https://github.com/claudioemmanuel/squeez/releases/tag/v1.15.0
|
|
1331
1544
|
[1.15.1]: https://github.com/claudioemmanuel/squeez/releases/tag/v1.15.1
|
|
1545
|
+
[1.16.0]: https://github.com/claudioemmanuel/squeez/releases/tag/v1.16.0
|
package/README.md
CHANGED
|
@@ -157,53 +157,56 @@ squeez cannot automate these, but you can:
|
|
|
157
157
|
<!-- BENCHMARK:START -->
|
|
158
158
|
Measured on macOS (Apple Silicon). Token count = `chars / 4` (matches Claude's ~4 chars/token). Run `squeez benchmark` to reproduce.
|
|
159
159
|
|
|
160
|
-
### Per-scenario results —
|
|
160
|
+
### Per-scenario results — 26 scenarios × 5 iterations
|
|
161
161
|
|
|
162
162
|
| Scenario | Before | After | Reduction | Latency |
|
|
163
163
|
|----------|--------|-------|-----------|---------|
|
|
164
|
-
| `summarize_huge` | 82,257 tk | 420 tk | **-99%** | 55.
|
|
165
|
-
| `repetitive_output` | 4,692 tk | 37 tk | **-99%** |
|
|
166
|
-
| `
|
|
164
|
+
| `summarize_huge` | 82,257 tk | 420 tk | **-99%** | 55.6 ms |
|
|
165
|
+
| `repetitive_output` | 4,692 tk | 37 tk | **-99%** | 438 µs |
|
|
166
|
+
| `xcode_build` | 1,881 tk | 17 tk | **-99%** | 131 µs |
|
|
167
|
+
| `high_context_adaptive` | 4,418 tk | 52 tk | **-99%** | 834 µs |
|
|
167
168
|
| `ps_aux` | 40,373 tk | 2,352 tk | **-94%** | 2.7 ms |
|
|
168
|
-
| `git_log_200` | 2,692 tk | 289 tk | **-89%** |
|
|
169
|
+
| `git_log_200` | 2,692 tk | 289 tk | **-89%** | 252 µs |
|
|
169
170
|
| `tsc_errors` | 731 tk | 101 tk | **-86%** | 27 µs |
|
|
170
|
-
| `cargo_build_noisy` | 2,106 tk | 452 tk | **-79%** |
|
|
171
|
-
| `docker_logs` | 665 tk | 186 tk | **-72%** |
|
|
171
|
+
| `cargo_build_noisy` | 2,106 tk | 452 tk | **-79%** | 236 µs |
|
|
172
|
+
| `docker_logs` | 665 tk | 186 tk | **-72%** | 45 µs |
|
|
172
173
|
| `find_deep` | 424 tk | 134 tk | **-68%** | 82 µs |
|
|
173
|
-
| `git_status` | 50 tk | 16 tk | **-68%** |
|
|
174
|
-
| `
|
|
175
|
-
| `
|
|
174
|
+
| `git_status` | 50 tk | 16 tk | **-68%** | 20 µs |
|
|
175
|
+
| `pytest_failures` | 3,402 tk | 1,189 tk | **-65%** | 556 µs |
|
|
176
|
+
| `verbose_app_log` | 4,957 tk | 1,991 tk | **-60%** | 299 µs |
|
|
177
|
+
| `npm_install` | 524 tk | 232 tk | **-56%** | 45 µs |
|
|
176
178
|
| `crosscall_redundancy_3x` | 486 tk | 241 tk | **-50%** | 51.5 ms |
|
|
177
|
-
| `ls_la` | 1,782 tk | 886 tk | **-50%** |
|
|
178
|
-
| `env_dump` | 441 tk | 287 tk | **-35%** |
|
|
179
|
-
| `git_copilot` | 640 tk | 421 tk | **-34%** |
|
|
180
|
-
| `agent_heavy` | 2,306 tk | 1,564 tk | **-32%** |
|
|
181
|
-
| `md_prose` | 187 tk | 138 tk | **-26%** |
|
|
182
|
-
| `md_claude_md` | 316 tk | 247 tk | **-22%** | 1.
|
|
179
|
+
| `ls_la` | 1,782 tk | 886 tk | **-50%** | 201 µs |
|
|
180
|
+
| `env_dump` | 441 tk | 287 tk | **-35%** | 27 µs |
|
|
181
|
+
| `git_copilot` | 640 tk | 421 tk | **-34%** | 82 µs |
|
|
182
|
+
| `agent_heavy` | 2,306 tk | 1,564 tk | **-32%** | 358 µs |
|
|
183
|
+
| `md_prose` | 187 tk | 138 tk | **-26%** | 837 µs |
|
|
184
|
+
| `md_claude_md` | 316 tk | 247 tk | **-22%** | 1.2 ms |
|
|
183
185
|
| `claude_md_overhead` | 717 tk | 649 tk | **-9%** | 22 µs |
|
|
184
|
-
| `git_diff` | 502 tk | 497 tk | **-1%** |
|
|
186
|
+
| `git_diff` | 502 tk | 497 tk | **-1%** | 41 µs |
|
|
187
|
+
| `jest_failures` | 451 tk | 448 tk | **-1%** | 39 µs |
|
|
185
188
|
| `state_first_simulation` | 182 tk | 181 tk | **-1%** | 5 µs |
|
|
186
|
-
| `kubectl_pods` | 1,513 tk | 1,513 tk | **-0%** |
|
|
189
|
+
| `kubectl_pods` | 1,513 tk | 1,513 tk | **-0%** | 62 µs |
|
|
187
190
|
|
|
188
191
|
### Aggregate
|
|
189
192
|
|
|
190
193
|
| Metric | Value |
|
|
191
194
|
|--------|-------|
|
|
192
|
-
| **Total token reduction** | **
|
|
193
|
-
| Bash output | **-
|
|
195
|
+
| **Total token reduction** | **90.8%** — 158,695 tk → 14,540 tk |
|
|
196
|
+
| Bash output | **-83.7%** |
|
|
194
197
|
| Markdown / context files | **-23.5%** |
|
|
195
198
|
| Wrap / cross-call engine | **-99.2%** |
|
|
196
|
-
| Quality (signal terms preserved) | **
|
|
197
|
-
| Latency p50 (filter mode) | **
|
|
199
|
+
| Quality (signal terms preserved) | **26 / 26 pass** |
|
|
200
|
+
| Latency p50 (filter mode) | **4.4 ms** |
|
|
198
201
|
| Latency p95 (incl. wrap/summarize) | **52 ms** |
|
|
199
202
|
|
|
200
203
|
### Estimated cost savings — Claude Sonnet 4.6 · $3.00 / MTok input
|
|
201
204
|
|
|
202
205
|
| Usage | Baseline / month | Saved / month |
|
|
203
206
|
|-------|-----------------|---------------|
|
|
204
|
-
| 100 calls / day | $18.00 | **$16.
|
|
205
|
-
| 1,000 calls / day | $180.00 | **$
|
|
206
|
-
| 10,000 calls / day | $1800.00 | **$
|
|
207
|
+
| 100 calls / day | $18.00 | **$16.35 (91%)** |
|
|
208
|
+
| 1,000 calls / day | $180.00 | **$163.51 (91%)** |
|
|
209
|
+
| 10,000 calls / day | $1800.00 | **$1635.12 (91%)** |
|
|
207
210
|
<!-- BENCHMARK:END -->
|
|
208
211
|
|
|
209
212
|
---
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "squeez",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.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",
|