@roll-agent/runtime 0.9.0 → 0.11.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.
@@ -21,39 +21,39 @@ export declare const compactionProvenanceRefSchema: z.ZodReadonly<z.ZodEffects<z
21
21
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
22
22
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
23
23
  }, "strict", z.ZodTypeAny, {
24
+ sessionId: number | null;
24
25
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
25
26
  messageSequence: number | null;
26
27
  toolExecutionId: string | null;
27
28
  resourceKey: string | null;
28
29
  managerInstanceId: string | null;
29
- sessionId: number | null;
30
30
  checkpointId: string | null;
31
31
  snapshotIndex: number | null;
32
32
  }, {
33
+ sessionId: number | null;
33
34
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
34
35
  messageSequence: number | null;
35
36
  toolExecutionId: string | null;
36
37
  resourceKey: string | null;
37
38
  managerInstanceId: string | null;
38
- sessionId: number | null;
39
39
  checkpointId?: string | null | undefined;
40
40
  snapshotIndex?: number | null | undefined;
41
41
  }>, {
42
+ sessionId: number | null;
42
43
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
43
44
  messageSequence: number | null;
44
45
  toolExecutionId: string | null;
45
46
  resourceKey: string | null;
46
47
  managerInstanceId: string | null;
47
- sessionId: number | null;
48
48
  checkpointId: string | null;
49
49
  snapshotIndex: number | null;
50
50
  }, {
51
+ sessionId: number | null;
51
52
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
52
53
  messageSequence: number | null;
53
54
  toolExecutionId: string | null;
54
55
  resourceKey: string | null;
55
56
  managerInstanceId: string | null;
56
- sessionId: number | null;
57
57
  checkpointId?: string | null | undefined;
58
58
  snapshotIndex?: number | null | undefined;
59
59
  }>>;
@@ -351,39 +351,39 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
351
351
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
352
352
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
353
353
  }, "strict", z.ZodTypeAny, {
354
+ sessionId: number | null;
354
355
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
355
356
  messageSequence: number | null;
356
357
  toolExecutionId: string | null;
357
358
  resourceKey: string | null;
358
359
  managerInstanceId: string | null;
359
- sessionId: number | null;
360
360
  checkpointId: string | null;
361
361
  snapshotIndex: number | null;
362
362
  }, {
363
+ sessionId: number | null;
363
364
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
364
365
  messageSequence: number | null;
365
366
  toolExecutionId: string | null;
366
367
  resourceKey: string | null;
367
368
  managerInstanceId: string | null;
368
- sessionId: number | null;
369
369
  checkpointId?: string | null | undefined;
370
370
  snapshotIndex?: number | null | undefined;
371
371
  }>, {
372
+ sessionId: number | null;
372
373
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
373
374
  messageSequence: number | null;
374
375
  toolExecutionId: string | null;
375
376
  resourceKey: string | null;
376
377
  managerInstanceId: string | null;
377
- sessionId: number | null;
378
378
  checkpointId: string | null;
379
379
  snapshotIndex: number | null;
380
380
  }, {
381
+ sessionId: number | null;
381
382
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
382
383
  messageSequence: number | null;
383
384
  toolExecutionId: string | null;
384
385
  resourceKey: string | null;
385
386
  managerInstanceId: string | null;
386
- sessionId: number | null;
387
387
  checkpointId?: string | null | undefined;
388
388
  snapshotIndex?: number | null | undefined;
389
389
  }>>, "many">;
@@ -393,12 +393,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
393
393
  id: string & z.BRAND<"CompactionSemanticItemId">;
394
394
  sourceQuotes: string[];
395
395
  provenance: Readonly<{
396
+ sessionId: number | null;
396
397
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
397
398
  messageSequence: number | null;
398
399
  toolExecutionId: string | null;
399
400
  resourceKey: string | null;
400
401
  managerInstanceId: string | null;
401
- sessionId: number | null;
402
402
  checkpointId: string | null;
403
403
  snapshotIndex: number | null;
404
404
  }>[];
@@ -406,12 +406,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
406
406
  text: string;
407
407
  id: string;
408
408
  provenance: Readonly<{
409
+ sessionId: number | null;
409
410
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
410
411
  messageSequence: number | null;
411
412
  toolExecutionId: string | null;
412
413
  resourceKey: string | null;
413
414
  managerInstanceId: string | null;
414
- sessionId: number | null;
415
415
  checkpointId?: string | null | undefined;
416
416
  snapshotIndex?: number | null | undefined;
417
417
  }>[];
@@ -430,39 +430,39 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
430
430
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
431
431
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
432
432
  }, "strict", z.ZodTypeAny, {
433
+ sessionId: number | null;
433
434
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
434
435
  messageSequence: number | null;
435
436
  toolExecutionId: string | null;
436
437
  resourceKey: string | null;
437
438
  managerInstanceId: string | null;
438
- sessionId: number | null;
439
439
  checkpointId: string | null;
440
440
  snapshotIndex: number | null;
441
441
  }, {
442
+ sessionId: number | null;
442
443
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
443
444
  messageSequence: number | null;
444
445
  toolExecutionId: string | null;
445
446
  resourceKey: string | null;
446
447
  managerInstanceId: string | null;
447
- sessionId: number | null;
448
448
  checkpointId?: string | null | undefined;
449
449
  snapshotIndex?: number | null | undefined;
450
450
  }>, {
451
+ sessionId: number | null;
451
452
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
452
453
  messageSequence: number | null;
453
454
  toolExecutionId: string | null;
454
455
  resourceKey: string | null;
455
456
  managerInstanceId: string | null;
456
- sessionId: number | null;
457
457
  checkpointId: string | null;
458
458
  snapshotIndex: number | null;
459
459
  }, {
460
+ sessionId: number | null;
460
461
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
461
462
  messageSequence: number | null;
462
463
  toolExecutionId: string | null;
463
464
  resourceKey: string | null;
464
465
  managerInstanceId: string | null;
465
- sessionId: number | null;
466
466
  checkpointId?: string | null | undefined;
467
467
  snapshotIndex?: number | null | undefined;
468
468
  }>>, "many">;
