@arthai/agents 1.0.10 → 1.0.11
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/VERSION +1 -1
- package/dist/plugins/canvas/.claude-plugin/plugin.json +1 -1
- package/dist/plugins/canvas/VERSION +1 -1
- package/dist/plugins/canvas/hooks/hooks.json +12 -0
- package/dist/plugins/canvas/hooks/project-setup.sh +9 -3
- package/dist/plugins/compass/.claude-plugin/plugin.json +1 -1
- package/dist/plugins/compass/VERSION +1 -1
- package/dist/plugins/compass/hooks/hooks.json +12 -0
- package/dist/plugins/compass/hooks/project-setup.sh +9 -3
- package/dist/plugins/counsel/.claude-plugin/plugin.json +1 -1
- package/dist/plugins/counsel/VERSION +1 -1
- package/dist/plugins/counsel/hooks/hooks.json +12 -0
- package/dist/plugins/counsel/hooks/project-setup.sh +9 -3
- package/dist/plugins/cruise/.claude-plugin/plugin.json +1 -1
- package/dist/plugins/cruise/VERSION +1 -1
- package/dist/plugins/cruise/hooks/hooks.json +12 -0
- package/dist/plugins/cruise/hooks/project-setup.sh +9 -3
- package/dist/plugins/forge/.claude-plugin/plugin.json +1 -1
- package/dist/plugins/forge/VERSION +1 -1
- package/dist/plugins/forge/hooks/hooks.json +10 -0
- package/dist/plugins/forge/hooks/project-setup.sh +9 -3
- package/dist/plugins/prime/.claude-plugin/plugin.json +1 -1
- package/dist/plugins/prime/VERSION +1 -1
- package/dist/plugins/prime/hooks/hooks.json +22 -12
- package/dist/plugins/prime/hooks/project-setup.sh +9 -3
- package/dist/plugins/prism/.claude-plugin/plugin.json +1 -1
- package/dist/plugins/prism/VERSION +1 -1
- package/dist/plugins/prism/hooks/hooks.json +12 -0
- package/dist/plugins/prism/hooks/project-setup.sh +9 -3
- package/dist/plugins/scalpel/.claude-plugin/plugin.json +1 -1
- package/dist/plugins/scalpel/VERSION +1 -1
- package/dist/plugins/scalpel/hooks/hooks.json +12 -0
- package/dist/plugins/scalpel/hooks/project-setup.sh +9 -3
- package/dist/plugins/sentinel/.claude-plugin/plugin.json +1 -1
- package/dist/plugins/sentinel/VERSION +1 -1
- package/dist/plugins/sentinel/hooks/hooks.json +12 -0
- package/dist/plugins/sentinel/hooks/project-setup.sh +9 -3
- package/dist/plugins/shield/.claude-plugin/plugin.json +1 -1
- package/dist/plugins/shield/VERSION +1 -1
- package/dist/plugins/shield/hooks/hooks.json +21 -11
- package/dist/plugins/shield/hooks/project-setup.sh +9 -3
- package/dist/plugins/spark/.claude-plugin/plugin.json +1 -1
- package/dist/plugins/spark/VERSION +1 -1
- package/dist/plugins/spark/hooks/hooks.json +12 -0
- package/dist/plugins/spark/hooks/project-setup.sh +9 -3
- package/hook-defs.json +2 -1
- package/hooks/project-setup.sh +9 -3
- package/package.json +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.11
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.11
|
|
@@ -37,11 +37,13 @@ MANAGED_START="<!-- >>> claude-agents toolkit (DO NOT EDIT THIS BLOCK) >>> -->"
|
|
|
37
37
|
MANAGED_END="<!-- <<< claude-agents toolkit <<< -->"
|
|
38
38
|
GITIGNORE_START="# >>> claude-agents managed (DO NOT EDIT THIS BLOCK) >>>"
|
|
39
39
|
|
|
40
|
-
# Check marker file — skip if current version is already
|
|
40
|
+
# Check marker file — skip SETUP if current version is already done
|
|
41
|
+
# But ALWAYS run license check (even if setup is done)
|
|
42
|
+
SETUP_NEEDED=true
|
|
41
43
|
if [ -f "$MARKER_FILE" ]; then
|
|
42
44
|
STORED_VERSION=$(cat "$MARKER_FILE" 2>/dev/null | tr -d '[:space:]' || echo "")
|
|
43
45
|
if [ "$STORED_VERSION" = "$TOOLKIT_VERSION" ]; then
|
|
44
|
-
|
|
46
|
+
SETUP_NEEDED=false
|
|
45
47
|
fi
|
|
46
48
|
fi
|
|
47
49
|
|
|
@@ -108,9 +110,13 @@ if ! $LICENSE_VALID; then
|
|
|
108
110
|
fi
|
|
109
111
|
|
|
110
112
|
# ---------------------------------------------------------------------------
|
|
111
|
-
# Project setup (only runs if license is valid)
|
|
113
|
+
# Project setup (only runs if license is valid AND setup is needed)
|
|
112
114
|
# ---------------------------------------------------------------------------
|
|
113
115
|
|
|
116
|
+
if ! $SETUP_NEEDED; then
|
|
117
|
+
exit 0
|
|
118
|
+
fi
|
|
119
|
+
|
|
114
120
|
CLAUDE_MD="$PROJECT_DIR/CLAUDE.md"
|
|
115
121
|
GITIGNORE="$PROJECT_DIR/.gitignore"
|
|
116
122
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.11
|
|
@@ -37,11 +37,13 @@ MANAGED_START="<!-- >>> claude-agents toolkit (DO NOT EDIT THIS BLOCK) >>> -->"
|
|
|
37
37
|
MANAGED_END="<!-- <<< claude-agents toolkit <<< -->"
|
|
38
38
|
GITIGNORE_START="# >>> claude-agents managed (DO NOT EDIT THIS BLOCK) >>>"
|
|
39
39
|
|
|
40
|
-
# Check marker file — skip if current version is already
|
|
40
|
+
# Check marker file — skip SETUP if current version is already done
|
|
41
|
+
# But ALWAYS run license check (even if setup is done)
|
|
42
|
+
SETUP_NEEDED=true
|
|
41
43
|
if [ -f "$MARKER_FILE" ]; then
|
|
42
44
|
STORED_VERSION=$(cat "$MARKER_FILE" 2>/dev/null | tr -d '[:space:]' || echo "")
|
|
43
45
|
if [ "$STORED_VERSION" = "$TOOLKIT_VERSION" ]; then
|
|
44
|
-
|
|
46
|
+
SETUP_NEEDED=false
|
|
45
47
|
fi
|
|
46
48
|
fi
|
|
47
49
|
|
|
@@ -108,9 +110,13 @@ if ! $LICENSE_VALID; then
|
|
|
108
110
|
fi
|
|
109
111
|
|
|
110
112
|
# ---------------------------------------------------------------------------
|
|
111
|
-
# Project setup (only runs if license is valid)
|
|
113
|
+
# Project setup (only runs if license is valid AND setup is needed)
|
|
112
114
|
# ---------------------------------------------------------------------------
|
|
113
115
|
|
|
116
|
+
if ! $SETUP_NEEDED; then
|
|
117
|
+
exit 0
|
|
118
|
+
fi
|
|
119
|
+
|
|
114
120
|
CLAUDE_MD="$PROJECT_DIR/CLAUDE.md"
|
|
115
121
|
GITIGNORE="$PROJECT_DIR/.gitignore"
|
|
116
122
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.11
|
|
@@ -22,6 +22,18 @@
|
|
|
22
22
|
]
|
|
23
23
|
}
|
|
24
24
|
],
|
|
25
|
+
"UserPromptSubmit": [
|
|
26
|
+
{
|
|
27
|
+
"matcher": "",
|
|
28
|
+
"hooks": [
|
|
29
|
+
{
|
|
30
|
+
"type": "command",
|
|
31
|
+
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/project-setup.sh",
|
|
32
|
+
"timeout": 5
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
],
|
|
25
37
|
"PostToolUse": [
|
|
26
38
|
{
|
|
27
39
|
"matcher": "Bash",
|
|
@@ -37,11 +37,13 @@ MANAGED_START="<!-- >>> claude-agents toolkit (DO NOT EDIT THIS BLOCK) >>> -->"
|
|
|
37
37
|
MANAGED_END="<!-- <<< claude-agents toolkit <<< -->"
|
|
38
38
|
GITIGNORE_START="# >>> claude-agents managed (DO NOT EDIT THIS BLOCK) >>>"
|
|
39
39
|
|
|
40
|
-
# Check marker file — skip if current version is already
|
|
40
|
+
# Check marker file — skip SETUP if current version is already done
|
|
41
|
+
# But ALWAYS run license check (even if setup is done)
|
|
42
|
+
SETUP_NEEDED=true
|
|
41
43
|
if [ -f "$MARKER_FILE" ]; then
|
|
42
44
|
STORED_VERSION=$(cat "$MARKER_FILE" 2>/dev/null | tr -d '[:space:]' || echo "")
|
|
43
45
|
if [ "$STORED_VERSION" = "$TOOLKIT_VERSION" ]; then
|
|
44
|
-
|
|
46
|
+
SETUP_NEEDED=false
|
|
45
47
|
fi
|
|
46
48
|
fi
|
|
47
49
|
|
|
@@ -108,9 +110,13 @@ if ! $LICENSE_VALID; then
|
|
|
108
110
|
fi
|
|
109
111
|
|
|
110
112
|
# ---------------------------------------------------------------------------
|
|
111
|
-
# Project setup (only runs if license is valid)
|
|
113
|
+
# Project setup (only runs if license is valid AND setup is needed)
|
|
112
114
|
# ---------------------------------------------------------------------------
|
|
113
115
|
|
|
116
|
+
if ! $SETUP_NEEDED; then
|
|
117
|
+
exit 0
|
|
118
|
+
fi
|
|
119
|
+
|
|
114
120
|
CLAUDE_MD="$PROJECT_DIR/CLAUDE.md"
|
|
115
121
|
GITIGNORE="$PROJECT_DIR/.gitignore"
|
|
116
122
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.11
|
|
@@ -37,11 +37,13 @@ MANAGED_START="<!-- >>> claude-agents toolkit (DO NOT EDIT THIS BLOCK) >>> -->"
|
|
|
37
37
|
MANAGED_END="<!-- <<< claude-agents toolkit <<< -->"
|
|
38
38
|
GITIGNORE_START="# >>> claude-agents managed (DO NOT EDIT THIS BLOCK) >>>"
|
|
39
39
|
|
|
40
|
-
# Check marker file — skip if current version is already
|
|
40
|
+
# Check marker file — skip SETUP if current version is already done
|
|
41
|
+
# But ALWAYS run license check (even if setup is done)
|
|
42
|
+
SETUP_NEEDED=true
|
|
41
43
|
if [ -f "$MARKER_FILE" ]; then
|
|
42
44
|
STORED_VERSION=$(cat "$MARKER_FILE" 2>/dev/null | tr -d '[:space:]' || echo "")
|
|
43
45
|
if [ "$STORED_VERSION" = "$TOOLKIT_VERSION" ]; then
|
|
44
|
-
|
|
46
|
+
SETUP_NEEDED=false
|
|
45
47
|
fi
|
|
46
48
|
fi
|
|
47
49
|
|
|
@@ -108,9 +110,13 @@ if ! $LICENSE_VALID; then
|
|
|
108
110
|
fi
|
|
109
111
|
|
|
110
112
|
# ---------------------------------------------------------------------------
|
|
111
|
-
# Project setup (only runs if license is valid)
|
|
113
|
+
# Project setup (only runs if license is valid AND setup is needed)
|
|
112
114
|
# ---------------------------------------------------------------------------
|
|
113
115
|
|
|
116
|
+
if ! $SETUP_NEEDED; then
|
|
117
|
+
exit 0
|
|
118
|
+
fi
|
|
119
|
+
|
|
114
120
|
CLAUDE_MD="$PROJECT_DIR/CLAUDE.md"
|
|
115
121
|
GITIGNORE="$PROJECT_DIR/.gitignore"
|
|
116
122
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.11
|
|
@@ -37,11 +37,13 @@ MANAGED_START="<!-- >>> claude-agents toolkit (DO NOT EDIT THIS BLOCK) >>> -->"
|
|
|
37
37
|
MANAGED_END="<!-- <<< claude-agents toolkit <<< -->"
|
|
38
38
|
GITIGNORE_START="# >>> claude-agents managed (DO NOT EDIT THIS BLOCK) >>>"
|
|
39
39
|
|
|
40
|
-
# Check marker file — skip if current version is already
|
|
40
|
+
# Check marker file — skip SETUP if current version is already done
|
|
41
|
+
# But ALWAYS run license check (even if setup is done)
|
|
42
|
+
SETUP_NEEDED=true
|
|
41
43
|
if [ -f "$MARKER_FILE" ]; then
|
|
42
44
|
STORED_VERSION=$(cat "$MARKER_FILE" 2>/dev/null | tr -d '[:space:]' || echo "")
|
|
43
45
|
if [ "$STORED_VERSION" = "$TOOLKIT_VERSION" ]; then
|
|
44
|
-
|
|
46
|
+
SETUP_NEEDED=false
|
|
45
47
|
fi
|
|
46
48
|
fi
|
|
47
49
|
|
|
@@ -108,9 +110,13 @@ if ! $LICENSE_VALID; then
|
|
|
108
110
|
fi
|
|
109
111
|
|
|
110
112
|
# ---------------------------------------------------------------------------
|
|
111
|
-
# Project setup (only runs if license is valid)
|
|
113
|
+
# Project setup (only runs if license is valid AND setup is needed)
|
|
112
114
|
# ---------------------------------------------------------------------------
|
|
113
115
|
|
|
116
|
+
if ! $SETUP_NEEDED; then
|
|
117
|
+
exit 0
|
|
118
|
+
fi
|
|
119
|
+
|
|
114
120
|
CLAUDE_MD="$PROJECT_DIR/CLAUDE.md"
|
|
115
121
|
GITIGNORE="$PROJECT_DIR/.gitignore"
|
|
116
122
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.11
|
|
@@ -42,6 +42,28 @@
|
|
|
42
42
|
]
|
|
43
43
|
}
|
|
44
44
|
],
|
|
45
|
+
"UserPromptSubmit": [
|
|
46
|
+
{
|
|
47
|
+
"matcher": "",
|
|
48
|
+
"hooks": [
|
|
49
|
+
{
|
|
50
|
+
"type": "command",
|
|
51
|
+
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/project-setup.sh",
|
|
52
|
+
"timeout": 5
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"matcher": "",
|
|
58
|
+
"hooks": [
|
|
59
|
+
{
|
|
60
|
+
"type": "command",
|
|
61
|
+
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/triage-router.sh",
|
|
62
|
+
"timeout": 5
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
],
|
|
45
67
|
"PostToolUse": [
|
|
46
68
|
{
|
|
47
69
|
"matcher": "Bash",
|
|
@@ -176,18 +198,6 @@
|
|
|
176
198
|
]
|
|
177
199
|
}
|
|
178
200
|
],
|
|
179
|
-
"UserPromptSubmit": [
|
|
180
|
-
{
|
|
181
|
-
"matcher": "",
|
|
182
|
-
"hooks": [
|
|
183
|
-
{
|
|
184
|
-
"type": "command",
|
|
185
|
-
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/triage-router.sh",
|
|
186
|
-
"timeout": 5
|
|
187
|
-
}
|
|
188
|
-
]
|
|
189
|
-
}
|
|
190
|
-
],
|
|
191
201
|
"PreToolUse": [
|
|
192
202
|
{
|
|
193
203
|
"matcher": "Bash",
|
|
@@ -37,11 +37,13 @@ MANAGED_START="<!-- >>> claude-agents toolkit (DO NOT EDIT THIS BLOCK) >>> -->"
|
|
|
37
37
|
MANAGED_END="<!-- <<< claude-agents toolkit <<< -->"
|
|
38
38
|
GITIGNORE_START="# >>> claude-agents managed (DO NOT EDIT THIS BLOCK) >>>"
|
|
39
39
|
|
|
40
|
-
# Check marker file — skip if current version is already
|
|
40
|
+
# Check marker file — skip SETUP if current version is already done
|
|
41
|
+
# But ALWAYS run license check (even if setup is done)
|
|
42
|
+
SETUP_NEEDED=true
|
|
41
43
|
if [ -f "$MARKER_FILE" ]; then
|
|
42
44
|
STORED_VERSION=$(cat "$MARKER_FILE" 2>/dev/null | tr -d '[:space:]' || echo "")
|
|
43
45
|
if [ "$STORED_VERSION" = "$TOOLKIT_VERSION" ]; then
|
|
44
|
-
|
|
46
|
+
SETUP_NEEDED=false
|
|
45
47
|
fi
|
|
46
48
|
fi
|
|
47
49
|
|
|
@@ -108,9 +110,13 @@ if ! $LICENSE_VALID; then
|
|
|
108
110
|
fi
|
|
109
111
|
|
|
110
112
|
# ---------------------------------------------------------------------------
|
|
111
|
-
# Project setup (only runs if license is valid)
|
|
113
|
+
# Project setup (only runs if license is valid AND setup is needed)
|
|
112
114
|
# ---------------------------------------------------------------------------
|
|
113
115
|
|
|
116
|
+
if ! $SETUP_NEEDED; then
|
|
117
|
+
exit 0
|
|
118
|
+
fi
|
|
119
|
+
|
|
114
120
|
CLAUDE_MD="$PROJECT_DIR/CLAUDE.md"
|
|
115
121
|
GITIGNORE="$PROJECT_DIR/.gitignore"
|
|
116
122
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.11
|
|
@@ -12,6 +12,18 @@
|
|
|
12
12
|
]
|
|
13
13
|
}
|
|
14
14
|
],
|
|
15
|
+
"UserPromptSubmit": [
|
|
16
|
+
{
|
|
17
|
+
"matcher": "",
|
|
18
|
+
"hooks": [
|
|
19
|
+
{
|
|
20
|
+
"type": "command",
|
|
21
|
+
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/project-setup.sh",
|
|
22
|
+
"timeout": 5
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
],
|
|
15
27
|
"PostToolUse": [
|
|
16
28
|
{
|
|
17
29
|
"matcher": "Bash",
|
|
@@ -37,11 +37,13 @@ MANAGED_START="<!-- >>> claude-agents toolkit (DO NOT EDIT THIS BLOCK) >>> -->"
|
|
|
37
37
|
MANAGED_END="<!-- <<< claude-agents toolkit <<< -->"
|
|
38
38
|
GITIGNORE_START="# >>> claude-agents managed (DO NOT EDIT THIS BLOCK) >>>"
|
|
39
39
|
|
|
40
|
-
# Check marker file — skip if current version is already
|
|
40
|
+
# Check marker file — skip SETUP if current version is already done
|
|
41
|
+
# But ALWAYS run license check (even if setup is done)
|
|
42
|
+
SETUP_NEEDED=true
|
|
41
43
|
if [ -f "$MARKER_FILE" ]; then
|
|
42
44
|
STORED_VERSION=$(cat "$MARKER_FILE" 2>/dev/null | tr -d '[:space:]' || echo "")
|
|
43
45
|
if [ "$STORED_VERSION" = "$TOOLKIT_VERSION" ]; then
|
|
44
|
-
|
|
46
|
+
SETUP_NEEDED=false
|
|
45
47
|
fi
|
|
46
48
|
fi
|
|
47
49
|
|
|
@@ -108,9 +110,13 @@ if ! $LICENSE_VALID; then
|
|
|
108
110
|
fi
|
|
109
111
|
|
|
110
112
|
# ---------------------------------------------------------------------------
|
|
111
|
-
# Project setup (only runs if license is valid)
|
|
113
|
+
# Project setup (only runs if license is valid AND setup is needed)
|
|
112
114
|
# ---------------------------------------------------------------------------
|
|
113
115
|
|
|
116
|
+
if ! $SETUP_NEEDED; then
|
|
117
|
+
exit 0
|
|
118
|
+
fi
|
|
119
|
+
|
|
114
120
|
CLAUDE_MD="$PROJECT_DIR/CLAUDE.md"
|
|
115
121
|
GITIGNORE="$PROJECT_DIR/.gitignore"
|
|
116
122
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.11
|
|
@@ -12,6 +12,18 @@
|
|
|
12
12
|
]
|
|
13
13
|
}
|
|
14
14
|
],
|
|
15
|
+
"UserPromptSubmit": [
|
|
16
|
+
{
|
|
17
|
+
"matcher": "",
|
|
18
|
+
"hooks": [
|
|
19
|
+
{
|
|
20
|
+
"type": "command",
|
|
21
|
+
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/project-setup.sh",
|
|
22
|
+
"timeout": 5
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
],
|
|
15
27
|
"PreToolUse": [
|
|
16
28
|
{
|
|
17
29
|
"matcher": "Edit",
|
|
@@ -37,11 +37,13 @@ MANAGED_START="<!-- >>> claude-agents toolkit (DO NOT EDIT THIS BLOCK) >>> -->"
|
|
|
37
37
|
MANAGED_END="<!-- <<< claude-agents toolkit <<< -->"
|
|
38
38
|
GITIGNORE_START="# >>> claude-agents managed (DO NOT EDIT THIS BLOCK) >>>"
|
|
39
39
|
|
|
40
|
-
# Check marker file — skip if current version is already
|
|
40
|
+
# Check marker file — skip SETUP if current version is already done
|
|
41
|
+
# But ALWAYS run license check (even if setup is done)
|
|
42
|
+
SETUP_NEEDED=true
|
|
41
43
|
if [ -f "$MARKER_FILE" ]; then
|
|
42
44
|
STORED_VERSION=$(cat "$MARKER_FILE" 2>/dev/null | tr -d '[:space:]' || echo "")
|
|
43
45
|
if [ "$STORED_VERSION" = "$TOOLKIT_VERSION" ]; then
|
|
44
|
-
|
|
46
|
+
SETUP_NEEDED=false
|
|
45
47
|
fi
|
|
46
48
|
fi
|
|
47
49
|
|
|
@@ -108,9 +110,13 @@ if ! $LICENSE_VALID; then
|
|
|
108
110
|
fi
|
|
109
111
|
|
|
110
112
|
# ---------------------------------------------------------------------------
|
|
111
|
-
# Project setup (only runs if license is valid)
|
|
113
|
+
# Project setup (only runs if license is valid AND setup is needed)
|
|
112
114
|
# ---------------------------------------------------------------------------
|
|
113
115
|
|
|
116
|
+
if ! $SETUP_NEEDED; then
|
|
117
|
+
exit 0
|
|
118
|
+
fi
|
|
119
|
+
|
|
114
120
|
CLAUDE_MD="$PROJECT_DIR/CLAUDE.md"
|
|
115
121
|
GITIGNORE="$PROJECT_DIR/.gitignore"
|
|
116
122
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.11
|
|
@@ -12,6 +12,18 @@
|
|
|
12
12
|
]
|
|
13
13
|
}
|
|
14
14
|
],
|
|
15
|
+
"UserPromptSubmit": [
|
|
16
|
+
{
|
|
17
|
+
"matcher": "",
|
|
18
|
+
"hooks": [
|
|
19
|
+
{
|
|
20
|
+
"type": "command",
|
|
21
|
+
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/project-setup.sh",
|
|
22
|
+
"timeout": 5
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
],
|
|
15
27
|
"PostToolUse": [
|
|
16
28
|
{
|
|
17
29
|
"matcher": "Bash",
|
|
@@ -37,11 +37,13 @@ MANAGED_START="<!-- >>> claude-agents toolkit (DO NOT EDIT THIS BLOCK) >>> -->"
|
|
|
37
37
|
MANAGED_END="<!-- <<< claude-agents toolkit <<< -->"
|
|
38
38
|
GITIGNORE_START="# >>> claude-agents managed (DO NOT EDIT THIS BLOCK) >>>"
|
|
39
39
|
|
|
40
|
-
# Check marker file — skip if current version is already
|
|
40
|
+
# Check marker file — skip SETUP if current version is already done
|
|
41
|
+
# But ALWAYS run license check (even if setup is done)
|
|
42
|
+
SETUP_NEEDED=true
|
|
41
43
|
if [ -f "$MARKER_FILE" ]; then
|
|
42
44
|
STORED_VERSION=$(cat "$MARKER_FILE" 2>/dev/null | tr -d '[:space:]' || echo "")
|
|
43
45
|
if [ "$STORED_VERSION" = "$TOOLKIT_VERSION" ]; then
|
|
44
|
-
|
|
46
|
+
SETUP_NEEDED=false
|
|
45
47
|
fi
|
|
46
48
|
fi
|
|
47
49
|
|
|
@@ -108,9 +110,13 @@ if ! $LICENSE_VALID; then
|
|
|
108
110
|
fi
|
|
109
111
|
|
|
110
112
|
# ---------------------------------------------------------------------------
|
|
111
|
-
# Project setup (only runs if license is valid)
|
|
113
|
+
# Project setup (only runs if license is valid AND setup is needed)
|
|
112
114
|
# ---------------------------------------------------------------------------
|
|
113
115
|
|
|
116
|
+
if ! $SETUP_NEEDED; then
|
|
117
|
+
exit 0
|
|
118
|
+
fi
|
|
119
|
+
|
|
114
120
|
CLAUDE_MD="$PROJECT_DIR/CLAUDE.md"
|
|
115
121
|
GITIGNORE="$PROJECT_DIR/.gitignore"
|
|
116
122
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.11
|
|
@@ -22,29 +22,41 @@
|
|
|
22
22
|
]
|
|
23
23
|
}
|
|
24
24
|
],
|
|
25
|
-
"
|
|
25
|
+
"UserPromptSubmit": [
|
|
26
26
|
{
|
|
27
|
-
"matcher": "
|
|
27
|
+
"matcher": "",
|
|
28
28
|
"hooks": [
|
|
29
29
|
{
|
|
30
30
|
"type": "command",
|
|
31
|
-
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/
|
|
31
|
+
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/project-setup.sh",
|
|
32
32
|
"timeout": 5
|
|
33
33
|
}
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
"matcher": "
|
|
37
|
+
"matcher": "",
|
|
38
38
|
"hooks": [
|
|
39
39
|
{
|
|
40
40
|
"type": "command",
|
|
41
|
-
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/
|
|
41
|
+
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/triage-router.sh",
|
|
42
|
+
"timeout": 5
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"PreToolUse": [
|
|
48
|
+
{
|
|
49
|
+
"matcher": "Bash",
|
|
50
|
+
"hooks": [
|
|
51
|
+
{
|
|
52
|
+
"type": "command",
|
|
53
|
+
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-bash-guard.sh",
|
|
42
54
|
"timeout": 5
|
|
43
55
|
}
|
|
44
56
|
]
|
|
45
57
|
},
|
|
46
58
|
{
|
|
47
|
-
"matcher": "
|
|
59
|
+
"matcher": "Edit",
|
|
48
60
|
"hooks": [
|
|
49
61
|
{
|
|
50
62
|
"type": "command",
|
|
@@ -52,15 +64,13 @@
|
|
|
52
64
|
"timeout": 5
|
|
53
65
|
}
|
|
54
66
|
]
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
"UserPromptSubmit": [
|
|
67
|
+
},
|
|
58
68
|
{
|
|
59
|
-
"matcher": "",
|
|
69
|
+
"matcher": "Write",
|
|
60
70
|
"hooks": [
|
|
61
71
|
{
|
|
62
72
|
"type": "command",
|
|
63
|
-
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/
|
|
73
|
+
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-edit-guard.sh",
|
|
64
74
|
"timeout": 5
|
|
65
75
|
}
|
|
66
76
|
]
|
|
@@ -37,11 +37,13 @@ MANAGED_START="<!-- >>> claude-agents toolkit (DO NOT EDIT THIS BLOCK) >>> -->"
|
|
|
37
37
|
MANAGED_END="<!-- <<< claude-agents toolkit <<< -->"
|
|
38
38
|
GITIGNORE_START="# >>> claude-agents managed (DO NOT EDIT THIS BLOCK) >>>"
|
|
39
39
|
|
|
40
|
-
# Check marker file — skip if current version is already
|
|
40
|
+
# Check marker file — skip SETUP if current version is already done
|
|
41
|
+
# But ALWAYS run license check (even if setup is done)
|
|
42
|
+
SETUP_NEEDED=true
|
|
41
43
|
if [ -f "$MARKER_FILE" ]; then
|
|
42
44
|
STORED_VERSION=$(cat "$MARKER_FILE" 2>/dev/null | tr -d '[:space:]' || echo "")
|
|
43
45
|
if [ "$STORED_VERSION" = "$TOOLKIT_VERSION" ]; then
|
|
44
|
-
|
|
46
|
+
SETUP_NEEDED=false
|
|
45
47
|
fi
|
|
46
48
|
fi
|
|
47
49
|
|
|
@@ -108,9 +110,13 @@ if ! $LICENSE_VALID; then
|
|
|
108
110
|
fi
|
|
109
111
|
|
|
110
112
|
# ---------------------------------------------------------------------------
|
|
111
|
-
# Project setup (only runs if license is valid)
|
|
113
|
+
# Project setup (only runs if license is valid AND setup is needed)
|
|
112
114
|
# ---------------------------------------------------------------------------
|
|
113
115
|
|
|
116
|
+
if ! $SETUP_NEEDED; then
|
|
117
|
+
exit 0
|
|
118
|
+
fi
|
|
119
|
+
|
|
114
120
|
CLAUDE_MD="$PROJECT_DIR/CLAUDE.md"
|
|
115
121
|
GITIGNORE="$PROJECT_DIR/.gitignore"
|
|
116
122
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.11
|
|
@@ -37,11 +37,13 @@ MANAGED_START="<!-- >>> claude-agents toolkit (DO NOT EDIT THIS BLOCK) >>> -->"
|
|
|
37
37
|
MANAGED_END="<!-- <<< claude-agents toolkit <<< -->"
|
|
38
38
|
GITIGNORE_START="# >>> claude-agents managed (DO NOT EDIT THIS BLOCK) >>>"
|
|
39
39
|
|
|
40
|
-
# Check marker file — skip if current version is already
|
|
40
|
+
# Check marker file — skip SETUP if current version is already done
|
|
41
|
+
# But ALWAYS run license check (even if setup is done)
|
|
42
|
+
SETUP_NEEDED=true
|
|
41
43
|
if [ -f "$MARKER_FILE" ]; then
|
|
42
44
|
STORED_VERSION=$(cat "$MARKER_FILE" 2>/dev/null | tr -d '[:space:]' || echo "")
|
|
43
45
|
if [ "$STORED_VERSION" = "$TOOLKIT_VERSION" ]; then
|
|
44
|
-
|
|
46
|
+
SETUP_NEEDED=false
|
|
45
47
|
fi
|
|
46
48
|
fi
|
|
47
49
|
|
|
@@ -108,9 +110,13 @@ if ! $LICENSE_VALID; then
|
|
|
108
110
|
fi
|
|
109
111
|
|
|
110
112
|
# ---------------------------------------------------------------------------
|
|
111
|
-
# Project setup (only runs if license is valid)
|
|
113
|
+
# Project setup (only runs if license is valid AND setup is needed)
|
|
112
114
|
# ---------------------------------------------------------------------------
|
|
113
115
|
|
|
116
|
+
if ! $SETUP_NEEDED; then
|
|
117
|
+
exit 0
|
|
118
|
+
fi
|
|
119
|
+
|
|
114
120
|
CLAUDE_MD="$PROJECT_DIR/CLAUDE.md"
|
|
115
121
|
GITIGNORE="$PROJECT_DIR/.gitignore"
|
|
116
122
|
|
package/hook-defs.json
CHANGED
|
@@ -123,7 +123,8 @@
|
|
|
123
123
|
"project-setup": {
|
|
124
124
|
"script": "project-setup.sh",
|
|
125
125
|
"entries": [
|
|
126
|
-
{"event": "SessionStart", "matcher": "", "timeout": 10}
|
|
126
|
+
{"event": "SessionStart", "matcher": "", "timeout": 10},
|
|
127
|
+
{"event": "UserPromptSubmit", "matcher": "", "timeout": 5}
|
|
127
128
|
]
|
|
128
129
|
},
|
|
129
130
|
"escalation-guard": {
|
package/hooks/project-setup.sh
CHANGED
|
@@ -37,11 +37,13 @@ MANAGED_START="<!-- >>> claude-agents toolkit (DO NOT EDIT THIS BLOCK) >>> -->"
|
|
|
37
37
|
MANAGED_END="<!-- <<< claude-agents toolkit <<< -->"
|
|
38
38
|
GITIGNORE_START="# >>> claude-agents managed (DO NOT EDIT THIS BLOCK) >>>"
|
|
39
39
|
|
|
40
|
-
# Check marker file — skip if current version is already
|
|
40
|
+
# Check marker file — skip SETUP if current version is already done
|
|
41
|
+
# But ALWAYS run license check (even if setup is done)
|
|
42
|
+
SETUP_NEEDED=true
|
|
41
43
|
if [ -f "$MARKER_FILE" ]; then
|
|
42
44
|
STORED_VERSION=$(cat "$MARKER_FILE" 2>/dev/null | tr -d '[:space:]' || echo "")
|
|
43
45
|
if [ "$STORED_VERSION" = "$TOOLKIT_VERSION" ]; then
|
|
44
|
-
|
|
46
|
+
SETUP_NEEDED=false
|
|
45
47
|
fi
|
|
46
48
|
fi
|
|
47
49
|
|
|
@@ -108,9 +110,13 @@ if ! $LICENSE_VALID; then
|
|
|
108
110
|
fi
|
|
109
111
|
|
|
110
112
|
# ---------------------------------------------------------------------------
|
|
111
|
-
# Project setup (only runs if license is valid)
|
|
113
|
+
# Project setup (only runs if license is valid AND setup is needed)
|
|
112
114
|
# ---------------------------------------------------------------------------
|
|
113
115
|
|
|
116
|
+
if ! $SETUP_NEEDED; then
|
|
117
|
+
exit 0
|
|
118
|
+
fi
|
|
119
|
+
|
|
114
120
|
CLAUDE_MD="$PROJECT_DIR/CLAUDE.md"
|
|
115
121
|
GITIGNORE="$PROJECT_DIR/.gitignore"
|
|
116
122
|
|