claude-warden 2.5.0 → 2.5.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.
@@ -8,7 +8,7 @@
8
8
  {
9
9
  "name": "warden",
10
10
  "description": "Auto-approves safe commands, blocks dangerous ones, prompts for the rest",
11
- "version": "2.5.0",
11
+ "version": "2.5.1",
12
12
  "author": {
13
13
  "name": "banyudu"
14
14
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "warden",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "Smart command safety filter for Claude Code — parses shell pipelines and evaluates per-command safety rules to auto-approve safe commands and block dangerous ones",
5
5
  "author": {
6
6
  "name": "banyudu"
package/hooks/hooks.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "hooks": [
8
8
  {
9
9
  "type": "command",
10
- "command": "node ${CLAUDE_PLUGIN_ROOT}/dist/index.cjs",
10
+ "command": "${CLAUDE_PLUGIN_ROOT}/dist/index.cjs",
11
11
  "timeout": 5
12
12
  }
13
13
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-warden",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "Smart command safety filter for Claude Code — auto-approves safe commands, blocks dangerous ones",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -36,7 +36,7 @@
36
36
  "LICENSE"
37
37
  ],
38
38
  "scripts": {
39
- "build": "tsup",
39
+ "build": "tsup && chmod +x dist/*.cjs",
40
40
  "dev": "tsup --watch",
41
41
  "test": "vitest run",
42
42
  "test:watch": "vitest",
@@ -48,7 +48,7 @@
48
48
  "release": "scripts/release.sh patch",
49
49
  "release:minor": "scripts/release.sh minor",
50
50
  "release:major": "scripts/release.sh major",
51
- "prepublishOnly": "pnpm run sync-plugin-version && pnpm run build && pnpm run test",
51
+ "prepublishOnly": "pnpm run sync-plugin-version && pnpm run build && pnpm run test && chmod +x dist/*.cjs",
52
52
  "postpublish": "claude plugin update claude-warden@local 2>/dev/null; claude plugin update warden@claude-warden 2>/dev/null; echo 'Plugin caches updated'",
53
53
  "docs:dev": "cd docs-src && pnpm dev",
54
54
  "docs:build": "cd docs-src && pnpm install && pnpm build"