claude-warden 2.5.0 → 2.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.
@@ -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.2",
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.2",
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/dist/cli.cjs CHANGED
@@ -18818,7 +18818,18 @@ var SAFE_PKG_MANAGER_CMDS = [
18818
18818
  "prune",
18819
18819
  "audit",
18820
18820
  "completion",
18821
- "whoami"
18821
+ "whoami",
18822
+ // Common script aliases (run implicitly by npm/pnpm/yarn/bun)
18823
+ "typecheck",
18824
+ "type-check",
18825
+ "lint",
18826
+ "format",
18827
+ "check",
18828
+ "check-types",
18829
+ "test:unit",
18830
+ "test:e2e",
18831
+ "test:watch",
18832
+ "lint:fix"
18822
18833
  ];
18823
18834
  var VERSION_HELP_FLAGS = {
18824
18835
  match: { anyArgMatches: ["^--(version|help)$", "^-[vh]$"] },
@@ -19184,7 +19195,7 @@ var DEFAULT_CONFIG = {
19184
19195
  pkgRunnerRule("pnpx"),
19185
19196
  // npm / pnpm / yarn — package managers
19186
19197
  pkgManagerRule("npm", ["ci", "search", "explain", "prefix", "root", "fund", "doctor", "diff", "pkg", "query", "shrinkwrap"]),
19187
- pkgManagerRule("pnpm", ["store", "fetch", "doctor", "patch"]),
19198
+ pkgManagerRule("pnpm", ["store", "fetch", "doctor", "patch", "--filter", "-F", "--recursive", "-r", "--workspace-root", "-w"]),
19188
19199
  pkgManagerRule("yarn", ["up", "dlx", "workspaces"]),
19189
19200
  // bun — runtime + package manager
19190
19201
  {
@@ -18822,7 +18822,18 @@ var SAFE_PKG_MANAGER_CMDS = [
18822
18822
  "prune",
18823
18823
  "audit",
18824
18824
  "completion",
18825
- "whoami"
18825
+ "whoami",
18826
+ // Common script aliases (run implicitly by npm/pnpm/yarn/bun)
18827
+ "typecheck",
18828
+ "type-check",
18829
+ "lint",
18830
+ "format",
18831
+ "check",
18832
+ "check-types",
18833
+ "test:unit",
18834
+ "test:e2e",
18835
+ "test:watch",
18836
+ "lint:fix"
18826
18837
  ];
18827
18838
  var VERSION_HELP_FLAGS = {
18828
18839
  match: { anyArgMatches: ["^--(version|help)$", "^-[vh]$"] },
@@ -19188,7 +19199,7 @@ var DEFAULT_CONFIG = {
19188
19199
  pkgRunnerRule("pnpx"),
19189
19200
  // npm / pnpm / yarn — package managers
19190
19201
  pkgManagerRule("npm", ["ci", "search", "explain", "prefix", "root", "fund", "doctor", "diff", "pkg", "query", "shrinkwrap"]),
19191
- pkgManagerRule("pnpm", ["store", "fetch", "doctor", "patch"]),
19202
+ pkgManagerRule("pnpm", ["store", "fetch", "doctor", "patch", "--filter", "-F", "--recursive", "-r", "--workspace-root", "-w"]),
19192
19203
  pkgManagerRule("yarn", ["up", "dlx", "workspaces"]),
19193
19204
  // bun — runtime + package manager
19194
19205
  {
package/dist/copilot.cjs CHANGED
@@ -18818,7 +18818,18 @@ var SAFE_PKG_MANAGER_CMDS = [
18818
18818
  "prune",
18819
18819
  "audit",
18820
18820
  "completion",
18821
- "whoami"
18821
+ "whoami",
18822
+ // Common script aliases (run implicitly by npm/pnpm/yarn/bun)
18823
+ "typecheck",
18824
+ "type-check",
18825
+ "lint",
18826
+ "format",
18827
+ "check",
18828
+ "check-types",
18829
+ "test:unit",
18830
+ "test:e2e",
18831
+ "test:watch",
18832
+ "lint:fix"
18822
18833
  ];
18823
18834
  var VERSION_HELP_FLAGS = {
18824
18835
  match: { anyArgMatches: ["^--(version|help)$", "^-[vh]$"] },
@@ -19184,7 +19195,7 @@ var DEFAULT_CONFIG = {
19184
19195
  pkgRunnerRule("pnpx"),
19185
19196
  // npm / pnpm / yarn — package managers
19186
19197
  pkgManagerRule("npm", ["ci", "search", "explain", "prefix", "root", "fund", "doctor", "diff", "pkg", "query", "shrinkwrap"]),
19187
- pkgManagerRule("pnpm", ["store", "fetch", "doctor", "patch"]),
19198
+ pkgManagerRule("pnpm", ["store", "fetch", "doctor", "patch", "--filter", "-F", "--recursive", "-r", "--workspace-root", "-w"]),
19188
19199
  pkgManagerRule("yarn", ["up", "dlx", "workspaces"]),
19189
19200
  // bun — runtime + package manager
19190
19201
  {
package/dist/index.cjs CHANGED
@@ -18818,7 +18818,18 @@ var SAFE_PKG_MANAGER_CMDS = [
18818
18818
  "prune",
18819
18819
  "audit",
18820
18820
  "completion",
18821
- "whoami"
18821
+ "whoami",
18822
+ // Common script aliases (run implicitly by npm/pnpm/yarn/bun)
18823
+ "typecheck",
18824
+ "type-check",
18825
+ "lint",
18826
+ "format",
18827
+ "check",
18828
+ "check-types",
18829
+ "test:unit",
18830
+ "test:e2e",
18831
+ "test:watch",
18832
+ "lint:fix"
18822
18833
  ];
18823
18834
  var VERSION_HELP_FLAGS = {
18824
18835
  match: { anyArgMatches: ["^--(version|help)$", "^-[vh]$"] },
@@ -19184,7 +19195,7 @@ var DEFAULT_CONFIG = {
19184
19195
  pkgRunnerRule("pnpx"),
19185
19196
  // npm / pnpm / yarn — package managers
19186
19197
  pkgManagerRule("npm", ["ci", "search", "explain", "prefix", "root", "fund", "doctor", "diff", "pkg", "query", "shrinkwrap"]),
19187
- pkgManagerRule("pnpm", ["store", "fetch", "doctor", "patch"]),
19198
+ pkgManagerRule("pnpm", ["store", "fetch", "doctor", "patch", "--filter", "-F", "--recursive", "-r", "--workspace-root", "-w"]),
19188
19199
  pkgManagerRule("yarn", ["up", "dlx", "workspaces"]),
19189
19200
  // bun — runtime + package manager
19190
19201
  {
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.2",
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"