@cairul/mcp 0.0.0-stage → 0.1.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.
Files changed (44) hide show
  1. package/LICENSE +202 -0
  2. package/bin/cairul-mcp.mjs +3 -0
  3. package/dist/api/index.d.ts +6 -0
  4. package/dist/api/index.js +12 -0
  5. package/dist/check-executions.d.ts +16 -0
  6. package/dist/check-executions.js +89 -0
  7. package/dist/check-kinds.d.ts +16 -0
  8. package/dist/check-kinds.js +69 -0
  9. package/dist/checks/github.d.ts +1 -0
  10. package/dist/checks/github.js +1 -0
  11. package/dist/checks/shell.d.ts +10 -0
  12. package/dist/checks/shell.js +62 -0
  13. package/dist/environment.d.ts +1 -0
  14. package/dist/environment.js +4 -0
  15. package/dist/index.d.ts +1 -0
  16. package/dist/index.js +76 -0
  17. package/dist/journeys.d.ts +14 -0
  18. package/dist/journeys.js +183 -0
  19. package/dist/local-config.d.ts +112 -0
  20. package/dist/local-config.js +210 -0
  21. package/dist/local-journeys.d.ts +647 -0
  22. package/dist/local-journeys.js +332 -0
  23. package/dist/local-plugins.d.ts +2 -0
  24. package/dist/local-plugins.js +54 -0
  25. package/dist/logging.d.ts +4 -0
  26. package/dist/logging.js +19 -0
  27. package/dist/observations/codex-rollout.d.ts +67 -0
  28. package/dist/observations/codex-rollout.js +241 -0
  29. package/dist/observations/codex.d.ts +18 -0
  30. package/dist/observations/codex.js +289 -0
  31. package/dist/observations/execution.d.ts +27 -0
  32. package/dist/observations/execution.js +84 -0
  33. package/dist/observations/harness.d.ts +40 -0
  34. package/dist/observations/harness.js +17 -0
  35. package/dist/observations/mcp.d.ts +8 -0
  36. package/dist/observations/mcp.js +15 -0
  37. package/dist/observations/publisher.d.ts +33 -0
  38. package/dist/observations/publisher.js +120 -0
  39. package/dist/observations/settings.d.ts +1 -0
  40. package/dist/observations/settings.js +2 -0
  41. package/dist/plugin.d.ts +22 -0
  42. package/dist/plugin.js +1 -0
  43. package/package.json +42 -3
  44. package/README.md +0 -3
