@alexeiled/claude-router 1.4.0 → 1.4.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "router",
3
3
  "displayName": "Router",
4
- "version": "1.4.0",
4
+ "version": "1.4.1",
5
5
  "description": "Model and effort routing for the main conversation, advised by a prompt classifier (Jev, Clef or Clef Flash). Preserves subagent model choices.",
6
6
  "author": {
7
7
  "name": "Alexei Ledenev",
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.4.1 (2026-10-08)
4
+
5
+ ### Fixed
6
+
7
+ - Installing or updating the plugin no longer downloads the development tools (Biome, TypeScript; about 85 MB per version) into the plugin cache. Router has no runtime dependencies. Claude Code removes old cached versions, and their downloaded tools, 14 days after an update.
8
+
3
9
  ## 1.4.0 (2026-10-08)
4
10
 
5
11
  ### Changed
package/README.md CHANGED
@@ -74,9 +74,10 @@ In Claude Code, run `/plugin configure router` and save your classifier key in t
74
74
 
75
75
  Run `/router` to open the pane: route status, per-tier controls, tuning, and usage. Run `/model` to select a model and enter Manual mode, and `/router auto` to resume. For controls, metrics, tuning, and troubleshooting, see the [user guide](docs/user-guide.md).
76
76
 
77
- Before a push, run the same checks as CI. `npm run validate` and `npm run test:plugin` need the `claude` CLI: they load the Mod in the Claude Code engine, which refuses some faults that lint and unit tests miss.
77
+ Before a push, run the same checks as CI. `npm run setup` installs Biome and TypeScript into `tools/`; the plugin root keeps no lockfile, so Claude Code installs nothing with the plugin. `npm run validate` and `npm run test:plugin` need the `claude` CLI: they load the Mod in the Claude Code engine, which refuses some faults that lint and unit tests miss.
78
78
 
79
79
  ```sh
80
+ npm run setup
80
81
  npm run check && npm run typecheck && npm test && npm run validate && npm run test:plugin
81
82
  ```
82
83
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexeiled/claude-router",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Native Claude Code Mod: model and effort routing for the main conversation, advised by Jev, Clef or Clef Flash.",
5
5
  "license": "MIT",
6
6
  "author": "Alexei Ledenev",
@@ -28,18 +28,15 @@
28
28
  "access": "public"
29
29
  },
30
30
  "scripts": {
31
+ "setup": "npm ci --prefix tools --ignore-scripts",
31
32
  "test": "node --test --test-timeout=8000 test/*.test.mjs experiments/mod-router/scripts/*.test.mjs",
32
- "check": "biome check lib scripts test hooks types .claude-plugin package.json package-lock.json biome.json tsconfig.json experiments/mod-router",
33
- "typecheck": "tsc -p tsconfig.json",
33
+ "check": "tools/node_modules/.bin/biome check lib scripts test hooks types .claude-plugin package.json biome.json tsconfig.json tools/package.json tools/package-lock.json experiments/mod-router",
34
+ "typecheck": "tools/node_modules/.bin/tsc -p tsconfig.json",
34
35
  "validate": "claude plugin validate .claude-plugin/plugin.json && claude plugin validate .claude-plugin/marketplace.json",
35
36
  "test:plugin": "bash scripts/plugin-test.sh",
36
- "format": "biome format --write .",
37
+ "format": "tools/node_modules/.bin/biome format --write .",
37
38
  "docs:images": "node scripts/render-doc-images.mjs",
38
39
  "pack:dry": "npm pack --dry-run",
39
40
  "prepublishOnly": "npm run check && npm test"
40
- },
41
- "devDependencies": {
42
- "@biomejs/biome": "2.5.14",
43
- "typescript": "7.0.2"
44
41
  }
45
42
  }