@@ -472,12 +472,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
472
472
  id: string & z.BRAND<"CompactionSemanticItemId">;
473
473
  sourceQuotes: string[];
474
474
  provenance: Readonly<{
475
+ sessionId: number | null;
475
476
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
476
477
  messageSequence: number | null;
477
478
  toolExecutionId: string | null;
478
479
  resourceKey: string | null;
479
480
  managerInstanceId: string | null;
480
- sessionId: number | null;
481
481
  checkpointId: string | null;
482
482
  snapshotIndex: number | null;
483
483
  }>[];
@@ -485,12 +485,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
485
485
  text: string;
486
486
  id: string;
487
487
  provenance: Readonly<{
488
+ sessionId: number | null;
488
489
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
489
490
  messageSequence: number | null;
490
491
  toolExecutionId: string | null;
491
492
  resourceKey: string | null;
492
493
  managerInstanceId: string | null;
493
- sessionId: number | null;
494
494
  checkpointId?: string | null | undefined;
495
495
  snapshotIndex?: number | null | undefined;
496
496
  }>[];
@@ -509,39 +509,39 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
509
509
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
510
510
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
511
511
  }, "strict", z.ZodTypeAny, {
512
+ sessionId: number | null;
512
513
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
513
514
  messageSequence: number | null;
514
515
  toolExecutionId: string | null;
515
516
  resourceKey: string | null;
516
517
  managerInstanceId: string | null;
517
- sessionId: number | null;
518
518
  checkpointId: string | null;
519
519
  snapshotIndex: number | null;
520
520
  }, {
521
+ sessionId: number | null;
521
522
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
522
523
  messageSequence: number | null;
523
524
  toolExecutionId: string | null;
524
525
  resourceKey: string | null;
525
526
  managerInstanceId: string | null;
526
- sessionId: number | null;
527
527
  checkpointId?: string | null | undefined;
528
528
  snapshotIndex?: number | null | undefined;
529
529
  }>, {
530
+ sessionId: number | null;
530
531
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
531
532
  messageSequence: number | null;
532
533
  toolExecutionId: string | null;
533
534
  resourceKey: string | null;
534
535
  managerInstanceId: string | null;
535
- sessionId: number | null;
536
536
  checkpointId: string | null;
537
537
  snapshotIndex: number | null;
538
538
  }, {
539
+ sessionId: number | null;
539
540
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
540
541
  messageSequence: number | null;
541
542
  toolExecutionId: string | null;
542
543
  resourceKey: string | null;
543
544
  managerInstanceId: string | null;
544
- sessionId: number | null;
545
545
  checkpointId?: string | null | undefined;
546
546
  snapshotIndex?: number | null | undefined;
547
547
  }>>, "many">;
@@ -551,12 +551,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
551
551
  id: string & z.BRAND<"CompactionSemanticItemId">;
552
552
  sourceQuotes: string[];
553
553
  provenance: Readonly<{
554
+ sessionId: number | null;
554
555
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
555
556
  messageSequence: number | null;
556
557
  toolExecutionId: string | null;
557
558
  resourceKey: string | null;
558
559
  managerInstanceId: string | null;
559
- sessionId: number | null;
560
560
  checkpointId: string | null;
561
561
  snapshotIndex: number | null;
562
562
  }>[];
@@ -564,12 +564,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
564
564
  text: string;
565
565
  id: string;
566
566
  provenance: Readonly<{
567
+ sessionId: number | null;
567
568
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
568
569
  messageSequence: number | null;
569
570
  toolExecutionId: string | null;
570
571
  resourceKey: string | null;
571
572
  managerInstanceId: string | null;
572
- sessionId: number | null;
573
573
  checkpointId?: string | null | undefined;
574
574
  snapshotIndex?: number | null | undefined;
575
575
  }>[];
@@ -588,39 +588,39 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
588
588
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
589
589
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
590
590
  }, "strict", z.ZodTypeAny, {
591
+ sessionId: number | null;
591
592
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
592
593
  messageSequence: number | null;
593
594
  toolExecutionId: string | null;
594
595
  resourceKey: string | null;
595
596
  managerInstanceId: string | null;
596
- sessionId: number | null;
597
597
  checkpointId: string | null;
598
598
  snapshotIndex: number | null;
599
599
  }, {
600
+ sessionId: number | null;
600
601
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
601
602
  messageSequence: number | null;
602
603
  toolExecutionId: string | null;
603
604
  resourceKey: string | null;
604
605
  managerInstanceId: string | null;
605
- sessionId: number | null;
606
606
  checkpointId?: string | null | undefined;
607
607
  snapshotIndex?: number | null | undefined;
608
608
  }>, {
609
+ sessionId: number | null;
609
610
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
610
611
  messageSequence: number | null;
611
612
  toolExecutionId: string | null;
612
613
  resourceKey: string | null;
613
614
  managerInstanceId: string | null;
614
- sessionId: number | null;
615
615
  checkpointId: string | null;
616
616
  snapshotIndex: number | null;
617
617
  }, {
618
+ sessionId: number | null;
618
619
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
619
620
  messageSequence: number | null;
620
621
  toolExecutionId: string | null;
621
622
  resourceKey: string | null;
622
623
  managerInstanceId: string | null;
623
- sessionId: number | null;
624
624
  checkpointId?: string | null | undefined;
625
625
  snapshotIndex?: number | null | undefined;
626
626
  }>>, "many">;
