solvdex 2.0.0-alpha.3 → 2.0.0-alpha.5
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.
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "Knowledge management plugins for Claude Code",
|
|
9
|
-
"version": "2.0.0-alpha.
|
|
9
|
+
"version": "2.0.0-alpha.5"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"url": "https://github.com/ducdmdev/solvdex.git"
|
|
17
17
|
},
|
|
18
18
|
"description": "Auto-capture and retrieve project knowledge - solutions, patterns, gotchas, testing, docs, security, performance",
|
|
19
|
-
"version": "2.0.0-alpha.
|
|
19
|
+
"version": "2.0.0-alpha.5"
|
|
20
20
|
}
|
|
21
21
|
]
|
|
22
22
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "solvdex",
|
|
3
3
|
"description": "Auto-capture and retrieve project knowledge - solutions, patterns, gotchas, testing, docs, security, performance",
|
|
4
|
-
"version": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.5",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "duc.do",
|
|
7
7
|
"email": "ducdm.dev.work@gmail.com"
|
package/hooks/hooks.json
CHANGED
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"hooks": {
|
|
3
|
+
"PreToolUse": [
|
|
4
|
+
{
|
|
5
|
+
"matcher": "Edit|Write",
|
|
6
|
+
"hooks": [
|
|
7
|
+
{
|
|
8
|
+
"type": "command",
|
|
9
|
+
"command": "if [ -d .wiki ]; then p=$(find .wiki/patterns -name '*.md' 2>/dev/null | wc -l); g=$(find .wiki/gotchas -name '*.md' 2>/dev/null | wc -l); [ $p -gt 0 ] || [ $g -gt 0 ] && echo \"Solvdex: Found $p patterns and $g gotchas\"; fi; exit 0",
|
|
10
|
+
"timeout": 5
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
],
|
|
3
15
|
"SessionStart": [
|
|
4
16
|
{
|
|
5
17
|
"matcher": "",
|
|
6
18
|
"hooks": [
|
|
7
19
|
{
|
|
8
|
-
"type": "
|
|
9
|
-
"
|
|
20
|
+
"type": "command",
|
|
21
|
+
"command": "if [ -d .wiki ]; then t=$(find .wiki -name '*.md' -not -name '_*' 2>/dev/null | wc -l); [ $t -gt 0 ] && echo \"Solvdex: Wiki has $t entries. Use /wiki search <query> to find solutions.\"; fi; exit 0",
|
|
22
|
+
"timeout": 5
|
|
10
23
|
}
|
|
11
24
|
]
|
|
12
25
|
}
|
|
@@ -16,8 +29,9 @@
|
|
|
16
29
|
"matcher": "",
|
|
17
30
|
"hooks": [
|
|
18
31
|
{
|
|
19
|
-
"type": "
|
|
20
|
-
"
|
|
32
|
+
"type": "command",
|
|
33
|
+
"command": "exit 0",
|
|
34
|
+
"timeout": 5
|
|
21
35
|
}
|
|
22
36
|
]
|
|
23
37
|
}
|