@roll-agent/runtime 0.24.0 → 0.25.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.
@@ -22,8 +22,8 @@ export declare const compactionProvenanceRefSchema: z.ZodReadonly<z.ZodEffects<z
22
22
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
23
23
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
24
24
  }, "strict", z.ZodTypeAny, {
25
- sessionId: number | null;
26
25
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
26
+ sessionId: number | null;
27
27
  messageSequence: number | null;
28
28
  toolExecutionId: string | null;
29
29
  resourceKey: string | null;
@@ -31,8 +31,8 @@ export declare const compactionProvenanceRefSchema: z.ZodReadonly<z.ZodEffects<z
31
31
  checkpointId: string | null;
32
32
  snapshotIndex: number | null;
33
33
  }, {
34
- sessionId: number | null;
35
34
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
35
+ sessionId: number | null;
36
36
  messageSequence: number | null;
37
37
  toolExecutionId: string | null;
38
38
  resourceKey: string | null;
@@ -40,8 +40,8 @@ export declare const compactionProvenanceRefSchema: z.ZodReadonly<z.ZodEffects<z
40
40
  checkpointId?: string | null | undefined;
41
41
  snapshotIndex?: number | null | undefined;
42
42
  }>, {
43
- sessionId: number | null;
44
43
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
44
+ sessionId: number | null;
45
45
  messageSequence: number | null;
46
46
  toolExecutionId: string | null;
47
47
  resourceKey: string | null;
@@ -49,8 +49,8 @@ export declare const compactionProvenanceRefSchema: z.ZodReadonly<z.ZodEffects<z
49
49
  checkpointId: string | null;
50
50
  snapshotIndex: number | null;
51
51
  }, {
52
- sessionId: number | null;
53
52
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
53
+ sessionId: number | null;
54
54
  messageSequence: number | null;
55
55
  toolExecutionId: string | null;
56
56
  resourceKey: string | null;
@@ -352,8 +352,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
352
352
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
353
353
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
354
354
  }, "strict", z.ZodTypeAny, {
355
- sessionId: number | null;
356
355
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
356
+ sessionId: number | null;
357
357
  messageSequence: number | null;
358
358
  toolExecutionId: string | null;
359
359
  resourceKey: string | null;
@@ -361,8 +361,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
361
361
  checkpointId: string | null;
362
362
  snapshotIndex: number | null;
363
363
  }, {
364
- sessionId: number | null;
365
364
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
365
+ sessionId: number | null;
366
366
  messageSequence: number | null;
367
367
  toolExecutionId: string | null;
368
368
  resourceKey: string | null;
@@ -370,8 +370,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
370
370
  checkpointId?: string | null | undefined;
371
371
  snapshotIndex?: number | null | undefined;
372
372
  }>, {
373
- sessionId: number | null;
374
373
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
374
+ sessionId: number | null;
375
375
  messageSequence: number | null;
376
376
  toolExecutionId: string | null;
377
377
  resourceKey: string | null;
@@ -379,8 +379,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
379
379
  checkpointId: string | null;
380
380
  snapshotIndex: number | null;
381
381
  }, {
382
- sessionId: number | null;
383
382
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
383
+ sessionId: number | null;
384
384
  messageSequence: number | null;
385
385
  toolExecutionId: string | null;
386
386
  resourceKey: string | null;
@@ -394,8 +394,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
394
394
  text: string;
395
395
  sourceQuotes: string[];
396
396
  provenance: Readonly<{
397
- sessionId: number | null;
398
397
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
398
+ sessionId: number | null;
399
399
  messageSequence: number | null;
400
400
  toolExecutionId: string | null;
401
401
  resourceKey: string | null;
@@ -407,8 +407,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
407
407
  id: string;
408
408
  text: string;
409
409
  provenance: Readonly<{
410
- sessionId: number | null;
411
410
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
411
+ sessionId: number | null;
412
412
  messageSequence: number | null;
413
413
  toolExecutionId: string | null;
414
414
  resourceKey: string | null;
@@ -431,8 +431,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
431
431
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
432
432
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
433
433
  }, "strict", z.ZodTypeAny, {
434
- sessionId: number | null;
435
434
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
435
+ sessionId: number | null;
436
436
  messageSequence: number | null;
437
437
  toolExecutionId: string | null;
438
438
  resourceKey: string | null;
@@ -440,8 +440,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
440
440
  checkpointId: string | null;
441
441
  snapshotIndex: number | null;
442
442
  }, {
443
- sessionId: number | null;
444
443
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
444
+ sessionId: number | null;
445
445
  messageSequence: number | null;
446
446
  toolExecutionId: string | null;
447
447
  resourceKey: string | null;
@@ -449,8 +449,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
449
449
  checkpointId?: string | null | undefined;
450
450
  snapshotIndex?: number | null | undefined;
451
451
  }>, {
452
- sessionId: number | null;
453
452
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
453
+ sessionId: number | null;
454
454
  messageSequence: number | null;
455
455
  toolExecutionId: string | null;
456
456
  resourceKey: string | null;
@@ -458,8 +458,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
458
458
  checkpointId: string | null;
459
459
  snapshotIndex: number | null;
460
460
  }, {
461
- sessionId: number | null;
462
461
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
462
+ sessionId: number | null;
463
463
  messageSequence: number | null;
464
464
  toolExecutionId: string | null;
465
465
  resourceKey: string | null;
@@ -473,8 +473,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
473
473
  text: string;
474
474
  sourceQuotes: string[];
475
475
  provenance: Readonly<{
476
- sessionId: number | null;
477
476
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
477
+ sessionId: number | null;
478
478
  messageSequence: number | null;
479
479
  toolExecutionId: string | null;
480
480
  resourceKey: string | null;
@@ -486,8 +486,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
486
486
  id: string;
487
487
  text: string;
488
488
  provenance: Readonly<{
489
- sessionId: number | null;
490
489
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
490
+ sessionId: number | null;
491
491
  messageSequence: number | null;
492
492
  toolExecutionId: string | null;
493
493
  resourceKey: string | null;
@@ -510,8 +510,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
510
510
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
511
511
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
512
512
  }, "strict", z.ZodTypeAny, {
513
- sessionId: number | null;
514
513
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
514
+ sessionId: number | null;
515
515
  messageSequence: number | null;
516
516
  toolExecutionId: string | null;
517
517
  resourceKey: string | null;
@@ -519,8 +519,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
519
519
  checkpointId: string | null;
520
520
  snapshotIndex: number | null;
521
521
  }, {
522
- sessionId: number | null;
523
522
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
523
+ sessionId: number | null;
524
524
  messageSequence: number | null;
525
525
  toolExecutionId: string | null;
526
526
  resourceKey: string | null;
@@ -528,8 +528,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
528
528
  checkpointId?: string | null | undefined;
529
529
  snapshotIndex?: number | null | undefined;
530
530
  }>, {
531
- sessionId: number | null;
532
531
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
532
+ sessionId: number | null;
533
533
  messageSequence: number | null;
534
534
  toolExecutionId: string | null;
535
535
  resourceKey: string | null;
@@ -537,8 +537,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
537
537
  checkpointId: string | null;
538
538
  snapshotIndex: number | null;
539
539
  }, {
540
- sessionId: number | null;
541
540
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
541
+ sessionId: number | null;
542
542
  messageSequence: number | null;
543
543
  toolExecutionId: string | null;
544
544
  resourceKey: string | null;
@@ -552,8 +552,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
552
552
  text: string;
553
553
  sourceQuotes: string[];
554
554
  provenance: Readonly<{
555
- sessionId: number | null;
556
555
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
556
+ sessionId: number | null;
557
557
  messageSequence: number | null;
558
558
  toolExecutionId: string | null;
559
559
  resourceKey: string | null;
@@ -565,8 +565,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
565
565
  id: string;
566
566
  text: string;
567
567
  provenance: Readonly<{
568
- sessionId: number | null;
569
568
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
569
+ sessionId: number | null;
570
570
  messageSequence: number | null;
571
571
  toolExecutionId: string | null;
572
572
  resourceKey: string | null;
@@ -589,8 +589,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
589
589
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
590
590
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
591
591
  }, "strict", z.ZodTypeAny, {
592
- sessionId: number | null;
593
592
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
593
+ sessionId: number | null;
594
594
  messageSequence: number | null;
595
595
  toolExecutionId: string | null;
596
596
  resourceKey: string | null;
@@ -598,8 +598,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
598
598
  checkpointId: string | null;
599
599
  snapshotIndex: number | null;
600
600
  }, {
601
- sessionId: number | null;
602
601
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
602
+ sessionId: number | null;
603
603
  messageSequence: number | null;
604
604
  toolExecutionId: string | null;
605
605
  resourceKey: string | null;
@@ -607,8 +607,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
607
607
  checkpointId?: string | null | undefined;
608
608
  snapshotIndex?: number | null | undefined;
609
609
  }>, {
610
- sessionId: number | null;
611
610
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
611
+ sessionId: number | null;
612
612
  messageSequence: number | null;
613
613
  toolExecutionId: string | null;
614
614
  resourceKey: string | null;
@@ -616,8 +616,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
616
616
  checkpointId: string | null;
617
617
  snapshotIndex: number | null;
618
618
  }, {
619
- sessionId: number | null;
620
619
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
620
+ sessionId: number | null;
621
621
  messageSequence: number | null;
622
622
  toolExecutionId: string | null;
623
623
  resourceKey: string | null;
@@ -631,8 +631,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
631
631
  text: string;
632
632
  sourceQuotes: string[];
633
633
  provenance: Readonly<{
634
- sessionId: number | null;
635
634
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
635
+ sessionId: number | null;
636
636
  messageSequence: number | null;
637
637
  toolExecutionId: string | null;
638
638
  resourceKey: string | null;
@@ -644,8 +644,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
644
644
  id: string;
645
645
  text: string;
646
646
  provenance: Readonly<{
647
- sessionId: number | null;
648
647
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
648
+ sessionId: number | null;
649
649
  messageSequence: number | null;
650
650
  toolExecutionId: string | null;
651
651
  resourceKey: string | null;
@@ -668,8 +668,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
668
668
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
669
669
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
670
670
  }, "strict", z.ZodTypeAny, {
671
- sessionId: number | null;
672
671
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
672
+ sessionId: number | null;
673
673
  messageSequence: number | null;
674
674
  toolExecutionId: string | null;
675
675
  resourceKey: string | null;
@@ -677,8 +677,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
677
677
  checkpointId: string | null;
678
678
  snapshotIndex: number | null;
679
679
  }, {
680
- sessionId: number | null;
681
680
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
681
+ sessionId: number | null;
682
682
  messageSequence: number | null;
683
683
  toolExecutionId: string | null;
684
684
  resourceKey: string | null;
@@ -686,8 +686,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
686
686
  checkpointId?: string | null | undefined;
687
687
  snapshotIndex?: number | null | undefined;
688
688
  }>, {
689
- sessionId: number | null;
690
689
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
690
+ sessionId: number | null;
691
691
  messageSequence: number | null;
692
692
  toolExecutionId: string | null;
693
693
  resourceKey: string | null;
@@ -695,8 +695,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
695
695
  checkpointId: string | null;
696
696
  snapshotIndex: number | null;
697
697
  }, {
698
- sessionId: number | null;
699
698
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
699
+ sessionId: number | null;
700
700
  messageSequence: number | null;
701
701
  toolExecutionId: string | null;
702
702
  resourceKey: string | null;
@@ -710,8 +710,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
710
710
  text: string;
711
711
  sourceQuotes: string[];
712
712
  provenance: Readonly<{
713
- sessionId: number | null;
714
713
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
714
+ sessionId: number | null;
715
715
  messageSequence: number | null;
716
716
  toolExecutionId: string | null;
717
717
  resourceKey: string | null;
@@ -723,8 +723,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
723
723
  id: string;
724
724
  text: string;
725
725
  provenance: Readonly<{
726
- sessionId: number | null;
727
726
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
727
+ sessionId: number | null;
728
728
  messageSequence: number | null;
729
729
  toolExecutionId: string | null;
730
730
  resourceKey: string | null;
@@ -747,8 +747,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
747
747
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
748
748
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
749
749
  }, "strict", z.ZodTypeAny, {
750
- sessionId: number | null;
751
750
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
751
+ sessionId: number | null;
752
752
  messageSequence: number | null;
753
753
  toolExecutionId: string | null;
754
754
  resourceKey: string | null;
@@ -756,8 +756,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
756
756
  checkpointId: string | null;
757
757
  snapshotIndex: number | null;
758
758
  }, {
759
- sessionId: number | null;
760
759
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
760
+ sessionId: number | null;
761
761
  messageSequence: number | null;
762
762
  toolExecutionId: string | null;
763
763
  resourceKey: string | null;
@@ -765,8 +765,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
765
765
  checkpointId?: string | null | undefined;
766
766
  snapshotIndex?: number | null | undefined;
767
767
  }>, {
768
- sessionId: number | null;
769
768
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
769
+ sessionId: number | null;
770
770
  messageSequence: number | null;
771
771
  toolExecutionId: string | null;
772
772
  resourceKey: string | null;
@@ -774,8 +774,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
774
774
  checkpointId: string | null;
775
775
  snapshotIndex: number | null;
776
776
  }, {
777
- sessionId: number | null;
778
777
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
778
+ sessionId: number | null;
779
779
  messageSequence: number | null;
780
780
  toolExecutionId: string | null;
781
781
  resourceKey: string | null;
@@ -787,8 +787,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
787
787
  id: string & z.BRAND<"CompactionSemanticItemId">;
788
788
  resourceKey: string;
789
789
  provenance: Readonly<{
790
- sessionId: number | null;
791
790
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
791
+ sessionId: number | null;
792
792
  messageSequence: number | null;
793
793
  toolExecutionId: string | null;
794
794
  resourceKey: string | null;
@@ -800,8 +800,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
800
800
  id: string;
801
801
  resourceKey: string;
802
802
  provenance: Readonly<{
803
- sessionId: number | null;
804
803
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
804
+ sessionId: number | null;
805
805
  messageSequence: number | null;
806
806
  toolExecutionId: string | null;
807
807
  resourceKey: string | null;
@@ -824,8 +824,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
824
824
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
825
825
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
826
826
  }, "strict", z.ZodTypeAny, {
827
- sessionId: number | null;
828
827
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
828
+ sessionId: number | null;
829
829
  messageSequence: number | null;
830
830
  toolExecutionId: string | null;
831
831
  resourceKey: string | null;
@@ -833,8 +833,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
833
833
  checkpointId: string | null;
834
834
  snapshotIndex: number | null;
835
835
  }, {
836
- sessionId: number | null;
837
836
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
837
+ sessionId: number | null;
838
838
  messageSequence: number | null;
839
839
  toolExecutionId: string | null;
840
840
  resourceKey: string | null;
@@ -842,8 +842,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
842
842
  checkpointId?: string | null | undefined;
843
843
  snapshotIndex?: number | null | undefined;
844
844
  }>, {
845
- sessionId: number | null;
846
845
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
846
+ sessionId: number | null;
847
847
  messageSequence: number | null;
848
848
  toolExecutionId: string | null;
849
849
  resourceKey: string | null;
@@ -851,8 +851,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
851
851
  checkpointId: string | null;
852
852
  snapshotIndex: number | null;
853
853
  }, {
854
- sessionId: number | null;
855
854
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
855
+ sessionId: number | null;
856
856
  messageSequence: number | null;
857
857
  toolExecutionId: string | null;
858
858
  resourceKey: string | null;
@@ -865,8 +865,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
865
865
  sessionId: number;
866
866
  managerInstanceId: string;
867
867
  provenance: Readonly<{
868
- sessionId: number | null;
869
868
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
869
+ sessionId: number | null;
870
870
  messageSequence: number | null;
871
871
  toolExecutionId: string | null;
872
872
  resourceKey: string | null;
@@ -879,8 +879,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
879
879
  sessionId: number;
880
880
  managerInstanceId: string;
881
881
  provenance: Readonly<{
882
- sessionId: number | null;
883
882
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
883
+ sessionId: number | null;
884
884
  messageSequence: number | null;
885
885
  toolExecutionId: string | null;
886
886
  resourceKey: string | null;
@@ -902,8 +902,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
902
902
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
903
903
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
904
904
  }, "strict", z.ZodTypeAny, {
905
- sessionId: number | null;
906
905
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
906
+ sessionId: number | null;
907
907
  messageSequence: number | null;
908
908
  toolExecutionId: string | null;
909
909
  resourceKey: string | null;
@@ -911,8 +911,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
911
911
  checkpointId: string | null;
912
912
  snapshotIndex: number | null;
913
913
  }, {
914
- sessionId: number | null;
915
914
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
915
+ sessionId: number | null;
916
916
  messageSequence: number | null;
917
917
  toolExecutionId: string | null;
918
918
  resourceKey: string | null;
@@ -920,8 +920,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
920
920
  checkpointId?: string | null | undefined;
921
921
  snapshotIndex?: number | null | undefined;
922
922
  }>, {
923
- sessionId: number | null;
924
923
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
924
+ sessionId: number | null;
925
925
  messageSequence: number | null;
926
926
  toolExecutionId: string | null;
927
927
  resourceKey: string | null;
@@ -929,8 +929,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
929
929
  checkpointId: string | null;
930
930
  snapshotIndex: number | null;
931
931
  }, {
932
- sessionId: number | null;
933
932
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
933
+ sessionId: number | null;
934
934
  messageSequence: number | null;
935
935
  toolExecutionId: string | null;
936
936
  resourceKey: string | null;
@@ -944,8 +944,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
944
944
  text: string;
945
945
  sourceQuotes: string[];
946
946
  provenance: Readonly<{
947
- sessionId: number | null;
948
947
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
948
+ sessionId: number | null;
949
949
  messageSequence: number | null;
950
950
  toolExecutionId: string | null;
951
951
  resourceKey: string | null;
@@ -957,8 +957,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
957
957
  id: string;
958
958
  text: string;
959
959
  provenance: Readonly<{
960
- sessionId: number | null;
961
960
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
961
+ sessionId: number | null;
962
962
  messageSequence: number | null;
963
963
  toolExecutionId: string | null;
964
964
  resourceKey: string | null;
@@ -999,8 +999,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
999
999
  id: string & z.BRAND<"CompactionSemanticItemId">;
1000
1000
  resourceKey: string;
1001
1001
  provenance: Readonly<{
1002
- sessionId: number | null;
1003
1002
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1003
+ sessionId: number | null;
1004
1004
  messageSequence: number | null;
1005
1005
  toolExecutionId: string | null;
1006
1006
  resourceKey: string | null;
@@ -1014,8 +1014,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1014
1014
  text: string;
1015
1015
  sourceQuotes: string[];
1016
1016
  provenance: Readonly<{
1017
- sessionId: number | null;
1018
1017
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1018
+ sessionId: number | null;
1019
1019
  messageSequence: number | null;
1020
1020
  toolExecutionId: string | null;
1021
1021
  resourceKey: string | null;
@@ -1029,8 +1029,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1029
1029
  text: string;
1030
1030
  sourceQuotes: string[];
1031
1031
  provenance: Readonly<{
1032
- sessionId: number | null;
1033
1032
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1033
+ sessionId: number | null;
1034
1034
  messageSequence: number | null;
1035
1035
  toolExecutionId: string | null;
1036
1036
  resourceKey: string | null;
@@ -1044,8 +1044,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1044
1044
  text: string;
1045
1045
  sourceQuotes: string[];
1046
1046
  provenance: Readonly<{
1047
- sessionId: number | null;
1048
1047
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1048
+ sessionId: number | null;
1049
1049
  messageSequence: number | null;
1050
1050
  toolExecutionId: string | null;
1051
1051
  resourceKey: string | null;
@@ -1059,8 +1059,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1059
1059
  text: string;
1060
1060
  sourceQuotes: string[];
1061
1061
  provenance: Readonly<{
1062
- sessionId: number | null;
1063
1062
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1063
+ sessionId: number | null;
1064
1064
  messageSequence: number | null;
1065
1065
  toolExecutionId: string | null;
1066
1066
  resourceKey: string | null;
@@ -1074,8 +1074,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1074
1074
  text: string;
1075
1075
  sourceQuotes: string[];
1076
1076
  provenance: Readonly<{
1077
- sessionId: number | null;
1078
1077
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1078
+ sessionId: number | null;
1079
1079
  messageSequence: number | null;
1080
1080
  toolExecutionId: string | null;
1081
1081
  resourceKey: string | null;
@@ -1089,8 +1089,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1089
1089
  sessionId: number;
1090
1090
  managerInstanceId: string;
1091
1091
  provenance: Readonly<{
1092
- sessionId: number | null;
1093
1092
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1093
+ sessionId: number | null;
1094
1094
  messageSequence: number | null;
1095
1095
  toolExecutionId: string | null;
1096
1096
  resourceKey: string | null;
@@ -1104,8 +1104,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1104
1104
  text: string;
1105
1105
  sourceQuotes: string[];
1106
1106
  provenance: Readonly<{
1107
- sessionId: number | null;
1108
1107
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1108
+ sessionId: number | null;
1109
1109
  messageSequence: number | null;
1110
1110
  toolExecutionId: string | null;
1111
1111
  resourceKey: string | null;
@@ -1129,8 +1129,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1129
1129
  id: string;
1130
1130
  resourceKey: string;
1131
1131
  provenance: Readonly<{
1132
- sessionId: number | null;
1133
1132
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1133
+ sessionId: number | null;
1134
1134
  messageSequence: number | null;
1135
1135
  toolExecutionId: string | null;
1136
1136
  resourceKey: string | null;
@@ -1143,8 +1143,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1143
1143
  id: string;
1144
1144
  text: string;
1145
1145
  provenance: Readonly<{
1146
- sessionId: number | null;
1147
1146
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1147
+ sessionId: number | null;
1148
1148
  messageSequence: number | null;
1149
1149
  toolExecutionId: string | null;
1150
1150
  resourceKey: string | null;
@@ -1158,8 +1158,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1158
1158
  id: string;
1159
1159
  text: string;
1160
1160
  provenance: Readonly<{
1161
- sessionId: number | null;
1162
1161
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1162
+ sessionId: number | null;
1163
1163
  messageSequence: number | null;
1164
1164
  toolExecutionId: string | null;
1165
1165
  resourceKey: string | null;
@@ -1173,8 +1173,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1173
1173
  id: string;
1174
1174
  text: string;
1175
1175
  provenance: Readonly<{
1176
- sessionId: number | null;
1177
1176
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1177
+ sessionId: number | null;
1178
1178
  messageSequence: number | null;
1179
1179
  toolExecutionId: string | null;
1180
1180
  resourceKey: string | null;
@@ -1188,8 +1188,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1188
1188
  id: string;
1189
1189
  text: string;
1190
1190
  provenance: Readonly<{
1191
- sessionId: number | null;
1192
1191
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1192
+ sessionId: number | null;
1193
1193
  messageSequence: number | null;
1194
1194
  toolExecutionId: string | null;
1195
1195
  resourceKey: string | null;
@@ -1204,8 +1204,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1204
1204
  sessionId: number;
1205
1205
  managerInstanceId: string;
1206
1206
  provenance: Readonly<{
1207
- sessionId: number | null;
1208
1207
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1208
+ sessionId: number | null;
1209
1209
  messageSequence: number | null;
1210
1210
  toolExecutionId: string | null;
1211
1211
  resourceKey: string | null;
@@ -1218,8 +1218,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1218
1218
  id: string;
1219
1219
  text: string;
1220
1220
  provenance: Readonly<{
1221
- sessionId: number | null;
1222
1221
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1222
+ sessionId: number | null;
1223
1223
  messageSequence: number | null;
1224
1224
  toolExecutionId: string | null;
1225
1225
  resourceKey: string | null;
@@ -1233,8 +1233,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1233
1233
  id: string;
1234
1234
  text: string;
1235
1235
  provenance: Readonly<{
1236
- sessionId: number | null;
1237
1236
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1237
+ sessionId: number | null;
1238
1238
  messageSequence: number | null;
1239
1239
  toolExecutionId: string | null;
1240
1240
  resourceKey: string | null;
@@ -1259,8 +1259,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1259
1259
  id: string & z.BRAND<"CompactionSemanticItemId">;
1260
1260
  resourceKey: string;
1261
1261
  provenance: Readonly<{
1262
- sessionId: number | null;
1263
1262
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1263
+ sessionId: number | null;
1264
1264
  messageSequence: number | null;
1265
1265
  toolExecutionId: string | null;
1266
1266
  resourceKey: string | null;
@@ -1274,8 +1274,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1274
1274
  text: string;
1275
1275
  sourceQuotes: string[];
1276
1276
  provenance: Readonly<{
1277
- sessionId: number | null;
1278
1277
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1278
+ sessionId: number | null;
1279
1279
  messageSequence: number | null;
1280
1280
  toolExecutionId: string | null;
1281
1281
  resourceKey: string | null;
@@ -1289,8 +1289,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1289
1289
  text: string;
1290
1290
  sourceQuotes: string[];
1291
1291
  provenance: Readonly<{
1292
- sessionId: number | null;
1293
1292
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1293
+ sessionId: number | null;
1294
1294
  messageSequence: number | null;
1295
1295
  toolExecutionId: string | null;
1296
1296
  resourceKey: string | null;
@@ -1304,8 +1304,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1304
1304
  text: string;
1305
1305
  sourceQuotes: string[];
1306
1306
  provenance: Readonly<{
1307
- sessionId: number | null;
1308
1307
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1308
+ sessionId: number | null;
1309
1309
  messageSequence: number | null;
1310
1310
  toolExecutionId: string | null;
1311
1311
  resourceKey: string | null;
@@ -1319,8 +1319,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1319
1319
  text: string;
1320
1320
  sourceQuotes: string[];
1321
1321
  provenance: Readonly<{
1322
- sessionId: number | null;
1323
1322
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1323
+ sessionId: number | null;
1324
1324
  messageSequence: number | null;
1325
1325
  toolExecutionId: string | null;
1326
1326
  resourceKey: string | null;
@@ -1334,8 +1334,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1334
1334
  text: string;
1335
1335
  sourceQuotes: string[];
1336
1336
  provenance: Readonly<{
1337
- sessionId: number | null;
1338
1337
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1338
+ sessionId: number | null;
1339
1339
  messageSequence: number | null;
1340
1340
  toolExecutionId: string | null;
1341
1341
  resourceKey: string | null;
@@ -1349,8 +1349,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1349
1349
  sessionId: number;
1350
1350
  managerInstanceId: string;
1351
1351
  provenance: Readonly<{
1352
- sessionId: number | null;
1353
1352
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1353
+ sessionId: number | null;
1354
1354
  messageSequence: number | null;
1355
1355
  toolExecutionId: string | null;
1356
1356
  resourceKey: string | null;
@@ -1364,8 +1364,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1364
1364
  text: string;
1365
1365
  sourceQuotes: string[];
1366
1366
  provenance: Readonly<{
1367
- sessionId: number | null;
1368
1367
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1368
+ sessionId: number | null;
1369
1369
  messageSequence: number | null;
1370
1370
  toolExecutionId: string | null;
1371
1371
  resourceKey: string | null;
@@ -1389,8 +1389,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1389
1389
  id: string;
1390
1390
  resourceKey: string;
1391
1391
  provenance: Readonly<{
1392
- sessionId: number | null;
1393
1392
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1393
+ sessionId: number | null;
1394
1394
  messageSequence: number | null;
1395
1395
  toolExecutionId: string | null;
1396
1396
  resourceKey: string | null;
@@ -1403,8 +1403,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1403
1403
  id: string;
1404
1404
  text: string;
1405
1405
  provenance: Readonly<{
1406
- sessionId: number | null;
1407
1406
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1407
+ sessionId: number | null;
1408
1408
  messageSequence: number | null;
1409
1409
  toolExecutionId: string | null;
1410
1410
  resourceKey: string | null;
@@ -1418,8 +1418,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1418
1418
  id: string;
1419
1419
  text: string;
1420
1420
  provenance: Readonly<{
1421
- sessionId: number | null;
1422
1421
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1422
+ sessionId: number | null;
1423
1423
  messageSequence: number | null;
1424
1424
  toolExecutionId: string | null;
1425
1425
  resourceKey: string | null;
@@ -1433,8 +1433,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1433
1433
  id: string;
1434
1434
  text: string;
1435
1435
  provenance: Readonly<{
1436
- sessionId: number | null;
1437
1436
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1437
+ sessionId: number | null;
1438
1438
  messageSequence: number | null;
1439
1439
  toolExecutionId: string | null;
1440
1440
  resourceKey: string | null;
@@ -1448,8 +1448,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1448
1448
  id: string;
1449
1449
  text: string;
1450
1450
  provenance: Readonly<{
1451
- sessionId: number | null;
1452
1451
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1452
+ sessionId: number | null;
1453
1453
  messageSequence: number | null;
1454
1454
  toolExecutionId: string | null;
1455
1455
  resourceKey: string | null;
@@ -1464,8 +1464,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1464
1464
  sessionId: number;
1465
1465
  managerInstanceId: string;
1466
1466
  provenance: Readonly<{
1467
- sessionId: number | null;
1468
1467
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1468
+ sessionId: number | null;
1469
1469
  messageSequence: number | null;
1470
1470
  toolExecutionId: string | null;
1471
1471
  resourceKey: string | null;
@@ -1478,8 +1478,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1478
1478
  id: string;
1479
1479
  text: string;
1480
1480
  provenance: Readonly<{
1481
- sessionId: number | null;
1482
1481
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1482
+ sessionId: number | null;
1483
1483
  messageSequence: number | null;
1484
1484
  toolExecutionId: string | null;
1485
1485
  resourceKey: string | null;
@@ -1493,8 +1493,8 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1493
1493
  id: string;
1494
1494
  text: string;
1495
1495
  provenance: Readonly<{
1496
- sessionId: number | null;
1497
1496
  kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
1497
+ sessionId: number | null;
1498
1498
  messageSequence: number | null;
1499
1499
  toolExecutionId: string | null;
1500
1500
  resourceKey: string | null;