@@ -0,0 +1,647 @@
1
+ import { z } from 'zod';
2
+ import { type CheckRegistry } from './check-kinds.js';
3
+ import { type LocalConfig } from './local-config.js';
4
+ import { type CapturePolicy } from './observations/harness.js';
5
+ export declare const backendStatus: z.ZodObject<{
6
+ id: z.ZodUUID;
7
+ status: z.ZodEnum<{
8
+ completed: "completed";
9
+ aborted: "aborted";
10
+ active: "active";
11
+ }>;
12
+ updated_at: z.ZodString;
13
+ capture_policy: z.ZodObject<{
14
+ tool_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
+ version: z.ZodLiteral<1>;
16
+ mode: z.ZodEnum<{
17
+ none: "none";
18
+ all: "all";
19
+ failed_tools: "failed_tools";
20
+ }>;
21
+ }, z.core.$strip>;
22
+ phase: z.ZodString;
23
+ incomplete_checks: z.ZodArray<z.ZodObject<{
24
+ id: z.ZodUUID;
25
+ name: z.ZodString;
26
+ action: z.ZodObject<{
27
+ type: z.ZodString;
28
+ }, z.core.$loose>;
29
+ }, z.core.$strip>>;
30
+ ready_to_complete: z.ZodBoolean;
31
+ }, z.core.$strip>;
32
+ export declare const backendStart: z.ZodObject<{
33
+ journey_id: z.ZodUUID;
34
+ plan: z.ZodObject<{
35
+ id: z.ZodUUID;
36
+ name: z.ZodString;
37
+ instructions: z.ZodString;
38
+ revision: z.ZodNumber;
39
+ active: z.ZodBoolean;
40
+ created_at: z.ZodString;
41
+ phases: z.ZodArray<z.ZodObject<{
42
+ id: z.ZodUUID;
43
+ name: z.ZodString;
44
+ checks: z.ZodArray<z.ZodObject<{
45
+ id: z.ZodUUID;
46
+ name: z.ZodString;
47
+ action: z.ZodObject<{
48
+ type: z.ZodString;
49
+ }, z.core.$loose>;
50
+ }, z.core.$strip>>;
51
+ }, z.core.$strip>>;
52
+ }, z.core.$strip>;
53
+ journey: z.ZodObject<{
54
+ id: z.ZodUUID;
55
+ status: z.ZodEnum<{
56
+ completed: "completed";
57
+ aborted: "aborted";
58
+ active: "active";
59
+ }>;
60
+ updated_at: z.ZodString;
61
+ capture_policy: z.ZodObject<{
62
+ tool_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
63
+ version: z.ZodLiteral<1>;
64
+ mode: z.ZodEnum<{
65
+ none: "none";
66
+ all: "all";
67
+ failed_tools: "failed_tools";
68
+ }>;
69
+ }, z.core.$strip>;
70
+ phase: z.ZodString;
71
+ incomplete_checks: z.ZodArray<z.ZodObject<{
72
+ id: z.ZodUUID;
73
+ name: z.ZodString;
74
+ action: z.ZodObject<{
75
+ type: z.ZodString;
76
+ }, z.core.$loose>;
77
+ }, z.core.$strip>>;
78
+ ready_to_complete: z.ZodBoolean;
79
+ identity_id: z.ZodUUID;
80
+ work_item_url: z.ZodURL;
81
+ created_at: z.ZodString;
82
+ }, z.core.$strip>;
83
+ }, z.core.$strip>;
84
+ type BackendStatus = z.infer<typeof backendStatus>;
85
+ type BackendStart = z.infer<typeof backendStart>;
86
+ type Action = 'status' | 'abort' | 'complete';
87
+ type BackendUpdate = (action: Action, id: string) => Promise<BackendStatus>;
88
+ declare const storedJourney: z.ZodUnion<readonly [z.ZodObject<{
89
+ id: z.ZodUUID;
90
+ identity: z.ZodObject<{
91
+ id: z.ZodUUID;
92
+ session_id: z.ZodString;
93
+ harness: z.ZodString;
94
+ harness_version: z.ZodOptional<z.ZodString>;
95
+ thread_id: z.ZodOptional<z.ZodString>;
96
+ user_id: z.ZodOptional<z.ZodString>;
97
+ }, z.core.$strip>;
98
+ work_item_url: z.ZodString;
99
+ status: z.ZodEnum<{
100
+ completed: "completed";
101
+ aborted: "aborted";
102
+ active: "active";
103
+ }>;
104
+ capture_policy: z.ZodObject<{
105
+ tool_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
106
+ version: z.ZodLiteral<1>;
107
+ mode: z.ZodEnum<{
108
+ none: "none";
109
+ all: "all";
110
+ failed_tools: "failed_tools";
111
+ }>;
112
+ }, z.core.$strip>;
113
+ created_at: z.ZodString;
114
+ updated_at: z.ZodString;
115
+ plan: z.ZodObject<{
116
+ id: z.ZodUUID;
117
+ name: z.ZodString;
118
+ instructions: z.ZodString;
119
+ revision: z.ZodNumber;
120
+ active: z.ZodBoolean;
121
+ created_at: z.ZodString;
122
+ phases: z.ZodArray<z.ZodObject<{
123
+ id: z.ZodUUID;
124
+ name: z.ZodString;
125
+ checks: z.ZodArray<z.ZodObject<{
126
+ id: z.ZodUUID;
127
+ name: z.ZodString;
128
+ action: z.ZodObject<{
129
+ type: z.ZodString;
130
+ }, z.core.$loose>;
131
+ }, z.core.$strip>>;
132
+ }, z.core.$strip>>;
133
+ }, z.core.$strip>;
134
+ phase: z.ZodNumber;
135
+ results: z.ZodRecord<z.ZodUUID, z.ZodDiscriminatedUnion<[z.ZodObject<{
136
+ attempts: z.ZodNumber;
137
+ checked_at: z.ZodString;
138
+ detail: z.ZodOptional<z.ZodString>;
139
+ status: z.ZodLiteral<"running">;
140
+ execution: z.ZodObject<{
141
+ id: z.ZodUUID;
142
+ owner: z.ZodNumber;
143
+ deadline: z.ZodNumber;
144
+ }, z.core.$strip>;
145
+ }, z.core.$strip>, z.ZodObject<{
146
+ attempts: z.ZodNumber;
147
+ checked_at: z.ZodString;
148
+ detail: z.ZodOptional<z.ZodString>;
149
+ status: z.ZodEnum<{
150
+ passed: "passed";
151
+ failed: "failed";
152
+ }>;
153
+ }, z.core.$strip>], "status">>;
154
+ backend: z.ZodOptional<z.ZodObject<{
155
+ phases: z.ZodArray<z.ZodString>;
156
+ status: z.ZodObject<{
157
+ id: z.ZodUUID;
158
+ status: z.ZodEnum<{
159
+ completed: "completed";
160
+ aborted: "aborted";
161
+ active: "active";
162
+ }>;
163
+ updated_at: z.ZodString;
164
+ capture_policy: z.ZodObject<{
165
+ tool_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
166
+ version: z.ZodLiteral<1>;
167
+ mode: z.ZodEnum<{
168
+ none: "none";
169
+ all: "all";
170
+ failed_tools: "failed_tools";
171
+ }>;
172
+ }, z.core.$strip>;
173
+ phase: z.ZodString;
174
+ incomplete_checks: z.ZodArray<z.ZodObject<{
175
+ id: z.ZodUUID;
176
+ name: z.ZodString;
177
+ action: z.ZodObject<{
178
+ type: z.ZodString;
179
+ }, z.core.$loose>;
180
+ }, z.core.$strip>>;
181
+ ready_to_complete: z.ZodBoolean;
182
+ }, z.core.$strip>;
183
+ }, z.core.$strip>>;
184
+ version: z.ZodLiteral<2>;
185
+ local_actions: z.ZodRecord<z.ZodUUID, z.ZodUnion<readonly [z.ZodObject<{
186
+ kind: z.ZodString;
187
+ options: z.ZodNonOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>>;
188
+ }, z.core.$strict>, z.ZodPipe<z.ZodObject<{
189
+ kind: z.ZodString;
190
+ config: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
191
+ }, z.core.$strict>, z.ZodTransform<{
192
+ kind: string;
193
+ options: Record<string, z.core.util.JSONType>;
194
+ }, {
195
+ kind: string;
196
+ config: Record<string, z.core.util.JSONType>;
197
+ }>>]>>;
198
+ }, z.core.$strip>, z.ZodPipe<z.ZodObject<{
199
+ id: z.ZodUUID;
200
+ identity: z.ZodObject<{
201
+ id: z.ZodUUID;
202
+ session_id: z.ZodString;
203
+ harness: z.ZodString;
204
+ harness_version: z.ZodOptional<z.ZodString>;
205
+ thread_id: z.ZodOptional<z.ZodString>;
206
+ user_id: z.ZodOptional<z.ZodString>;
207
+ }, z.core.$strip>;
208
+ work_item_url: z.ZodString;
209
+ status: z.ZodEnum<{
210
+ completed: "completed";
211
+ aborted: "aborted";
212
+ active: "active";
213
+ }>;
214
+ capture_policy: z.ZodObject<{
215
+ tool_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
216
+ version: z.ZodLiteral<1>;
217
+ mode: z.ZodEnum<{
218
+ none: "none";
219
+ all: "all";
220
+ failed_tools: "failed_tools";
221
+ }>;
222
+ }, z.core.$strip>;
223
+ created_at: z.ZodString;
224
+ updated_at: z.ZodString;
225
+ plan: z.ZodObject<{
226
+ id: z.ZodUUID;
227
+ name: z.ZodString;
228
+ instructions: z.ZodString;
229
+ revision: z.ZodNumber;
230
+ active: z.ZodBoolean;
231
+ created_at: z.ZodString;
232
+ phases: z.ZodArray<z.ZodObject<{
233
+ id: z.ZodUUID;
234
+ name: z.ZodString;
235
+ checks: z.ZodArray<z.ZodObject<{
236
+ id: z.ZodUUID;
237
+ name: z.ZodString;
238
+ action: z.ZodObject<{
239
+ type: z.ZodString;
240
+ }, z.core.$loose>;
241
+ }, z.core.$strip>>;
242
+ }, z.core.$strip>>;
243
+ }, z.core.$strip>;
244
+ phase: z.ZodNumber;
245
+ results: z.ZodRecord<z.ZodUUID, z.ZodDiscriminatedUnion<[z.ZodObject<{
246
+ attempts: z.ZodNumber;
247
+ checked_at: z.ZodString;
248
+ detail: z.ZodOptional<z.ZodString>;
249
+ status: z.ZodLiteral<"running">;
250
+ execution: z.ZodObject<{
251
+ id: z.ZodUUID;
252
+ owner: z.ZodNumber;
253
+ deadline: z.ZodNumber;
254
+ }, z.core.$strip>;
255
+ }, z.core.$strip>, z.ZodObject<{
256
+ attempts: z.ZodNumber;
257
+ checked_at: z.ZodString;
258
+ detail: z.ZodOptional<z.ZodString>;
259
+ status: z.ZodEnum<{
260
+ passed: "passed";
261
+ failed: "failed";
262
+ }>;
263
+ }, z.core.$strip>], "status">>;
264
+ backend: z.ZodOptional<z.ZodObject<{
265
+ phases: z.ZodArray<z.ZodString>;
266
+ status: z.ZodObject<{
267
+ id: z.ZodUUID;
268
+ status: z.ZodEnum<{
269
+ completed: "completed";
270
+ aborted: "aborted";
271
+ active: "active";
272
+ }>;
273
+ updated_at: z.ZodString;
274
+ capture_policy: z.ZodObject<{
275
+ tool_names: z.ZodOptional<z.ZodArray<z.ZodString>>;
276
+ version: z.ZodLiteral<1>;
277
+ mode: z.ZodEnum<{
278
+ none: "none";
279
+ all: "all";
280
+ failed_tools: "failed_tools";
281
+ }>;
282
+ }, z.core.$strip>;
283
+ phase: z.ZodString;
284
+ incomplete_checks: z.ZodArray<z.ZodObject<{
285
+ id: z.ZodUUID;
286
+ name: z.ZodString;
287
+ action: z.ZodObject<{
288
+ type: z.ZodString;
289
+ }, z.core.$loose>;
290
+ }, z.core.$strip>>;
291
+ ready_to_complete: z.ZodBoolean;
292
+ }, z.core.$strip>;
293
+ }, z.core.$strip>>;
294
+ version: z.ZodLiteral<1>;
295
+ commands: z.ZodRecord<z.ZodUUID, z.ZodString>;
296
+ }, z.core.$strip>, z.ZodTransform<{
297
+ version: 2;
298
+ local_actions: {
299
+ [k: string]: {
300
+ kind: string;
301
+ options: Record<string, z.core.util.JSONType>;
302
+ };
303
+ };
304
+ id: string;
305
+ identity: {
306
+ id: string;
307
+ session_id: string;
308
+ harness: string;
309
+ harness_version?: string | undefined;
310
+ thread_id?: string | undefined;
311
+ user_id?: string | undefined;
312
+ };
313
+ work_item_url: string;
314
+ status: "completed" | "aborted" | "active";
315
+ capture_policy: {
316
+ version: 1;
317
+ mode: "none" | "all" | "failed_tools";
318
+ tool_names?: string[] | undefined;
319
+ };
320
+ created_at: string;
321
+ updated_at: string;
322
+ plan: {
323
+ id: string;
324
+ name: string;
325
+ instructions: string;
326
+ revision: number;
327
+ active: boolean;
328
+ created_at: string;
329
+ phases: {
330
+ id: string;
331
+ name: string;
332
+ checks: {
333
+ id: string;
334
+ name: string;
335
+ action: {
336
+ [x: string]: unknown;
337
+ type: string;
338
+ };
339
+ }[];
340
+ }[];
341
+ };
342
+ phase: number;
343
+ results: Record<string, {
344
+ attempts: number;
345
+ checked_at: string;
346
+ status: "running";
347
+ execution: {
348
+ id: string;
349
+ owner: number;
350
+ deadline: number;
351
+ };
352
+ detail?: string | undefined;
353
+ } | {
354
+ attempts: number;
355
+ checked_at: string;
356
+ status: "passed" | "failed";
357
+ detail?: string | undefined;
358
+ }>;
359
+ backend?: {
360
+ phases: string[];
361
+ status: {
362
+ id: string;
363
+ status: "completed" | "aborted" | "active";
364
+ updated_at: string;
365
+ capture_policy: {
366
+ version: 1;
367
+ mode: "none" | "all" | "failed_tools";
368
+ tool_names?: string[] | undefined;
369
+ };
370
+ phase: string;
371
+ incomplete_checks: {
372
+ id: string;
373
+ name: string;
374
+ action: {
375
+ [x: string]: unknown;
376
+ type: string;
377
+ };
378
+ }[];
379
+ ready_to_complete: boolean;
380
+ };
381
+ } | undefined;
382
+ }, {
383
+ id: string;
384
+ identity: {
385
+ id: string;
386
+ session_id: string;
387
+ harness: string;
388
+ harness_version?: string | undefined;
389
+ thread_id?: string | undefined;
390
+ user_id?: string | undefined;
391
+ };
392
+ work_item_url: string;
393
+ status: "completed" | "aborted" | "active";
394
+ capture_policy: {
395
+ version: 1;
396
+ mode: "none" | "all" | "failed_tools";
397
+ tool_names?: string[] | undefined;
398
+ };
399
+ created_at: string;
400
+ updated_at: string;
401
+ plan: {
402
+ id: string;
403
+ name: string;
404
+ instructions: string;
405
+ revision: number;
406
+ active: boolean;
407
+ created_at: string;
408
+ phases: {
409
+ id: string;
410
+ name: string;
411
+ checks: {
412
+ id: string;
413
+ name: string;
414
+ action: {
415
+ [x: string]: unknown;
416
+ type: string;
417
+ };
418
+ }[];
419
+ }[];
420
+ };
421
+ phase: number;
422
+ results: Record<string, {
423
+ attempts: number;
424
+ checked_at: string;
425
+ status: "running";
426
+ execution: {
427
+ id: string;
428
+ owner: number;
429
+ deadline: number;
430
+ };
431
+ detail?: string | undefined;
432
+ } | {
433
+ attempts: number;
434
+ checked_at: string;
435
+ status: "passed" | "failed";
436
+ detail?: string | undefined;
437
+ }>;
438
+ version: 1;
439
+ commands: Record<string, string>;
440
+ backend?: {
441
+ phases: string[];
442
+ status: {
443
+ id: string;
444
+ status: "completed" | "aborted" | "active";
445
+ updated_at: string;
446
+ capture_policy: {
447
+ version: 1;
448
+ mode: "none" | "all" | "failed_tools";
449
+ tool_names?: string[] | undefined;
450
+ };
451
+ phase: string;
452
+ incomplete_checks: {
453
+ id: string;
454
+ name: string;
455
+ action: {
456
+ [x: string]: unknown;
457
+ type: string;
458
+ };
459
+ }[];
460
+ ready_to_complete: boolean;
461
+ };
462
+ } | undefined;
463
+ }>>]>;
464
+ type StoredJourney = z.infer<typeof storedJourney>;
465
+ export declare function startLocalJourney(project: string, config: LocalConfig, input: {
466
+ work_item_url: string;
467
+ identity: Omit<StoredJourney['identity'], 'id'>;
468
+ capture_policy: CapturePolicy;
469
+ }, remote?: {
470
+ start: () => Promise<BackendStart>;
471
+ update: BackendUpdate;
472
+ }): Promise<{
473
+ payload: {
474
+ journey_id: string;
475
+ plan: {
476
+ id: string;
477
+ name: string;
478
+ instructions: string;
479
+ revision: number;
480
+ active: boolean;
481
+ created_at: string;
482
+ phases: {
483
+ id: string;
484
+ name: string;
485
+ checks: {
486
+ id: string;
487
+ name: string;
488
+ action: {
489
+ [x: string]: unknown;
490
+ type: string;
491
+ };
492
+ }[];
493
+ }[];
494
+ };
495
+ journey: {
496
+ work_item_url: string;
497
+ status: "completed" | "aborted" | "active";
498
+ capture_policy: {
499
+ version: 1;
500
+ mode: "none" | "all" | "failed_tools";
501
+ tool_names?: string[] | undefined;
502
+ };
503
+ created_at: string;
504
+ updated_at: string;
505
+ plan_id: string;
506
+ plan_name: string;
507
+ plan_revision: number;
508
+ phase: string;
509
+ incomplete_checks: ({
510
+ id: string;
511
+ name: string;
512
+ action: {
513
+ [x: string]: unknown;
514
+ type: string;
515
+ };
516
+ } | {
517
+ last_result: {
518
+ attempts: number;
519
+ checked_at: string;
520
+ status: "passed" | "failed";
521
+ detail?: string | undefined;
522
+ };
523
+ id: string;
524
+ name: string;
525
+ action: {
526
+ [x: string]: unknown;
527
+ type: string;
528
+ };
529
+ } | {
530
+ last_result: {
531
+ detail: string;
532
+ attempts: number;
533
+ checked_at: string;
534
+ status: "running";
535
+ };
536
+ id: string;
537
+ name: string;
538
+ action: {
539
+ [x: string]: unknown;
540
+ type: string;
541
+ };
542
+ })[];
543
+ ready_to_complete: boolean;
544
+ backend_journey_id?: string | undefined;
545
+ id: string;
546
+ identity_id: string;
547
+ session_id: string;
548
+ };
549
+ };
550
+ backend: {
551
+ id: string;
552
+ status: "completed" | "aborted" | "active";
553
+ updated_at: string;
554
+ capture_policy: {
555
+ version: 1;
556
+ mode: "none" | "all" | "failed_tools";
557
+ tool_names?: string[] | undefined;
558
+ };
559
+ phase: string;
560
+ incomplete_checks: {
561
+ id: string;
562
+ name: string;
563
+ action: {
564
+ [x: string]: unknown;
565
+ type: string;
566
+ };
567
+ }[];
568
+ ready_to_complete: boolean;
569
+ } | undefined;
570
+ }>;
571
+ export declare function updateLocalJourney(project: string, id: string, action: Action, signal: AbortSignal, registry: () => Promise<CheckRegistry>, updateBackend?: BackendUpdate): Promise<{
572
+ journey: {
573
+ work_item_url: string;
574
+ status: "completed" | "aborted" | "active";
575
+ capture_policy: {
576
+ version: 1;
577
+ mode: "none" | "all" | "failed_tools";
578
+ tool_names?: string[] | undefined;
579
+ };
580
+ created_at: string;
581
+ updated_at: string;
582
+ plan_id: string;
583
+ plan_name: string;
584
+ plan_revision: number;
585
+ phase: string;
586
+ incomplete_checks: ({
587
+ id: string;
588
+ name: string;
589
+ action: {
590
+ [x: string]: unknown;
591
+ type: string;
592
+ };
593
+ } | {
594
+ last_result: {
595
+ attempts: number;
596
+ checked_at: string;
597
+ status: "passed" | "failed";
598
+ detail?: string | undefined;
599
+ };
600
+ id: string;
601
+ name: string;
602
+ action: {
603
+ [x: string]: unknown;
604
+ type: string;
605
+ };
606
+ } | {
607
+ last_result: {
608
+ detail: string;
609
+ attempts: number;
610
+ checked_at: string;
611
+ status: "running";
612
+ };
613
+ id: string;
614
+ name: string;
615
+ action: {
616
+ [x: string]: unknown;
617
+ type: string;
618
+ };
619
+ })[];
620
+ ready_to_complete: boolean;
621
+ backend_journey_id?: string | undefined;
622
+ id: string;
623
+ identity_id: string;
624
+ session_id: string;
625
+ };
626
+ backend: {
627
+ id: string;
628
+ status: "completed" | "aborted" | "active";
629
+ updated_at: string;
630
+ capture_policy: {
631
+ version: 1;
632
+ mode: "none" | "all" | "failed_tools";
633
+ tool_names?: string[] | undefined;
634
+ };
635
+ phase: string;
636
+ incomplete_checks: {
637
+ id: string;
638
+ name: string;
639
+ action: {
640
+ [x: string]: unknown;
641
+ type: string;
642
+ };
643
+ }[];
644
+ ready_to_complete: boolean;
645
+ } | undefined;
646
+ } | undefined>;
647
+ export {};