@@ -630,12 +630,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
630
630
  id: string & z.BRAND<"CompactionSemanticItemId">;
631
631
  sourceQuotes: string[];
632
632
  provenance: Readonly<{
633
+ sessionId: number | null;
633
634
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
634
635
  messageSequence: number | null;
635
636
  toolExecutionId: string | null;
636
637
  resourceKey: string | null;
637
638
  managerInstanceId: string | null;
638
- sessionId: number | null;
639
639
  checkpointId: string | null;
640
640
  snapshotIndex: number | null;
641
641
  }>[];
@@ -643,12 +643,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
643
643
  text: string;
644
644
  id: string;
645
645
  provenance: Readonly<{
646
+ sessionId: number | null;
646
647
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
647
648
  messageSequence: number | null;
648
649
  toolExecutionId: string | null;
649
650
  resourceKey: string | null;
650
651
  managerInstanceId: string | null;
651
- sessionId: number | null;
652
652
  checkpointId?: string | null | undefined;
653
653
  snapshotIndex?: number | null | undefined;
654
654
  }>[];
@@ -667,39 +667,39 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
667
667
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
668
668
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
669
669
  }, "strict", z.ZodTypeAny, {
670
+ sessionId: number | null;
670
671
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
671
672
  messageSequence: number | null;
672
673
  toolExecutionId: string | null;
673
674
  resourceKey: string | null;
674
675
  managerInstanceId: string | null;
675
- sessionId: number | null;
676
676
  checkpointId: string | null;
677
677
  snapshotIndex: number | null;
678
678
  }, {
679
+ sessionId: number | null;
679
680
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
680
681
  messageSequence: number | null;
681
682
  toolExecutionId: string | null;
682
683
  resourceKey: string | null;
683
684
  managerInstanceId: string | null;
684
- sessionId: number | null;
685
685
  checkpointId?: string | null | undefined;
686
686
  snapshotIndex?: number | null | undefined;
687
687
  }>, {
688
+ sessionId: number | null;
688
689
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
689
690
  messageSequence: number | null;
690
691
  toolExecutionId: string | null;
691
692
  resourceKey: string | null;
692
693
  managerInstanceId: string | null;
693
- sessionId: number | null;
694
694
  checkpointId: string | null;
695
695
  snapshotIndex: number | null;
696
696
  }, {
697
+ sessionId: number | null;
697
698
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
698
699
  messageSequence: number | null;
699
700
  toolExecutionId: string | null;
700
701
  resourceKey: string | null;
701
702
  managerInstanceId: string | null;
702
- sessionId: number | null;
703
703
  checkpointId?: string | null | undefined;
704
704
  snapshotIndex?: number | null | undefined;
705
705
  }>>, "many">;
@@ -709,12 +709,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
709
709
  id: string & z.BRAND<"CompactionSemanticItemId">;
710
710
  sourceQuotes: string[];
711
711
  provenance: Readonly<{
712
+ sessionId: number | null;
712
713
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
713
714
  messageSequence: number | null;
714
715
  toolExecutionId: string | null;
715
716
  resourceKey: string | null;
716
717
  managerInstanceId: string | null;
717
- sessionId: number | null;
718
718
  checkpointId: string | null;
719
719
  snapshotIndex: number | null;
720
720
  }>[];
@@ -722,12 +722,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
722
722
  text: string;
723
723
  id: string;
724
724
  provenance: Readonly<{
725
+ sessionId: number | null;
725
726
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
726
727
  messageSequence: number | null;
727
728
  toolExecutionId: string | null;
728
729
  resourceKey: string | null;
729
730
  managerInstanceId: string | null;
730
- sessionId: number | null;
731
731
  checkpointId?: string | null | undefined;
732
732
  snapshotIndex?: number | null | undefined;
733
733
  }>[];
@@ -746,39 +746,39 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
746
746
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
747
747
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
748
748
  }, "strict", z.ZodTypeAny, {
749
+ sessionId: number | null;
749
750
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
750
751
  messageSequence: number | null;
751
752
  toolExecutionId: string | null;
752
753
  resourceKey: string | null;
753
754
  managerInstanceId: string | null;
754
- sessionId: number | null;
755
755
  checkpointId: string | null;
756
756
  snapshotIndex: number | null;
757
757
  }, {
758
+ sessionId: number | null;
758
759
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
759
760
  messageSequence: number | null;
760
761
  toolExecutionId: string | null;
761
762
  resourceKey: string | null;
762
763
  managerInstanceId: string | null;
763
- sessionId: number | null;
764
764
  checkpointId?: string | null | undefined;
765
765
  snapshotIndex?: number | null | undefined;
766
766
  }>, {
767
+ sessionId: number | null;
767
768
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
768
769
  messageSequence: number | null;
769
770
  toolExecutionId: string | null;
770
771
  resourceKey: string | null;
771
772
  managerInstanceId: string | null;
772
- sessionId: number | null;
773
773
  checkpointId: string | null;
774
774
  snapshotIndex: number | null;
775
775
  }, {
776
+ sessionId: number | null;
776
777
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
777
778
  messageSequence: number | null;
778
779
  toolExecutionId: string | null;
779
780
  resourceKey: string | null;
780
781
  managerInstanceId: string | null;
781
- sessionId: number | null;
782
782
  checkpointId?: string | null | undefined;
783
783
  snapshotIndex?: number | null | undefined;
784
784
  }>>, "many">;
