@nyte-ai/schema 0.0.23 → 0.0.25-beta.1

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 (46) hide show
  1. package/THIRD-PARTY-NOTICES.md +2 -38
  2. package/dist/chunks/{browser-xk4psyrx.js → browser-40skw1kj.js} +1 -1
  3. package/dist/chunks/{browser-fnanbp6m.js → browser-5w8ywd56.js} +5 -4
  4. package/dist/chunks/{browser-0chm3654.js → browser-82qzgxz4.js} +13 -2
  5. package/dist/chunks/{browser-qncc807c.js → browser-b1pzvhs6.js} +1 -1
  6. package/dist/chunks/{browser-h5k4hqfq.js → browser-b1zjf2es.js} +1 -1
  7. package/dist/chunks/{browser-ay8k1s1m.js → browser-fw8cf4fc.js} +2 -2
  8. package/dist/chunks/{browser-fe66aj8v.js → browser-kmkhr82d.js} +27 -9
  9. package/dist/chunks/{browser-s2xe7c21.js → browser-pk5dmvrr.js} +3 -3
  10. package/dist/chunks/{browser-etfrcxhb.js → browser-pvrs6rs5.js} +3 -3
  11. package/dist/chunks/{browser-xensz05x.js → browser-t7t9fc1r.js} +1 -1
  12. package/dist/chunks/{browser-gzn951k8.js → browser-ts4gc07c.js} +39 -4
  13. package/dist/chunks/{browser-hq5q56sf.js → browser-wqkhghw2.js} +15 -7
  14. package/dist/src/connection.js +4 -4
  15. package/dist/src/events.d.ts +108 -108
  16. package/dist/src/events.js +3 -3
  17. package/dist/src/heads.d.ts +20 -0
  18. package/dist/src/heads.js +8 -2
  19. package/dist/src/hooks.js +2 -2
  20. package/dist/src/ids.d.ts +1 -2
  21. package/dist/src/index.js +20 -12
  22. package/dist/src/mcp.d.ts +8 -8
  23. package/dist/src/messages.d.ts +8 -0
  24. package/dist/src/messages.js +4 -2
  25. package/dist/src/parts.d.ts +40 -40
  26. package/dist/src/runs.d.ts +12 -12
  27. package/dist/src/sessions.d.ts +8 -8
  28. package/dist/src/sessions.js +2 -2
  29. package/dist/src/store.d.ts +52 -52
  30. package/dist/src/store.js +4 -4
  31. package/dist/src/views.d.ts +502 -170
  32. package/dist/src/views.js +3 -3
  33. package/dist/src/wire/operations/browser.d.ts +119 -119
  34. package/dist/src/wire/operations/fields.d.ts +6 -6
  35. package/dist/src/wire/operations/files.d.ts +52 -52
  36. package/dist/src/wire/operations/git.d.ts +121 -121
  37. package/dist/src/wire/operations/github.d.ts +34 -34
  38. package/dist/src/wire/operations/host.d.ts +299 -298
  39. package/dist/src/wire/operations/host.js +6 -6
  40. package/dist/src/wire/operations/index.d.ts +4771 -4362
  41. package/dist/src/wire/operations/index.js +9 -9
  42. package/dist/src/wire/operations/session.d.ts +2511 -2103
  43. package/dist/src/wire/operations/session.js +5 -5
  44. package/dist/src/wire/operations/workspace.d.ts +244 -244
  45. package/dist/src/wire/operations/workspace.js +3 -3
  46. package/package.json +2 -3
@@ -35,7 +35,92 @@ export declare const UserStatusType: Type.TUnion<[Type.TObject<{
35
35
  }>, Type.TNull]>;
36
36
  }>]>;
37
37
  export type UserStatus = Decoded<typeof UserStatusType>;
