claude-warden 2.10.2 → 2.10.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.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/dist/cli.cjs +12 -0
- package/dist/codex-export.cjs +12 -0
- package/dist/copilot.cjs +12 -0
- package/dist/index.cjs +12 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "warden",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.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
|
@@ -19714,6 +19714,18 @@ var DEFAULT_CONFIG = {
|
|
|
19714
19714
|
{ match: { anyArgMatches: ["^(describe|list|get|search|lookup|check)-[a-z][a-z0-9-]*$"] }, decision: "allow", description: "Read-only verb-noun" },
|
|
19715
19715
|
VERSION_HELP_FLAGS
|
|
19716
19716
|
] },
|
|
19717
|
+
// --- Composio CLI ---
|
|
19718
|
+
// Auth is persistent in ~/.composio/, so most discovery/inspection is safe.
|
|
19719
|
+
// `execute` is allowed only for slugs whose verb matches a read pattern
|
|
19720
|
+
// (GET/LIST/SEARCH/FETCH/READ/COUNT/RETRIEVE/FIND/VIEW/SHOW/DESCRIBE/CHECK).
|
|
19721
|
+
// Everything else (link, listen, proxy, run, mutating execute) falls through to ask.
|
|
19722
|
+
{ command: "composio", default: "ask", argPatterns: [
|
|
19723
|
+
{ match: { anyArgMatches: ["^(search|whoami|apps|connections|triggers|list|ls|tools|dev)$"] }, decision: "allow", description: "Read-only composio subcommands" },
|
|
19724
|
+
{ match: { anyArgMatches: ["^--(get-schema|dry-run)$"] }, decision: "allow", description: "Schema inspection / dry-run flags" },
|
|
19725
|
+
{ match: { argsMatch: ["^execute\\s+([A-Z0-9]+_)*(GET|LIST|SEARCH|FETCH|READ|COUNT|RETRIEVE|FIND|VIEW|SHOW|DESCRIBE|CHECK)(_[A-Z0-9_]+)?(\\s|$)"] }, decision: "allow", description: "Read-only execute (GET/LIST/SEARCH/...)" },
|
|
19726
|
+
{ match: { argsMatch: ["^execute\\s+\\S*COMPOSIO_SEARCH_TOOLS\\b"] }, decision: "allow", description: "Tool discovery slug" },
|
|
19727
|
+
VERSION_HELP_FLAGS
|
|
19728
|
+
] },
|
|
19717
19729
|
// --- Helm ---
|
|
19718
19730
|
{ command: "helm", default: "ask", argPatterns: [
|
|
19719
19731
|
{ match: { anyArgMatches: ["^(list|search|show|status|get|template|version|env|history)$"] }, decision: "allow", description: "Read-only helm commands" },
|
package/dist/codex-export.cjs
CHANGED
|
@@ -19718,6 +19718,18 @@ var DEFAULT_CONFIG = {
|
|
|
19718
19718
|
{ match: { anyArgMatches: ["^(describe|list|get|search|lookup|check)-[a-z][a-z0-9-]*$"] }, decision: "allow", description: "Read-only verb-noun" },
|
|
19719
19719
|
VERSION_HELP_FLAGS
|
|
19720
19720
|
] },
|
|
19721
|
+
// --- Composio CLI ---
|
|
19722
|
+
// Auth is persistent in ~/.composio/, so most discovery/inspection is safe.
|
|
19723
|
+
// `execute` is allowed only for slugs whose verb matches a read pattern
|
|
19724
|
+
// (GET/LIST/SEARCH/FETCH/READ/COUNT/RETRIEVE/FIND/VIEW/SHOW/DESCRIBE/CHECK).
|
|
19725
|
+
// Everything else (link, listen, proxy, run, mutating execute) falls through to ask.
|
|
19726
|
+
{ command: "composio", default: "ask", argPatterns: [
|
|
19727
|
+
{ match: { anyArgMatches: ["^(search|whoami|apps|connections|triggers|list|ls|tools|dev)$"] }, decision: "allow", description: "Read-only composio subcommands" },
|
|
19728
|
+
{ match: { anyArgMatches: ["^--(get-schema|dry-run)$"] }, decision: "allow", description: "Schema inspection / dry-run flags" },
|
|
19729
|
+
{ match: { argsMatch: ["^execute\\s+([A-Z0-9]+_)*(GET|LIST|SEARCH|FETCH|READ|COUNT|RETRIEVE|FIND|VIEW|SHOW|DESCRIBE|CHECK)(_[A-Z0-9_]+)?(\\s|$)"] }, decision: "allow", description: "Read-only execute (GET/LIST/SEARCH/...)" },
|
|
19730
|
+
{ match: { argsMatch: ["^execute\\s+\\S*COMPOSIO_SEARCH_TOOLS\\b"] }, decision: "allow", description: "Tool discovery slug" },
|
|
19731
|
+
VERSION_HELP_FLAGS
|
|
19732
|
+
] },
|
|
19721
19733
|
// --- Helm ---
|
|
19722
19734
|
{ command: "helm", default: "ask", argPatterns: [
|
|
19723
19735
|
{ match: { anyArgMatches: ["^(list|search|show|status|get|template|version|env|history)$"] }, decision: "allow", description: "Read-only helm commands" },
|
package/dist/copilot.cjs
CHANGED
|
@@ -19714,6 +19714,18 @@ var DEFAULT_CONFIG = {
|
|
|
19714
19714
|
{ match: { anyArgMatches: ["^(describe|list|get|search|lookup|check)-[a-z][a-z0-9-]*$"] }, decision: "allow", description: "Read-only verb-noun" },
|
|
19715
19715
|
VERSION_HELP_FLAGS
|
|
19716
19716
|
] },
|
|
19717
|
+
// --- Composio CLI ---
|
|
19718
|
+
// Auth is persistent in ~/.composio/, so most discovery/inspection is safe.
|
|
19719
|
+
// `execute` is allowed only for slugs whose verb matches a read pattern
|
|
19720
|
+
// (GET/LIST/SEARCH/FETCH/READ/COUNT/RETRIEVE/FIND/VIEW/SHOW/DESCRIBE/CHECK).
|
|
19721
|
+
// Everything else (link, listen, proxy, run, mutating execute) falls through to ask.
|
|
19722
|
+
{ command: "composio", default: "ask", argPatterns: [
|
|
19723
|
+
{ match: { anyArgMatches: ["^(search|whoami|apps|connections|triggers|list|ls|tools|dev)$"] }, decision: "allow", description: "Read-only composio subcommands" },
|
|
19724
|
+
{ match: { anyArgMatches: ["^--(get-schema|dry-run)$"] }, decision: "allow", description: "Schema inspection / dry-run flags" },
|
|
19725
|
+
{ match: { argsMatch: ["^execute\\s+([A-Z0-9]+_)*(GET|LIST|SEARCH|FETCH|READ|COUNT|RETRIEVE|FIND|VIEW|SHOW|DESCRIBE|CHECK)(_[A-Z0-9_]+)?(\\s|$)"] }, decision: "allow", description: "Read-only execute (GET/LIST/SEARCH/...)" },
|
|
19726
|
+
{ match: { argsMatch: ["^execute\\s+\\S*COMPOSIO_SEARCH_TOOLS\\b"] }, decision: "allow", description: "Tool discovery slug" },
|
|
19727
|
+
VERSION_HELP_FLAGS
|
|
19728
|
+
] },
|
|
19717
19729
|
// --- Helm ---
|
|
19718
19730
|
{ command: "helm", default: "ask", argPatterns: [
|
|
19719
19731
|
{ match: { anyArgMatches: ["^(list|search|show|status|get|template|version|env|history)$"] }, decision: "allow", description: "Read-only helm commands" },
|
package/dist/index.cjs
CHANGED
|
@@ -19714,6 +19714,18 @@ var DEFAULT_CONFIG = {
|
|
|
19714
19714
|
{ match: { anyArgMatches: ["^(describe|list|get|search|lookup|check)-[a-z][a-z0-9-]*$"] }, decision: "allow", description: "Read-only verb-noun" },
|
|
19715
19715
|
VERSION_HELP_FLAGS
|
|
19716
19716
|
] },
|
|
19717
|
+
// --- Composio CLI ---
|
|
19718
|
+
// Auth is persistent in ~/.composio/, so most discovery/inspection is safe.
|
|
19719
|
+
// `execute` is allowed only for slugs whose verb matches a read pattern
|
|
19720
|
+
// (GET/LIST/SEARCH/FETCH/READ/COUNT/RETRIEVE/FIND/VIEW/SHOW/DESCRIBE/CHECK).
|
|
19721
|
+
// Everything else (link, listen, proxy, run, mutating execute) falls through to ask.
|
|
19722
|
+
{ command: "composio", default: "ask", argPatterns: [
|
|
19723
|
+
{ match: { anyArgMatches: ["^(search|whoami|apps|connections|triggers|list|ls|tools|dev)$"] }, decision: "allow", description: "Read-only composio subcommands" },
|
|
19724
|
+
{ match: { anyArgMatches: ["^--(get-schema|dry-run)$"] }, decision: "allow", description: "Schema inspection / dry-run flags" },
|
|
19725
|
+
{ match: { argsMatch: ["^execute\\s+([A-Z0-9]+_)*(GET|LIST|SEARCH|FETCH|READ|COUNT|RETRIEVE|FIND|VIEW|SHOW|DESCRIBE|CHECK)(_[A-Z0-9_]+)?(\\s|$)"] }, decision: "allow", description: "Read-only execute (GET/LIST/SEARCH/...)" },
|
|
19726
|
+
{ match: { argsMatch: ["^execute\\s+\\S*COMPOSIO_SEARCH_TOOLS\\b"] }, decision: "allow", description: "Tool discovery slug" },
|
|
19727
|
+
VERSION_HELP_FLAGS
|
|
19728
|
+
] },
|
|
19717
19729
|
// --- Helm ---
|
|
19718
19730
|
{ command: "helm", default: "ask", argPatterns: [
|
|
19719
19731
|
{ match: { anyArgMatches: ["^(list|search|show|status|get|template|version|env|history)$"] }, decision: "allow", description: "Read-only helm commands" },
|
package/package.json
CHANGED