claude-warden 2.5.4 → 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.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/dist/cli.cjs +9 -4
- package/dist/codex-export.cjs +9 -4
- package/dist/copilot.cjs +9 -4
- package/dist/index.cjs +9 -4
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "warden",
|
|
3
|
-
"version": "2.
|
|
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|
|
|
19404
|
-
{ match: { anyArgMatches: ["^
|
|
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
|
|
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
|
|
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/codex-export.cjs
CHANGED
|
@@ -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|
|
|
19408
|
-
{ match: { anyArgMatches: ["^
|
|
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
|
|
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
|
|
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|
|
|
19404
|
-
{ match: { anyArgMatches: ["^
|
|
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
|
|
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
|
|
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|
|
|
19404
|
-
{ match: { anyArgMatches: ["^
|
|
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
|
|
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
|
|
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 ---
|