@@ -786,12 +786,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
786
786
  id: string & z.BRAND<"CompactionSemanticItemId">;
787
787
  resourceKey: string;
788
788
  provenance: Readonly<{
789
+ sessionId: number | null;
789
790
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
790
791
  messageSequence: number | null;
791
792
  toolExecutionId: string | null;
792
793
  resourceKey: string | null;
793
794
  managerInstanceId: string | null;
794
- sessionId: number | null;
795
795
  checkpointId: string | null;
796
796
  snapshotIndex: number | null;
797
797
  }>[];
@@ -799,12 +799,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
799
799
  id: string;
800
800
  resourceKey: string;
801
801
  provenance: Readonly<{
802
+ sessionId: number | null;
802
803
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
803
804
  messageSequence: number | null;
804
805
  toolExecutionId: string | null;
805
806
  resourceKey: string | null;
806
807
  managerInstanceId: string | null;
807
- sessionId: number | null;
808
808
  checkpointId?: string | null | undefined;
809
809
  snapshotIndex?: number | null | undefined;
810
810
  }>[];
@@ -823,67 +823,67 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
823
823
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
824
824
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
825
825
  }, "strict", z.ZodTypeAny, {
826
+ sessionId: number | null;
826
827
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
827
828
  messageSequence: number | null;
828
829
  toolExecutionId: string | null;
829
830
  resourceKey: string | null;
830
831
  managerInstanceId: string | null;
831
- sessionId: number | null;
832
832
  checkpointId: string | null;
833
833
  snapshotIndex: number | null;
834
834
  }, {
835
+ sessionId: number | null;
835
836
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
836
837
  messageSequence: number | null;
837
838
  toolExecutionId: string | null;
838
839
  resourceKey: string | null;
839
840
  managerInstanceId: string | null;
840
- sessionId: number | null;
841
841
  checkpointId?: string | null | undefined;
842
842
  snapshotIndex?: number | null | undefined;
843
843
  }>, {
844
+ sessionId: number | null;
844
845
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
845
846
  messageSequence: number | null;
846
847
  toolExecutionId: string | null;
847
848
  resourceKey: string | null;
848
849
  managerInstanceId: string | null;
849
- sessionId: number | null;
850
850
  checkpointId: string | null;
851
851
  snapshotIndex: number | null;
852
852
  }, {
853
+ sessionId: number | null;
853
854
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
854
855
  messageSequence: number | null;
855
856
  toolExecutionId: string | null;
856
857
  resourceKey: string | null;
857
858
  managerInstanceId: string | null;
858
- sessionId: number | null;
859
859
  checkpointId?: string | null | undefined;
860
860
  snapshotIndex?: number | null | undefined;
861
861
  }>>, "many">;
862
862
  }, "strict", z.ZodTypeAny, {
863
863
  id: string & z.BRAND<"CompactionSemanticItemId">;
864
- managerInstanceId: string;
865
864
  sessionId: number;
865
+ managerInstanceId: string;
866
866
  provenance: Readonly<{
867
+ sessionId: number | null;
867
868
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
868
869
  messageSequence: number | null;
869
870
  toolExecutionId: string | null;
870
871
  resourceKey: string | null;
871
872
  managerInstanceId: string | null;
872
- sessionId: number | null;
873
873
  checkpointId: string | null;
874
874
  snapshotIndex: number | null;
875
875
  }>[];
876
876
  }, {
877
877
  id: string;
878
- managerInstanceId: string;
879
878
  sessionId: number;
879
+ managerInstanceId: string;
880
880
  provenance: Readonly<{
881
+ sessionId: number | null;
881
882
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
882
883
  messageSequence: number | null;
883
884
  toolExecutionId: string | null;
884
885
  resourceKey: string | null;
885
886
  managerInstanceId: string | null;
886
- sessionId: number | null;
887
887
  checkpointId?: string | null | undefined;
888
888
  snapshotIndex?: number | null | undefined;
889
889
  }>[];
@@ -901,39 +901,39 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
901
901
  checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
902
902
  snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
903
903
  }, "strict", z.ZodTypeAny, {
904
+ sessionId: number | null;
904
905
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
905
906
  messageSequence: number | null;
906
907
  toolExecutionId: string | null;
907
908
  resourceKey: string | null;
908
909
  managerInstanceId: string | null;
909
- sessionId: number | null;
910
910
  checkpointId: string | null;
911
911
  snapshotIndex: number | null;
912
912
  }, {
913
+ sessionId: number | null;
913
914
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
914
915
  messageSequence: number | null;
915
916
  toolExecutionId: string | null;
916
917
  resourceKey: string | null;
917
918
  managerInstanceId: string | null;
918
- sessionId: number | null;
919
919
  checkpointId?: string | null | undefined;
920
920
  snapshotIndex?: number | null | undefined;
921
921
  }>, {
922
+ sessionId: number | null;
922
923
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
923
924
  messageSequence: number | null;
924
925
  toolExecutionId: string | null;
925
926
  resourceKey: string | null;
926
927
  managerInstanceId: string | null;
927
- sessionId: number | null;
928
928
  checkpointId: string | null;
929
929
  snapshotIndex: number | null;
930
930
  }, {
931
+ sessionId: number | null;
931
932
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
932
933
  messageSequence: number | null;
933
934
  toolExecutionId: string | null;
934
935
  resourceKey: string | null;
935
936
  managerInstanceId: string | null;
936
- sessionId: number | null;
937
937
  checkpointId?: string | null | undefined;
938
938
  snapshotIndex?: number | null | undefined;
939
939
  }>>, "many">;
