claude-warden 2.5.3 → 2.6.0

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.3",
11
+ "version": "2.6.0",
12
12
  "author": {
13
13
  "name": "banyudu"
14
14
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "warden",
3
- "version": "2.5.3",
3
+ "version": "2.6.0",
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
@@ -19400,16 +19400,21 @@ var DEFAULT_CONFIG = {
19400
19400
  })),
19401
19401
  // --- Cloud CLIs ---
19402
19402
  { command: "gcloud", default: "ask", argPatterns: [
19403
- { match: { anyArgMatches: ["^(info|version|help|config|components)$"] }, decision: "allow", description: "Config/info" },
19404
- { match: { anyArgMatches: ["^(list|describe|get-iam-policy|get)$"] }, decision: "allow", description: "Read-only ops" },
19403
+ { match: { anyArgMatches: ["^(info|version|help|topic|components|feedback|survey)$"] }, decision: "allow", description: "Info/meta commands" },
19404
+ { match: { anyArgMatches: ["^config$"] }, decision: "allow", description: "Config subcommands" },
19405
+ { match: { anyArgMatches: ["^(list|describe|get|get-iam-policy|browse|tail|read|show|search|lookup|check)$"] }, decision: "allow", description: "Read-only verbs" },
19406
+ { match: { anyArgMatches: ["^(list|get|describe|show|print|read|search|lookup|check)-[a-z][a-z0-9-]*$"] }, decision: "allow", description: "Read-only verb-noun (list-enabled, get-value, print-access-token, etc.)" },
19405
19407
  VERSION_HELP_FLAGS
19406
19408
  ] },
19407
19409
  { command: "az", default: "ask", argPatterns: [
19408
- { match: { anyArgMatches: ["^(list|show|get)$"] }, decision: "allow", description: "Read-only ops" },
19410
+ { match: { anyArgMatches: ["^(list|show|get|search|check)$"] }, decision: "allow", description: "Read-only verbs" },
19411
+ { match: { anyArgMatches: ["^(list|show|get|search|check)-[a-z][a-z0-9-]*$"] }, decision: "allow", description: "Read-only verb-noun" },
19412
+ { match: { anyArgMatches: ["^(version|help|account|feedback)$"] }, decision: "allow", description: "Info/meta commands" },
19409
19413
  VERSION_HELP_FLAGS
19410
19414
  ] },
19411
19415
  { command: "aws", default: "ask", argPatterns: [
19412
- { match: { anyArgMatches: ["^(describe|list|get|sts)$"] }, decision: "allow", description: "Read-only ops" },
19416
+ { match: { anyArgMatches: ["^(describe|list|get|sts|help|search|lookup|check)$"] }, decision: "allow", description: "Read-only verbs" },
19417
+ { match: { anyArgMatches: ["^(describe|list|get|search|lookup|check)-[a-z][a-z0-9-]*$"] }, decision: "allow", description: "Read-only verb-noun" },
19413
19418
  VERSION_HELP_FLAGS
19414
19419
  ] },
19415
19420
  // --- Helm ---
@@ -19404,16 +19404,21 @@ var DEFAULT_CONFIG = {
19404
19404
  })),
19405
19405
  // --- Cloud CLIs ---
19406
19406
  { command: "gcloud", default: "ask", argPatterns: [
19407
- { match: { anyArgMatches: ["^(info|version|help|config|components)$"] }, decision: "allow", description: "Config/info" },
19408
- { match: { anyArgMatches: ["^(list|describe|get-iam-policy|get)$"] }, decision: "allow", description: "Read-only ops" },
19407
+ { match: { anyArgMatches: ["^(info|version|help|topic|components|feedback|survey)$"] }, decision: "allow", description: "Info/meta commands" },
19408
+ { match: { anyArgMatches: ["^config$"] }, decision: "allow", description: "Config subcommands" },
19409
+ { match: { anyArgMatches: ["^(list|describe|get|get-iam-policy|browse|tail|read|show|search|lookup|check)$"] }, decision: "allow", description: "Read-only verbs" },
19410
+ { match: { anyArgMatches: ["^(list|get|describe|show|print|read|search|lookup|check)-[a-z][a-z0-9-]*$"] }, decision: "allow", description: "Read-only verb-noun (list-enabled, get-value, print-access-token, etc.)" },
19409
19411
  VERSION_HELP_FLAGS
19410
19412
  ] },
19411
19413
  { command: "az", default: "ask", argPatterns: [
19412
- { match: { anyArgMatches: ["^(list|show|get)$"] }, decision: "allow", description: "Read-only ops" },
19414
+ { match: { anyArgMatches: ["^(list|show|get|search|check)$"] }, decision: "allow", description: "Read-only verbs" },
19415
+ { match: { anyArgMatches: ["^(list|show|get|search|check)-[a-z][a-z0-9-]*$"] }, decision: "allow", description: "Read-only verb-noun" },
19416
+ { match: { anyArgMatches: ["^(version|help|account|feedback)$"] }, decision: "allow", description: "Info/meta commands" },
19413
19417
  VERSION_HELP_FLAGS
19414
19418
  ] },
19415
19419
  { command: "aws", default: "ask", argPatterns: [
19416
- { match: { anyArgMatches: ["^(describe|list|get|sts)$"] }, decision: "allow", description: "Read-only ops" },
19420
+ { match: { anyArgMatches: ["^(describe|list|get|sts|help|search|lookup|check)$"] }, decision: "allow", description: "Read-only verbs" },
19421
+ { match: { anyArgMatches: ["^(describe|list|get|search|lookup|check)-[a-z][a-z0-9-]*$"] }, decision: "allow", description: "Read-only verb-noun" },
19417
19422
  VERSION_HELP_FLAGS
19418
19423
  ] },