38
+ declare const QueuedMessageType: Type.TObject<{
39
+ id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
40
+ turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
41
+ at: Type.TNumber;
42
+ kind: Type.TLiteral<"user">;
43
+ content: Type.TUnion<[Type.TString, Type.TArray<Type.TUnion<[Type.TObject<{
44
+ kind: Type.TLiteral<"text">;
45
+ text: Type.TString;
46
+ }>, Type.TObject<{
47
+ kind: Type.TLiteral<"file">;
48
+ blob: Type.TUnsafe<import("./ids.ts").Id<"blob">>;
49
+ mime: Type.TString;
50
+ name: Type.TString;
51
+ }>, Type.TObject<{
52
+ kind: Type.TLiteral<"reference">;
53
+ path: Type.TString;
54
+ blob: Type.TOptional<Type.TUnsafe<import("./ids.ts").Id<"blob">>>;
55
+ }>, Type.TObject<{
56
+ kind: Type.TLiteral<"skill">;
57
+ name: Type.TString;
58
+ location: Type.TString;
59
+ }>, Type.TObject<{
60
+ kind: Type.TLiteral<"excerpt">;
61
+ source: Type.TUnion<[Type.TObject<{
62
+ kind: Type.TLiteral<"diff">;
63
+ path: Type.TString;
64
+ side: Type.TEnum<["old", "new"]>;
65
+ start: Type.TNumber;
66
+ end: Type.TNumber;
67
+ }>, Type.TObject<{
68
+ kind: Type.TLiteral<"terminal">;
69
+ command: Type.TOptional<Type.TString>;
70
+ }>, Type.TObject<{
71
+ kind: Type.TLiteral<"browser">;
72
+ url: Type.TString;
73
+ selector: Type.TString;
74
+ }>]>;
75
+ text: Type.TString;
76
+ }>]>>]>;
77
+ source: Type.TUnion<[Type.TObject<{
78
+ kind: Type.TLiteral<"user">;
79
+ }>, Type.TObject<{
80
+ kind: Type.TLiteral<"child">;
81
+ session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
82
+ end: Type.TEnum<["completed", "stopped", "failed"]>;
83
+ }>, Type.TObject<{
84
+ kind: Type.TLiteral<"job">;
85
+ job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
86
+ }>, Type.TObject<{
87
+ kind: Type.TLiteral<"shell">;
88
+ }>, Type.TObject<{
89
+ kind: Type.TLiteral<"action">;
90
+ label: Type.TString;
91
+ command: Type.TOptional<Type.TString>;
92
+ }>]>;
93
+ delivery: Type.TEnum<["steer", "queue", "attach"]>;
94
+ siblings: Type.TObject<{
95
+ index: Type.TNumber;
96
+ count: Type.TNumber;
97
+ ids: Type.TArray<Type.TUnsafe<import("./ids.ts").Id<"commit">>>;
98
+ }>;
99
+ status: Type.TUnion<[Type.TObject<{
100
+ kind: Type.TLiteral<"unsent">;
101
+ attempts: Type.TNumber;
102
+ retrying: Type.TUnion<[Type.TObject<{
103
+ at: Type.TNumber;
104
+ reason: Type.TString;
105
+ }>, Type.TNull]>;
106
+ }>, Type.TObject<{
107
+ kind: Type.TLiteral<"pending">;
108
+ covered: Type.TBoolean;
109
+ schedule: Type.TUnion<[Type.TObject<{
110
+ kind: Type.TLiteral<"next-turn">;
111
+ reason: Type.TEnum<["requested", "idle", "run-ended", "configuration"]>;
112
+ }>, Type.TObject<{
113
+ kind: Type.TLiteral<"attached">;
114
+ }>, Type.TObject<{
115
+ kind: Type.TLiteral<"deciding">;
116
+ }>]>;
117
+ }>]>;
118
+ }>;
119
+ export type QueuedMessage = Decoded<typeof QueuedMessageType>;
38
120
  export declare const MessageType: Type.TUnion<[Type.TObject<{
121
+ id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
122
+ turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
123
+ at: Type.TNumber;
39
124
  kind: Type.TLiteral<"user">;
40
125
  content: Type.TUnion<[Type.TString, Type.TArray<Type.TUnion<[Type.TObject<{
41
126
  kind: Type.TLiteral<"text">;
@@ -123,10 +208,10 @@ export declare const MessageType: Type.TUnion<[Type.TObject<{
123
208
  count: Type.TNumber;
124
209
  ids: Type.TArray<Type.TUnsafe<import("./ids.ts").Id<"commit">>>;
125
210
  }>;
211
+ }>, Type.TObject<{
126
212
  id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
127
213
  turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
128
214
  at: Type.TNumber;
129
- }>, Type.TObject<{
130
215
  kind: Type.TLiteral<"part">;
131
216
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
132
217
  partKind: Type.TString;
@@ -145,22 +230,22 @@ export declare const MessageType: Type.TUnion<[Type.TObject<{
145
230
  kind: Type.TLiteral<"waiting">;
146
231
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
147
232
  on: Type.TUnion<[Type.TObject<{
233
+ deadline: Type.TOptional<Type.TNumber>;
148
234
  kind: Type.TLiteral<"run">;
149
235
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
150
236
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
151
- deadline: Type.TOptional<Type.TNumber>;
152
237
  }>, Type.TObject<{
238
+ deadline: Type.TOptional<Type.TNumber>;
153
239
  kind: Type.TLiteral<"job">;
154
240
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
155
- deadline: Type.TOptional<Type.TNumber>;
156
241
  }>, Type.TObject<{
242
+ deadline: Type.TOptional<Type.TNumber>;
157
243
  kind: Type.TLiteral<"part">;
158
244
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
159
- deadline: Type.TOptional<Type.TNumber>;
160
245
  }>, Type.TObject<{
246
+ deadline: Type.TOptional<Type.TNumber>;
161
247
  kind: Type.TLiteral<"timer">;
162
248
  until: Type.TNumber;
163
- deadline: Type.TOptional<Type.TNumber>;
164
249
  }>]>;
165
250
  }>, Type.TObject<{
166
251
  kind: Type.TLiteral<"settled">;
@@ -175,9 +260,6 @@ export declare const MessageType: Type.TUnion<[Type.TObject<{
175
260
  retryAfterMs: Type.TOptional<Type.TNumber>;
176
261
  }>;
177
262
  }>]>;
178
- id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
179
- turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
180
- at: Type.TNumber;
181
263
  }>]>;
182
264
  export type Message = Decoded<typeof MessageType>;
183
265
  export declare const TurnInfoType: Type.TObject<{
@@ -190,22 +272,22 @@ export declare const TurnInfoType: Type.TObject<{
190
272
  }>, Type.TObject<{
191
273
  kind: Type.TLiteral<"waiting">;
192
274
  on: Type.TUnion<[Type.TObject<{
275
+ deadline: Type.TOptional<Type.TNumber>;
193
276
  kind: Type.TLiteral<"run">;
194
277
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
195
278
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
196
- deadline: Type.TOptional<Type.TNumber>;
197
279
  }>, Type.TObject<{
280
+ deadline: Type.TOptional<Type.TNumber>;
198
281
  kind: Type.TLiteral<"job">;
199
282
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
200
- deadline: Type.TOptional<Type.TNumber>;
201
283
  }>, Type.TObject<{
284
+ deadline: Type.TOptional<Type.TNumber>;
202
285
  kind: Type.TLiteral<"part">;
203
286
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
204
- deadline: Type.TOptional<Type.TNumber>;
205
287
  }>, Type.TObject<{
288
+ deadline: Type.TOptional<Type.TNumber>;
206
289
  kind: Type.TLiteral<"timer">;
207
290
  until: Type.TNumber;
208
- deadline: Type.TOptional<Type.TNumber>;
209
291
  }>]>;
210
292
  }>, Type.TObject<{
211
293
  kind: Type.TLiteral<"ended">;
@@ -291,6 +373,9 @@ export declare const SessionViewType: Type.TObject<{
291
373
  message: Type.TString;
292
374
  }>]>;
293
375
  messages: Type.TArray<Type.TUnion<[Type.TObject<{
376
+ id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
377
+ turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
378
+ at: Type.TNumber;
294
379
  kind: Type.TLiteral<"user">;
295
380
  content: Type.TUnion<[Type.TString, Type.TArray<Type.TUnion<[Type.TObject<{
296
381
  kind: Type.TLiteral<"text">;
@@ -378,10 +463,10 @@ export declare const SessionViewType: Type.TObject<{
378
463
  count: Type.TNumber;
379
464
  ids: Type.TArray<Type.TUnsafe<import("./ids.ts").Id<"commit">>>;
380
465
  }>;
466
+ }>, Type.TObject<{
381
467
  id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
382
468
  turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
383
469
  at: Type.TNumber;
384
- }>, Type.TObject<{
385
470
  kind: Type.TLiteral<"part">;
386
471
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
387
472
  partKind: Type.TString;
@@ -400,22 +485,22 @@ export declare const SessionViewType: Type.TObject<{
400
485
  kind: Type.TLiteral<"waiting">;
401
486
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
402
487
  on: Type.TUnion<[Type.TObject<{
488
+ deadline: Type.TOptional<Type.TNumber>;
403
489
  kind: Type.TLiteral<"run">;
404
490
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
405
491
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
406
- deadline: Type.TOptional<Type.TNumber>;
407
492
  }>, Type.TObject<{
493
+ deadline: Type.TOptional<Type.TNumber>;
408
494
  kind: Type.TLiteral<"job">;
409
495
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
410
- deadline: Type.TOptional<Type.TNumber>;
411
496
  }>, Type.TObject<{
497
+ deadline: Type.TOptional<Type.TNumber>;
412
498
  kind: Type.TLiteral<"part">;
413
499
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
414
- deadline: Type.TOptional<Type.TNumber>;
415
500
  }>, Type.TObject<{
501
+ deadline: Type.TOptional<Type.TNumber>;
416
502
  kind: Type.TLiteral<"timer">;
417
503
  until: Type.TNumber;
418
- deadline: Type.TOptional<Type.TNumber>;
419
504
  }>]>;
420
505
  }>, Type.TObject<{
421
506
  kind: Type.TLiteral<"settled">;
@@ -430,11 +515,92 @@ export declare const SessionViewType: Type.TObject<{
430
515
  retryAfterMs: Type.TOptional<Type.TNumber>;
431
516
  }>;
432
517
  }>]>;
518
+ }>]>>;
519
+ queue: Type.TArray<Type.TObject<{
433
520
  id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
434
521
  turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
435
522
  at: Type.TNumber;
436
- }>]>>;
523
+ kind: Type.TLiteral<"user">;
524
+ content: Type.TUnion<[Type.TString, Type.TArray<Type.TUnion<[Type.TObject<{
525
+ kind: Type.TLiteral<"text">;
526
+ text: Type.TString;
527
+ }>, Type.TObject<{
528
+ kind: Type.TLiteral<"file">;
529
+ blob: Type.TUnsafe<import("./ids.ts").Id<"blob">>;
530
+ mime: Type.TString;
531
+ name: Type.TString;
532
+ }>, Type.TObject<{
533
+ kind: Type.TLiteral<"reference">;
534
+ path: Type.TString;
535
+ blob: Type.TOptional<Type.TUnsafe<import("./ids.ts").Id<"blob">>>;
536
+ }>, Type.TObject<{
537
+ kind: Type.TLiteral<"skill">;
538
+ name: Type.TString;
539
+ location: Type.TString;
540
+ }>, Type.TObject<{
541
+ kind: Type.TLiteral<"excerpt">;
542
+ source: Type.TUnion<[Type.TObject<{
543
+ kind: Type.TLiteral<"diff">;
544
+ path: Type.TString;
545
+ side: Type.TEnum<["old", "new"]>;
546
+ start: Type.TNumber;
547
+ end: Type.TNumber;
548
+ }>, Type.TObject<{
549
+ kind: Type.TLiteral<"terminal">;
550
+ command: Type.TOptional<Type.TString>;
551
+ }>, Type.TObject<{
552
+ kind: Type.TLiteral<"browser">;
553
+ url: Type.TString;
554
+ selector: Type.TString;
555
+ }>]>;
556
+ text: Type.TString;
557
+ }>]>>]>;
558
+ source: Type.TUnion<[Type.TObject<{
559
+ kind: Type.TLiteral<"user">;
560
+ }>, Type.TObject<{
561
+ kind: Type.TLiteral<"child">;
562
+ session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
563
+ end: Type.TEnum<["completed", "stopped", "failed"]>;
564
+ }>, Type.TObject<{
565
+ kind: Type.TLiteral<"job">;
566
+ job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
567
+ }>, Type.TObject<{
568
+ kind: Type.TLiteral<"shell">;
569
+ }>, Type.TObject<{
570
+ kind: Type.TLiteral<"action">;
571
+ label: Type.TString;
572
+ command: Type.TOptional<Type.TString>;
573
+ }>]>;
574
+ delivery: Type.TEnum<["steer", "queue", "attach"]>;
575
+ siblings: Type.TObject<{
576
+ index: Type.TNumber;
577
+ count: Type.TNumber;
578
+ ids: Type.TArray<Type.TUnsafe<import("./ids.ts").Id<"commit">>>;
579
+ }>;
580
+ status: Type.TUnion<[Type.TObject<{
581
+ kind: Type.TLiteral<"unsent">;
582
+ attempts: Type.TNumber;
583
+ retrying: Type.TUnion<[Type.TObject<{
584
+ at: Type.TNumber;
585
+ reason: Type.TString;
586
+ }>, Type.TNull]>;
587
+ }>, Type.TObject<{
588
+ kind: Type.TLiteral<"pending">;
589
+ covered: Type.TBoolean;
590
+ schedule: Type.TUnion<[Type.TObject<{
591
+ kind: Type.TLiteral<"next-turn">;
592
+ reason: Type.TEnum<["requested", "idle", "run-ended", "configuration"]>;
593
+ }>, Type.TObject<{
594
+ kind: Type.TLiteral<"attached">;
595
+ }>, Type.TObject<{
596
+ kind: Type.TLiteral<"deciding">;
597
+ }>]>;
598
+ }>]>;
599
+ }>>;
437
600
  leadingPrompt: Type.TUnion<[Type.TObject<{
601
+ id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
602
+ turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
603
+ at: Type.TNumber;
438
604
  kind: Type.TLiteral<"user">;
439
605
  content: Type.TUnion<[Type.TString, Type.TArray<Type.TUnion<[Type.TObject<{
440
606
  kind: Type.TLiteral<"text">;
@@ -522,9 +688,6 @@ export declare const SessionViewType: Type.TObject<{
522
688
  count: Type.TNumber;
523
689
  ids: Type.TArray<Type.TUnsafe<import("./ids.ts").Id<"commit">>>;
524
690
  }>;
525
- id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
526
- turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
527
- at: Type.TNumber;
528
691
  }>, Type.TNull]>;
529
692
  parts: Type.TArray<Type.TObject<{
530
693
  id: Type.TUnsafe<import("./ids.ts").Id<"part">>;
@@ -551,22 +714,22 @@ export declare const SessionViewType: Type.TObject<{
551
714
  kind: Type.TLiteral<"waiting">;
552
715
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
553
716
  on: Type.TUnion<[Type.TObject<{
717
+ deadline: Type.TOptional<Type.TNumber>;
554
718
  kind: Type.TLiteral<"run">;
555
719
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
556
720
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
557
- deadline: Type.TOptional<Type.TNumber>;
558
721
  }>, Type.TObject<{
722
+ deadline: Type.TOptional<Type.TNumber>;
559
723
  kind: Type.TLiteral<"job">;
560
724
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
561
- deadline: Type.TOptional<Type.TNumber>;
562
725
  }>, Type.TObject<{
726
+ deadline: Type.TOptional<Type.TNumber>;
563
727
  kind: Type.TLiteral<"part">;
564
728
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
565
- deadline: Type.TOptional<Type.TNumber>;
566
729
  }>, Type.TObject<{
730
+ deadline: Type.TOptional<Type.TNumber>;
567
731
  kind: Type.TLiteral<"timer">;
568
732
  until: Type.TNumber;
569
- deadline: Type.TOptional<Type.TNumber>;
570
733
  }>]>;
571
734
  }>, Type.TObject<{
572
735
  kind: Type.TLiteral<"settled">;
@@ -593,22 +756,22 @@ export declare const SessionViewType: Type.TObject<{
593
756
  }>, Type.TObject<{
594
757
  kind: Type.TLiteral<"waiting">;
595
758
  on: Type.TUnion<[Type.TObject<{
759
+ deadline: Type.TOptional<Type.TNumber>;
596
760
  kind: Type.TLiteral<"run">;
597
761
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
598
762
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
599
- deadline: Type.TOptional<Type.TNumber>;
600
763
  }>, Type.TObject<{
764
+ deadline: Type.TOptional<Type.TNumber>;
601
765
  kind: Type.TLiteral<"job">;
602
766
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
603
- deadline: Type.TOptional<Type.TNumber>;
604
767
  }>, Type.TObject<{
768
+ deadline: Type.TOptional<Type.TNumber>;
605
769
  kind: Type.TLiteral<"part">;
606
770
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
607
- deadline: Type.TOptional<Type.TNumber>;
608
771
  }>, Type.TObject<{
772
+ deadline: Type.TOptional<Type.TNumber>;
609
773
  kind: Type.TLiteral<"timer">;
610
774
  until: Type.TNumber;
611
- deadline: Type.TOptional<Type.TNumber>;
612
775
  }>]>;
613
776
  }>, Type.TObject<{
614
777
  kind: Type.TLiteral<"ended">;
@@ -780,22 +943,22 @@ export declare const SessionViewType: Type.TObject<{
780
943
  }>]>;
781
944
  }>;
782
945
  on: Type.TUnion<[Type.TObject<{
946
+ deadline: Type.TOptional<Type.TNumber>;
783
947
  kind: Type.TLiteral<"run">;
784
948
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
785
949
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
786
- deadline: Type.TOptional<Type.TNumber>;
787
950
  }>, Type.TObject<{
951
+ deadline: Type.TOptional<Type.TNumber>;
788
952
  kind: Type.TLiteral<"job">;
789
953
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
790
- deadline: Type.TOptional<Type.TNumber>;
791
954
  }>, Type.TObject<{
955
+ deadline: Type.TOptional<Type.TNumber>;
792
956
  kind: Type.TLiteral<"part">;
793
957
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
794
- deadline: Type.TOptional<Type.TNumber>;
795
958
  }>, Type.TObject<{
959
+ deadline: Type.TOptional<Type.TNumber>;
796
960
  kind: Type.TLiteral<"timer">;
797
961
  until: Type.TNumber;
798
- deadline: Type.TOptional<Type.TNumber>;
799
962
  }>]>;
800
963
  }>, Type.TObject<{
801
964
  kind: Type.TLiteral<"retrying">;
@@ -826,6 +989,7 @@ export declare const SessionViewType: Type.TObject<{
826
989
  until: Type.TNumber;
827
990
  reason: Type.TString;
828
991
  }>]>;
992
+ reportsHeld: Type.TBoolean;
829
993
  background: Type.TArray<Type.TObject<{
830
994
  kind: Type.TEnum<["child", "job", "page"]>;
831
995
  id: Type.TString;
@@ -982,22 +1146,22 @@ export declare const SessionViewType: Type.TObject<{
982
1146
  }>]>;
983
1147
  }>;
984
1148
  on: Type.TUnion<[Type.TObject<{
1149
+ deadline: Type.TOptional<Type.TNumber>;
985
1150
  kind: Type.TLiteral<"run">;
986
1151
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
987
1152
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
988
- deadline: Type.TOptional<Type.TNumber>;
989
1153
  }>, Type.TObject<{
1154
+ deadline: Type.TOptional<Type.TNumber>;
990
1155
  kind: Type.TLiteral<"job">;
991
1156
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
992
- deadline: Type.TOptional<Type.TNumber>;
993
1157
  }>, Type.TObject<{
1158
+ deadline: Type.TOptional<Type.TNumber>;
994
1159
  kind: Type.TLiteral<"part">;
995
1160
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
996
- deadline: Type.TOptional<Type.TNumber>;
997
1161
  }>, Type.TObject<{
1162
+ deadline: Type.TOptional<Type.TNumber>;
998
1163
  kind: Type.TLiteral<"timer">;
999
1164
  until: Type.TNumber;
1000
- deadline: Type.TOptional<Type.TNumber>;
1001
1165
  }>]>;
1002
1166
  }>, Type.TObject<{
1003
1167
  kind: Type.TLiteral<"retrying">;
@@ -1094,6 +1258,9 @@ export declare const SessionViewType: Type.TObject<{
1094
1258
  export type SessionView = Decoded<typeof SessionViewType>;
1095
1259
  export declare const HistoryPageType: Type.TObject<{
1096
1260
  messages: Type.TArray<Type.TUnion<[Type.TObject<{
1261
+ id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
1262
+ turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
1263
+ at: Type.TNumber;
1097
1264
  kind: Type.TLiteral<"user">;
1098
1265
  content: Type.TUnion<[Type.TString, Type.TArray<Type.TUnion<[Type.TObject<{
1099
1266
  kind: Type.TLiteral<"text">;
@@ -1181,10 +1348,10 @@ export declare const HistoryPageType: Type.TObject<{
1181
1348
  count: Type.TNumber;
1182
1349
  ids: Type.TArray<Type.TUnsafe<import("./ids.ts").Id<"commit">>>;
1183
1350
  }>;
1351
+ }>, Type.TObject<{
1184
1352
  id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
1185
1353
  turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
1186
1354
  at: Type.TNumber;
1187
- }>, Type.TObject<{
1188
1355
  kind: Type.TLiteral<"part">;
1189
1356
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
1190
1357
  partKind: Type.TString;
@@ -1203,22 +1370,22 @@ export declare const HistoryPageType: Type.TObject<{
1203
1370
  kind: Type.TLiteral<"waiting">;
1204
1371
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
1205
1372
  on: Type.TUnion<[Type.TObject<{
1373
+ deadline: Type.TOptional<Type.TNumber>;
1206
1374
  kind: Type.TLiteral<"run">;
1207
1375
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
1208
1376
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
1209
- deadline: Type.TOptional<Type.TNumber>;
1210
1377
  }>, Type.TObject<{
1378
+ deadline: Type.TOptional<Type.TNumber>;
1211
1379
  kind: Type.TLiteral<"job">;
1212
1380
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
1213
- deadline: Type.TOptional<Type.TNumber>;
1214
1381
  }>, Type.TObject<{
1382
+ deadline: Type.TOptional<Type.TNumber>;
1215
1383
  kind: Type.TLiteral<"part">;
1216
1384
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
1217
- deadline: Type.TOptional<Type.TNumber>;
1218
1385
  }>, Type.TObject<{
1386
+ deadline: Type.TOptional<Type.TNumber>;
1219
1387
  kind: Type.TLiteral<"timer">;
1220
1388
  until: Type.TNumber;
1221
- deadline: Type.TOptional<Type.TNumber>;
1222
1389
  }>]>;
1223
1390
  }>, Type.TObject<{
1224
1391
  kind: Type.TLiteral<"settled">;
@@ -1233,11 +1400,11 @@ export declare const HistoryPageType: Type.TObject<{
1233
1400
  retryAfterMs: Type.TOptional<Type.TNumber>;
1234
1401
  }>;
1235
1402
  }>]>;
1403
+ }>]>>;
1404
+ leadingPrompt: Type.TUnion<[Type.TObject<{
1236
1405
  id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
1237
1406
  turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
1238
1407
  at: Type.TNumber;
1239
- }>]>>;
1240
- leadingPrompt: Type.TUnion<[Type.TObject<{
1241
1408
  kind: Type.TLiteral<"user">;
1242
1409
  content: Type.TUnion<[Type.TString, Type.TArray<Type.TUnion<[Type.TObject<{
1243
1410
  kind: Type.TLiteral<"text">;
@@ -1325,9 +1492,6 @@ export declare const HistoryPageType: Type.TObject<{
1325
1492
  count: Type.TNumber;
1326
1493
  ids: Type.TArray<Type.TUnsafe<import("./ids.ts").Id<"commit">>>;
1327
1494
  }>;
1328
- id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
1329
- turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
1330
- at: Type.TNumber;
1331
1495
  }>, Type.TNull]>;
1332
1496
  turns: Type.TArray<Type.TObject<{
1333
1497
  id: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
@@ -1339,22 +1503,22 @@ export declare const HistoryPageType: Type.TObject<{
1339
1503
  }>, Type.TObject<{
1340
1504
  kind: Type.TLiteral<"waiting">;
1341
1505
  on: Type.TUnion<[Type.TObject<{
1506
+ deadline: Type.TOptional<Type.TNumber>;
1342
1507
  kind: Type.TLiteral<"run">;
1343
1508
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
1344
1509
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
1345
- deadline: Type.TOptional<Type.TNumber>;
1346
1510
  }>, Type.TObject<{
1511
+ deadline: Type.TOptional<Type.TNumber>;
1347
1512
  kind: Type.TLiteral<"job">;
1348
1513
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
1349
- deadline: Type.TOptional<Type.TNumber>;
1350
1514
  }>, Type.TObject<{
1515
+ deadline: Type.TOptional<Type.TNumber>;
1351
1516
  kind: Type.TLiteral<"part">;
1352
1517
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
1353
- deadline: Type.TOptional<Type.TNumber>;
1354
1518
  }>, Type.TObject<{
1519
+ deadline: Type.TOptional<Type.TNumber>;
1355
1520
  kind: Type.TLiteral<"timer">;
1356
1521
  until: Type.TNumber;
1357
- deadline: Type.TOptional<Type.TNumber>;
1358
1522
  }>]>;
1359
1523
  }>, Type.TObject<{
1360
1524
  kind: Type.TLiteral<"ended">;
@@ -1451,6 +1615,153 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
1451
1615
  message: Type.TString;
1452
1616
  }>]>;
1453
1617
  messages: Type.TArray<Type.TUnion<[Type.TObject<{
1618
+ id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
1619
+ turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
1620
+ at: Type.TNumber;
1621
+ kind: Type.TLiteral<"user">;
1622
+ content: Type.TUnion<[Type.TString, Type.TArray<Type.TUnion<[Type.TObject<{
1623
+ kind: Type.TLiteral<"text">;
1624
+ text: Type.TString;
1625
+ }>, Type.TObject<{
1626
+ kind: Type.TLiteral<"file">;
1627
+ blob: Type.TUnsafe<import("./ids.ts").Id<"blob">>;
1628
+ mime: Type.TString;
1629
+ name: Type.TString;
1630
+ }>, Type.TObject<{
1631
+ kind: Type.TLiteral<"reference">;
1632
+ path: Type.TString;
1633
+ blob: Type.TOptional<Type.TUnsafe<import("./ids.ts").Id<"blob">>>;
1634
+ }>, Type.TObject<{
1635
+ kind: Type.TLiteral<"skill">;
1636
+ name: Type.TString;
1637
+ location: Type.TString;
1638
+ }>, Type.TObject<{
1639
+ kind: Type.TLiteral<"excerpt">;
1640
+ source: Type.TUnion<[Type.TObject<{
1641
+ kind: Type.TLiteral<"diff">;
1642
+ path: Type.TString;
1643
+ side: Type.TEnum<["old", "new"]>;
1644
+ start: Type.TNumber;
1645
+ end: Type.TNumber;
1646
+ }>, Type.TObject<{
1647
+ kind: Type.TLiteral<"terminal">;
1648
+ command: Type.TOptional<Type.TString>;
1649
+ }>, Type.TObject<{
1650
+ kind: Type.TLiteral<"browser">;
1651
+ url: Type.TString;
1652
+ selector: Type.TString;
1653
+ }>]>;
1654
+ text: Type.TString;
1655
+ }>]>>]>;
1656
+ source: Type.TUnion<[Type.TObject<{
1657
+ kind: Type.TLiteral<"user">;
1658
+ }>, Type.TObject<{
1659
+ kind: Type.TLiteral<"child">;
1660
+ session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
1661
+ end: Type.TEnum<["completed", "stopped", "failed"]>;
1662
+ }>, Type.TObject<{
1663
+ kind: Type.TLiteral<"job">;
1664
+ job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
1665
+ }>, Type.TObject<{
1666
+ kind: Type.TLiteral<"shell">;
1667
+ }>, Type.TObject<{
1668
+ kind: Type.TLiteral<"action">;
1669
+ label: Type.TString;
1670
+ command: Type.TOptional<Type.TString>;
1671
+ }>]>;
1672
+ delivery: Type.TEnum<["steer", "queue", "attach"]>;
1673
+ status: Type.TUnion<[Type.TObject<{
1674
+ kind: Type.TLiteral<"unsent">;
1675
+ attempts: Type.TNumber;
1676
+ retrying: Type.TUnion<[Type.TObject<{
1677
+ at: Type.TNumber;
1678
+ reason: Type.TString;
1679
+ }>, Type.TNull]>;
1680
+ }>, Type.TObject<{
1681
+ kind: Type.TLiteral<"pending">;
1682
+ schedule: Type.TUnion<[Type.TObject<{
1683
+ kind: Type.TLiteral<"joined">;
1684
+ run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
1685
+ }>, Type.TObject<{
1686
+ kind: Type.TLiteral<"next-turn">;
1687
+ reason: Type.TEnum<["requested", "idle", "run-ended", "configuration"]>;
1688
+ }>, Type.TObject<{
1689
+ kind: Type.TLiteral<"attached">;
1690
+ }>, Type.TObject<{
1691
+ kind: Type.TLiteral<"deciding">;
1692
+ }>]>;
1693
+ covered: Type.TBoolean;
1694
+ }>, Type.TObject<{
1695
+ kind: Type.TLiteral<"landed">;
1696
+ commit: Type.TUnsafe<import("./ids.ts").Id<"commit">>;
1697
+ run: Type.TUnion<[Type.TUnsafe<import("./ids.ts").Id<"run">>, Type.TNull]>;
1698
+ replaced: Type.TUnion<[Type.TObject<{
1699
+ previous: Type.TUnsafe<import("./ids.ts").Id<"message">>;
1700
+ stopped: Type.TUnion<[Type.TUnsafe<import("./ids.ts").Id<"run">>, Type.TNull]>;
1701
+ }>, Type.TNull]>;
1702
+ }>]>;
1703
+ siblings: Type.TObject<{
1704
+ index: Type.TNumber;
1705
+ count: Type.TNumber;
1706
+ ids: Type.TArray<Type.TUnsafe<import("./ids.ts").Id<"commit">>>;
1707
+ }>;
1708
+ }>, Type.TObject<{
1709
+ id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
1710
+ turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
1711
+ at: Type.TNumber;
1712
+ kind: Type.TLiteral<"part">;
1713
+ part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
1714
+ partKind: Type.TString;
1715
+ role: Type.TEnum<["step", "answer", "note"]>;
1716
+ state: Type.TUnknown;
1717
+ version: Type.TNumber;
1718
+ status: Type.TUnion<[Type.TObject<{
1719
+ kind: Type.TLiteral<"live">;
1720
+ run: Type.TUnion<[Type.TUnsafe<import("./ids.ts").Id<"run">>, Type.TNull]>;
1721
+ waiting: Type.TOptional<Type.TUnsafe<import("./ids.ts").Id<"call">>>;
1722
+ answer: Type.TOptional<Type.TObject<{
1723
+ action: Type.TString;
1724
+ input: Type.TUnsafe<import("./json.ts").Json>;
1725
+ }>>;
1726
+ }>, Type.TObject<{
1727
+ kind: Type.TLiteral<"waiting">;
1728
+ run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
1729
+ on: Type.TUnion<[Type.TObject<{
1730
+ deadline: Type.TOptional<Type.TNumber>;
1731
+ kind: Type.TLiteral<"run">;
1732
+ session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
1733
+ run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
1734
+ }>, Type.TObject<{
1735
+ deadline: Type.TOptional<Type.TNumber>;
1736
+ kind: Type.TLiteral<"job">;
1737
+ job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
1738
+ }>, Type.TObject<{
1739
+ deadline: Type.TOptional<Type.TNumber>;
1740
+ kind: Type.TLiteral<"part">;
1741
+ part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
1742
+ }>, Type.TObject<{
1743
+ deadline: Type.TOptional<Type.TNumber>;
1744
+ kind: Type.TLiteral<"timer">;
1745
+ until: Type.TNumber;
1746
+ }>]>;
1747
+ }>, Type.TObject<{
1748
+ kind: Type.TLiteral<"settled">;
1749
+ commit: Type.TUnsafe<import("./ids.ts").Id<"commit">>;
1750
+ endedAt: Type.TNumber;
1751
+ }>, Type.TObject<{
1752
+ kind: Type.TLiteral<"failed">;
1753
+ run: Type.TUnion<[Type.TUnsafe<import("./ids.ts").Id<"run">>, Type.TNull]>;
1754
+ failure: Type.TObject<{
1755
+ class: Type.TEnum<["rate_limit", "auth", "quota", "context_window", "overloaded", "network", "aborted", "provider", "runner"]>;
1756
+ message: Type.TString;
1757
+ retryAfterMs: Type.TOptional<Type.TNumber>;
1758
+ }>;
1759
+ }>]>;
1760
+ }>]>>;
1761
+ queue: Type.TArray<Type.TObject<{
1762
+ id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
1763
+ turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
1764
+ at: Type.TNumber;
1454
1765
  kind: Type.TLiteral<"user">;
1455
1766
  content: Type.TUnion<[Type.TString, Type.TArray<Type.TUnion<[Type.TObject<{
1456
1767
  kind: Type.TLiteral<"text">;
@@ -1503,6 +1814,11 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
1503
1814
  command: Type.TOptional<Type.TString>;
1504
1815
  }>]>;
1505
1816
  delivery: Type.TEnum<["steer", "queue", "attach"]>;
1817
+ siblings: Type.TObject<{
1818
+ index: Type.TNumber;
1819
+ count: Type.TNumber;
1820
+ ids: Type.TArray<Type.TUnsafe<import("./ids.ts").Id<"commit">>>;
1821
+ }>;
1506
1822
  status: Type.TUnion<[Type.TObject<{
1507
1823
  kind: Type.TLiteral<"unsent">;
1508
1824
  attempts: Type.TNumber;
@@ -1512,10 +1828,8 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
1512
1828
  }>, Type.TNull]>;
1513
1829
  }>, Type.TObject<{
1514
1830
  kind: Type.TLiteral<"pending">;
1831
+ covered: Type.TBoolean;
1515
1832
  schedule: Type.TUnion<[Type.TObject<{
1516
- kind: Type.TLiteral<"joined">;
1517
- run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
1518
- }>, Type.TObject<{
1519
1833
  kind: Type.TLiteral<"next-turn">;
1520
1834
  reason: Type.TEnum<["requested", "idle", "run-ended", "configuration"]>;
1521
1835
  }>, Type.TObject<{
@@ -1523,78 +1837,12 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
1523
1837
  }>, Type.TObject<{
1524
1838
  kind: Type.TLiteral<"deciding">;
1525
1839
  }>]>;
1526
- covered: Type.TBoolean;
1527
- }>, Type.TObject<{
1528
- kind: Type.TLiteral<"landed">;
1529
- commit: Type.TUnsafe<import("./ids.ts").Id<"commit">>;
1530
- run: Type.TUnion<[Type.TUnsafe<import("./ids.ts").Id<"run">>, Type.TNull]>;
1531
- replaced: Type.TUnion<[Type.TObject<{
1532
- previous: Type.TUnsafe<import("./ids.ts").Id<"message">>;
1533
- stopped: Type.TUnion<[Type.TUnsafe<import("./ids.ts").Id<"run">>, Type.TNull]>;
1534
- }>, Type.TNull]>;
1535
- }>]>;
1536
- siblings: Type.TObject<{
1537
- index: Type.TNumber;
1538
- count: Type.TNumber;
1539
- ids: Type.TArray<Type.TUnsafe<import("./ids.ts").Id<"commit">>>;
1540
- }>;
1541
- id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
1542
- turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
1543
- at: Type.TNumber;
1544
- }>, Type.TObject<{
1545
- kind: Type.TLiteral<"part">;
1546
- part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
1547
- partKind: Type.TString;
1548
- role: Type.TEnum<["step", "answer", "note"]>;
1549
- state: Type.TUnknown;
1550
- version: Type.TNumber;
1551
- status: Type.TUnion<[Type.TObject<{
1552
- kind: Type.TLiteral<"live">;
1553
- run: Type.TUnion<[Type.TUnsafe<import("./ids.ts").Id<"run">>, Type.TNull]>;
1554
- waiting: Type.TOptional<Type.TUnsafe<import("./ids.ts").Id<"call">>>;
1555
- answer: Type.TOptional<Type.TObject<{
1556
- action: Type.TString;
1557
- input: Type.TUnsafe<import("./json.ts").Json>;
1558
- }>>;
1559
- }>, Type.TObject<{
1560
- kind: Type.TLiteral<"waiting">;
1561
- run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
1562
- on: Type.TUnion<[Type.TObject<{
1563
- kind: Type.TLiteral<"run">;
1564
- session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
1565
- run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
1566
- deadline: Type.TOptional<Type.TNumber>;
1567
- }>, Type.TObject<{
1568
- kind: Type.TLiteral<"job">;
1569
- job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
1570
- deadline: Type.TOptional<Type.TNumber>;
1571
- }>, Type.TObject<{
1572
- kind: Type.TLiteral<"part">;
1573
- part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
1574
- deadline: Type.TOptional<Type.TNumber>;
1575
- }>, Type.TObject<{
1576
- kind: Type.TLiteral<"timer">;
1577
- until: Type.TNumber;
1578
- deadline: Type.TOptional<Type.TNumber>;
1579
- }>]>;
1580
- }>, Type.TObject<{
1581
- kind: Type.TLiteral<"settled">;
1582
- commit: Type.TUnsafe<import("./ids.ts").Id<"commit">>;
1583
- endedAt: Type.TNumber;
1584
- }>, Type.TObject<{
1585
- kind: Type.TLiteral<"failed">;
1586
- run: Type.TUnion<[Type.TUnsafe<import("./ids.ts").Id<"run">>, Type.TNull]>;
1587
- failure: Type.TObject<{
1588
- class: Type.TEnum<["rate_limit", "auth", "quota", "context_window", "overloaded", "network", "aborted", "provider", "runner"]>;
1589
- message: Type.TString;
1590
- retryAfterMs: Type.TOptional<Type.TNumber>;
1591
- }>;
1592
1840
  }>]>;
1841
+ }>>;
1842
+ leadingPrompt: Type.TUnion<[Type.TObject<{
1593
1843
  id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
1594
1844
  turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
1595
1845
  at: Type.TNumber;
1596
- }>]>>;
1597
- leadingPrompt: Type.TUnion<[Type.TObject<{
1598
1846
  kind: Type.TLiteral<"user">;
1599
1847
  content: Type.TUnion<[Type.TString, Type.TArray<Type.TUnion<[Type.TObject<{
1600
1848
  kind: Type.TLiteral<"text">;
@@ -1682,9 +1930,6 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
1682
1930
  count: Type.TNumber;
1683
1931
  ids: Type.TArray<Type.TUnsafe<import("./ids.ts").Id<"commit">>>;
1684
1932
  }>;
1685
- id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
1686
- turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
1687
- at: Type.TNumber;
1688
1933
  }>, Type.TNull]>;
1689
1934
  parts: Type.TArray<Type.TObject<{
1690
1935
  id: Type.TUnsafe<import("./ids.ts").Id<"part">>;
@@ -1711,22 +1956,22 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
1711
1956
  kind: Type.TLiteral<"waiting">;
1712
1957
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
1713
1958
  on: Type.TUnion<[Type.TObject<{
1959
+ deadline: Type.TOptional<Type.TNumber>;
1714
1960
  kind: Type.TLiteral<"run">;
1715
1961
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
1716
1962
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
1717
- deadline: Type.TOptional<Type.TNumber>;
1718
1963
  }>, Type.TObject<{
1964
+ deadline: Type.TOptional<Type.TNumber>;
1719
1965
  kind: Type.TLiteral<"job">;
1720
1966
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
1721
- deadline: Type.TOptional<Type.TNumber>;
1722
1967
  }>, Type.TObject<{
1968
+ deadline: Type.TOptional<Type.TNumber>;
1723
1969
  kind: Type.TLiteral<"part">;
1724
1970
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
1725
- deadline: Type.TOptional<Type.TNumber>;
1726
1971
  }>, Type.TObject<{
1972
+ deadline: Type.TOptional<Type.TNumber>;
1727
1973
  kind: Type.TLiteral<"timer">;
1728
1974
  until: Type.TNumber;
1729
- deadline: Type.TOptional<Type.TNumber>;
1730
1975
  }>]>;
1731
1976
  }>, Type.TObject<{
1732
1977
  kind: Type.TLiteral<"settled">;
@@ -1753,22 +1998,22 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
1753
1998
  }>, Type.TObject<{
1754
1999
  kind: Type.TLiteral<"waiting">;
1755
2000
  on: Type.TUnion<[Type.TObject<{
2001
+ deadline: Type.TOptional<Type.TNumber>;
1756
2002
  kind: Type.TLiteral<"run">;
1757
2003
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
1758
2004
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
1759
- deadline: Type.TOptional<Type.TNumber>;
1760
2005
  }>, Type.TObject<{
2006
+ deadline: Type.TOptional<Type.TNumber>;
1761
2007
  kind: Type.TLiteral<"job">;
1762
2008
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
1763
- deadline: Type.TOptional<Type.TNumber>;
1764
2009
  }>, Type.TObject<{
2010
+ deadline: Type.TOptional<Type.TNumber>;
1765
2011
  kind: Type.TLiteral<"part">;
1766
2012
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
1767
- deadline: Type.TOptional<Type.TNumber>;
1768
2013
  }>, Type.TObject<{
2014
+ deadline: Type.TOptional<Type.TNumber>;
1769
2015
  kind: Type.TLiteral<"timer">;
1770
2016
  until: Type.TNumber;
1771
- deadline: Type.TOptional<Type.TNumber>;
1772
2017
  }>]>;
1773
2018
  }>, Type.TObject<{
1774
2019
  kind: Type.TLiteral<"ended">;
@@ -1940,22 +2185,22 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
1940
2185
  }>]>;
1941
2186
  }>;
1942
2187
  on: Type.TUnion<[Type.TObject<{
2188
+ deadline: Type.TOptional<Type.TNumber>;
1943
2189
  kind: Type.TLiteral<"run">;
1944
2190
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
1945
2191
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
1946
- deadline: Type.TOptional<Type.TNumber>;
1947
2192
  }>, Type.TObject<{
2193
+ deadline: Type.TOptional<Type.TNumber>;
1948
2194
  kind: Type.TLiteral<"job">;
1949
2195
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
1950
- deadline: Type.TOptional<Type.TNumber>;
1951
2196
  }>, Type.TObject<{
2197
+ deadline: Type.TOptional<Type.TNumber>;
1952
2198
  kind: Type.TLiteral<"part">;
1953
2199
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
1954
- deadline: Type.TOptional<Type.TNumber>;
1955
2200
  }>, Type.TObject<{
2201
+ deadline: Type.TOptional<Type.TNumber>;
1956
2202
  kind: Type.TLiteral<"timer">;
1957
2203
  until: Type.TNumber;
1958
- deadline: Type.TOptional<Type.TNumber>;
1959
2204
  }>]>;
1960
2205
  }>, Type.TObject<{
1961
2206
  kind: Type.TLiteral<"retrying">;
@@ -1986,6 +2231,7 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
1986
2231
  until: Type.TNumber;
1987
2232
  reason: Type.TString;
1988
2233
  }>]>;
2234
+ reportsHeld: Type.TBoolean;
1989
2235
  background: Type.TArray<Type.TObject<{
1990
2236
  kind: Type.TEnum<["child", "job", "page"]>;
1991
2237
  id: Type.TString;
@@ -2142,22 +2388,22 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
2142
2388
  }>]>;
2143
2389
  }>;
2144
2390
  on: Type.TUnion<[Type.TObject<{
2391
+ deadline: Type.TOptional<Type.TNumber>;
2145
2392
  kind: Type.TLiteral<"run">;
2146
2393
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
2147
2394
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
2148
- deadline: Type.TOptional<Type.TNumber>;
2149
2395
  }>, Type.TObject<{
2396
+ deadline: Type.TOptional<Type.TNumber>;
2150
2397
  kind: Type.TLiteral<"job">;
2151
2398
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
2152
- deadline: Type.TOptional<Type.TNumber>;
2153
2399
  }>, Type.TObject<{
2400
+ deadline: Type.TOptional<Type.TNumber>;
2154
2401
  kind: Type.TLiteral<"part">;
2155
2402
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
2156
- deadline: Type.TOptional<Type.TNumber>;
2157
2403
  }>, Type.TObject<{
2404
+ deadline: Type.TOptional<Type.TNumber>;
2158
2405
  kind: Type.TLiteral<"timer">;
2159
2406
  until: Type.TNumber;
2160
- deadline: Type.TOptional<Type.TNumber>;
2161
2407
  }>]>;
2162
2408
  }>, Type.TObject<{
2163
2409
  kind: Type.TLiteral<"retrying">;
@@ -2269,6 +2515,9 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
2269
2515
  messages: Type.TOptional<Type.TObject<{
2270
2516
  runs: Type.TArray<Type.TNumber>;
2271
2517
  items: Type.TArray<Type.TUnion<[Type.TObject<{
2518
+ id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
2519
+ turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
2520
+ at: Type.TNumber;
2272
2521
  kind: Type.TLiteral<"user">;
2273
2522
  content: Type.TUnion<[Type.TString, Type.TArray<Type.TUnion<[Type.TObject<{
2274
2523
  kind: Type.TLiteral<"text">;
@@ -2356,10 +2605,10 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
2356
2605
  count: Type.TNumber;
2357
2606
  ids: Type.TArray<Type.TUnsafe<import("./ids.ts").Id<"commit">>>;
2358
2607
  }>;
2608
+ }>, Type.TObject<{
2359
2609
  id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
2360
2610
  turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
2361
2611
  at: Type.TNumber;
2362
- }>, Type.TObject<{
2363
2612
  kind: Type.TLiteral<"part">;
2364
2613
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
2365
2614
  partKind: Type.TString;
@@ -2378,22 +2627,22 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
2378
2627
  kind: Type.TLiteral<"waiting">;
2379
2628
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
2380
2629
  on: Type.TUnion<[Type.TObject<{
2630
+ deadline: Type.TOptional<Type.TNumber>;
2381
2631
  kind: Type.TLiteral<"run">;
2382
2632
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
2383
2633
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
2384
- deadline: Type.TOptional<Type.TNumber>;
2385
2634
  }>, Type.TObject<{
2635
+ deadline: Type.TOptional<Type.TNumber>;
2386
2636
  kind: Type.TLiteral<"job">;
2387
2637
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
2388
- deadline: Type.TOptional<Type.TNumber>;
2389
2638
  }>, Type.TObject<{
2639
+ deadline: Type.TOptional<Type.TNumber>;
2390
2640
  kind: Type.TLiteral<"part">;
2391
2641
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
2392
- deadline: Type.TOptional<Type.TNumber>;
2393
2642
  }>, Type.TObject<{
2643
+ deadline: Type.TOptional<Type.TNumber>;
2394
2644
  kind: Type.TLiteral<"timer">;
2395
2645
  until: Type.TNumber;
2396
- deadline: Type.TOptional<Type.TNumber>;
2397
2646
  }>]>;
2398
2647
  }>, Type.TObject<{
2399
2648
  kind: Type.TLiteral<"settled">;
@@ -2408,10 +2657,91 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
2408
2657
  retryAfterMs: Type.TOptional<Type.TNumber>;
2409
2658
  }>;
2410
2659
  }>]>;
2660
+ }>]>>;
2661
+ }>>;
2662
+ queue: Type.TOptional<Type.TObject<{
2663
+ runs: Type.TArray<Type.TNumber>;
2664
+ items: Type.TArray<Type.TObject<{
2411
2665
  id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
2412
2666
  turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
2413
2667
  at: Type.TNumber;
2414
- }>]>>;
2668
+ kind: Type.TLiteral<"user">;
2669
+ content: Type.TUnion<[Type.TString, Type.TArray<Type.TUnion<[Type.TObject<{
2670
+ kind: Type.TLiteral<"text">;
2671
+ text: Type.TString;
2672
+ }>, Type.TObject<{
2673
+ kind: Type.TLiteral<"file">;
2674
+ blob: Type.TUnsafe<import("./ids.ts").Id<"blob">>;
2675
+ mime: Type.TString;
2676
+ name: Type.TString;
2677
+ }>, Type.TObject<{
2678
+ kind: Type.TLiteral<"reference">;
2679
+ path: Type.TString;
2680
+ blob: Type.TOptional<Type.TUnsafe<import("./ids.ts").Id<"blob">>>;
2681
+ }>, Type.TObject<{
2682
+ kind: Type.TLiteral<"skill">;
2683
+ name: Type.TString;
2684
+ location: Type.TString;
2685
+ }>, Type.TObject<{
2686
+ kind: Type.TLiteral<"excerpt">;
2687
+ source: Type.TUnion<[Type.TObject<{
2688
+ kind: Type.TLiteral<"diff">;
2689
+ path: Type.TString;
2690
+ side: Type.TEnum<["old", "new"]>;
2691
+ start: Type.TNumber;
2692
+ end: Type.TNumber;
2693
+ }>, Type.TObject<{
2694
+ kind: Type.TLiteral<"terminal">;
2695
+ command: Type.TOptional<Type.TString>;
2696
+ }>, Type.TObject<{
2697
+ kind: Type.TLiteral<"browser">;
2698
+ url: Type.TString;
2699
+ selector: Type.TString;
2700
+ }>]>;
2701
+ text: Type.TString;
2702
+ }>]>>]>;
2703
+ source: Type.TUnion<[Type.TObject<{
2704
+ kind: Type.TLiteral<"user">;
2705
+ }>, Type.TObject<{
2706
+ kind: Type.TLiteral<"child">;
2707
+ session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
2708
+ end: Type.TEnum<["completed", "stopped", "failed"]>;
2709
+ }>, Type.TObject<{
2710
+ kind: Type.TLiteral<"job">;
2711
+ job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
2712
+ }>, Type.TObject<{
2713
+ kind: Type.TLiteral<"shell">;
2714
+ }>, Type.TObject<{
2715
+ kind: Type.TLiteral<"action">;
2716
+ label: Type.TString;
2717
+ command: Type.TOptional<Type.TString>;
2718
+ }>]>;
2719
+ delivery: Type.TEnum<["steer", "queue", "attach"]>;
2720
+ siblings: Type.TObject<{
2721
+ index: Type.TNumber;
2722
+ count: Type.TNumber;
2723
+ ids: Type.TArray<Type.TUnsafe<import("./ids.ts").Id<"commit">>>;
2724
+ }>;
2725
+ status: Type.TUnion<[Type.TObject<{
2726
+ kind: Type.TLiteral<"unsent">;
2727
+ attempts: Type.TNumber;
2728
+ retrying: Type.TUnion<[Type.TObject<{
2729
+ at: Type.TNumber;
2730
+ reason: Type.TString;
2731
+ }>, Type.TNull]>;
2732
+ }>, Type.TObject<{
2733
+ kind: Type.TLiteral<"pending">;
2734
+ covered: Type.TBoolean;
2735
+ schedule: Type.TUnion<[Type.TObject<{
2736
+ kind: Type.TLiteral<"next-turn">;
2737
+ reason: Type.TEnum<["requested", "idle", "run-ended", "configuration"]>;
2738
+ }>, Type.TObject<{
2739
+ kind: Type.TLiteral<"attached">;
2740
+ }>, Type.TObject<{
2741
+ kind: Type.TLiteral<"deciding">;
2742
+ }>]>;
2743
+ }>]>;
2744
+ }>>;
2415
2745
  }>>;
2416
2746
  appends: Type.TOptional<Type.TArray<Type.TObject<{
2417
2747
  at: Type.TNumber;
@@ -2419,6 +2749,9 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
2419
2749
  version: Type.TNumber;
2420
2750
  }>>>;
2421
2751
  leadingPrompt: Type.TOptional<Type.TUnion<[Type.TObject<{
2752
+ id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
2753
+ turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
2754
+ at: Type.TNumber;
2422
2755
  kind: Type.TLiteral<"user">;
2423
2756
  content: Type.TUnion<[Type.TString, Type.TArray<Type.TUnion<[Type.TObject<{
2424
2757
  kind: Type.TLiteral<"text">;
@@ -2506,9 +2839,6 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
2506
2839
  count: Type.TNumber;
2507
2840
  ids: Type.TArray<Type.TUnsafe<import("./ids.ts").Id<"commit">>>;
2508
2841
  }>;
2509
- id: Type.TUnsafe<import("./ids.ts").Id<"message">>;
2510
- turn: Type.TUnsafe<import("./ids.ts").Id<"turn">>;
2511
- at: Type.TNumber;
2512
2842
  }>, Type.TNull]>>;
2513
2843
  parts: Type.TOptional<Type.TObject<{
2514
2844
  runs: Type.TArray<Type.TNumber>;
@@ -2537,22 +2867,22 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
2537
2867
  kind: Type.TLiteral<"waiting">;
2538
2868
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
2539
2869
  on: Type.TUnion<[Type.TObject<{
2870
+ deadline: Type.TOptional<Type.TNumber>;
2540
2871
  kind: Type.TLiteral<"run">;
2541
2872
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
2542
2873
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
2543
- deadline: Type.TOptional<Type.TNumber>;
2544
2874
  }>, Type.TObject<{
2875
+ deadline: Type.TOptional<Type.TNumber>;
2545
2876
  kind: Type.TLiteral<"job">;
2546
2877
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
2547
- deadline: Type.TOptional<Type.TNumber>;
2548
2878
  }>, Type.TObject<{
2879
+ deadline: Type.TOptional<Type.TNumber>;
2549
2880
  kind: Type.TLiteral<"part">;
2550
2881
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
2551
- deadline: Type.TOptional<Type.TNumber>;
2552
2882
  }>, Type.TObject<{
2883
+ deadline: Type.TOptional<Type.TNumber>;
2553
2884
  kind: Type.TLiteral<"timer">;
2554
2885
  until: Type.TNumber;
2555
- deadline: Type.TOptional<Type.TNumber>;
2556
2886
  }>]>;
2557
2887
  }>, Type.TObject<{
2558
2888
  kind: Type.TLiteral<"settled">;
@@ -2582,22 +2912,22 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
2582
2912
  }>, Type.TObject<{
2583
2913
  kind: Type.TLiteral<"waiting">;
2584
2914
  on: Type.TUnion<[Type.TObject<{
2915
+ deadline: Type.TOptional<Type.TNumber>;
2585
2916
  kind: Type.TLiteral<"run">;
2586
2917
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
2587
2918
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
2588
- deadline: Type.TOptional<Type.TNumber>;
2589
2919
  }>, Type.TObject<{
2920
+ deadline: Type.TOptional<Type.TNumber>;
2590
2921
  kind: Type.TLiteral<"job">;
2591
2922
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
2592
- deadline: Type.TOptional<Type.TNumber>;
2593
2923
  }>, Type.TObject<{
2924
+ deadline: Type.TOptional<Type.TNumber>;
2594
2925
  kind: Type.TLiteral<"part">;
2595
2926
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
2596
- deadline: Type.TOptional<Type.TNumber>;
2597
2927
  }>, Type.TObject<{
2928
+ deadline: Type.TOptional<Type.TNumber>;
2598
2929
  kind: Type.TLiteral<"timer">;
2599
2930
  until: Type.TNumber;
2600
- deadline: Type.TOptional<Type.TNumber>;
2601
2931
  }>]>;
2602
2932
  }>, Type.TObject<{
2603
2933
  kind: Type.TLiteral<"ended">;
@@ -2770,22 +3100,22 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
2770
3100
  }>]>;
2771
3101
  }>;
2772
3102
  on: Type.TUnion<[Type.TObject<{
3103
+ deadline: Type.TOptional<Type.TNumber>;
2773
3104
  kind: Type.TLiteral<"run">;
2774
3105
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
2775
3106
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
2776
- deadline: Type.TOptional<Type.TNumber>;
2777
3107
  }>, Type.TObject<{
3108
+ deadline: Type.TOptional<Type.TNumber>;
2778
3109
  kind: Type.TLiteral<"job">;
2779
3110
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
2780
- deadline: Type.TOptional<Type.TNumber>;
2781
3111
  }>, Type.TObject<{
3112
+ deadline: Type.TOptional<Type.TNumber>;
2782
3113
  kind: Type.TLiteral<"part">;
2783
3114
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
2784
- deadline: Type.TOptional<Type.TNumber>;
2785
3115
  }>, Type.TObject<{
3116
+ deadline: Type.TOptional<Type.TNumber>;
2786
3117
  kind: Type.TLiteral<"timer">;
2787
3118
  until: Type.TNumber;
2788
- deadline: Type.TOptional<Type.TNumber>;
2789
3119
  }>]>;
2790
3120
  }>, Type.TObject<{
2791
3121
  kind: Type.TLiteral<"retrying">;
@@ -2816,6 +3146,7 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
2816
3146
  until: Type.TNumber;
2817
3147
  reason: Type.TString;
2818
3148
  }>]>>;
3149
+ reportsHeld: Type.TOptional<Type.TBoolean>;
2819
3150
  background: Type.TOptional<Type.TObject<{
2820
3151
  runs: Type.TArray<Type.TNumber>;
2821
3152
  items: Type.TArray<Type.TObject<{
@@ -2977,22 +3308,22 @@ export declare const ViewFrameType: Type.TUnion<[Type.TObject<{
2977
3308
  }>]>;
2978
3309
  }>;
2979
3310
  on: Type.TUnion<[Type.TObject<{
3311
+ deadline: Type.TOptional<Type.TNumber>;
2980
3312
  kind: Type.TLiteral<"run">;
2981
3313
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
2982
3314
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
2983
- deadline: Type.TOptional<Type.TNumber>;
2984
3315
  }>, Type.TObject<{
3316
+ deadline: Type.TOptional<Type.TNumber>;
2985
3317
  kind: Type.TLiteral<"job">;
2986
3318
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
2987
- deadline: Type.TOptional<Type.TNumber>;
2988
3319
  }>, Type.TObject<{
3320
+ deadline: Type.TOptional<Type.TNumber>;
2989
3321
  kind: Type.TLiteral<"part">;
2990
3322
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
2991
- deadline: Type.TOptional<Type.TNumber>;
2992
3323
  }>, Type.TObject<{
3324
+ deadline: Type.TOptional<Type.TNumber>;
2993
3325
  kind: Type.TLiteral<"timer">;
2994
3326
  until: Type.TNumber;
2995
- deadline: Type.TOptional<Type.TNumber>;
2996
3327
  }>]>;
2997
3328
  }>, Type.TObject<{
2998
3329
  kind: Type.TLiteral<"retrying">;
@@ -3223,22 +3554,22 @@ export declare const SessionsFrameType: Type.TObject<{
3223
3554
  }>]>;
3224
3555
  }>;
3225
3556
  on: Type.TUnion<[Type.TObject<{
3557
+ deadline: Type.TOptional<Type.TNumber>;
3226
3558
  kind: Type.TLiteral<"run">;
3227
3559
  session: Type.TUnsafe<import("./ids.ts").Id<"session">>;
3228
3560
  run: Type.TUnsafe<import("./ids.ts").Id<"run">>;
3229
- deadline: Type.TOptional<Type.TNumber>;
3230
3561
  }>, Type.TObject<{
3562
+ deadline: Type.TOptional<Type.TNumber>;
3231
3563
  kind: Type.TLiteral<"job">;
3232
3564
  job: Type.TUnsafe<import("./ids.ts").Id<"job">>;
3233
- deadline: Type.TOptional<Type.TNumber>;
3234
3565
  }>, Type.TObject<{
3566
+ deadline: Type.TOptional<Type.TNumber>;
3235
3567
  kind: Type.TLiteral<"part">;
3236
3568
  part: Type.TUnsafe<import("./ids.ts").Id<"part">>;
3237
- deadline: Type.TOptional<Type.TNumber>;
3238
3569
  }>, Type.TObject<{
3570
+ deadline: Type.TOptional<Type.TNumber>;
3239
3571
  kind: Type.TLiteral<"timer">;
3240
3572
  until: Type.TNumber;
3241
- deadline: Type.TOptional<Type.TNumber>;
3242
3573
  }>]>;
3243
3574
  }>, Type.TObject<{
3244
3575
  kind: Type.TLiteral<"retrying">;
@@ -3289,3 +3620,4 @@ export type ViewSplice<T> = {
3289
3620
  readonly runs: readonly number[];
3290
3621
  readonly items: readonly T[];
3291
3622
  };
3623
+ export {};