@@ -943,12 +943,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
943
943
  id: string & z.BRAND<"CompactionSemanticItemId">;
944
944
  sourceQuotes: string[];
945
945
  provenance: Readonly<{
946
+ sessionId: number | null;
946
947
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
947
948
  messageSequence: number | null;
948
949
  toolExecutionId: string | null;
949
950
  resourceKey: string | null;
950
951
  managerInstanceId: string | null;
951
- sessionId: number | null;
952
952
  checkpointId: string | null;
953
953
  snapshotIndex: number | null;
954
954
  }>[];
@@ -956,12 +956,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
956
956
  text: string;
957
957
  id: string;
958
958
  provenance: Readonly<{
959
+ sessionId: number | null;
959
960
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
960
961
  messageSequence: number | null;
961
962
  toolExecutionId: string | null;
962
963
  resourceKey: string | null;
963
964
  managerInstanceId: string | null;
964
- sessionId: number | null;
965
965
  checkpointId?: string | null | undefined;
966
966
  snapshotIndex?: number | null | undefined;
967
967
  }>[];
@@ -998,12 +998,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
998
998
  id: string & z.BRAND<"CompactionSemanticItemId">;
999
999
  resourceKey: string;
1000
1000
  provenance: Readonly<{
1001
+ sessionId: number | null;
1001
1002
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1002
1003
  messageSequence: number | null;
1003
1004
  toolExecutionId: string | null;
1004
1005
  resourceKey: string | null;
1005
1006
  managerInstanceId: string | null;
1006
- sessionId: number | null;
1007
1007
  checkpointId: string | null;
1008
1008
  snapshotIndex: number | null;
1009
1009
  }>[];
@@ -1013,12 +1013,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1013
1013
  id: string & z.BRAND<"CompactionSemanticItemId">;
1014
1014
  sourceQuotes: string[];
1015
1015
  provenance: Readonly<{
1016
+ sessionId: number | null;
1016
1017
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1017
1018
  messageSequence: number | null;
1018
1019
  toolExecutionId: string | null;
1019
1020
  resourceKey: string | null;
1020
1021
  managerInstanceId: string | null;
1021
- sessionId: number | null;
1022
1022
  checkpointId: string | null;
1023
1023
  snapshotIndex: number | null;
1024
1024
  }>[];
@@ -1028,12 +1028,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1028
1028
  id: string & z.BRAND<"CompactionSemanticItemId">;
1029
1029
  sourceQuotes: string[];
1030
1030
  provenance: Readonly<{
1031
+ sessionId: number | null;
1031
1032
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1032
1033
  messageSequence: number | null;
1033
1034
  toolExecutionId: string | null;
1034
1035
  resourceKey: string | null;
1035
1036
  managerInstanceId: string | null;
1036
- sessionId: number | null;
1037
1037
  checkpointId: string | null;
1038
1038
  snapshotIndex: number | null;
1039
1039
  }>[];
@@ -1043,12 +1043,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1043
1043
  id: string & z.BRAND<"CompactionSemanticItemId">;
1044
1044
  sourceQuotes: string[];
1045
1045
  provenance: Readonly<{
1046
+ sessionId: number | null;
1046
1047
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1047
1048
  messageSequence: number | null;
1048
1049
  toolExecutionId: string | null;
1049
1050
  resourceKey: string | null;
1050
1051
  managerInstanceId: string | null;
1051
- sessionId: number | null;
1052
1052
  checkpointId: string | null;
1053
1053
  snapshotIndex: number | null;
1054
1054
  }>[];
@@ -1058,12 +1058,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1058
1058
  id: string & z.BRAND<"CompactionSemanticItemId">;
1059
1059
  sourceQuotes: string[];
1060
1060
  provenance: Readonly<{
1061
+ sessionId: number | null;
1061
1062
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1062
1063
  messageSequence: number | null;
1063
1064
  toolExecutionId: string | null;
1064
1065
  resourceKey: string | null;
1065
1066
  managerInstanceId: string | null;
1066
- sessionId: number | null;
1067
1067
  checkpointId: string | null;
1068
1068
  snapshotIndex: number | null;
1069
1069
  }>[];
@@ -1073,27 +1073,27 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1073
1073
  id: string & z.BRAND<"CompactionSemanticItemId">;
1074
1074
  sourceQuotes: string[];
