squeez 1.5.0 → 1.5.2

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 (2) hide show
  1. package/README.md +26 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
7
7
  [![Changelog](https://img.shields.io/badge/changelog-📋-blue.svg)](CHANGELOG.md)
8
8
 
9
- End-to-end token optimizer for Claude Code, OpenCode, and GitHub Copilot CLI. Compresses bash output up to **95%**, collapses redundant calls, and injects a terse prompt persona — automatically, with zero new runtime dependencies.
9
+ End-to-end token optimizer for Claude Code, GitHub Copilot CLI, OpenCode, Gemini CLI, and OpenAI Codex CLI. Compresses bash output up to **95%**, collapses redundant calls, and injects a terse prompt persona — automatically, with zero new runtime dependencies.
10
10
 
11
11
  ---
12
12
 
@@ -44,20 +44,36 @@ Builds from [crates.io](https://crates.io/crates/squeez). Requires Rust stable.
44
44
 
45
45
  ---
46
46
 
47
- ### After install
47
+ ### Supported hosts
48
48
 
49
- | Platform | What to do |
50
- |----------|-----------|
51
- | **Claude Code** | Restart Claude Code hooks activate automatically |
52
- | **OpenCode** | Restart OpenCode — plugin auto-loads from `~/.config/opencode/plugins/` |
53
- | **Copilot CLI** | Restart Copilot CLI hooks registered in `~/.copilot/settings.json` |
49
+ `squeez setup` auto-detects every CLI present on disk and registers the hooks. `squeez uninstall` removes them. Session data and `config.ini` are preserved so reinstall is lossless.
50
+
51
+ | Host | Memory file | Bash wrap | Session memory | Budget inject (Read/Grep) | Notes |
52
+ |---|---|---|---|---|---|
53
+ | **Claude Code** | `~/.claude/CLAUDE.md` | native | native | ✅ native | Restart Claude Code to pick up hooks |
54
+ | **Copilot CLI** | `~/.copilot/copilot-instructions.md` | ✅ native | ✅ native | ✅ native | Restart Copilot CLI after setup |
55
+ | **OpenCode** | `~/.config/opencode/AGENTS.md` | ✅ native | ✅ native | ✅ native | Plugin at `~/.config/opencode/plugins/squeez.js`; MCP tool calls skip hooks (upstream sst/opencode#2319) |
56
+ | **Gemini CLI** | `~/.gemini/GEMINI.md` | ✅ native | ✅ native | 🟡 soft via `GEMINI.md` | `BeforeTool` rewrite schema pending upstream docs ([google-gemini/gemini-cli#25629](https://github.com/google-gemini/gemini-cli/issues/25629)) |
57
+ | **Codex CLI** | `~/.codex/AGENTS.md` | ✅ native | ✅ native | 🟡 soft via `AGENTS.md` | Codex `PreToolUse` is Bash-only until upstream expands ([openai/codex#18491](https://github.com/openai/codex/issues/18491)) |
58
+
59
+ ### Manage
60
+
61
+ ```bash
62
+ squeez setup # register into every detected host
63
+ squeez setup --host=<slug> # register into one host
64
+ squeez uninstall # remove squeez entries from every detected host
65
+ squeez uninstall --host=<slug>
66
+ ```
67
+
68
+ Slugs: `claude-code` / `copilot` / `opencode` / `gemini` / `codex`.
69
+
70
+ After install, restart the CLI you use to pick up the new hooks.
54
71
 
55
72
  ### Uninstall
56
73
 
57
74
  ```bash
58
- bash ~/.claude/squeez/uninstall.sh
59
- # or, if you cloned the repo:
60
- bash uninstall.sh
75
+ squeez uninstall # preserves session data + config.ini
76
+ bash ~/.claude/squeez/uninstall.sh # (legacy) full wipe, if the script exists
61
77
  ```
62
78
 
63
79
  ### Self-update
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squeez",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
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",