19419
19424
  // --- Helm ---
package/dist/copilot.cjs CHANGED
@@ -19400,16 +19400,21 @@ var DEFAULT_CONFIG = {
19400
19400
  })),
19401
19401
  // --- Cloud CLIs ---
19402
19402
  { command: "gcloud", default: "ask", argPatterns: [
19403
- { match: { anyArgMatches: ["^(info|version|help|config|components)$"] }, decision: "allow", description: "Config/info" },
19404
- { match: { anyArgMatches: ["^(list|describe|get-iam-policy|get)$"] }, decision: "allow", description: "Read-only ops" },
19403
+ { match: { anyArgMatches: ["^(info|version|help|topic|components|feedback|survey)$"] }, decision: "allow", description: "Info/meta commands" },
19404
+ { match: { anyArgMatches: ["^config$"] }, decision: "allow", description: "Config subcommands" },
19405
+ { match: { anyArgMatches: ["^(list|describe|get|get-iam-policy|browse|tail|read|show|search|lookup|check)$"] }, decision: "allow", description: "Read-only verbs" },
19406
+ { match: { anyArgMatches: ["^(list|get|describe|show|print|read|search|lookup|check)-[a-z][a-z0-9-]*$"] }, decision: "allow", description: "Read-only verb-noun (list-enabled, get-value, print-access-token, etc.)" },
19405
19407
  VERSION_HELP_FLAGS
19406
19408
  ] },
19407
19409
  { command: "az", default: "ask", argPatterns: [
19408
- { match: { anyArgMatches: ["^(list|show|get)$"] }, decision: "allow", description: "Read-only ops" },
19410
+ { match: { anyArgMatches: ["^(list|show|get|search|check)$"] }, decision: "allow", description: "Read-only verbs" },
19411
+ { match: { anyArgMatches: ["^(list|show|get|search|check)-[a-z][a-z0-9-]*$"] }, decision: "allow", description: "Read-only verb-noun" },
19412
+ { match: { anyArgMatches: ["^(version|help|account|feedback)$"] }, decision: "allow", description: "Info/meta commands" },
19409
19413
  VERSION_HELP_FLAGS
19410
19414
  ] },
19411
19415
  { command: "aws", default: "ask", argPatterns: [
19412
- { match: { anyArgMatches: ["^(describe|list|get|sts)$"] }, decision: "allow", description: "Read-only ops" },
19416
+ { match: { anyArgMatches: ["^(describe|list|get|sts|help|search|lookup|check)$"] }, decision: "allow", description: "Read-only verbs" },
19417
+ { match: { anyArgMatches: ["^(describe|list|get|search|lookup|check)-[a-z][a-z0-9-]*$"] }, decision: "allow", description: "Read-only verb-noun" },
19413
19418
  VERSION_HELP_FLAGS
19414
19419
  ] },
19415
19420
  // --- Helm ---
package/dist/index.cjs CHANGED
@@ -19400,16 +19400,21 @@ var DEFAULT_CONFIG = {
19400
19400
  })),
19401
19401
  // --- Cloud CLIs ---
19402
19402
  { command: "gcloud", default: "ask", argPatterns: [
19403
- { match: { anyArgMatches: ["^(info|version|help|config|components)$"] }, decision: "allow", description: "Config/info" },
19404
- { match: { anyArgMatches: ["^(list|describe|get-iam-policy|get)$"] }, decision: "allow", description: "Read-only ops" },
19403
+ { match: { anyArgMatches: ["^(info|version|help|topic|components|feedback|survey)$"] }, decision: "allow", description: "Info/meta commands" },
19404
+ { match: { anyArgMatches: ["^config$"] }, decision: "allow", description: "Config subcommands" },
19405
+ { match: { anyArgMatches: ["^(list|describe|get|get-iam-policy|browse|tail|read|show|search|lookup|check)$"] }, decision: "allow", description: "Read-only verbs" },
19406
+ { match: { anyArgMatches: ["^(list|get|describe|show|print|read|search|lookup|check)-[a-z][a-z0-9-]*$"] }, decision: "allow", description: "Read-only verb-noun (list-enabled, get-value, print-access-token, etc.)" },
19405
19407
  VERSION_HELP_FLAGS
19406
19408
  ] },
19407
19409
  { command: "az", default: "ask", argPatterns: [
19408
- { match: { anyArgMatches: ["^(list|show|get)$"] }, decision: "allow", description: "Read-only ops" },
19410
+ { match: { anyArgMatches: ["^(list|show|get|search|check)$"] }, decision: "allow", description: "Read-only verbs" },
19411
+ { match: { anyArgMatches: ["^(list|show|get|search|check)-[a-z][a-z0-9-]*$"] }, decision: "allow", description: "Read-only verb-noun" },
19412
+ { match: { anyArgMatches: ["^(version|help|account|feedback)$"] }, decision: "allow", description: "Info/meta commands" },
19409
19413
  VERSION_HELP_FLAGS
19410
19414
  ] },
19411
19415
  { command: "aws", default: "ask", argPatterns: [
19412
- { match: { anyArgMatches: ["^(describe|list|get|sts)$"] }, decision: "allow", description: "Read-only ops" },
19416
+ { match: { anyArgMatches: ["^(describe|list|get|sts|help|search|lookup|check)$"] }, decision: "allow", description: "Read-only verbs" },
19417
+ { match: { anyArgMatches: ["^(describe|list|get|search|lookup|check)-[a-z][a-z0-9-]*$"] }, decision: "allow", description: "Read-only verb-noun" },
19413
19418
  VERSION_HELP_FLAGS
19414
19419
  ] },
19415
19420
  // --- Helm ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-warden",
3
- "version": "2.5.3",
3
+ "version": "2.6.0",
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",