1075
1075
  provenance: Readonly<{
1076
+ sessionId: number | null;
1076
1077
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1077
1078
  messageSequence: number | null;
1078
1079
  toolExecutionId: string | null;
1079
1080
  resourceKey: string | null;
1080
1081
  managerInstanceId: string | null;
1081
- sessionId: number | null;
1082
1082
  checkpointId: string | null;
1083
1083
  snapshotIndex: number | null;
1084
1084
  }>[];
1085
1085
  }>[];
1086
1086
  runningSessions: Readonly<{
1087
1087
  id: string & z.BRAND<"CompactionSemanticItemId">;
1088
- managerInstanceId: string;
1089
1088
  sessionId: number;
1089
+ managerInstanceId: string;
1090
1090
  provenance: Readonly<{
1091
+ sessionId: number | null;
1091
1092
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1092
1093
  messageSequence: number | null;
1093
1094
  toolExecutionId: string | null;
1094
1095
  resourceKey: string | null;
1095
1096
  managerInstanceId: string | null;
1096
- sessionId: number | null;
1097
1097
  checkpointId: string | null;
1098
1098
  snapshotIndex: number | null;
1099
1099
  }>[];
@@ -1103,12 +1103,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1103
1103
  id: string & z.BRAND<"CompactionSemanticItemId">;
1104
1104
  sourceQuotes: string[];
1105
1105
  provenance: Readonly<{
1106
+ sessionId: number | null;
1106
1107
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1107
1108
  messageSequence: number | null;
1108
1109
  toolExecutionId: string | null;
1109
1110
  resourceKey: string | null;
1110
1111
  managerInstanceId: string | null;
1111
- sessionId: number | null;
1112
1112
  checkpointId: string | null;
1113
1113
  snapshotIndex: number | null;
1114
1114
  }>[];
@@ -1128,12 +1128,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1128
1128
  id: string;
1129
1129
  resourceKey: string;
1130
1130
  provenance: Readonly<{
1131
+ sessionId: number | null;
1131
1132
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1132
1133
  messageSequence: number | null;
1133
1134
  toolExecutionId: string | null;
1134
1135
  resourceKey: string | null;
1135
1136
  managerInstanceId: string | null;
1136
- sessionId: number | null;
1137
1137
  checkpointId?: string | null | undefined;
1138
1138
  snapshotIndex?: number | null | undefined;
1139
1139
  }>[];
@@ -1142,12 +1142,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1142
1142
  text: string;
1143
1143
  id: string;
1144
1144
  provenance: Readonly<{
1145
+ sessionId: number | null;
1145
1146
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1146
1147
  messageSequence: number | null;
1147
1148
  toolExecutionId: string | null;
1148
1149
  resourceKey: string | null;
1149
1150
  managerInstanceId: string | null;
1150
- sessionId: number | null;
1151
1151
  checkpointId?: string | null | undefined;
1152
1152
  snapshotIndex?: number | null | undefined;
1153
1153
  }>[];
@@ -1157,12 +1157,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1157
1157
  text: string;
1158
1158
  id: string;
1159
1159
  provenance: Readonly<{
1160
+ sessionId: number | null;
1160
1161
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1161
1162
  messageSequence: number | null;
1162
1163
  toolExecutionId: string | null;
1163
1164
  resourceKey: string | null;
1164
1165
  managerInstanceId: string | null;
1165
- sessionId: number | null;
1166
1166
  checkpointId?: string | null | undefined;
1167
1167
  snapshotIndex?: number | null | undefined;
1168
1168
  }>[];
@@ -1172,12 +1172,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1172
1172
  text: string;
1173
1173
  id: string;
1174
1174
  provenance: Readonly<{
1175
+ sessionId: number | null;
1175
1176
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1176
1177
  messageSequence: number | null;
1177
1178
  toolExecutionId: string | null;
1178
1179
  resourceKey: string | null;
1179
1180
  managerInstanceId: string | null;
1180
- sessionId: number | null;
1181
1181
  checkpointId?: string | null | undefined;
1182
1182
  snapshotIndex?: number | null | undefined;
1183
1183
  }>[];
@@ -1187,12 +1187,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1187
1187
  text: string;
1188
1188
  id: string;
1189
1189
  provenance: Readonly<{
1190
+ sessionId: number | null;
1190
1191
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1191
1192
  messageSequence: number | null;
1192
1193
  toolExecutionId: string | null;
1193
1194
  resourceKey: string | null;
1194
1195
  managerInstanceId: string | null;
1195
- sessionId: number | null;
1196
1196
  checkpointId?: string | null | undefined;
1197
1197
  snapshotIndex?: number | null | undefined;
1198
1198
  }>[];
@@ -1200,15 +1200,15 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1200
1200
  }>[];
