claude-live 0.4.3 → 0.4.4

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.
Files changed (2) hide show
  1. package/hooks/hooks.json +16 -16
  2. package/package.json +1 -1
package/hooks/hooks.json CHANGED
@@ -10,7 +10,7 @@
10
10
  },
11
11
  {
12
12
  "type": "command",
13
- "command": "bin/send-hook.sh",
13
+ "command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
14
14
  "async": true
15
15
  }
16
16
  ]
@@ -18,105 +18,105 @@
18
18
  "InstructionsLoaded": [{
19
19
  "hooks": [{
20
20
  "type": "command",
21
- "command": "bin/send-hook.sh",
21
+ "command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
22
22
  "async": true
23
23
  }]
24
24
  }],
25
25
  "WorktreeCreate": [{
26
26
  "hooks": [{
27
27
  "type": "command",
28
- "command": "bin/send-hook.sh",
28
+ "command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
29
29
  "async": true
30
30
  }]
31
31
  }],
32
32
  "WorktreeRemove": [{
33
33
  "hooks": [{
34
34
  "type": "command",
35
- "command": "bin/send-hook.sh",
35
+ "command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
36
36
  "async": true
37
37
  }]
38
38
  }],
39
39
  "PreToolUse": [{
40
40
  "hooks": [{
41
41
  "type": "command",
42
- "command": "bin/send-hook.sh",
42
+ "command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
43
43
  "async": true
44
44
  }]
45
45
  }],
46
46
  "PostToolUse": [{
47
47
  "hooks": [{
48
48
  "type": "command",
49
- "command": "bin/send-hook.sh",
49
+ "command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
50
50
  "async": true
51
51
  }]
52
52
  }],
53
53
  "Stop": [{
54
54
  "hooks": [{
55
55
  "type": "command",
56
- "command": "bin/send-hook.sh",
56
+ "command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
57
57
  "async": true
58
58
  }]
59
59
  }],
60
60
  "Notification": [{
61
61
  "hooks": [{
62
62
  "type": "command",
63
- "command": "bin/send-hook.sh",
63
+ "command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
64
64
  "async": true
65
65
  }]
66
66
  }],
67
67
  "PermissionRequest": [{
68
68
  "hooks": [{
69
69
  "type": "command",
70
- "command": "bin/send-hook.sh",
70
+ "command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
71
71
  "async": true
72
72
  }]
73
73
  }],
74
74
  "SubagentStart": [{
75
75
  "hooks": [{
76
76
  "type": "command",
77
- "command": "bin/send-hook.sh",
77
+ "command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
78
78
  "async": true
79
79
  }]
80
80
  }],
81
81
  "SubagentStop": [{
82
82
  "hooks": [{
83
83
  "type": "command",
84
- "command": "bin/send-hook.sh",
84
+ "command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
85
85
  "async": true
86
86
  }]
87
87
  }],
88
88
  "SessionEnd": [{
89
89
  "hooks": [{
90
90
  "type": "command",
91
- "command": "bin/send-hook.sh",
91
+ "command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
92
92
  "async": true
93
93
  }]
94
94
  }],
95
95
  "PostToolUseFailure": [{
96
96
  "hooks": [{
97
97
  "type": "command",
98
- "command": "bin/send-hook.sh",
98
+ "command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
99
99
  "async": true
100
100
  }]
101
101
  }],
102
102
  "UserPromptSubmit": [{
103
103
  "hooks": [{
104
104
  "type": "command",
105
- "command": "bin/send-hook.sh",
105
+ "command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
106
106
  "async": true
107
107
  }]
108
108
  }],
109
109
  "PreCompact": [{
110
110
  "hooks": [{
111
111
  "type": "command",
112
- "command": "bin/send-hook.sh",
112
+ "command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
113
113
  "async": true
114
114
  }]
115
115
  }],
116
116
  "PostCompact": [{
117
117
  "hooks": [{
118
118
  "type": "command",
119
- "command": "bin/send-hook.sh",
119
+ "command": "curl -sf -X POST 'http://localhost:43451/hook' -H 'Content-Type: application/json' -d @- 2>/dev/null || true",
120
120
  "async": true
121
121
  }]
122
122
  }]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-live",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "Realtime Claude Code activity visualizer",
5
5
  "bin": {
6
6
  "claude-live": "./bin/claude-live.js"