cc-hooks-ts 2.1.128 → 2.1.133

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 CHANGED
@@ -14,6 +14,9 @@ declare const HookInputSchemas: {
14
14
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
15
15
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
16
16
  readonly cwd: v.StringSchema<undefined>;
17
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
18
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
19
+ }, undefined>, undefined>;
17
20
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
18
21
  readonly session_id: v.StringSchema<undefined>;
19
22
  readonly transcript_path: v.StringSchema<undefined>;
@@ -27,6 +30,9 @@ declare const HookInputSchemas: {
27
30
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
28
31
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
29
32
  readonly cwd: v.StringSchema<undefined>;
33
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
34
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
35
+ }, undefined>, undefined>;
30
36
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
31
37
  readonly session_id: v.StringSchema<undefined>;
32
38
  readonly transcript_path: v.StringSchema<undefined>;
@@ -42,6 +48,9 @@ declare const HookInputSchemas: {
42
48
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
43
49
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
44
50
  readonly cwd: v.StringSchema<undefined>;
51
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
52
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
53
+ }, undefined>, undefined>;
45
54
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
46
55
  readonly session_id: v.StringSchema<undefined>;
47
56
  readonly transcript_path: v.StringSchema<undefined>;
@@ -58,6 +67,9 @@ declare const HookInputSchemas: {
58
67
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
59
68
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
60
69
  readonly cwd: v.StringSchema<undefined>;
70
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
71
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
72
+ }, undefined>, undefined>;
61
73
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
62
74
  readonly session_id: v.StringSchema<undefined>;
63
75
  readonly transcript_path: v.StringSchema<undefined>;
@@ -74,6 +86,9 @@ declare const HookInputSchemas: {
74
86
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
75
87
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
76
88
  readonly cwd: v.StringSchema<undefined>;
89
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
90
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
91
+ }, undefined>, undefined>;
77
92
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
78
93
  readonly session_id: v.StringSchema<undefined>;
79
94
  readonly transcript_path: v.StringSchema<undefined>;
@@ -87,6 +102,9 @@ declare const HookInputSchemas: {
87
102
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
88
103
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
89
104
  readonly cwd: v.StringSchema<undefined>;
105
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
106
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
107
+ }, undefined>, undefined>;
90
108
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
91
109
  readonly session_id: v.StringSchema<undefined>;
92
110
  readonly transcript_path: v.StringSchema<undefined>;
@@ -99,6 +117,9 @@ declare const HookInputSchemas: {
99
117
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
100
118
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
101
119
  readonly cwd: v.StringSchema<undefined>;
120
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
121
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
122
+ }, undefined>, undefined>;
102
123
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
103
124
  readonly session_id: v.StringSchema<undefined>;
104
125
  readonly transcript_path: v.StringSchema<undefined>;
@@ -114,6 +135,9 @@ declare const HookInputSchemas: {
114
135
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
115
136
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
116
137
  readonly cwd: v.StringSchema<undefined>;
138
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
139
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
140
+ }, undefined>, undefined>;
117
141
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
118
142
  readonly session_id: v.StringSchema<undefined>;
119
143
  readonly transcript_path: v.StringSchema<undefined>;
@@ -126,6 +150,9 @@ declare const HookInputSchemas: {
126
150
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
127
151
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
128
152
  readonly cwd: v.StringSchema<undefined>;
153
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
154
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
155
+ }, undefined>, undefined>;
129
156
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
130
157
  readonly session_id: v.StringSchema<undefined>;
131
158
  readonly transcript_path: v.StringSchema<undefined>;
@@ -139,6 +166,9 @@ declare const HookInputSchemas: {
139
166
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
140
167
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
141
168
  readonly cwd: v.StringSchema<undefined>;
169
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
170
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
171
+ }, undefined>, undefined>;
142
172
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
143
173
  readonly session_id: v.StringSchema<undefined>;
144
174
  readonly transcript_path: v.StringSchema<undefined>;
@@ -151,6 +181,9 @@ declare const HookInputSchemas: {
151
181
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
152
182
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
153
183
  readonly cwd: v.StringSchema<undefined>;
184
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
185
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
186
+ }, undefined>, undefined>;
154
187
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
155
188
  readonly session_id: v.StringSchema<undefined>;