1201
1201
  runningSessions: Readonly<{
1202
1202
  id: string;
1203
- managerInstanceId: string;
1204
1203
  sessionId: number;
1204
+ managerInstanceId: string;
1205
1205
  provenance: Readonly<{
1206
+ sessionId: number | null;
1206
1207
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1207
1208
  messageSequence: number | null;
1208
1209
  toolExecutionId: string | null;
1209
1210
  resourceKey: string | null;
1210
1211
  managerInstanceId: string | null;
1211
- sessionId: number | null;
1212
1212
  checkpointId?: string | null | undefined;
1213
1213
  snapshotIndex?: number | null | undefined;
1214
1214
  }>[];
@@ -1217,12 +1217,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1217
1217
  text: string;
1218
1218
  id: string;
1219
1219
  provenance: Readonly<{
1220
+ sessionId: number | null;
1220
1221
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1221
1222
  messageSequence: number | null;
1222
1223
  toolExecutionId: string | null;
1223
1224
  resourceKey: string | null;
1224
1225
  managerInstanceId: string | null;
1225
- sessionId: number | null;
1226
1226
  checkpointId?: string | null | undefined;
1227
1227
  snapshotIndex?: number | null | undefined;
1228
1228
  }>[];
@@ -1232,12 +1232,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1232
1232
  text: string;
1233
1233
  id: string;
1234
1234
  provenance: Readonly<{
1235
+ sessionId: number | null;
1235
1236
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1236
1237
  messageSequence: number | null;
1237
1238
  toolExecutionId: string | null;
1238
1239
  resourceKey: string | null;
1239
1240
  managerInstanceId: string | null;
1240
- sessionId: number | null;
1241
1241
  checkpointId?: string | null | undefined;
1242
1242
  snapshotIndex?: number | null | undefined;
1243
1243
  }>[];
@@ -1258,12 +1258,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1258
1258
  id: string & z.BRAND<"CompactionSemanticItemId">;
1259
1259
  resourceKey: string;
1260
1260
  provenance: Readonly<{
1261
+ sessionId: number | null;
1261
1262
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1262
1263
  messageSequence: number | null;
1263
1264
  toolExecutionId: string | null;
1264
1265
  resourceKey: string | null;
1265
1266
  managerInstanceId: string | null;
1266
- sessionId: number | null;
1267
1267
  checkpointId: string | null;
1268
1268
  snapshotIndex: number | null;
1269
1269
  }>[];
@@ -1273,12 +1273,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1273
1273
  id: string & z.BRAND<"CompactionSemanticItemId">;
1274
1274
  sourceQuotes: string[];
1275
1275
  provenance: Readonly<{
1276
+ sessionId: number | null;
1276
1277
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1277
1278
  messageSequence: number | null;
1278
1279
  toolExecutionId: string | null;
1279
1280
  resourceKey: string | null;
1280
1281
  managerInstanceId: string | null;
1281
- sessionId: number | null;
1282
1282
  checkpointId: string | null;
1283
1283
  snapshotIndex: number | null;
1284
1284
  }>[];
@@ -1288,12 +1288,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1288
1288
  id: string & z.BRAND<"CompactionSemanticItemId">;
1289
1289
  sourceQuotes: string[];
1290
1290
  provenance: Readonly<{
1291
+ sessionId: number | null;
1291
1292
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1292
1293
  messageSequence: number | null;
1293
1294
  toolExecutionId: string | null;
1294
1295
  resourceKey: string | null;
1295
1296
  managerInstanceId: string | null;
1296
- sessionId: number | null;
1297
1297
  checkpointId: string | null;
1298
1298
  snapshotIndex: number | null;
1299
1299
  }>[];
@@ -1303,12 +1303,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1303
1303
  id: string & z.BRAND<"CompactionSemanticItemId">;
1304
1304
  sourceQuotes: string[];
1305
1305
  provenance: Readonly<{
1306
+ sessionId: number | null;
1306
1307
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1307
1308
  messageSequence: number | null;
1308
1309
  toolExecutionId: string | null;
1309
1310
  resourceKey: string | null;
1310
1311
  managerInstanceId: string | null;
1311
- sessionId: number | null;
1312
1312
  checkpointId: string | null;
1313
1313
  snapshotIndex: number | null;
1314
1314
  }>[];
@@ -1318,12 +1318,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1318
1318
  id: string & z.BRAND<"CompactionSemanticItemId">;
1319
1319
  sourceQuotes: string[];
1320
1320
  provenance: Readonly<{
1321
+ sessionId: number | null;
1321
1322
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1322
1323
  messageSequence: number | null;
1323
1324
  toolExecutionId: string | null;
1324
1325
  resourceKey: string | null;
1325
1326
  managerInstanceId: string | null;
1326
- sessionId: number | null;
1327
1327
  checkpointId: string | null;
1328
1328
  snapshotIndex: number | null;
1329
1329
  }>[];
@@ -1333,27 +1333,27 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1333
1333
  id: string & z.BRAND<"CompactionSemanticItemId">;
1334
1334
  sourceQuotes: string[];
1335
1335
  provenance: Readonly<{
1336
+ sessionId: number | null;
1336
1337
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1337
1338
  messageSequence: number | null;
1338
1339
  toolExecutionId: string | null;
1339
1340
  resourceKey: string | null;
1340
1341
  managerInstanceId: string | null;
1341
- sessionId: number | null;
1342
1342
  checkpointId: string | null;
1343
1343
  snapshotIndex: number | null;
1344
1344
  }>[];
1345
1345
  }>[];
