claude-synapse 1.0.0 → 1.0.1
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/hooks/claude-hooks.json +30 -30
- package/package.json +9 -2
package/hooks/claude-hooks.json
CHANGED
|
@@ -1,111 +1,111 @@
|
|
|
1
1
|
{
|
|
2
2
|
"hooks": {
|
|
3
|
-
"
|
|
3
|
+
"SessionStart": [
|
|
4
4
|
{
|
|
5
|
-
"matcher": "",
|
|
6
5
|
"hooks": [
|
|
7
6
|
{
|
|
8
7
|
"type": "command",
|
|
9
|
-
"command": "curl -s -X POST http://localhost:4800/api/hooks/
|
|
8
|
+
"command": "curl -s -X POST http://localhost:4800/api/hooks/SessionStart -H 'Content-Type: application/json' --data-binary @- > /dev/null 2>&1 || true"
|
|
10
9
|
}
|
|
11
10
|
]
|
|
12
11
|
}
|
|
13
12
|
],
|
|
14
|
-
"
|
|
13
|
+
"UserPromptSubmit": [
|
|
15
14
|
{
|
|
16
|
-
"matcher": "",
|
|
17
15
|
"hooks": [
|
|
18
16
|
{
|
|
19
17
|
"type": "command",
|
|
20
|
-
"command": "curl -s -X POST http://localhost:4800/api/hooks/
|
|
18
|
+
"command": "curl -s -X POST http://localhost:4800/api/hooks/UserPromptSubmit -H 'Content-Type: application/json' --data-binary @- > /dev/null 2>&1 || true"
|
|
21
19
|
}
|
|
22
20
|
]
|
|
23
21
|
}
|
|
24
22
|
],
|
|
25
|
-
"
|
|
23
|
+
"SubagentStart": [
|
|
26
24
|
{
|
|
27
|
-
"matcher": "",
|
|
28
25
|
"hooks": [
|
|
29
26
|
{
|
|
30
27
|
"type": "command",
|
|
31
|
-
"command": "curl -s -X POST http://localhost:4800/api/hooks/
|
|
28
|
+
"command": "curl -s -X POST http://localhost:4800/api/hooks/SubagentStart -H 'Content-Type: application/json' --data-binary @- > /dev/null 2>&1 || true"
|
|
32
29
|
}
|
|
33
30
|
]
|
|
34
31
|
}
|
|
35
32
|
],
|
|
36
|
-
"
|
|
33
|
+
"SubagentStop": [
|
|
37
34
|
{
|
|
38
|
-
"matcher": "",
|
|
39
35
|
"hooks": [
|
|
40
36
|
{
|
|
41
37
|
"type": "command",
|
|
42
|
-
"command": "curl -s -X POST http://localhost:4800/api/hooks/
|
|
38
|
+
"command": "curl -s -X POST http://localhost:4800/api/hooks/SubagentStop -H 'Content-Type: application/json' --data-binary @- > /dev/null 2>&1 || true"
|
|
43
39
|
}
|
|
44
40
|
]
|
|
45
41
|
}
|
|
46
42
|
],
|
|
47
|
-
"
|
|
43
|
+
"PreToolUse": [
|
|
48
44
|
{
|
|
49
|
-
"matcher": "",
|
|
50
45
|
"hooks": [
|
|
51
46
|
{
|
|
52
47
|
"type": "command",
|
|
53
|
-
"command": "curl -s -X POST http://localhost:4800/api/hooks/
|
|
48
|
+
"command": "curl -s -X POST http://localhost:4800/api/hooks/PreToolUse -H 'Content-Type: application/json' --data-binary @- > /dev/null 2>&1 || true"
|
|
54
49
|
}
|
|
55
50
|
]
|
|
56
51
|
}
|
|
57
52
|
],
|
|
58
|
-
"
|
|
53
|
+
"PostToolUse": [
|
|
59
54
|
{
|
|
60
|
-
"matcher": "",
|
|
61
55
|
"hooks": [
|
|
62
56
|
{
|
|
63
57
|
"type": "command",
|
|
64
|
-
"command": "curl -s -X POST http://localhost:4800/api/hooks/
|
|
58
|
+
"command": "curl -s -X POST http://localhost:4800/api/hooks/PostToolUse -H 'Content-Type: application/json' --data-binary @- > /dev/null 2>&1 || true"
|
|
65
59
|
}
|
|
66
60
|
]
|
|
67
61
|
}
|
|
68
62
|
],
|
|
69
|
-
"
|
|
63
|
+
"PostToolUseFailure": [
|
|
70
64
|
{
|
|
71
|
-
"matcher": "",
|
|
72
65
|
"hooks": [
|
|
73
66
|
{
|
|
74
67
|
"type": "command",
|
|
75
|
-
"command": "curl -s -X POST http://localhost:4800/api/hooks/
|
|
68
|
+
"command": "curl -s -X POST http://localhost:4800/api/hooks/PostToolUseFailure -H 'Content-Type: application/json' --data-binary @- > /dev/null 2>&1 || true"
|
|
76
69
|
}
|
|
77
70
|
]
|
|
78
71
|
}
|
|
79
72
|
],
|
|
80
|
-
"
|
|
73
|
+
"PreCompact": [
|
|
81
74
|
{
|
|
82
|
-
"matcher": "",
|
|
83
75
|
"hooks": [
|
|
84
76
|
{
|
|
85
77
|
"type": "command",
|
|
86
|
-
"command": "curl -s -X POST http://localhost:4800/api/hooks/
|
|
78
|
+
"command": "curl -s -X POST http://localhost:4800/api/hooks/PreCompact -H 'Content-Type: application/json' --data-binary @- > /dev/null 2>&1 || true"
|
|
87
79
|
}
|
|
88
80
|
]
|
|
89
81
|
}
|
|
90
82
|
],
|
|
91
|
-
"
|
|
83
|
+
"Notification": [
|
|
92
84
|
{
|
|
93
|
-
"matcher": "",
|
|
94
85
|
"hooks": [
|
|
95
86
|
{
|
|
96
87
|
"type": "command",
|
|
97
|
-
"command": "curl -s -X POST http://localhost:4800/api/hooks/
|
|
88
|
+
"command": "curl -s -X POST http://localhost:4800/api/hooks/Notification -H 'Content-Type: application/json' --data-binary @- > /dev/null 2>&1 || true"
|
|
98
89
|
}
|
|
99
90
|
]
|
|
100
91
|
}
|
|
101
92
|
],
|
|
102
|
-
"
|
|
93
|
+
"Stop": [
|
|
94
|
+
{
|
|
95
|
+
"hooks": [
|
|
96
|
+
{
|
|
97
|
+
"type": "command",
|
|
98
|
+
"command": "curl -s -X POST http://localhost:4800/api/hooks/Stop -H 'Content-Type: application/json' --data-binary @- > /dev/null 2>&1 || true"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"SessionEnd": [
|
|
103
104
|
{
|
|
104
|
-
"matcher": "",
|
|
105
105
|
"hooks": [
|
|
106
106
|
{
|
|
107
107
|
"type": "command",
|
|
108
|
-
"command": "curl -s -X POST http://localhost:4800/api/hooks/
|
|
108
|
+
"command": "curl -s -X POST http://localhost:4800/api/hooks/SessionEnd -H 'Content-Type: application/json' --data-binary @- > /dev/null 2>&1 || true"
|
|
109
109
|
}
|
|
110
110
|
]
|
|
111
111
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-synapse",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Neural network visualization for Claude Code agent sessions",
|
|
5
|
-
"keywords": [
|
|
5
|
+
"keywords": [
|
|
6
|
+
"claude",
|
|
7
|
+
"claude-code",
|
|
8
|
+
"agent",
|
|
9
|
+
"visualization",
|
|
10
|
+
"neural-network",
|
|
11
|
+
"hooks"
|
|
12
|
+
],
|
|
6
13
|
"license": "MIT",
|
|
7
14
|
"author": "Iulian Leon",
|
|
8
15
|
"repository": {
|