@smartsoft001/claude-plugins 2.117.0 → 2.119.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001/claude-plugins",
3
- "version": "2.117.0",
3
+ "version": "2.119.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "smart",
3
3
  "description": "Smartsoft integration - safety validation, audit logging, and auto-formatting hooks",
4
- "version": "2.117.0"
4
+ "version": "2.119.0"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/anthropics/claude-code/main/schemas/settings.schema.json",
3
- "_description": "LEGACY: Template settings for smart@smartsoft plugin. Replaced by hooks/hooks.json and skills/ directory. See MIGRATION.md for upgrade guide.",
3
+ "_description": "Template settings for smart@smartsoft plugin. Hooks are provided by hooks/hooks.json (plugin-relative paths via ${CLAUDE_PLUGIN_ROOT}). See MIGRATION.md for upgrade guide.",
4
4
  "permissions": {
5
5
  "allow": [
6
6
  "Bash(source:*)",
@@ -11,83 +11,6 @@
11
11
  "ask": [],
12
12
  "deny": []
13
13
  },
14
- "hooks": {
15
- "PreToolUse": [
16
- {
17
- "_description": "Safety gate: blocks destructive bash commands",
18
- "matcher": "Bash|Write|Edit",
19
- "hooks": [
20
- {
21
- "type": "command",
22
- "command": "node_modules/@smartsoft001/claude-plugins/plugins/smart/hooks/safety_validator.py"
23
- }
24
- ]
25
- },
26
- {
27
- "_description": "Block sensitive files with detailed error message",
28
- "matcher": "Read|Edit|Write",
29
- "hooks": [
30
- {
31
- "type": "command",
32
- "command": "FILE=$(jq -r '.tool_input.file_path // empty'); echo \"$FILE\" | grep -qE '(\\.env|secrets|credentials)' && { echo \"BLOCKED: Access denied to sensitive file: $FILE\" >&2; exit 2; } || exit 0"
33
- }
34
- ]
35
- },
36
- {
37
- "_description": "Audit trail: logs all PreToolUse events",
38
- "matcher": "",
39
- "hooks": [
40
- {
41
- "type": "command",
42
- "command": "node_modules/@smartsoft001/claude-plugins/plugins/smart/hooks/audit_logger.py"
43
- }
44
- ]
45
- },
46
- {
47
- "_description": "Skill validator: soft enforcement warnings for skill files",
48
- "matcher": "Write|Edit",
49
- "hooks": [
50
- {
51
- "type": "command",
52
- "command": "node_modules/@smartsoft001/claude-plugins/plugins/smart/hooks/skill_validator.py"
53
- }
54
- ]
55
- }
56
- ],
57
- "PostToolUse": [
58
- {
59
- "_description": "Auto-format files after Write/Edit",
60
- "matcher": "Write|Edit",
61
- "hooks": [
62
- {
63
- "type": "command",
64
- "command": "source ~/.nvm/nvm.sh && nvm use 24 && npm run format"
65
- }
66
- ]
67
- },
68
- {
69
- "_description": "Audit trail: logs all PostToolUse events",
70
- "matcher": "",
71
- "hooks": [
72
- {
73
- "type": "command",
74
- "command": "node_modules/@smartsoft001/claude-plugins/plugins/smart/hooks/audit_logger.py"
75
- }
76
- ]
77
- }
78
- ],
79
- "UserPromptSubmit": [
80
- {
81
- "_description": "Audit trail: logs all user prompt submissions",
82
- "hooks": [
83
- {
84
- "type": "command",
85
- "command": "node_modules/@smartsoft001/claude-plugins/plugins/smart/hooks/audit_logger.py"
86
- }
87
- ]
88
- }
89
- ]
90
- },
91
14
  "enabledPlugins": {
92
15
  "smart@smartsoft": true
93
16
  }
@@ -7,7 +7,7 @@
7
7
  "hooks": [
8
8
  {
9
9
  "type": "command",
10
- "command": "./safety_validator.py"
10
+ "command": "${CLAUDE_PLUGIN_ROOT}/hooks/safety_validator.py"
11
11
  }
12
12
  ]
13
13
  },
@@ -17,7 +17,7 @@
17
17
  "hooks": [
18
18
  {
19
19
  "type": "command",
20
- "command": "./sensitive_file_blocker.py"
20
+ "command": "${CLAUDE_PLUGIN_ROOT}/hooks/sensitive_file_blocker.py"
21
21
  }
22
22
  ]
23
23
  },
@@ -27,7 +27,7 @@
27
27
  "hooks": [
28
28
  {
29
29
  "type": "command",
30
- "command": "./audit_logger.py"
30
+ "command": "${CLAUDE_PLUGIN_ROOT}/hooks/audit_logger.py"
31
31
  }
32
32
  ]
33
33
  },
@@ -37,7 +37,7 @@
37
37
  "hooks": [
38
38
  {
39
39
  "type": "command",
40
- "command": "./skill_validator.py"
40
+ "command": "${CLAUDE_PLUGIN_ROOT}/hooks/skill_validator.py"
41
41
  }
42
42
  ]
43
43
  }
@@ -49,7 +49,7 @@
49
49
  "hooks": [
50
50
  {
51
51
  "type": "command",
52
- "command": "./auto_format.sh"
52
+ "command": "${CLAUDE_PLUGIN_ROOT}/hooks/auto_format.sh"
53
53
  }
54
54
  ]
55
55
  },
@@ -59,7 +59,7 @@
59
59
  "hooks": [
60
60
  {
61
61
  "type": "command",
62
- "command": "./audit_logger.py"
62
+ "command": "${CLAUDE_PLUGIN_ROOT}/hooks/audit_logger.py"
63
63
  }
64
64
  ]
65
65
  }
@@ -70,7 +70,7 @@
70
70
  "hooks": [
71
71
  {
72
72
  "type": "command",
73
- "command": "./audit_logger.py"
73
+ "command": "${CLAUDE_PLUGIN_ROOT}/hooks/audit_logger.py"
74
74
  }
75
75
  ]
76
76
  }