happenin 0.3.0 → 0.5.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,7 +1,7 @@
1
1
  {
2
2
  "name": "happenin",
3
- "version": "0.3.0",
4
- "description": "A macOS CLI that records Cursor and Claude Code agent events to a local SQLite database and serves a live browser dashboard.",
3
+ "version": "0.5.0",
4
+ "description": "A CLI that records Cursor and Claude Code agent events to a local SQLite database and serves a live browser dashboard.",
5
5
  "keywords": [
6
6
  "agents",
7
7
  "ai-agents",
@@ -10,9 +10,11 @@
10
10
  "cli",
11
11
  "cursor",
12
12
  "dashboard",
13
+ "linux",
13
14
  "logging",
14
15
  "macos",
15
- "sqlite"
16
+ "sqlite",
17
+ "windows"
16
18
  ],
17
19
  "homepage": "https://github.com/YogliB/happenin#readme",
18
20
  "bugs": {
@@ -30,6 +32,9 @@
30
32
  "files": [
31
33
  "assets",
32
34
  "dist",
35
+ ".claude-plugin",
36
+ ".cursor-plugin",
37
+ "plugins",
33
38
  "LICENSE.md",
34
39
  "README.md"
35
40
  ],
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "happenin",
3
+ "version": "0.4.0",
4
+ "description": "Record local Claude Code events for the happenin dashboard.",
5
+ "author": { "name": "Yogev Boaron Ben-Har" },
6
+ "repository": "https://github.com/YogliB/happenin",
7
+ "license": "MIT",
8
+ "keywords": ["hooks", "observability", "sessions"]
9
+ }
@@ -0,0 +1,345 @@
1
+ {
2
+ "hooks": {
3
+ "SessionStart": [
4
+ {
5
+ "matcher": "",
6
+ "hooks": [
7
+ {
8
+ "type": "command",
9
+ "command": "npx -y happenin record claude SessionStart"
10
+ }
11
+ ]
12
+ }
13
+ ],
14
+ "SessionEnd": [
15
+ {
16
+ "matcher": "",
17
+ "hooks": [
18
+ {
19
+ "type": "command",
20
+ "command": "npx -y happenin record claude SessionEnd"
21
+ }
22
+ ]
23
+ }
24
+ ],
25
+ "Setup": [
26
+ {
27
+ "matcher": "",
28
+ "hooks": [
29
+ {
30
+ "type": "command",
31
+ "command": "npx -y happenin record claude Setup"
32
+ }
33
+ ]
34
+ }
35
+ ],
36
+ "UserPromptSubmit": [
37
+ {
38
+ "matcher": "",
39
+ "hooks": [
40
+ {
41
+ "type": "command",
42
+ "command": "npx -y happenin record claude UserPromptSubmit"
43
+ }
44
+ ]
45
+ }
46
+ ],
47
+ "UserPromptExpansion": [
48
+ {
49
+ "matcher": "",
50
+ "hooks": [
51
+ {
52
+ "type": "command",
53
+ "command": "npx -y happenin record claude UserPromptExpansion"
54
+ }
55
+ ]
56
+ }
57
+ ],
58
+ "PreToolUse": [
59
+ {
60
+ "matcher": "",
61
+ "hooks": [
62
+ {
63
+ "type": "command",
64
+ "command": "npx -y happenin record claude PreToolUse"
65
+ }
66
+ ]
67
+ }
68
+ ],
69
+ "PermissionRequest": [
70
+ {
71
+ "matcher": "",
72
+ "hooks": [
73
+ {
74
+ "type": "command",
75
+ "command": "npx -y happenin record claude PermissionRequest"
76
+ }
77
+ ]
78
+ }
79
+ ],
80
+ "PermissionDenied": [
81
+ {
82
+ "matcher": "",
83
+ "hooks": [
84
+ {
85
+ "type": "command",
86
+ "command": "npx -y happenin record claude PermissionDenied"
87
+ }
88
+ ]
89
+ }
90
+ ],
91
+ "PostToolUse": [
92
+ {
93
+ "matcher": "",
94
+ "hooks": [
95
+ {
96
+ "type": "command",
97
+ "command": "npx -y happenin record claude PostToolUse"
98
+ }
99
+ ]
100
+ }
101
+ ],
102
+ "PostToolUseFailure": [
103
+ {
104
+ "matcher": "",
105
+ "hooks": [
106
+ {
107
+ "type": "command",
108
+ "command": "npx -y happenin record claude PostToolUseFailure"
109
+ }
110
+ ]
111
+ }
112
+ ],
113
+ "PostToolBatch": [
114
+ {
115
+ "matcher": "",
116
+ "hooks": [
117
+ {
118
+ "type": "command",
119
+ "command": "npx -y happenin record claude PostToolBatch"
120
+ }
121
+ ]
122
+ }
123
+ ],
124
+ "Notification": [
125
+ {
126
+ "matcher": "",
127
+ "hooks": [
128
+ {
129
+ "type": "command",
130
+ "command": "npx -y happenin record claude Notification"
131
+ }
132
+ ]
133
+ }
134
+ ],
135
+ "MessageDisplay": [
136
+ {
137
+ "matcher": "",
138
+ "hooks": [
139
+ {
140
+ "type": "command",
141
+ "command": "npx -y happenin record claude MessageDisplay"
142
+ }
143
+ ]
144
+ }
145
+ ],
146
+ "SubagentStart": [
147
+ {
148
+ "matcher": "",
149
+ "hooks": [
150
+ {
151
+ "type": "command",
152
+ "command": "npx -y happenin record claude SubagentStart"
153
+ }
154
+ ]
155
+ }
156
+ ],
157
+ "SubagentStop": [
158
+ {
159
+ "matcher": "",
160
+ "hooks": [
161
+ {
162
+ "type": "command",
163
+ "command": "npx -y happenin record claude SubagentStop"
164
+ }
165
+ ]
166
+ }
167
+ ],
168
+ "TaskCreated": [
169
+ {
170
+ "matcher": "",
171
+ "hooks": [
172
+ {
173
+ "type": "command",
174
+ "command": "npx -y happenin record claude TaskCreated"
175
+ }
176
+ ]
177
+ }
178
+ ],
179
+ "TaskCompleted": [
180
+ {
181
+ "matcher": "",
182
+ "hooks": [
183
+ {
184
+ "type": "command",
185
+ "command": "npx -y happenin record claude TaskCompleted"
186
+ }
187
+ ]
188
+ }
189
+ ],
190
+ "Stop": [
191
+ {
192
+ "matcher": "",
193
+ "hooks": [
194
+ {
195
+ "type": "command",
196
+ "command": "npx -y happenin record claude Stop"
197
+ }
198
+ ]
199
+ }
200
+ ],
201
+ "StopFailure": [
202
+ {
203
+ "matcher": "",
204
+ "hooks": [
205
+ {
206
+ "type": "command",
207
+ "command": "npx -y happenin record claude StopFailure"
208
+ }
209
+ ]
210
+ }
211
+ ],
212
+ "TeammateIdle": [
213
+ {
214
+ "matcher": "",
215
+ "hooks": [
216
+ {
217
+ "type": "command",
218
+ "command": "npx -y happenin record claude TeammateIdle"
219
+ }
220
+ ]
221
+ }
222
+ ],
223
+ "InstructionsLoaded": [
224
+ {
225
+ "matcher": "",
226
+ "hooks": [
227
+ {
228
+ "type": "command",
229
+ "command": "npx -y happenin record claude InstructionsLoaded"
230
+ }
231
+ ]
232
+ }
233
+ ],
234
+ "ConfigChange": [
235
+ {
236
+ "matcher": "",
237
+ "hooks": [
238
+ {
239
+ "type": "command",
240
+ "command": "npx -y happenin record claude ConfigChange"
241
+ }
242
+ ]
243
+ }
244
+ ],
245
+ "CwdChanged": [
246
+ {
247
+ "matcher": "",
248
+ "hooks": [
249
+ {
250
+ "type": "command",
251
+ "command": "npx -y happenin record claude CwdChanged"
252
+ }
253
+ ]
254
+ }
255
+ ],
256
+ "DirectoryAdded": [
257
+ {
258
+ "matcher": "",
259
+ "hooks": [
260
+ {
261
+ "type": "command",
262
+ "command": "npx -y happenin record claude DirectoryAdded"
263
+ }
264
+ ]
265
+ }
266
+ ],
267
+ "FileChanged": [
268
+ {
269
+ "matcher": "",
270
+ "hooks": [
271
+ {
272
+ "type": "command",
273
+ "command": "npx -y happenin record claude FileChanged"
274
+ }
275
+ ]
276
+ }
277
+ ],
278
+ "WorktreeCreate": [
279
+ {
280
+ "matcher": "",
281
+ "hooks": [
282
+ {
283
+ "type": "command",
284
+ "command": "npx -y happenin record claude WorktreeCreate"
285
+ }
286
+ ]
287
+ }
288
+ ],
289
+ "WorktreeRemove": [
290
+ {
291
+ "matcher": "",
292
+ "hooks": [
293
+ {
294
+ "type": "command",
295
+ "command": "npx -y happenin record claude WorktreeRemove"
296
+ }
297
+ ]
298
+ }
299
+ ],
300
+ "PreCompact": [
301
+ {
302
+ "matcher": "",
303
+ "hooks": [
304
+ {
305
+ "type": "command",
306
+ "command": "npx -y happenin record claude PreCompact"
307
+ }
308
+ ]
309
+ }
310
+ ],
311
+ "PostCompact": [
312
+ {
313
+ "matcher": "",
314
+ "hooks": [
315
+ {
316
+ "type": "command",
317
+ "command": "npx -y happenin record claude PostCompact"
318
+ }
319
+ ]
320
+ }
321
+ ],
322
+ "Elicitation": [
323
+ {
324
+ "matcher": "",
325
+ "hooks": [
326
+ {
327
+ "type": "command",
328
+ "command": "npx -y happenin record claude Elicitation"
329
+ }
330
+ ]
331
+ }
332
+ ],
333
+ "ElicitationResult": [
334
+ {
335
+ "matcher": "",
336
+ "hooks": [
337
+ {
338
+ "type": "command",
339
+ "command": "npx -y happenin record claude ElicitationResult"
340
+ }
341
+ ]
342
+ }
343
+ ]
344
+ }
345
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "happenin",
3
+ "displayName": "happenin",
4
+ "version": "0.4.0",
5
+ "description": "Record local Cursor agent events for the happenin dashboard.",
6
+ "author": { "name": "Yogev Boaron Ben-Har" },
7
+ "repository": "https://github.com/YogliB/happenin",
8
+ "license": "MIT",
9
+ "keywords": ["hooks", "observability", "sessions"]
10
+ }
@@ -0,0 +1,95 @@
1
+ {
2
+ "version": 1,
3
+ "hooks": {
4
+ "sessionStart": [
5
+ {
6
+ "command": "npx -y happenin record cursor"
7
+ }
8
+ ],
9
+ "sessionEnd": [
10
+ {
11
+ "command": "npx -y happenin record cursor"
12
+ }
13
+ ],
14
+ "beforeSubmitPrompt": [
15
+ {
16
+ "command": "npx -y happenin record cursor"
17
+ }
18
+ ],
19
+ "preToolUse": [
20
+ {
21
+ "command": "npx -y happenin record cursor"
22
+ }
23
+ ],
24
+ "postToolUse": [
25
+ {
26
+ "command": "npx -y happenin record cursor"
27
+ }
28
+ ],
29
+ "postToolUseFailure": [
30
+ {
31
+ "command": "npx -y happenin record cursor"
32
+ }
33
+ ],
34
+ "subagentStart": [
35
+ {
36
+ "command": "npx -y happenin record cursor"
37
+ }
38
+ ],
39
+ "subagentStop": [
40
+ {
41
+ "command": "npx -y happenin record cursor"
42
+ }
43
+ ],
44
+ "beforeShellExecution": [
45
+ {
46
+ "command": "npx -y happenin record cursor"
47
+ }
48
+ ],
49
+ "afterShellExecution": [
50
+ {
51
+ "command": "npx -y happenin record cursor"
52
+ }
53
+ ],
54
+ "beforeMCPExecution": [
55
+ {
56
+ "command": "npx -y happenin record cursor"
57
+ }
58
+ ],
59
+ "afterMCPExecution": [
60
+ {
61
+ "command": "npx -y happenin record cursor"
62
+ }
63
+ ],
64
+ "beforeReadFile": [
65
+ {
66
+ "command": "npx -y happenin record cursor"
67
+ }
68
+ ],
69
+ "afterFileEdit": [
70
+ {
71
+ "command": "npx -y happenin record cursor"
72
+ }
73
+ ],
74
+ "afterAgentResponse": [
75
+ {
76
+ "command": "npx -y happenin record cursor"
77
+ }
78
+ ],
79
+ "afterAgentThought": [
80
+ {
81
+ "command": "npx -y happenin record cursor"
82
+ }
83
+ ],
84
+ "preCompact": [
85
+ {
86
+ "command": "npx -y happenin record cursor"
87
+ }
88
+ ],
89
+ "stop": [
90
+ {
91
+ "command": "npx -y happenin record cursor"
92
+ }
93
+ ]
94
+ }
95
+ }