@drisp/protocol 0.8.7 → 0.8.8

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 (3) hide show
  1. package/dist/v2.d.ts +597 -1
  2. package/dist/v2.js +511 -311
  3. package/package.json +1 -1
package/dist/v2.d.ts CHANGED
@@ -93,6 +93,602 @@ declare const calibrationSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
93
93
  /** A class's forecast: its measured figure when `calibration` has one, else the constant. */
94
94
  declare function forecastOfClass(sizeClass: SizeClass, calibration: ClassCalibration | undefined): number;
95
95
 
96
+ declare const deliveryEvidenceKindSchema: z.ZodEnum<{
97
+ released: "released";
98
+ pr_opened: "pr_opened";
99
+ merged: "merged";
100
+ staging: "staging";
101
+ qa_started: "qa_started";
102
+ qa_passed: "qa_passed";
103
+ }>;
104
+ declare const deliveryStageSchema: z.ZodObject<{
105
+ id: z.ZodString;
106
+ name: z.ZodString;
107
+ category: z.ZodEnum<{
108
+ completed: "completed";
109
+ backlog: "backlog";
110
+ unstarted: "unstarted";
111
+ started: "started";
112
+ canceled: "canceled";
113
+ }>;
114
+ behavior: z.ZodDefault<z.ZodEnum<{
115
+ released: "released";
116
+ pr_opened: "pr_opened";
117
+ merged: "merged";
118
+ staging: "staging";
119
+ qa_started: "qa_started";
120
+ qa_passed: "qa_passed";
121
+ manual: "manual";
122
+ agent_start: "agent_start";
123
+ }>>;
124
+ }, z.core.$strict>;
125
+ declare const deliveryTransitionSchema: z.ZodObject<{
126
+ from: z.ZodString;
127
+ to: z.ZodString;
128
+ requires: z.ZodDefault<z.ZodArray<z.ZodEnum<{
129
+ released: "released";
130
+ pr_opened: "pr_opened";
131
+ merged: "merged";
132
+ staging: "staging";
133
+ qa_started: "qa_started";
134
+ qa_passed: "qa_passed";
135
+ }>>>;
136
+ }, z.core.$strict>;
137
+ declare const deliveryWorkflowSchema: z.ZodObject<{
138
+ revision: z.ZodNumber;
139
+ stages: z.ZodArray<z.ZodObject<{
140
+ id: z.ZodString;
141
+ name: z.ZodString;
142
+ category: z.ZodEnum<{
143
+ completed: "completed";
144
+ backlog: "backlog";
145
+ unstarted: "unstarted";
146
+ started: "started";
147
+ canceled: "canceled";
148
+ }>;
149
+ behavior: z.ZodDefault<z.ZodEnum<{
150
+ released: "released";
151
+ pr_opened: "pr_opened";
152
+ merged: "merged";
153
+ staging: "staging";
154
+ qa_started: "qa_started";
155
+ qa_passed: "qa_passed";
156
+ manual: "manual";
157
+ agent_start: "agent_start";
158
+ }>>;
159
+ }, z.core.$strict>>;
160
+ transitions: z.ZodArray<z.ZodObject<{
161
+ from: z.ZodString;
162
+ to: z.ZodString;
163
+ requires: z.ZodDefault<z.ZodArray<z.ZodEnum<{
164
+ released: "released";
165
+ pr_opened: "pr_opened";
166
+ merged: "merged";
167
+ staging: "staging";
168
+ qa_started: "qa_started";
169
+ qa_passed: "qa_passed";
170
+ }>>>;
171
+ }, z.core.$strict>>;
172
+ attentionColumn: z.ZodDefault<z.ZodBoolean>;
173
+ }, z.core.$strict>;
174
+ type DeliveryWorkflow = z.infer<typeof deliveryWorkflowSchema>;
175
+ type DeliveryStage = z.infer<typeof deliveryStageSchema>;
176
+ type DeliveryEvidenceKind = z.infer<typeof deliveryEvidenceKindSchema>;
177
+ declare function defaultDeliveryWorkflow(): DeliveryWorkflow;
178
+ declare const trackerSourceSchema: z.ZodObject<{
179
+ workspace: z.ZodString;
180
+ id: z.ZodString;
181
+ identifier: z.ZodString;
182
+ url: z.ZodString;
183
+ }, z.core.$strict>;
184
+ declare const trackerPlanSchema: z.ZodObject<{
185
+ id: z.ZodString;
186
+ name: z.ZodString;
187
+ description: z.ZodDefault<z.ZodString>;
188
+ source: z.ZodOptional<z.ZodObject<{
189
+ workspace: z.ZodString;
190
+ id: z.ZodString;
191
+ identifier: z.ZodString;
192
+ url: z.ZodString;
193
+ }, z.core.$strict>>;
194
+ }, z.core.$strict>;
195
+ declare const trackerCommentSchema: z.ZodObject<{
196
+ id: z.ZodString;
197
+ body: z.ZodString;
198
+ author: z.ZodString;
199
+ createdAt: z.ZodNumber;
200
+ sourceId: z.ZodOptional<z.ZodString>;
201
+ }, z.core.$strict>;
202
+ declare const trackerEvidenceSchema: z.ZodObject<{
203
+ id: z.ZodString;
204
+ kind: z.ZodEnum<{
205
+ released: "released";
206
+ pr_opened: "pr_opened";
207
+ merged: "merged";
208
+ staging: "staging";
209
+ qa_started: "qa_started";
210
+ qa_passed: "qa_passed";
211
+ }>;
212
+ revision: z.ZodString;
213
+ reference: z.ZodString;
214
+ deploymentId: z.ZodOptional<z.ZodString>;
215
+ runId: z.ZodOptional<z.ZodString>;
216
+ createdAt: z.ZodNumber;
217
+ author: z.ZodString;
218
+ }, z.core.$strict>;
219
+ declare const trackerIssueSchema: z.ZodObject<{
220
+ id: z.ZodString;
221
+ identifier: z.ZodString;
222
+ title: z.ZodString;
223
+ description: z.ZodString;
224
+ stageId: z.ZodString;
225
+ planId: z.ZodNullable<z.ZodString>;
226
+ parentId: z.ZodNullable<z.ZodString>;
227
+ assignee: z.ZodNullable<z.ZodString>;
228
+ priority: z.ZodNumber;
229
+ labels: z.ZodArray<z.ZodString>;
230
+ blockedBy: z.ZodArray<z.ZodString>;
231
+ externalBlockers: z.ZodArray<z.ZodString>;
232
+ agentEligible: z.ZodBoolean;
233
+ automationHeld: z.ZodBoolean;
234
+ revision: z.ZodNullable<z.ZodString>;
235
+ attention: z.ZodNullable<z.ZodObject<{
236
+ id: z.ZodString;
237
+ message: z.ZodString;
238
+ runId: z.ZodOptional<z.ZodString>;
239
+ origin: z.ZodDefault<z.ZodEnum<{
240
+ manual: "manual";
241
+ run: "run";
242
+ }>>;
243
+ }, z.core.$strict>>;
244
+ threadId: z.ZodString;
245
+ runIds: z.ZodArray<z.ZodString>;
246
+ comments: z.ZodArray<z.ZodObject<{
247
+ id: z.ZodString;
248
+ body: z.ZodString;
249
+ author: z.ZodString;
250
+ createdAt: z.ZodNumber;
251
+ sourceId: z.ZodOptional<z.ZodString>;
252
+ }, z.core.$strict>>;
253
+ evidence: z.ZodArray<z.ZodObject<{
254
+ id: z.ZodString;
255
+ kind: z.ZodEnum<{
256
+ released: "released";
257
+ pr_opened: "pr_opened";
258
+ merged: "merged";
259
+ staging: "staging";
260
+ qa_started: "qa_started";
261
+ qa_passed: "qa_passed";
262
+ }>;
263
+ revision: z.ZodString;
264
+ reference: z.ZodString;
265
+ deploymentId: z.ZodOptional<z.ZodString>;
266
+ runId: z.ZodOptional<z.ZodString>;
267
+ createdAt: z.ZodNumber;
268
+ author: z.ZodString;
269
+ }, z.core.$strict>>;
270
+ history: z.ZodArray<z.ZodObject<{
271
+ at: z.ZodNumber;
272
+ actor: z.ZodString;
273
+ action: z.ZodString;
274
+ from: z.ZodOptional<z.ZodString>;
275
+ to: z.ZodOptional<z.ZodString>;
276
+ }, z.core.$strict>>;
277
+ source: z.ZodOptional<z.ZodObject<{
278
+ workspace: z.ZodString;
279
+ id: z.ZodString;
280
+ identifier: z.ZodString;
281
+ url: z.ZodString;
282
+ }, z.core.$strict>>;
283
+ sourceAssignee: z.ZodOptional<z.ZodString>;
284
+ createdAt: z.ZodNumber;
285
+ updatedAt: z.ZodNumber;
286
+ version: z.ZodNumber;
287
+ }, z.core.$strict>;
288
+ type TrackerIssue = z.infer<typeof trackerIssueSchema>;
289
+ type TrackerPlan = z.infer<typeof trackerPlanSchema>;
290
+ declare const trackerSnapshotSchema: z.ZodObject<{
291
+ workflow: z.ZodObject<{
292
+ revision: z.ZodNumber;
293
+ stages: z.ZodArray<z.ZodObject<{
294
+ id: z.ZodString;
295
+ name: z.ZodString;
296
+ category: z.ZodEnum<{
297
+ completed: "completed";
298
+ backlog: "backlog";
299
+ unstarted: "unstarted";
300
+ started: "started";
301
+ canceled: "canceled";
302
+ }>;
303
+ behavior: z.ZodDefault<z.ZodEnum<{
304
+ released: "released";
305
+ pr_opened: "pr_opened";
306
+ merged: "merged";
307
+ staging: "staging";
308
+ qa_started: "qa_started";
309
+ qa_passed: "qa_passed";
310
+ manual: "manual";
311
+ agent_start: "agent_start";
312
+ }>>;
313
+ }, z.core.$strict>>;
314
+ transitions: z.ZodArray<z.ZodObject<{
315
+ from: z.ZodString;
316
+ to: z.ZodString;
317
+ requires: z.ZodDefault<z.ZodArray<z.ZodEnum<{
318
+ released: "released";
319
+ pr_opened: "pr_opened";
320
+ merged: "merged";
321
+ staging: "staging";
322
+ qa_started: "qa_started";
323
+ qa_passed: "qa_passed";
324
+ }>>>;
325
+ }, z.core.$strict>>;
326
+ attentionColumn: z.ZodDefault<z.ZodBoolean>;
327
+ }, z.core.$strict>;
328
+ issues: z.ZodArray<z.ZodObject<{
329
+ id: z.ZodString;
330
+ identifier: z.ZodString;
331
+ title: z.ZodString;
332
+ description: z.ZodString;
333
+ stageId: z.ZodString;
334
+ planId: z.ZodNullable<z.ZodString>;
335
+ parentId: z.ZodNullable<z.ZodString>;
336
+ assignee: z.ZodNullable<z.ZodString>;
337
+ priority: z.ZodNumber;
338
+ labels: z.ZodArray<z.ZodString>;
339
+ blockedBy: z.ZodArray<z.ZodString>;
340
+ externalBlockers: z.ZodArray<z.ZodString>;
341
+ agentEligible: z.ZodBoolean;
342
+ automationHeld: z.ZodBoolean;
343
+ revision: z.ZodNullable<z.ZodString>;
344
+ attention: z.ZodNullable<z.ZodObject<{
345
+ id: z.ZodString;
346
+ message: z.ZodString;
347
+ runId: z.ZodOptional<z.ZodString>;
348
+ origin: z.ZodDefault<z.ZodEnum<{
349
+ manual: "manual";
350
+ run: "run";
351
+ }>>;
352
+ }, z.core.$strict>>;
353
+ threadId: z.ZodString;
354
+ runIds: z.ZodArray<z.ZodString>;
355
+ comments: z.ZodArray<z.ZodObject<{
356
+ id: z.ZodString;
357
+ body: z.ZodString;
358
+ author: z.ZodString;
359
+ createdAt: z.ZodNumber;
360
+ sourceId: z.ZodOptional<z.ZodString>;
361
+ }, z.core.$strict>>;
362
+ evidence: z.ZodArray<z.ZodObject<{
363
+ id: z.ZodString;
364
+ kind: z.ZodEnum<{
365
+ released: "released";
366
+ pr_opened: "pr_opened";
367
+ merged: "merged";
368
+ staging: "staging";
369
+ qa_started: "qa_started";
370
+ qa_passed: "qa_passed";
371
+ }>;
372
+ revision: z.ZodString;
373
+ reference: z.ZodString;
374
+ deploymentId: z.ZodOptional<z.ZodString>;
375
+ runId: z.ZodOptional<z.ZodString>;
376
+ createdAt: z.ZodNumber;
377
+ author: z.ZodString;
378
+ }, z.core.$strict>>;
379
+ history: z.ZodArray<z.ZodObject<{
380
+ at: z.ZodNumber;
381
+ actor: z.ZodString;
382
+ action: z.ZodString;
383
+ from: z.ZodOptional<z.ZodString>;
384
+ to: z.ZodOptional<z.ZodString>;
385
+ }, z.core.$strict>>;
386
+ source: z.ZodOptional<z.ZodObject<{
387
+ workspace: z.ZodString;
388
+ id: z.ZodString;
389
+ identifier: z.ZodString;
390
+ url: z.ZodString;
391
+ }, z.core.$strict>>;
392
+ sourceAssignee: z.ZodOptional<z.ZodString>;
393
+ createdAt: z.ZodNumber;
394
+ updatedAt: z.ZodNumber;
395
+ version: z.ZodNumber;
396
+ }, z.core.$strict>>;
397
+ plans: z.ZodArray<z.ZodObject<{
398
+ id: z.ZodString;
399
+ name: z.ZodString;
400
+ description: z.ZodDefault<z.ZodString>;
401
+ source: z.ZodOptional<z.ZodObject<{
402
+ workspace: z.ZodString;
403
+ id: z.ZodString;
404
+ identifier: z.ZodString;
405
+ url: z.ZodString;
406
+ }, z.core.$strict>>;
407
+ }, z.core.$strict>>;
408
+ members: z.ZodArray<z.ZodString>;
409
+ }, z.core.$strict>;
410
+ type TrackerSnapshot = z.infer<typeof trackerSnapshotSchema>;
411
+ declare const trackerImportSchema: z.ZodObject<{
412
+ workspace: z.ZodString;
413
+ teamId: z.ZodString;
414
+ stages: z.ZodArray<z.ZodObject<{
415
+ id: z.ZodString;
416
+ name: z.ZodString;
417
+ category: z.ZodEnum<{
418
+ completed: "completed";
419
+ backlog: "backlog";
420
+ unstarted: "unstarted";
421
+ started: "started";
422
+ canceled: "canceled";
423
+ }>;
424
+ behavior: z.ZodDefault<z.ZodEnum<{
425
+ released: "released";
426
+ pr_opened: "pr_opened";
427
+ merged: "merged";
428
+ staging: "staging";
429
+ qa_started: "qa_started";
430
+ qa_passed: "qa_passed";
431
+ manual: "manual";
432
+ agent_start: "agent_start";
433
+ }>>;
434
+ }, z.core.$strict>>;
435
+ stageMapping: z.ZodRecord<z.ZodString, z.ZodString>;
436
+ adoptWorkflow: z.ZodBoolean;
437
+ plans: z.ZodArray<z.ZodObject<{
438
+ source: z.ZodObject<{
439
+ workspace: z.ZodString;
440
+ id: z.ZodString;
441
+ identifier: z.ZodString;
442
+ url: z.ZodString;
443
+ }, z.core.$strict>;
444
+ name: z.ZodString;
445
+ description: z.ZodString;
446
+ }, z.core.$strict>>;
447
+ issues: z.ZodArray<z.ZodObject<{
448
+ source: z.ZodObject<{
449
+ workspace: z.ZodString;
450
+ id: z.ZodString;
451
+ identifier: z.ZodString;
452
+ url: z.ZodString;
453
+ }, z.core.$strict>;
454
+ title: z.ZodString;
455
+ description: z.ZodString;
456
+ stageId: z.ZodString;
457
+ planId: z.ZodNullable<z.ZodString>;
458
+ parentId: z.ZodNullable<z.ZodString>;
459
+ assignee: z.ZodNullable<z.ZodString>;
460
+ sourceAssignee: z.ZodOptional<z.ZodString>;
461
+ priority: z.ZodDefault<z.ZodNumber>;
462
+ labels: z.ZodDefault<z.ZodArray<z.ZodString>>;
463
+ blockedBy: z.ZodArray<z.ZodString>;
464
+ externalBlockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
465
+ comments: z.ZodArray<z.ZodObject<{
466
+ id: z.ZodString;
467
+ body: z.ZodString;
468
+ author: z.ZodString;
469
+ createdAt: z.ZodNumber;
470
+ sourceId: z.ZodOptional<z.ZodString>;
471
+ }, z.core.$strict>>;
472
+ createdAt: z.ZodNumber;
473
+ }, z.core.$strict>>;
474
+ omissions: z.ZodDefault<z.ZodArray<z.ZodString>>;
475
+ }, z.core.$strict>;
476
+ type TrackerImport = z.infer<typeof trackerImportSchema>;
477
+ declare const trackerOperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
478
+ kind: z.ZodLiteral<"tracker.sync">;
479
+ }, z.core.$strict>, z.ZodObject<{
480
+ title: z.ZodString;
481
+ description: z.ZodDefault<z.ZodString>;
482
+ planId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
483
+ parentId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
484
+ assignee: z.ZodDefault<z.ZodNullable<z.ZodString>>;
485
+ priority: z.ZodDefault<z.ZodNumber>;
486
+ labels: z.ZodDefault<z.ZodArray<z.ZodString>>;
487
+ blockedBy: z.ZodDefault<z.ZodArray<z.ZodString>>;
488
+ externalBlockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
489
+ agentEligible: z.ZodDefault<z.ZodBoolean>;
490
+ revision: z.ZodDefault<z.ZodNullable<z.ZodString>>;
491
+ kind: z.ZodLiteral<"issue.create">;
492
+ id: z.ZodString;
493
+ stageId: z.ZodOptional<z.ZodString>;
494
+ }, z.core.$strict>, z.ZodObject<{
495
+ kind: z.ZodLiteral<"issue.update">;
496
+ id: z.ZodString;
497
+ version: z.ZodNumber;
498
+ changes: z.ZodObject<{
499
+ revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
500
+ description: z.ZodOptional<z.ZodString>;
501
+ title: z.ZodOptional<z.ZodString>;
502
+ planId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
503
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
504
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodString>>;
505
+ priority: z.ZodOptional<z.ZodNumber>;
506
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
507
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
508
+ externalBlockers: z.ZodOptional<z.ZodArray<z.ZodString>>;
509
+ agentEligible: z.ZodOptional<z.ZodBoolean>;
510
+ }, z.core.$strict>;
511
+ }, z.core.$strict>, z.ZodObject<{
512
+ id: z.ZodString;
513
+ name: z.ZodString;
514
+ description: z.ZodDefault<z.ZodString>;
515
+ source: z.ZodOptional<z.ZodObject<{
516
+ workspace: z.ZodString;
517
+ id: z.ZodString;
518
+ identifier: z.ZodString;
519
+ url: z.ZodString;
520
+ }, z.core.$strict>>;
521
+ kind: z.ZodLiteral<"plan.save">;
522
+ }, z.core.$strict>, z.ZodObject<{
523
+ kind: z.ZodLiteral<"workflow.save">;
524
+ workflow: z.ZodObject<{
525
+ revision: z.ZodNumber;
526
+ stages: z.ZodArray<z.ZodObject<{
527
+ id: z.ZodString;
528
+ name: z.ZodString;
529
+ category: z.ZodEnum<{
530
+ completed: "completed";
531
+ backlog: "backlog";
532
+ unstarted: "unstarted";
533
+ started: "started";
534
+ canceled: "canceled";
535
+ }>;
536
+ behavior: z.ZodDefault<z.ZodEnum<{
537
+ released: "released";
538
+ pr_opened: "pr_opened";
539
+ merged: "merged";
540
+ staging: "staging";
541
+ qa_started: "qa_started";
542
+ qa_passed: "qa_passed";
543
+ manual: "manual";
544
+ agent_start: "agent_start";
545
+ }>>;
546
+ }, z.core.$strict>>;
547
+ transitions: z.ZodArray<z.ZodObject<{
548
+ from: z.ZodString;
549
+ to: z.ZodString;
550
+ requires: z.ZodDefault<z.ZodArray<z.ZodEnum<{
551
+ released: "released";
552
+ pr_opened: "pr_opened";
553
+ merged: "merged";
554
+ staging: "staging";
555
+ qa_started: "qa_started";
556
+ qa_passed: "qa_passed";
557
+ }>>>;
558
+ }, z.core.$strict>>;
559
+ attentionColumn: z.ZodDefault<z.ZodBoolean>;
560
+ }, z.core.$strict>;
561
+ replacements: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
562
+ }, z.core.$strict>, z.ZodObject<{
563
+ kind: z.ZodLiteral<"issue.transition">;
564
+ id: z.ZodString;
565
+ version: z.ZodNumber;
566
+ stageId: z.ZodString;
567
+ }, z.core.$strict>, z.ZodObject<{
568
+ kind: z.ZodLiteral<"issue.attention">;
569
+ id: z.ZodString;
570
+ version: z.ZodNumber;
571
+ message: z.ZodString;
572
+ runId: z.ZodOptional<z.ZodString>;
573
+ }, z.core.$strict>, z.ZodObject<{
574
+ kind: z.ZodLiteral<"issue.resolve">;
575
+ id: z.ZodString;
576
+ version: z.ZodNumber;
577
+ attentionId: z.ZodString;
578
+ }, z.core.$strict>, z.ZodObject<{
579
+ kind: z.ZodLiteral<"issue.resume">;
580
+ id: z.ZodString;
581
+ version: z.ZodNumber;
582
+ }, z.core.$strict>, z.ZodObject<{
583
+ kind: z.ZodLiteral<"issue.revision">;
584
+ id: z.ZodString;
585
+ version: z.ZodNumber;
586
+ revision: z.ZodString;
587
+ runId: z.ZodString;
588
+ }, z.core.$strict>, z.ZodObject<{
589
+ kind: z.ZodLiteral<"issue.comment">;
590
+ id: z.ZodString;
591
+ commentId: z.ZodString;
592
+ body: z.ZodString;
593
+ }, z.core.$strict>, z.ZodObject<{
594
+ kind: z.ZodLiteral<"issue.evidence">;
595
+ id: z.ZodString;
596
+ evidenceId: z.ZodString;
597
+ evidence: z.ZodObject<{
598
+ kind: z.ZodEnum<{
599
+ released: "released";
600
+ pr_opened: "pr_opened";
601
+ merged: "merged";
602
+ staging: "staging";
603
+ qa_started: "qa_started";
604
+ qa_passed: "qa_passed";
605
+ }>;
606
+ revision: z.ZodString;
607
+ runId: z.ZodOptional<z.ZodString>;
608
+ reference: z.ZodString;
609
+ deploymentId: z.ZodOptional<z.ZodString>;
610
+ }, z.core.$strict>;
611
+ }, z.core.$strict>, z.ZodObject<{
612
+ kind: z.ZodLiteral<"import.preview">;
613
+ input: z.ZodObject<{
614
+ workspace: z.ZodString;
615
+ teamId: z.ZodString;
616
+ stages: z.ZodArray<z.ZodObject<{
617
+ id: z.ZodString;
618
+ name: z.ZodString;
619
+ category: z.ZodEnum<{
620
+ completed: "completed";
621
+ backlog: "backlog";
622
+ unstarted: "unstarted";
623
+ started: "started";
624
+ canceled: "canceled";
625
+ }>;
626
+ behavior: z.ZodDefault<z.ZodEnum<{
627
+ released: "released";
628
+ pr_opened: "pr_opened";
629
+ merged: "merged";
630
+ staging: "staging";
631
+ qa_started: "qa_started";
632
+ qa_passed: "qa_passed";
633
+ manual: "manual";
634
+ agent_start: "agent_start";
635
+ }>>;
636
+ }, z.core.$strict>>;
637
+ stageMapping: z.ZodRecord<z.ZodString, z.ZodString>;
638
+ adoptWorkflow: z.ZodBoolean;
639
+ plans: z.ZodArray<z.ZodObject<{
640
+ source: z.ZodObject<{
641
+ workspace: z.ZodString;
642
+ id: z.ZodString;
643
+ identifier: z.ZodString;
644
+ url: z.ZodString;
645
+ }, z.core.$strict>;
646
+ name: z.ZodString;
647
+ description: z.ZodString;
648
+ }, z.core.$strict>>;
649
+ issues: z.ZodArray<z.ZodObject<{
650
+ source: z.ZodObject<{
651
+ workspace: z.ZodString;
652
+ id: z.ZodString;
653
+ identifier: z.ZodString;
654
+ url: z.ZodString;
655
+ }, z.core.$strict>;
656
+ title: z.ZodString;
657
+ description: z.ZodString;
658
+ stageId: z.ZodString;
659
+ planId: z.ZodNullable<z.ZodString>;
660
+ parentId: z.ZodNullable<z.ZodString>;
661
+ assignee: z.ZodNullable<z.ZodString>;
662
+ sourceAssignee: z.ZodOptional<z.ZodString>;
663
+ priority: z.ZodDefault<z.ZodNumber>;
664
+ labels: z.ZodDefault<z.ZodArray<z.ZodString>>;
665
+ blockedBy: z.ZodArray<z.ZodString>;
666
+ externalBlockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
667
+ comments: z.ZodArray<z.ZodObject<{
668
+ id: z.ZodString;
669
+ body: z.ZodString;
670
+ author: z.ZodString;
671
+ createdAt: z.ZodNumber;
672
+ sourceId: z.ZodOptional<z.ZodString>;
673
+ }, z.core.$strict>>;
674
+ createdAt: z.ZodNumber;
675
+ }, z.core.$strict>>;
676
+ omissions: z.ZodDefault<z.ZodArray<z.ZodString>>;
677
+ }, z.core.$strict>;
678
+ }, z.core.$strict>, z.ZodObject<{
679
+ kind: z.ZodLiteral<"import.commit">;
680
+ previewId: z.ZodString;
681
+ }, z.core.$strict>], "kind">;
682
+ type TrackerOperation = z.input<typeof trackerOperationSchema>;
683
+ declare const trackerImportPreviewSchema: z.ZodObject<{
684
+ previewId: z.ZodString;
685
+ creates: z.ZodNumber;
686
+ skips: z.ZodNumber;
687
+ plans: z.ZodNumber;
688
+ omissions: z.ZodArray<z.ZodString>;
689
+ }, z.core.$strict>;
690
+ type TrackerImportPreview = z.infer<typeof trackerImportPreviewSchema>;
691
+
96
692
  declare const protocolVersion: {
97
693
  readonly major: 2;
98
694
  readonly minor: 3;
@@ -1648,4 +2244,4 @@ type ConnectPendingResponse = z.infer<typeof connectPendingResponseSchema>;
1648
2244
  type TeamDefault = z.infer<typeof teamDefaultSchema>;
1649
2245
  type RunsGoTo = z.infer<typeof runsGoToSchema>;
1650
2246
 
1651
- export { type Audience, type BudgetAttempt, type BuildCloseReason, CALIBRATION_MIN_RUNS, CALIBRATION_WINDOW_DAYS, type Calibration, type CalibrationSample, type Checkpoint, type ClassCalibration, type Command, type ConnectAlreadyConnected, type ConnectPendingResponse, type ConnectRedeemRequest, type ConnectRedeemResponse, type ConnectStartRequest, type ConnectStartResponse, type ControlRecord, type Delegation, type DeliveredCommand, type ExecutionFact, type Grant, type Harness, type HarnessReadiness, type HistoryRecord, type InstalledWorkflow, type RepositoryBinding, type RepositorySource, type RunCloseReason, type RunParent, type RunUsage, type RunView, type RunnerAdoptRequest, type RunnerDisconnectPreview, type RunnerDisconnectResponse, type RunnerFrame, type RunnerList, type RunnerListEntry, type RunnerReadiness, type RunsGoTo, SIZE_CLASS_CAPS, SIZE_CLASS_FORECASTS, type Scope, type SizeClass, type TeamDefault, type WorkflowIdentity, type WorkflowInstallReference, type WorkflowReference, abandonedConversationContinuationCapability, attemptCost, attemptForecast, audienceSchema, budgetCheck, buildCloseReasonSchema, calibrate, calibrationSchema, canonicalJson, checkpointPathSchema, checkpointSchema, classOfCap, clientFrameSchema, commandSchema, connectAlreadyConnectedSchema, connectApproveRequestSchema, connectCodeAlphabet, connectCodeRequestSchema, connectCodeResponseSchema, connectCodeSchema, connectDenyRequestSchema, connectPendingResponseSchema, connectPollRequestSchema, connectRedeemRequestSchema, connectRedeemResponseSchema, connectStartRequestSchema, connectStartResponseSchema, controlRecordSchema, conversationContinuationCapability, delegationSchema, delegationTokenPrefix, deliveredCommandSchema, forecastOfCap, forecastOfClass, grantSchema, harnessReadinessSchema, harnessSchema, historyRecordSchema, hubEpochRequestSchema, installReference, installedWorkflowsSchema, interruptionSchema, orchestratorGuidanceCapability, permissionAnswerSchema, protocolVersion, readableHistory, readinessFixCommand, repositoryAccessCapability, repositoryBindingSchema, repositoryRefSchema, repositorySourceSchema, repositoryWorkingDirectorySchema, runArtifactMaxBytes, runArtifactNameSchema, runCloseReasonSchema, runDelegationCapability, runKeySchema, runParentIntentSchema, runParentSchema, runSpecSchema, runUsageCapability, runUsageSchema, runViewSchema, runnerAdoptRequestSchema, runnerDisconnectPreviewSchema, runnerDisconnectRequestSchema, runnerDisconnectResponseSchema, runnerFrameSchema, runnerListEntrySchema, runnerListSchema, runnerReadinessSchema, runnerUpdateCommand, runnerUpdateRequestSchema, runsGoToSchema, sameWorkflow, scopeSchema, secretEnvironmentSchema, sequence, teamDefaultRequestSchema, teamDefaultSchema, workflowIdentitySchema, workflowInstallCapability, workflowName, workflowReferenceSchema, workflowSourceSchema };
2247
+ export { type Audience, type BudgetAttempt, type BuildCloseReason, CALIBRATION_MIN_RUNS, CALIBRATION_WINDOW_DAYS, type Calibration, type CalibrationSample, type Checkpoint, type ClassCalibration, type Command, type ConnectAlreadyConnected, type ConnectPendingResponse, type ConnectRedeemRequest, type ConnectRedeemResponse, type ConnectStartRequest, type ConnectStartResponse, type ControlRecord, type Delegation, type DeliveredCommand, type DeliveryEvidenceKind, type DeliveryStage, type DeliveryWorkflow, type ExecutionFact, type Grant, type Harness, type HarnessReadiness, type HistoryRecord, type InstalledWorkflow, type RepositoryBinding, type RepositorySource, type RunCloseReason, type RunParent, type RunUsage, type RunView, type RunnerAdoptRequest, type RunnerDisconnectPreview, type RunnerDisconnectResponse, type RunnerFrame, type RunnerList, type RunnerListEntry, type RunnerReadiness, type RunsGoTo, SIZE_CLASS_CAPS, SIZE_CLASS_FORECASTS, type Scope, type SizeClass, type TeamDefault, type TrackerImport, type TrackerImportPreview, type TrackerIssue, type TrackerOperation, type TrackerPlan, type TrackerSnapshot, type WorkflowIdentity, type WorkflowInstallReference, type WorkflowReference, abandonedConversationContinuationCapability, attemptCost, attemptForecast, audienceSchema, budgetCheck, buildCloseReasonSchema, calibrate, calibrationSchema, canonicalJson, checkpointPathSchema, checkpointSchema, classOfCap, clientFrameSchema, commandSchema, connectAlreadyConnectedSchema, connectApproveRequestSchema, connectCodeAlphabet, connectCodeRequestSchema, connectCodeResponseSchema, connectCodeSchema, connectDenyRequestSchema, connectPendingResponseSchema, connectPollRequestSchema, connectRedeemRequestSchema, connectRedeemResponseSchema, connectStartRequestSchema, connectStartResponseSchema, controlRecordSchema, conversationContinuationCapability, defaultDeliveryWorkflow, delegationSchema, delegationTokenPrefix, deliveredCommandSchema, deliveryEvidenceKindSchema, deliveryStageSchema, deliveryTransitionSchema, deliveryWorkflowSchema, forecastOfCap, forecastOfClass, grantSchema, harnessReadinessSchema, harnessSchema, historyRecordSchema, hubEpochRequestSchema, installReference, installedWorkflowsSchema, interruptionSchema, orchestratorGuidanceCapability, permissionAnswerSchema, protocolVersion, readableHistory, readinessFixCommand, repositoryAccessCapability, repositoryBindingSchema, repositoryRefSchema, repositorySourceSchema, repositoryWorkingDirectorySchema, runArtifactMaxBytes, runArtifactNameSchema, runCloseReasonSchema, runDelegationCapability, runKeySchema, runParentIntentSchema, runParentSchema, runSpecSchema, runUsageCapability, runUsageSchema, runViewSchema, runnerAdoptRequestSchema, runnerDisconnectPreviewSchema, runnerDisconnectRequestSchema, runnerDisconnectResponseSchema, runnerFrameSchema, runnerListEntrySchema, runnerListSchema, runnerReadinessSchema, runnerUpdateCommand, runnerUpdateRequestSchema, runsGoToSchema, sameWorkflow, scopeSchema, secretEnvironmentSchema, sequence, teamDefaultRequestSchema, teamDefaultSchema, trackerCommentSchema, trackerEvidenceSchema, trackerImportPreviewSchema, trackerImportSchema, trackerIssueSchema, trackerOperationSchema, trackerPlanSchema, trackerSnapshotSchema, trackerSourceSchema, workflowIdentitySchema, workflowInstallCapability, workflowName, workflowReferenceSchema, workflowSourceSchema };