claude-warden 1.0.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.
@@ -0,0 +1,17 @@
1
+ {
2
+ "description": "Smart command safety filter — evaluates Bash commands against configurable safety rules",
3
+ "hooks": {
4
+ "PreToolUse": [
5
+ {
6
+ "matcher": "Bash",
7
+ "hooks": [
8
+ {
9
+ "type": "command",
10
+ "command": "node ${CLAUDE_PLUGIN_ROOT}/dist/index.cjs",
11
+ "timeout": 5
12
+ }
13
+ ]
14
+ }
15
+ ]
16
+ }
17
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "claude-warden",
3
+ "description": "Smart command safety filter for Claude Code",
4
+ "plugins": [
5
+ {
6
+ "name": "claude-warden",
7
+ "description": "Auto-approves safe commands, blocks dangerous ones, prompts for the rest",
8
+ "source": "."
9
+ }
10
+ ]
11
+ }
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "claude-warden",
3
+ "version": "1.0.0",
4
+ "description": "Smart command safety filter for Claude Code — auto-approves safe commands, blocks dangerous ones",
5
+ "type": "module",
6
+ "main": "dist/index.cjs",
7
+ "license": "MIT",
8
+ "author": "banyudu",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/banyudu/claude-warden.git"
12
+ },
13
+ "homepage": "https://github.com/banyudu/claude-warden",
14
+ "keywords": [
15
+ "claude-code",
16
+ "claude-code-plugin",
17
+ "safety",
18
+ "security",
19
+ "shell",
20
+ "command-filter"
21
+ ],
22
+ "files": [
23
+ "dist",
24
+ ".claude-plugin",
25
+ "hooks",
26
+ "config",
27
+ "marketplace.json",
28
+ "README.md",
29
+ "LICENSE"
30
+ ],
31
+ "scripts": {
32
+ "build": "tsup",
33
+ "dev": "tsup --watch",
34
+ "test": "vitest run",
35
+ "test:watch": "vitest",
36
+ "typecheck": "tsc --noEmit",
37
+ "eval": "node dist/index.cjs",
38
+ "prepublishOnly": "pnpm run build && pnpm run test"
39
+ },
40
+ "devDependencies": {
41
+ "@types/node": "^20.0.0",
42
+ "bash-parser": "^0.5.0",
43
+ "tsup": "^8.0.0",
44
+ "typescript": "^5.4.0",
45
+ "vitest": "^1.6.0",
46
+ "yaml": "^2.4.0"
47
+ }
48
+ }