cc-hooks-ts 2.1.149 → 2.1.157
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/dist/index.d.mts +68 -34
- package/dist/index.mjs +13 -5
- package/package.json +39 -48
package/dist/index.d.mts
CHANGED
|
@@ -15,14 +15,14 @@ declare const HookInputSchemas: {
|
|
|
15
15
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
16
16
|
readonly cwd: v.StringSchema<undefined>;
|
|
17
17
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
18
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
18
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
19
19
|
}, undefined>, undefined>;
|
|
20
20
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
21
21
|
readonly session_id: v.StringSchema<undefined>;
|
|
22
22
|
readonly transcript_path: v.StringSchema<undefined>;
|
|
23
23
|
readonly hook_event_name: v.LiteralSchema<"PreToolUse", undefined>;
|
|
24
24
|
} & {
|
|
25
|
-
tool_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
25
|
+
tool_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<string>, undefined>]>;
|
|
26
26
|
tool_input: v.UnknownSchema;
|
|
27
27
|
tool_use_id: v.StringSchema<undefined>;
|
|
28
28
|
}, undefined>;
|
|
@@ -31,14 +31,14 @@ declare const HookInputSchemas: {
|
|
|
31
31
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
32
32
|
readonly cwd: v.StringSchema<undefined>;
|
|
33
33
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
34
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
34
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
35
35
|
}, undefined>, undefined>;
|
|
36
36
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
37
37
|
readonly session_id: v.StringSchema<undefined>;
|
|
38
38
|
readonly transcript_path: v.StringSchema<undefined>;
|
|
39
39
|
readonly hook_event_name: v.LiteralSchema<"PostToolUse", undefined>;
|
|
40
40
|
} & {
|
|
41
|
-
tool_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
41
|
+
tool_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<string>, undefined>]>;
|
|
42
42
|
duration_ms: v.ExactOptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
43
43
|
tool_input: v.UnknownSchema;
|
|
44
44
|
tool_response: v.UnknownSchema;
|
|
@@ -49,14 +49,14 @@ declare const HookInputSchemas: {
|
|
|
49
49
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
50
50
|
readonly cwd: v.StringSchema<undefined>;
|
|
51
51
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
52
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
52
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
53
53
|
}, undefined>, undefined>;
|
|
54
54
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
55
55
|
readonly session_id: v.StringSchema<undefined>;
|
|
56
56
|
readonly transcript_path: v.StringSchema<undefined>;
|
|
57
57
|
readonly hook_event_name: v.LiteralSchema<"PostToolUseFailure", undefined>;
|
|
58
58
|
} & {
|
|
59
|
-
tool_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
59
|
+
tool_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<string>, undefined>]>;
|
|
60
60
|
duration_ms: v.ExactOptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
61
61
|
error: v.StringSchema<undefined>;
|
|
62
62
|
is_interrupt: v.ExactOptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -68,7 +68,7 @@ declare const HookInputSchemas: {
|
|
|
68
68
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
69
69
|
readonly cwd: v.StringSchema<undefined>;
|
|
70
70
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
71
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
71
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
72
72
|
}, undefined>, undefined>;
|
|
73
73
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
74
74
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -77,7 +77,7 @@ declare const HookInputSchemas: {
|
|
|
77
77
|
} & {
|
|
78
78
|
tool_calls: v.ArraySchema<v.ObjectSchema<{
|
|
79
79
|
readonly tool_input: v.UnknownSchema;
|
|
80
|
-
readonly tool_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
80
|
+
readonly tool_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<string>, undefined>]>;
|
|
81
81
|
readonly tool_response: v.ExactOptionalSchema<v.UnknownSchema, undefined>;
|
|
82
82
|
readonly tool_use_id: v.StringSchema<undefined>;
|
|
83
83
|
}, undefined>, undefined>;
|
|
@@ -87,7 +87,7 @@ declare const HookInputSchemas: {
|
|
|
87
87
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
88
88
|
readonly cwd: v.StringSchema<undefined>;
|
|
89
89
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
90
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
90
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
91
91
|
}, undefined>, undefined>;
|
|
92
92
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
93
93
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -103,7 +103,7 @@ declare const HookInputSchemas: {
|
|
|
103
103
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
104
104
|
readonly cwd: v.StringSchema<undefined>;
|
|
105
105
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
106
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
106
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
107
107
|
}, undefined>, undefined>;
|
|
108
108
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
109
109
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -118,7 +118,7 @@ declare const HookInputSchemas: {
|
|
|
118
118
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
119
119
|
readonly cwd: v.StringSchema<undefined>;
|
|
120
120
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
121
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
121
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
122
122
|
}, undefined>, undefined>;
|
|
123
123
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
124
124
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -136,7 +136,7 @@ declare const HookInputSchemas: {
|
|
|
136
136
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
137
137
|
readonly cwd: v.StringSchema<undefined>;
|
|
138
138
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
139
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
139
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
140
140
|
}, undefined>, undefined>;
|
|
141
141
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
142
142
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -168,7 +168,7 @@ declare const HookInputSchemas: {
|
|
|
168
168
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
169
169
|
readonly cwd: v.StringSchema<undefined>;
|
|
170
170
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
171
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
171
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
172
172
|
}, undefined>, undefined>;
|
|
173
173
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
174
174
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -184,7 +184,7 @@ declare const HookInputSchemas: {
|
|
|
184
184
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
185
185
|
readonly cwd: v.StringSchema<undefined>;
|
|
186
186
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
187
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
187
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
188
188
|
}, undefined>, undefined>;
|
|
189
189
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
190
190
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -199,7 +199,7 @@ declare const HookInputSchemas: {
|
|
|
199
199
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
200
200
|
readonly cwd: v.StringSchema<undefined>;
|
|
201
201
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
202
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
202
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
203
203
|
}, undefined>, undefined>;
|
|
204
204
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
205
205
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -235,7 +235,7 @@ declare const HookInputSchemas: {
|
|
|
235
235
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
236
236
|
readonly cwd: v.StringSchema<undefined>;
|
|
237
237
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
238
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
238
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
239
239
|
}, undefined>, undefined>;
|
|
240
240
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
241
241
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -250,7 +250,7 @@ declare const HookInputSchemas: {
|
|
|
250
250
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
251
251
|
readonly cwd: v.StringSchema<undefined>;
|
|
252
252
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
253
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
253
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
254
254
|
}, undefined>, undefined>;
|
|
255
255
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
256
256
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -265,7 +265,7 @@ declare const HookInputSchemas: {
|
|
|
265
265
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
266
266
|
readonly cwd: v.StringSchema<undefined>;
|
|
267
267
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
268
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
268
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
269
269
|
}, undefined>, undefined>;
|
|
270
270
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
271
271
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -274,6 +274,7 @@ declare const HookInputSchemas: {
|
|
|
274
274
|
} & {
|
|
275
275
|
agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
276
276
|
model: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
277
|
+
session_title: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
277
278
|
source: v.PicklistSchema<["startup", "resume", "clear", "compact"], undefined>;
|
|
278
279
|
}, undefined>;
|
|
279
280
|
readonly SessionEnd: v.ObjectSchema<{
|
|
@@ -281,7 +282,7 @@ declare const HookInputSchemas: {
|
|
|
281
282
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
282
283
|
readonly cwd: v.StringSchema<undefined>;
|
|
283
284
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
284
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
285
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
285
286
|
}, undefined>, undefined>;
|
|
286
287
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
287
288
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -295,7 +296,7 @@ declare const HookInputSchemas: {
|
|
|
295
296
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
296
297
|
readonly cwd: v.StringSchema<undefined>;
|
|
297
298
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
298
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
299
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
299
300
|
}, undefined>, undefined>;
|
|
300
301
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
301
302
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -347,7 +348,7 @@ declare const HookInputSchemas: {
|
|
|
347
348
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
348
349
|
readonly cwd: v.StringSchema<undefined>;
|
|
349
350
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
350
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
351
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
351
352
|
}, undefined>, undefined>;
|
|
352
353
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
353
354
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -364,7 +365,7 @@ declare const HookInputSchemas: {
|
|
|
364
365
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
365
366
|
readonly cwd: v.StringSchema<undefined>;
|
|
366
367
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
367
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
368
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
368
369
|
}, undefined>, undefined>;
|
|
369
370
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
370
371
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -378,7 +379,7 @@ declare const HookInputSchemas: {
|
|
|
378
379
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
379
380
|
readonly cwd: v.StringSchema<undefined>;
|
|
380
381
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
381
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
382
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
382
383
|
}, undefined>, undefined>;
|
|
383
384
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
384
385
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -393,7 +394,7 @@ declare const HookInputSchemas: {
|
|
|
393
394
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
394
395
|
readonly cwd: v.StringSchema<undefined>;
|
|
395
396
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
396
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
397
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
397
398
|
}, undefined>, undefined>;
|
|
398
399
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
399
400
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -411,7 +412,7 @@ declare const HookInputSchemas: {
|
|
|
411
412
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
412
413
|
readonly cwd: v.StringSchema<undefined>;
|
|
413
414
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
414
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
415
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
415
416
|
}, undefined>, undefined>;
|
|
416
417
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
417
418
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -429,7 +430,7 @@ declare const HookInputSchemas: {
|
|
|
429
430
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
430
431
|
readonly cwd: v.StringSchema<undefined>;
|
|
431
432
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
432
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
433
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
433
434
|
}, undefined>, undefined>;
|
|
434
435
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
435
436
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -444,7 +445,7 @@ declare const HookInputSchemas: {
|
|
|
444
445
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
445
446
|
readonly cwd: v.StringSchema<undefined>;
|
|
446
447
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
447
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
448
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
448
449
|
}, undefined>, undefined>;
|
|
449
450
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
450
451
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -458,7 +459,7 @@ declare const HookInputSchemas: {
|
|
|
458
459
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
459
460
|
readonly cwd: v.StringSchema<undefined>;
|
|
460
461
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
461
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
462
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
462
463
|
}, undefined>, undefined>;
|
|
463
464
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
464
465
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -472,7 +473,7 @@ declare const HookInputSchemas: {
|
|
|
472
473
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
473
474
|
readonly cwd: v.StringSchema<undefined>;
|
|
474
475
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
475
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
476
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
476
477
|
}, undefined>, undefined>;
|
|
477
478
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
478
479
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -491,7 +492,7 @@ declare const HookInputSchemas: {
|
|
|
491
492
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
492
493
|
readonly cwd: v.StringSchema<undefined>;
|
|
493
494
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
494
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
495
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
495
496
|
}, undefined>, undefined>;
|
|
496
497
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
497
498
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -509,7 +510,7 @@ declare const HookInputSchemas: {
|
|
|
509
510
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
510
511
|
readonly cwd: v.StringSchema<undefined>;
|
|
511
512
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
512
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
513
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
513
514
|
}, undefined>, undefined>;
|
|
514
515
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
515
516
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -528,7 +529,7 @@ declare const HookInputSchemas: {
|
|
|
528
529
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
529
530
|
readonly cwd: v.StringSchema<undefined>;
|
|
530
531
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
531
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
532
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
532
533
|
}, undefined>, undefined>;
|
|
533
534
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
534
535
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -543,7 +544,7 @@ declare const HookInputSchemas: {
|
|
|
543
544
|
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
544
545
|
readonly cwd: v.StringSchema<undefined>;
|
|
545
546
|
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
546
|
-
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (
|
|
547
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
547
548
|
}, undefined>, undefined>;
|
|
548
549
|
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
549
550
|
readonly session_id: v.StringSchema<undefined>;
|
|
@@ -553,6 +554,24 @@ declare const HookInputSchemas: {
|
|
|
553
554
|
event: v.PicklistSchema<["change", "add", "unlink"], undefined>;
|
|
554
555
|
file_path: v.StringSchema<undefined>;
|
|
555
556
|
}, undefined>;
|
|
557
|
+
readonly MessageDisplay: v.ObjectSchema<{
|
|
558
|
+
readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
559
|
+
readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
560
|
+
readonly cwd: v.StringSchema<undefined>;
|
|
561
|
+
readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
|
|
562
|
+
readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (_s: string) => _s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
|
|
563
|
+
}, undefined>, undefined>;
|
|
564
|
+
readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
565
|
+
readonly session_id: v.StringSchema<undefined>;
|
|
566
|
+
readonly transcript_path: v.StringSchema<undefined>;
|
|
567
|
+
readonly hook_event_name: v.LiteralSchema<"MessageDisplay", undefined>;
|
|
568
|
+
} & {
|
|
569
|
+
delta: v.StringSchema<undefined>;
|
|
570
|
+
final: v.BooleanSchema<undefined>;
|
|
571
|
+
index: v.NumberSchema<undefined>;
|
|
572
|
+
message_id: v.StringSchema<undefined>;
|
|
573
|
+
turn_id: v.StringSchema<undefined>;
|
|
574
|
+
}, undefined>;
|
|
556
575
|
};
|
|
557
576
|
//#endregion
|
|
558
577
|
//#region src/hooks/event.d.ts
|
|
@@ -561,7 +580,7 @@ declare const HookInputSchemas: {
|
|
|
561
580
|
*
|
|
562
581
|
* @package
|
|
563
582
|
*/
|
|
564
|
-
type SupportedHookEvent = "PreToolUse" | "PostToolUse" | "PostToolUseFailure" | "PostToolBatch" | "Notification" | "UserPromptSubmit" | "UserPromptExpansion" | "SessionStart" | "SessionEnd" | "Stop" | "StopFailure" | "SubagentStart" | "SubagentStop" | "PreCompact" | "PostCompact" | "PermissionRequest" | "PermissionDenied" | "Setup" | "TeammateIdle" | "TaskCreated" | "TaskCompleted" | "ConfigChange" | "WorktreeCreate" | "WorktreeRemove" | "Elicitation" | "ElicitationResult" | "InstructionsLoaded" | "CwdChanged" | "FileChanged";
|
|
583
|
+
type SupportedHookEvent = "PreToolUse" | "PostToolUse" | "PostToolUseFailure" | "PostToolBatch" | "Notification" | "UserPromptSubmit" | "UserPromptExpansion" | "SessionStart" | "SessionEnd" | "Stop" | "StopFailure" | "SubagentStart" | "SubagentStop" | "PreCompact" | "PostCompact" | "PermissionRequest" | "PermissionDenied" | "Setup" | "TeammateIdle" | "TaskCreated" | "TaskCompleted" | "ConfigChange" | "WorktreeCreate" | "WorktreeRemove" | "Elicitation" | "ElicitationResult" | "InstructionsLoaded" | "CwdChanged" | "FileChanged" | "MessageDisplay";
|
|
565
584
|
//#endregion
|
|
566
585
|
//#region src/hooks/input/types.d.ts
|
|
567
586
|
/**
|
|
@@ -732,6 +751,7 @@ type HookOutput = {
|
|
|
732
751
|
ElicitationResult: ElicitationResultHookOutput;
|
|
733
752
|
CwdChanged: CwdChangedHookOutput;
|
|
734
753
|
FileChanged: FileChangedHookOutput;
|
|
754
|
+
MessageDisplay: MessageDisplayHookOutput;
|
|
735
755
|
ConfigChange: CommonHookOutputs;
|
|
736
756
|
InstructionsLoaded: CommonHookOutputs;
|
|
737
757
|
PostCompact: CommonHookOutputs;
|
|
@@ -972,6 +992,11 @@ interface SessionStartHookOutput extends CommonHookOutputs {
|
|
|
972
992
|
*/
|
|
973
993
|
additionalContext?: string;
|
|
974
994
|
initialUserMessage?: string;
|
|
995
|
+
/**
|
|
996
|
+
* Re-scan skill and command directories after SessionStart hooks complete, so skills installed by the hook are available in the same session.
|
|
997
|
+
*/
|
|
998
|
+
reloadSkills?: boolean;
|
|
999
|
+
sessionTitle?: string;
|
|
975
1000
|
watchPaths?: string[];
|
|
976
1001
|
};
|
|
977
1002
|
}
|
|
@@ -1038,6 +1063,15 @@ interface FileChangedHookOutput extends CommonHookOutputs {
|
|
|
1038
1063
|
watchPaths?: string[];
|
|
1039
1064
|
};
|
|
1040
1065
|
}
|
|
1066
|
+
interface MessageDisplayHookOutput extends CommonHookOutputs {
|
|
1067
|
+
hookSpecificOutput?: {
|
|
1068
|
+
hookEventName: "MessageDisplay";
|
|
1069
|
+
/**
|
|
1070
|
+
* Text displayed in place of the delta. Omit (or return the delta unchanged) to display the original.
|
|
1071
|
+
*/
|
|
1072
|
+
displayContent?: string;
|
|
1073
|
+
};
|
|
1074
|
+
}
|
|
1041
1075
|
//#endregion
|
|
1042
1076
|
//#region src/types.d.ts
|
|
1043
1077
|
type HookTrigger = Partial<{ [TEvent in SupportedHookEvent]: true | Partial<{ [SchemaKey in ExtractExtendedSpecificKeys<TEvent>]?: true }> }>;
|
package/dist/index.mjs
CHANGED
|
@@ -156,7 +156,7 @@ const baseHookInputSchema = v.object({
|
|
|
156
156
|
agent_id: v.exactOptional(v.string()),
|
|
157
157
|
agent_type: v.exactOptional(v.string()),
|
|
158
158
|
cwd: v.string(),
|
|
159
|
-
effort: v.exactOptional(v.object({ level: v.pipe(v.string(), v.guard((
|
|
159
|
+
effort: v.exactOptional(v.object({ level: v.pipe(v.string(), v.guard((_s) => true)) })),
|
|
160
160
|
permission_mode: v.exactOptional(v.string()),
|
|
161
161
|
session_id: v.string(),
|
|
162
162
|
transcript_path: v.string()
|
|
@@ -198,19 +198,19 @@ const sessionCronSummarySchema = v.object({
|
|
|
198
198
|
*/
|
|
199
199
|
const HookInputSchemas = {
|
|
200
200
|
PreToolUse: buildHookInputSchema("PreToolUse", {
|
|
201
|
-
tool_name: v.pipe(v.string(), v.guard((
|
|
201
|
+
tool_name: v.pipe(v.string(), v.guard((_s) => true)),
|
|
202
202
|
tool_input: v.unknown(),
|
|
203
203
|
tool_use_id: v.string()
|
|
204
204
|
}),
|
|
205
205
|
PostToolUse: buildHookInputSchema("PostToolUse", {
|
|
206
|
-
tool_name: v.pipe(v.string(), v.guard((
|
|
206
|
+
tool_name: v.pipe(v.string(), v.guard((_s) => true)),
|
|
207
207
|
duration_ms: v.exactOptional(v.number()),
|
|
208
208
|
tool_input: v.unknown(),
|
|
209
209
|
tool_response: v.unknown(),
|
|
210
210
|
tool_use_id: v.string()
|
|
211
211
|
}),
|
|
212
212
|
PostToolUseFailure: buildHookInputSchema("PostToolUseFailure", {
|
|
213
|
-
tool_name: v.pipe(v.string(), v.guard((
|
|
213
|
+
tool_name: v.pipe(v.string(), v.guard((_s) => true)),
|
|
214
214
|
duration_ms: v.exactOptional(v.number()),
|
|
215
215
|
error: v.string(),
|
|
216
216
|
is_interrupt: v.exactOptional(v.boolean()),
|
|
@@ -219,7 +219,7 @@ const HookInputSchemas = {
|
|
|
219
219
|
}),
|
|
220
220
|
PostToolBatch: buildHookInputSchema("PostToolBatch", { tool_calls: v.array(v.object({
|
|
221
221
|
tool_input: v.unknown(),
|
|
222
|
-
tool_name: v.pipe(v.string(), v.guard((
|
|
222
|
+
tool_name: v.pipe(v.string(), v.guard((_s) => true)),
|
|
223
223
|
tool_response: v.exactOptional(v.unknown()),
|
|
224
224
|
tool_use_id: v.string()
|
|
225
225
|
})) }),
|
|
@@ -279,6 +279,7 @@ const HookInputSchemas = {
|
|
|
279
279
|
SessionStart: buildHookInputSchema("SessionStart", {
|
|
280
280
|
agent_type: v.exactOptional(v.string()),
|
|
281
281
|
model: v.exactOptional(v.string()),
|
|
282
|
+
session_title: v.exactOptional(v.string()),
|
|
282
283
|
source: v.picklist([
|
|
283
284
|
"startup",
|
|
284
285
|
"resume",
|
|
@@ -385,6 +386,13 @@ const HookInputSchemas = {
|
|
|
385
386
|
"unlink"
|
|
386
387
|
]),
|
|
387
388
|
file_path: v.string()
|
|
389
|
+
}),
|
|
390
|
+
MessageDisplay: buildHookInputSchema("MessageDisplay", {
|
|
391
|
+
delta: v.string(),
|
|
392
|
+
final: v.boolean(),
|
|
393
|
+
index: v.number(),
|
|
394
|
+
message_id: v.string(),
|
|
395
|
+
turn_id: v.string()
|
|
388
396
|
})
|
|
389
397
|
};
|
|
390
398
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cc-hooks-ts",
|
|
3
|
-
"version": "2.1.
|
|
4
|
-
"type": "module",
|
|
3
|
+
"version": "2.1.157",
|
|
5
4
|
"description": "Write claude code hooks with type safety",
|
|
6
|
-
"
|
|
5
|
+
"keywords": [
|
|
6
|
+
"anthropic",
|
|
7
|
+
"claude",
|
|
8
|
+
"claude-code",
|
|
9
|
+
"hooks",
|
|
10
|
+
"type-safety",
|
|
11
|
+
"typescript"
|
|
12
|
+
],
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/sushichan044/cc-hooks-ts/issues"
|
|
15
|
+
},
|
|
7
16
|
"license": "MIT",
|
|
8
17
|
"author": {
|
|
9
18
|
"name": "sushichan044",
|
|
@@ -13,67 +22,49 @@
|
|
|
13
22
|
"type": "git",
|
|
14
23
|
"url": "git+https://github.com/sushichan044/cc-hooks-ts.git"
|
|
15
24
|
},
|
|
16
|
-
"publishConfig": {
|
|
17
|
-
"access": "public",
|
|
18
|
-
"registry": "https://registry.npmjs.org/",
|
|
19
|
-
"provenance": true
|
|
20
|
-
},
|
|
21
|
-
"bugs": {
|
|
22
|
-
"url": "https://github.com/sushichan044/cc-hooks-ts/issues"
|
|
23
|
-
},
|
|
24
|
-
"engines": {
|
|
25
|
-
"node": "^20.12.0 || ^22.0.0 || >=24.0.0"
|
|
26
|
-
},
|
|
27
|
-
"keywords": [
|
|
28
|
-
"claude",
|
|
29
|
-
"claude-code",
|
|
30
|
-
"hooks",
|
|
31
|
-
"typescript",
|
|
32
|
-
"type-safety",
|
|
33
|
-
"anthropic"
|
|
34
|
-
],
|
|
35
25
|
"files": [
|
|
36
26
|
"dist"
|
|
37
27
|
],
|
|
28
|
+
"type": "module",
|
|
29
|
+
"sideEffects": false,
|
|
38
30
|
"exports": {
|
|
39
31
|
".": {
|
|
40
32
|
"types": "./dist/index.d.mts",
|
|
41
33
|
"import": "./dist/index.mjs"
|
|
42
34
|
}
|
|
43
35
|
},
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"access": "public",
|
|
38
|
+
"provenance": true,
|
|
39
|
+
"registry": "https://registry.npmjs.org/"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.157",
|
|
43
|
+
"get-stdin": "10.0.0",
|
|
44
|
+
"valibot": "1.4.1"
|
|
45
|
+
},
|
|
44
46
|
"devDependencies": {
|
|
45
47
|
"@arethetypeswrong/core": "0.18.2",
|
|
46
|
-
"@types/node": "25.
|
|
47
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
48
|
-
"@virtual-live-lab/
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"oxfmt": "0.28.0",
|
|
53
|
-
"pkg-pr-new": "0.0.66",
|
|
54
|
-
"publint": "0.3.18",
|
|
55
|
-
"release-it": "19.2.4",
|
|
48
|
+
"@types/node": "25.9.1",
|
|
49
|
+
"@typescript/native-preview": "7.0.0-dev.20260527.2",
|
|
50
|
+
"@virtual-live-lab/tsconfig": "2.1.23",
|
|
51
|
+
"pkg-pr-new": "0.0.75",
|
|
52
|
+
"publint": "0.3.21",
|
|
53
|
+
"release-it": "20.0.1",
|
|
56
54
|
"release-it-pnpm": "4.6.6",
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"typescript": "6.0.2",
|
|
60
|
-
"typescript-eslint": "8.57.2",
|
|
55
|
+
"type-fest": "5.6.0",
|
|
56
|
+
"typescript": "6.0.3",
|
|
61
57
|
"unplugin-unused": "0.5.7",
|
|
62
|
-
"
|
|
58
|
+
"vite-plus": "0.1.23"
|
|
63
59
|
},
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"get-stdin": "10.0.0",
|
|
67
|
-
"valibot": "^1.3.0"
|
|
60
|
+
"engines": {
|
|
61
|
+
"node": "^20.12.0 || ^22.0.0 || >=24.0.0"
|
|
68
62
|
},
|
|
69
63
|
"scripts": {
|
|
70
|
-
"check": "
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"typecheck": "tsgo --noEmit",
|
|
75
|
-
"test": "vitest --run",
|
|
76
|
-
"build": "tsdown",
|
|
64
|
+
"check": "vp check",
|
|
65
|
+
"tidy": "vp check --fix",
|
|
66
|
+
"test": "vp test --run",
|
|
67
|
+
"build": "vp pack",
|
|
77
68
|
"pkg-pr-new": "pkg-pr-new publish --compact --comment=update --pnpm"
|
|
78
69
|
}
|
|
79
70
|
}
|