squeze-cli 3.0.2 → 3.0.3

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 CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.0.3 — 2026-11-15
4
+
5
+ ### Added
6
+ - An extension icon (`media/icon.png`, 256×256 PNG), referenced by the manifest `icon` field. It shows on the VS Code Marketplace listing and in the Extensions view. The npm and MCP behaviour is unchanged; the version constant in `src/mcp.ts` and `server.json` moves with the release.
7
+
3
8
  ## 3.0.2 — 2026-11-15
4
9
 
5
10
  ### Changed
package/README.md CHANGED
@@ -54,7 +54,7 @@ Ask for the task, error or stack trace inside a token budget, for example `squez
54
54
 
55
55
  ### How do I use Squeze with GitHub Copilot?
56
56
 
57
- Build the VSIX from this repository with `npm run package`, then install it with `code --install-extension releases/squeze-cli-3.0.2.vsix` (see [VS Code](#vs-code)). Then enable **Squeze Context**, **Expand** and **Map** in Copilot's tool picker, or write `#squeze` in a prompt.
57
+ Install **Squeze** from the VS Code Marketplace with `code --install-extension 2002-rokkam.squeze-cli` (see [VS Code](#vs-code)). Then enable **Squeze Context**, **Expand** and **Map** in Copilot's tool picker, or write `#squeze` in a prompt.
58
58
 
59
59
  ### Does Squeze send my code to a model or a server?
60
60
 
@@ -92,11 +92,14 @@ The older `reposqueeze-v2` command name still works as an alias. Tool names chan
92
92
 
93
93
  ### VS Code
94
94
 
95
+ Search **Squeze** in the Extensions view, or install from the terminal:
96
+
95
97
  ```sh
96
- npm run package # writes releases/squeze-cli-3.0.2.vsix
97
- code --install-extension releases/squeze-cli-3.0.2.vsix
98
+ code --install-extension 2002-rokkam.squeze-cli # VS Code Marketplace
98
99
  ```
99
100
 
101
+ The same extension is on [Open VSX](https://open-vsx.org/extension/2002-rokkam/squeze-cli) for VSCodium and other forks. To build a VSIX from source instead, run `npm run package` (writes `releases/squeze-cli-3.0.3.vsix`) and install that file with `code --install-extension`.
102
+
100
103
  Enable **Squeze Context**, **Expand** and **Map** in Copilot's tool picker, or write `#squeze` in a prompt. Run **Squeze: Install Copilot Instructions** once per repository for retrieval-first guidance.
101
104
 
102
105
  The extension also provides **Squeze: Open Code Explorer** (an interactive map of the code graph), **Squeze: Refresh Index** and **Squeze: Show Token Savings**. The index refreshes after file changes when `squeze.autoRefresh` is on (the default). Above 5,000 files the default index parses a candidate subset, so the graph is marked partial; timings are in [docs/SCALE_EVALUATION.md](docs/SCALE_EVALUATION.md#incremental-refresh-on-a-real-repository).
@@ -348,7 +351,7 @@ The 2.1.0 profile on the 921-file repo: tokenizing the whole repository only to
348
351
 
349
352
  ### 11. Tests and robustness
350
353
 
351
- `npm test` runs 678 tests (unit, property, adversarial, MCP protocol, cache corruption and concurrency, read-only checkout). All 678 pass on the 3.0.2 tree. Two tests have wall-clock limits (a 60 s MCP request timeout and a 1 s bound on 2 MiB of adversarial text) and can fail under heavy machine load, so re-run before treating a failure as a regression.
354
+ `npm test` runs 678 tests (unit, property, adversarial, MCP protocol, cache corruption and concurrency, read-only checkout). All 678 pass on the 3.0.3 tree. Two tests have wall-clock limits (a 60 s MCP request timeout and a 1 s bound on 2 MiB of adversarial text) and can fail under heavy machine load, so re-run before treating a failure as a regression.
352
355
 
353
356
  A many-repository robustness and adversarial suite is in [bench/robustness](bench/robustness). Only a partial run was completed on the final build: 2 repositories (gin, requests), 32 commands, 0 crashes, 0 timeouts, 0 budget violations, 0 secret-regex hits in outputs ([report](benchmarks/v3/robustness-final.md)). That run flagged 4 of 8 repeat comparisons as non-identical while the machine load was about 50; serial re-runs of `map` on the same checkout were byte-identical 3 of 3 times and `context` cold and warm were identical on a second checkout, so the cause was not identified. The adversarial section did not finish and is **not** claimed.
354
357
 
package/dist/cli.cjs CHANGED
@@ -57798,7 +57798,7 @@ async function runGraph(repo, request = {}) {
57798
57798
  }
57799
57799
 
57800
57800
  // src/mcp.ts
57801
- var VERSION2 = "3.0.2";
57801
+ var VERSION2 = "3.0.3";
57802
57802
  async function serve(root, options = {}) {
57803
57803
  const { semanticModel, tools = "core", features } = typeof options === "string" ? { semanticModel: options } : options;
57804
57804
  const repo = new Engine(root, { semanticModel, features });
package/media/icon.png ADDED
Binary file
package/package.json CHANGED
@@ -3,8 +3,9 @@
3
3
  "mcpName": "io.github.2002-rokkam/squeze",
4
4
  "displayName": "Squeze",
5
5
  "description": "Local, deterministic, token-budgeted code context for GitHub Copilot and MCP coding agents. Fewer input tokens per task: cited source excerpts and a code graph.",
6
- "version": "3.0.2",
6
+ "version": "3.0.3",
7
7
  "publisher": "2002-rokkam",
8
+ "icon": "media/icon.png",
8
9
  "license": "MIT",
9
10
  "type": "module",
10
11
  "engines": {
@@ -39,7 +40,7 @@
39
40
  "test": "node --import tsx --test tests/*.test.ts",
40
41
  "bench": "node --import tsx scripts/benchmark.ts",
41
42
  "bench:fetch": "node scripts/fetch-bench.mjs",
42
- "package": "npm run build && vsce package --no-dependencies --allow-missing-repository -o releases/squeze-cli-3.0.2.vsix",
43
+ "package": "npm run build && vsce package --no-dependencies --allow-missing-repository -o releases/squeze-cli-3.0.3.vsix",
43
44
  "prepare": "npm run build",
44
45
  "test:editor": "node scripts/test-extension.mjs",
45
46
  "test:ui": "node --import tsx --test tests/ui/*.test.ts",
@@ -270,7 +271,7 @@
270
271
  "@types/node": "^22.0.0",
271
272
  "@types/vscode": "^1.100.0",
272
273
  "@vscode/test-electron": "^2.5.2",
273
- "@vscode/vsce": "^3.6.0",
274
+ "@vscode/vsce": "^4.1.1",
274
275
  "esbuild": "^0.25.0",
275
276
  "playwright": "^1.65.1",
276
277
  "tree-sitter-wasms": "0.1.13",