1346
1346
  runningSessions: Readonly<{
1347
1347
  id: string & z.BRAND<"CompactionSemanticItemId">;
1348
- managerInstanceId: string;
1349
1348
  sessionId: number;
1349
+ managerInstanceId: string;
1350
1350
  provenance: Readonly<{
1351
+ sessionId: number | null;
1351
1352
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1352
1353
  messageSequence: number | null;
1353
1354
  toolExecutionId: string | null;
1354
1355
  resourceKey: string | null;
1355
1356
  managerInstanceId: string | null;
1356
- sessionId: number | null;
1357
1357
  checkpointId: string | null;
1358
1358
  snapshotIndex: number | null;
1359
1359
  }>[];
@@ -1363,12 +1363,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1363
1363
  id: string & z.BRAND<"CompactionSemanticItemId">;
1364
1364
  sourceQuotes: string[];
1365
1365
  provenance: Readonly<{
1366
+ sessionId: number | null;
1366
1367
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1367
1368
  messageSequence: number | null;
1368
1369
  toolExecutionId: string | null;
1369
1370
  resourceKey: string | null;
1370
1371
  managerInstanceId: string | null;
1371
- sessionId: number | null;
1372
1372
  checkpointId: string | null;
1373
1373
  snapshotIndex: number | null;
1374
1374
  }>[];
@@ -1388,12 +1388,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1388
1388
  id: string;
1389
1389
  resourceKey: string;
1390
1390
  provenance: Readonly<{
1391
+ sessionId: number | null;
1391
1392
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1392
1393
  messageSequence: number | null;
1393
1394
  toolExecutionId: string | null;
1394
1395
  resourceKey: string | null;
1395
1396
  managerInstanceId: string | null;
1396
- sessionId: number | null;
1397
1397
  checkpointId?: string | null | undefined;
1398
1398
  snapshotIndex?: number | null | undefined;
1399
1399
  }>[];
@@ -1402,12 +1402,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1402
1402
  text: string;
1403
1403
  id: string;
1404
1404
  provenance: Readonly<{
1405
+ sessionId: number | null;
1405
1406
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1406
1407
  messageSequence: number | null;
1407
1408
  toolExecutionId: string | null;
1408
1409
  resourceKey: string | null;
1409
1410
  managerInstanceId: string | null;
1410
- sessionId: number | null;
1411
1411
  checkpointId?: string | null | undefined;
1412
1412
  snapshotIndex?: number | null | undefined;
1413
1413
  }>[];
@@ -1417,12 +1417,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1417
1417
  text: string;
1418
1418
  id: string;
1419
1419
  provenance: Readonly<{
1420
+ sessionId: number | null;
1420
1421
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1421
1422
  messageSequence: number | null;
1422
1423
  toolExecutionId: string | null;
1423
1424
  resourceKey: string | null;
1424
1425
  managerInstanceId: string | null;
1425
- sessionId: number | null;
1426
1426
  checkpointId?: string | null | undefined;
1427
1427
  snapshotIndex?: number | null | undefined;
1428
1428
  }>[];
@@ -1432,12 +1432,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1432
1432
  text: string;
1433
1433
  id: string;
1434
1434
  provenance: Readonly<{
1435
+ sessionId: number | null;
1435
1436
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1436
1437
  messageSequence: number | null;
1437
1438
  toolExecutionId: string | null;
1438
1439
  resourceKey: string | null;
1439
1440
  managerInstanceId: string | null;
1440
- sessionId: number | null;
1441
1441
  checkpointId?: string | null | undefined;
1442
1442
  snapshotIndex?: number | null | undefined;
1443
1443
  }>[];
@@ -1447,12 +1447,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1447
1447
  text: string;
1448
1448
  id: string;
1449
1449
  provenance: Readonly<{
1450
+ sessionId: number | null;
1450
1451
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1451
1452
  messageSequence: number | null;
1452
1453
  toolExecutionId: string | null;
1453
1454
  resourceKey: string | null;
1454
1455
  managerInstanceId: string | null;
1455
- sessionId: number | null;
1456
1456
  checkpointId?: string | null | undefined;
1457
1457
  snapshotIndex?: number | null | undefined;
1458
1458
  }>[];
@@ -1460,15 +1460,15 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1460
1460
  }>[];
1461
1461
  runningSessions: Readonly<{
1462
1462
  id: string;
1463
- managerInstanceId: string;
1464
1463
  sessionId: number;
1464
+ managerInstanceId: string;
1465
1465
  provenance: Readonly<{
1466
+ sessionId: number | null;
1466
1467
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1467
1468
  messageSequence: number | null;
1468
1469
  toolExecutionId: string | null;
1469
1470
  resourceKey: string | null;
1470
1471
  managerInstanceId: string | null;
1471
- sessionId: number | null;
1472
1472
  checkpointId?: string | null | undefined;
1473
1473
  snapshotIndex?: number | null | undefined;
1474
1474
  }>[];
@@ -1477,12 +1477,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1477
1477
  text: string;
1478
1478
  id: string;
1479
1479
  provenance: Readonly<{
1480
+ sessionId: number | null;
1480
1481
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1481
1482
  messageSequence: number | null;
1482
1483
  toolExecutionId: string | null;
1483
1484
  resourceKey: string | null;
1484
1485
  managerInstanceId: string | null;
1485
- sessionId: number | null;
1486
1486
  checkpointId?: string | null | undefined;
1487
1487
  snapshotIndex?: number | null | undefined;
1488
1488
  }>[];
@@ -1492,12 +1492,12 @@ export declare const compactionSemanticStateSchema: z.ZodReadonly<z.ZodEffects<z
1492
1492
  text: string;
1493
1493
  id: string;
1494
1494
  provenance: Readonly<{
1495
+ sessionId: number | null;
1495
1496
  kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
1496
1497
  messageSequence: number | null;
1497
1498
  toolExecutionId: string | null;
1498
1499
  resourceKey: string | null;
1499
1500
  managerInstanceId: string | null;
1500
- sessionId: number | null;
1501
1501
  checkpointId?: string | null | undefined;
1502
1502
  snapshotIndex?: number | null | undefined;
1503
1503
  }>[];