156
189
  readonly transcript_path: v.StringSchema<undefined>;
@@ -167,6 +200,9 @@ declare const HookInputSchemas: {
167
200
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
168
201
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
169
202
  readonly cwd: v.StringSchema<undefined>;
203
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
204
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
205
+ }, undefined>, undefined>;
170
206
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
171
207
  readonly session_id: v.StringSchema<undefined>;
172
208
  readonly transcript_path: v.StringSchema<undefined>;
@@ -179,6 +215,9 @@ declare const HookInputSchemas: {
179
215
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
180
216
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
181
217
  readonly cwd: v.StringSchema<undefined>;
218
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
219
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
220
+ }, undefined>, undefined>;
182
221
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
183
222
  readonly session_id: v.StringSchema<undefined>;
184
223
  readonly transcript_path: v.StringSchema<undefined>;
@@ -191,6 +230,9 @@ declare const HookInputSchemas: {
191
230
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
192
231
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
193
232
  readonly cwd: v.StringSchema<undefined>;
233
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
234
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
235
+ }, undefined>, undefined>;
194
236
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
195
237
  readonly session_id: v.StringSchema<undefined>;
196
238
  readonly transcript_path: v.StringSchema<undefined>;
@@ -204,6 +246,9 @@ declare const HookInputSchemas: {
204
246
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
205
247
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
206
248
  readonly cwd: v.StringSchema<undefined>;
249
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
250
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
251
+ }, undefined>, undefined>;
207
252
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
208
253
  readonly session_id: v.StringSchema<undefined>;
209
254
  readonly transcript_path: v.StringSchema<undefined>;
@@ -215,6 +260,9 @@ declare const HookInputSchemas: {
215
260
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
216
261
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
217
262
  readonly cwd: v.StringSchema<undefined>;
263
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
264
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
265
+ }, undefined>, undefined>;
218
266
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
219
267
  readonly session_id: v.StringSchema<undefined>;
220
268
  readonly transcript_path: v.StringSchema<undefined>;
@@ -264,6 +312,9 @@ declare const HookInputSchemas: {
264
312
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
265
313
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
266
314
  readonly cwd: v.StringSchema<undefined>;
315
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
316
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
317
+ }, undefined>, undefined>;
267
318
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
268
319
  readonly session_id: v.StringSchema<undefined>;
269
320
  readonly transcript_path: v.StringSchema<undefined>;
@@ -278,6 +329,9 @@ declare const HookInputSchemas: {
278
329
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
279
330
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
280
331
  readonly cwd: v.StringSchema<undefined>;
332
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
333
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
334
+ }, undefined>, undefined>;
281
335
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
282
336
  readonly session_id: v.StringSchema<undefined>;
283
337
  readonly transcript_path: v.StringSchema<undefined>;
@@ -289,6 +343,9 @@ declare const HookInputSchemas: {
289
343
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
290
344
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
291
345
  readonly cwd: v.StringSchema<undefined>;
346
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
347
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
348
+ }, undefined>, undefined>;
292
349
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
293
350
  readonly session_id: v.StringSchema<undefined>;
294
351
  readonly transcript_path: v.StringSchema<undefined>;
@@ -301,6 +358,9 @@ declare const HookInputSchemas: {
301
358
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
302
359
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
303
360
  readonly cwd: v.StringSchema<undefined>;
361
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
362
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
363
+ }, undefined>, undefined>;
304
364
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
305
365
  readonly session_id: v.StringSchema<undefined>;
306
366
  readonly transcript_path: v.StringSchema<undefined>;
@@ -316,6 +376,9 @@ declare const HookInputSchemas: {
316
376
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
317
377
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
318
378
  readonly cwd: v.StringSchema<undefined>;
379
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
380
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
381
+ }, undefined>, undefined>;
319
382
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
320
383
  readonly session_id: v.StringSchema<undefined>;
321
384
  readonly transcript_path: v.StringSchema<undefined>;
@@ -331,6 +394,9 @@ declare const HookInputSchemas: {
331
394
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
332
395
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
333
396
  readonly cwd: v.StringSchema<undefined>;
397
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
398
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
399
+ }, undefined>, undefined>;
334
400
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
335
401
  readonly session_id: v.StringSchema<undefined>;
