claude-warden 2.5.1 → 2.5.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.
@@ -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.1",
11
+ "version": "2.5.3",
12
12
  "author": {
13
13
  "name": "banyudu"
14
14
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "warden",
3
- "version": "2.5.1",
3
+ "version": "2.5.3",
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]$"] },
@@ -18861,6 +18872,7 @@ function pkgManagerRule(command, extraSafeCmds = []) {
18861
18872
  decision: "allow",
18862
18873
  description: `Standard ${command} commands`
18863
18874
  },
18875
+ safeDevToolsPattern(),
18864
18876
  VERSION_HELP_FLAGS
18865
18877
  ]
18866
18878
  };
@@ -19184,7 +19196,7 @@ var DEFAULT_CONFIG = {
19184
19196
  pkgRunnerRule("pnpx"),
19185
19197
  // npm / pnpm / yarn — package managers
19186
19198
  pkgManagerRule("npm", ["ci", "search", "explain", "prefix", "root", "fund", "doctor", "diff", "pkg", "query", "shrinkwrap"]),
19187
- pkgManagerRule("pnpm", ["store", "fetch", "doctor", "patch"]),
19199
+ pkgManagerRule("pnpm", ["store", "fetch", "doctor", "patch", "--filter", "-F", "--recursive", "-r", "--workspace-root", "-w"]),
19188
19200
  pkgManagerRule("yarn", ["up", "dlx", "workspaces"]),
19189
19201
  // bun — runtime + package manager
19190
19202
  {
@@ -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]$"] },
@@ -18865,6 +18876,7 @@ function pkgManagerRule(command, extraSafeCmds = []) {
18865
18876
  decision: "allow",
18866
18877
  description: `Standard ${command} commands`
18867
18878
  },
18879
+ safeDevToolsPattern(),
18868
18880
  VERSION_HELP_FLAGS
18869
18881
  ]
18870
18882
  };
@@ -19188,7 +19200,7 @@ var DEFAULT_CONFIG = {
19188
19200
  pkgRunnerRule("pnpx"),
19189
19201
  // npm / pnpm / yarn — package managers
19190
19202
  pkgManagerRule("npm", ["ci", "search", "explain", "prefix", "root", "fund", "doctor", "diff", "pkg", "query", "shrinkwrap"]),
19191
- pkgManagerRule("pnpm", ["store", "fetch", "doctor", "patch"]),
19203
+ pkgManagerRule("pnpm", ["store", "fetch", "doctor", "patch", "--filter", "-F", "--recursive", "-r", "--workspace-root", "-w"]),
19192
19204
  pkgManagerRule("yarn", ["up", "dlx", "workspaces"]),
19193
19205
  // bun — runtime + package manager
19194
19206
  {
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]$"] },
@@ -18861,6 +18872,7 @@ function pkgManagerRule(command, extraSafeCmds = []) {
18861
18872
  decision: "allow",
18862
18873
  description: `Standard ${command} commands`
18863
18874
  },
18875
+ safeDevToolsPattern(),
18864
18876
  VERSION_HELP_FLAGS
18865
18877
  ]
18866
18878
  };
@@ -19184,7 +19196,7 @@ var DEFAULT_CONFIG = {
19184
19196
  pkgRunnerRule("pnpx"),
19185
19197
  // npm / pnpm / yarn — package managers
19186
19198
  pkgManagerRule("npm", ["ci", "search", "explain", "prefix", "root", "fund", "doctor", "diff", "pkg", "query", "shrinkwrap"]),
19187
- pkgManagerRule("pnpm", ["store", "fetch", "doctor", "patch"]),
19199
+ pkgManagerRule("pnpm", ["store", "fetch", "doctor", "patch", "--filter", "-F", "--recursive", "-r", "--workspace-root", "-w"]),
19188
19200
  pkgManagerRule("yarn", ["up", "dlx", "workspaces"]),
19189
19201
  // bun — runtime + package manager
19190
19202
  {
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]$"] },
@@ -18861,6 +18872,7 @@ function pkgManagerRule(command, extraSafeCmds = []) {
18861
18872
  decision: "allow",
18862
18873
  description: `Standard ${command} commands`
18863
18874
  },
18875
+ safeDevToolsPattern(),
18864
18876
  VERSION_HELP_FLAGS
18865
18877
  ]
18866
18878
  };
@@ -19184,7 +19196,7 @@ var DEFAULT_CONFIG = {
19184
19196
  pkgRunnerRule("pnpx"),
19185
19197
  // npm / pnpm / yarn — package managers
19186
19198
  pkgManagerRule("npm", ["ci", "search", "explain", "prefix", "root", "fund", "doctor", "diff", "pkg", "query", "shrinkwrap"]),
19187
- pkgManagerRule("pnpm", ["store", "fetch", "doctor", "patch"]),
19199
+ pkgManagerRule("pnpm", ["store", "fetch", "doctor", "patch", "--filter", "-F", "--recursive", "-r", "--workspace-root", "-w"]),
19188
19200
  pkgManagerRule("yarn", ["up", "dlx", "workspaces"]),
19189
19201
  // bun — runtime + package manager
19190
19202
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-warden",
3
- "version": "2.5.1",
3
+ "version": "2.5.3",
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",