336
402
  readonly transcript_path: v.StringSchema<undefined>;
@@ -343,6 +409,9 @@ declare const HookInputSchemas: {
343
409
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
344
410
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
345
411
  readonly cwd: v.StringSchema<undefined>;
412
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
413
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
414
+ }, undefined>, undefined>;
346
415
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
347
416
  readonly session_id: v.StringSchema<undefined>;
348
417
  readonly transcript_path: v.StringSchema<undefined>;
@@ -354,6 +423,9 @@ declare const HookInputSchemas: {
354
423
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
355
424
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
356
425
  readonly cwd: v.StringSchema<undefined>;
426
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
427
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
428
+ }, undefined>, undefined>;
357
429
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
358
430
  readonly session_id: v.StringSchema<undefined>;
359
431
  readonly transcript_path: v.StringSchema<undefined>;
@@ -365,6 +437,9 @@ declare const HookInputSchemas: {
365
437
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
366
438
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
367
439
  readonly cwd: v.StringSchema<undefined>;
440
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
441
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
442
+ }, undefined>, undefined>;
368
443
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
369
444
  readonly session_id: v.StringSchema<undefined>;
370
445
  readonly transcript_path: v.StringSchema<undefined>;
@@ -381,6 +456,9 @@ declare const HookInputSchemas: {
381
456
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
382
457
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
383
458
  readonly cwd: v.StringSchema<undefined>;
459
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
460
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
461
+ }, undefined>, undefined>;
384
462
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
385
463
  readonly session_id: v.StringSchema<undefined>;
386
464
  readonly transcript_path: v.StringSchema<undefined>;
@@ -396,6 +474,9 @@ declare const HookInputSchemas: {
396
474
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
397
475
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
398
476
  readonly cwd: v.StringSchema<undefined>;
477
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
478
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
479
+ }, undefined>, undefined>;
399
480
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
400
481
  readonly session_id: v.StringSchema<undefined>;
401
482
  readonly transcript_path: v.StringSchema<undefined>;
@@ -412,6 +493,9 @@ declare const HookInputSchemas: {
412
493
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
413
494
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
414
495
  readonly cwd: v.StringSchema<undefined>;
496
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
497
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
498
+ }, undefined>, undefined>;
415
499
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
416
500
  readonly session_id: v.StringSchema<undefined>;
417
501
  readonly transcript_path: v.StringSchema<undefined>;
@@ -424,6 +508,9 @@ declare const HookInputSchemas: {
424
508
  readonly agent_id: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
425
509
  readonly agent_type: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
426
510
  readonly cwd: v.StringSchema<undefined>;
511
+ readonly effort: v.ExactOptionalSchema<v.ObjectSchema<{
512
+ readonly level: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.GuardAction<string, (s: string) => s is AutoComplete<"low" | "medium" | "high" | "xhigh" | "max">, undefined>]>;
513
+ }, undefined>, undefined>;
427
514
  readonly permission_mode: v.ExactOptionalSchema<v.StringSchema<undefined>, undefined>;
428
515
  readonly session_id: v.StringSchema<undefined>;
429
516
  readonly transcript_path: v.StringSchema<undefined>;
package/dist/index.mjs CHANGED
@@ -156,6 +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((s) => true)) })),
159
160
  permission_mode: v.exactOptional(v.string()),
160
161
  session_id: v.string(),
161
162
  transcript_path: v.string()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-hooks-ts",
3
- "version": "2.1.128",
3
+ "version": "2.1.133",
4
4
  "type": "module",
5
5
  "description": "Write claude code hooks with type safety",
6
6
  "sideEffects": false,
@@ -62,7 +62,7 @@
62
62
  "vitest": "4.1.2"
63
63
  },
64
64
  "dependencies": {
65
- "@anthropic-ai/claude-agent-sdk": "0.2.128",
65
+ "@anthropic-ai/claude-agent-sdk": "0.2.133",
66
66
  "get-stdin": "10.0.0",
67
67
  "valibot": "^1.3.0"
68
68
  },