@roll-agent/runtime 0.18.1 → 0.19.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.
@@ -67,16 +67,16 @@ declare const compactionToolStateSchema: z.ZodReadonly<z.ZodObject<{
67
67
  }, "strict", z.ZodTypeAny, {
68
68
  cancelled: number;
69
69
  success: number;
70
+ invalid_input: number;
70
71
  user_rejected: number;
71
72
  policy_denied: number;
72
- invalid_input: number;
73
73
  tool_failed: number;
74
74
  }, {
75
75
  cancelled: number;
76
76
  success: number;
77
+ invalid_input: number;
77
78
  user_rejected: number;
78
79
  policy_denied: number;
79
- invalid_input: number;
80
80
  tool_failed: number;
81
81
  }>>;
82
82
  recentRecords: z.ZodArray<z.ZodReadonly<z.ZodObject<{
@@ -90,19 +90,19 @@ declare const compactionToolStateSchema: z.ZodReadonly<z.ZodObject<{
90
90
  reason: z.ZodOptional<z.ZodString>;
91
91
  executionState: z.ZodOptional<z.ZodEnum<["not_executed", "outcome_unknown"]>>;
92
92
  }, "strict", z.ZodTypeAny, {
93
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
93
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
94
94
  reason?: string | undefined;
95
95
  executionState?: "not_executed" | "outcome_unknown" | undefined;
96
96
  }, {
97
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
97
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
98
98
  reason?: string | undefined;
99
99
  executionState?: "not_executed" | "outcome_unknown" | undefined;
100
100
  }>, {
101
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
101
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
102
102
  reason?: string | undefined;
103
103
  executionState?: "not_executed" | "outcome_unknown" | undefined;
104
104
  }, {
105
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
105
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
106
106
  reason?: string | undefined;
107
107
  executionState?: "not_executed" | "outcome_unknown" | undefined;
108
108
  }>>;
@@ -110,23 +110,23 @@ declare const compactionToolStateSchema: z.ZodReadonly<z.ZodObject<{
110
110
  toolCallId: string;
111
111
  toolName: string;
112
112
  agentName: string;
113
- sequence: number;
114
113
  outcome: Readonly<{
115
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
114
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
116
115
  reason?: string | undefined;
117
116
  executionState?: "not_executed" | "outcome_unknown" | undefined;
118
117
  }>;
118
+ sequence: number;
119
119
  executionId: string;
120
120
  }, {
121
121
  toolCallId: string;
122
122
  toolName: string;
123
123
  agentName: string;
124
- sequence: number;
125
124
  outcome: Readonly<{
126
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
125
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
127
126
  reason?: string | undefined;
128
127
  executionState?: "not_executed" | "outcome_unknown" | undefined;
129
128
  }>;
129
+ sequence: number;
130
130
  executionId: string;
131
131
  }>>, "many">;
132
132
  integrityStatus: z.ZodEnum<["valid", "sanitized", "invalid"]>;
@@ -147,21 +147,21 @@ declare const compactionToolStateSchema: z.ZodReadonly<z.ZodObject<{
147
147
  countsByOutcome: Readonly<{
148
148
  cancelled: number;
149
149
  success: number;
150
+ invalid_input: number;
150
151
  user_rejected: number;
151
152
  policy_denied: number;
152
- invalid_input: number;
153
153
  tool_failed: number;
154
154
  }>;
155
155
  recentRecords: Readonly<{
156
156
  toolCallId: string;
157
157
  toolName: string;
158
158
  agentName: string;
159
- sequence: number;
160
159
  outcome: Readonly<{
161
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
160
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
162
161
  reason?: string | undefined;
163
162
  executionState?: "not_executed" | "outcome_unknown" | undefined;
164
163
  }>;
164
+ sequence: number;
165
165
  executionId: string;
166
166
  }>[];
167
167
  integrityStatus: "invalid" | "valid" | "sanitized";
@@ -174,21 +174,21 @@ declare const compactionToolStateSchema: z.ZodReadonly<z.ZodObject<{
174
174
  countsByOutcome: Readonly<{
175
175
  cancelled: number;
176
176
  success: number;
177
+ invalid_input: number;
177
178
  user_rejected: number;
178
179
  policy_denied: number;
179
- invalid_input: number;
180
180
  tool_failed: number;
181
181
  }>;
182
182
  recentRecords: Readonly<{
183
183
  toolCallId: string;
184
184
  toolName: string;
185
185
  agentName: string;
186
- sequence: number;
187
186
  outcome: Readonly<{
188
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
187
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
189
188
  reason?: string | undefined;
190
189
  executionState?: "not_executed" | "outcome_unknown" | undefined;
191
190
  }>;
191
+ sequence: number;
192
192
  executionId: string;
193
193
  }>[];
194
194
  integrityStatus: "invalid" | "valid" | "sanitized";
@@ -218,9 +218,9 @@ declare const compactionRunningWorkSchema: z.ZodReadonly<z.ZodObject<{
218
218
  recoverability: "unavailable" | "live" | "stale";
219
219
  commandPreview: string;
220
220
  observedAt: string;
221
+ exitCode?: number | undefined;
221
222
  terminationCause?: string | undefined;
222
223
  wallTimeMs?: number | undefined;
223
- exitCode?: number | undefined;
224
224
  cleanupError?: string | undefined;
225
225
  }, {
226
226
  sessionId: number;
@@ -230,9 +230,9 @@ declare const compactionRunningWorkSchema: z.ZodReadonly<z.ZodObject<{
230
230
  recoverability: "unavailable" | "live" | "stale";
231
231
  commandPreview: string;
232
232
  observedAt: string;
233
+ exitCode?: number | undefined;
233
234
  terminationCause?: string | undefined;
234
235
  wallTimeMs?: number | undefined;
235
- exitCode?: number | undefined;
236
236
  cleanupError?: string | undefined;
237
237
  }>>;
238
238
  declare const compactionContextSchema: z.ZodReadonly<z.ZodObject<{
@@ -432,16 +432,16 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
432
432
  }, "strict", z.ZodTypeAny, {
433
433
  cancelled: number;
434
434
  success: number;
435
+ invalid_input: number;
435
436
  user_rejected: number;
436
437
  policy_denied: number;
437
- invalid_input: number;
438
438
  tool_failed: number;
439
439
  }, {
440
440
  cancelled: number;
441
441
  success: number;
442
+ invalid_input: number;
442
443
  user_rejected: number;
443
444
  policy_denied: number;
444
- invalid_input: number;
445
445
  tool_failed: number;
446
446
  }>>;
447
447
  recentRecords: z.ZodArray<z.ZodReadonly<z.ZodObject<{
@@ -455,19 +455,19 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
455
455
  reason: z.ZodOptional<z.ZodString>;
456
456
  executionState: z.ZodOptional<z.ZodEnum<["not_executed", "outcome_unknown"]>>;
457
457
  }, "strict", z.ZodTypeAny, {
458
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
458
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
459
459
  reason?: string | undefined;
460
460
  executionState?: "not_executed" | "outcome_unknown" | undefined;
461
461
  }, {
462
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
462
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
463
463
  reason?: string | undefined;
464
464
  executionState?: "not_executed" | "outcome_unknown" | undefined;
465
465
  }>, {
466
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
466
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
467
467
  reason?: string | undefined;
468
468
  executionState?: "not_executed" | "outcome_unknown" | undefined;
469
469
  }, {
470
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
470
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
471
471
  reason?: string | undefined;
472
472
  executionState?: "not_executed" | "outcome_unknown" | undefined;
473
473
  }>>;
@@ -475,23 +475,23 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
475
475
  toolCallId: string;
476
476
  toolName: string;
477
477
  agentName: string;
478
- sequence: number;
479
478
  outcome: Readonly<{
480
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
479
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
481
480
  reason?: string | undefined;
482
481
  executionState?: "not_executed" | "outcome_unknown" | undefined;
483
482
  }>;
483
+ sequence: number;
484
484
  executionId: string;
485
485
  }, {
486
486
  toolCallId: string;
487
487
  toolName: string;
488
488
  agentName: string;
489
- sequence: number;
490
489
  outcome: Readonly<{
491
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
490
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
492
491
  reason?: string | undefined;
493
492
  executionState?: "not_executed" | "outcome_unknown" | undefined;
494
493
  }>;
494
+ sequence: number;
495
495
  executionId: string;
496
496
  }>>, "many">;
497
497
  integrityStatus: z.ZodEnum<["valid", "sanitized", "invalid"]>;
@@ -512,21 +512,21 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
512
512
  countsByOutcome: Readonly<{
513
513
  cancelled: number;
514
514
  success: number;
515
+ invalid_input: number;
515
516
  user_rejected: number;
516
517
  policy_denied: number;
517
- invalid_input: number;
518
518
  tool_failed: number;
519
519
  }>;
520
520
  recentRecords: Readonly<{
521
521
  toolCallId: string;
522
522
  toolName: string;
523
523
  agentName: string;
524
- sequence: number;
525
524
  outcome: Readonly<{
526
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
525
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
527
526
  reason?: string | undefined;
528
527
  executionState?: "not_executed" | "outcome_unknown" | undefined;
529
528
  }>;
529
+ sequence: number;
530
530
  executionId: string;
531
531
  }>[];
532
532
  integrityStatus: "invalid" | "valid" | "sanitized";
@@ -539,21 +539,21 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
539
539
  countsByOutcome: Readonly<{
540
540
  cancelled: number;
541
541
  success: number;
542
+ invalid_input: number;
542
543
  user_rejected: number;
543
544
  policy_denied: number;
544
- invalid_input: number;
545
545
  tool_failed: number;
546
546
  }>;
547
547
  recentRecords: Readonly<{
548
548
  toolCallId: string;
549
549
  toolName: string;
550
550
  agentName: string;
551
- sequence: number;
552
551
  outcome: Readonly<{
553
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
552
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
554
553
  reason?: string | undefined;
555
554
  executionState?: "not_executed" | "outcome_unknown" | undefined;
556
555
  }>;
556
+ sequence: number;
557
557
  executionId: string;
558
558
  }>[];
559
559
  integrityStatus: "invalid" | "valid" | "sanitized";
@@ -583,9 +583,9 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
583
583
  recoverability: "unavailable" | "live" | "stale";
584
584
  commandPreview: string;
585
585
  observedAt: string;
586
+ exitCode?: number | undefined;
586
587
  terminationCause?: string | undefined;
587
588
  wallTimeMs?: number | undefined;
588
- exitCode?: number | undefined;
589
589
  cleanupError?: string | undefined;
590
590
  }, {
591
591
  sessionId: number;
@@ -595,9 +595,9 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
595
595
  recoverability: "unavailable" | "live" | "stale";
596
596
  commandPreview: string;
597
597
  observedAt: string;
598
+ exitCode?: number | undefined;
598
599
  terminationCause?: string | undefined;
599
600
  wallTimeMs?: number | undefined;
600
- exitCode?: number | undefined;
601
601
  cleanupError?: string | undefined;
602
602
  }>>, "many">;
603
603
  context: z.ZodReadonly<z.ZodObject<{
@@ -701,21 +701,21 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
701
701
  countsByOutcome: Readonly<{
702
702
  cancelled: number;
703
703
  success: number;
704
+ invalid_input: number;
704
705
  user_rejected: number;
705
706
  policy_denied: number;
706
- invalid_input: number;
707
707
  tool_failed: number;
708
708
  }>;
709
709
  recentRecords: Readonly<{
710
710
  toolCallId: string;
711
711
  toolName: string;
712
712
  agentName: string;
713
- sequence: number;
714
713
  outcome: Readonly<{
715
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
714
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
716
715
  reason?: string | undefined;
717
716
  executionState?: "not_executed" | "outcome_unknown" | undefined;
718
717
  }>;
718
+ sequence: number;
719
719
  executionId: string;
720
720
  }>[];
721
721
  integrityStatus: "invalid" | "valid" | "sanitized";
@@ -733,9 +733,9 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
733
733
  recoverability: "unavailable" | "live" | "stale";
734
734
  commandPreview: string;
735
735
  observedAt: string;
736
+ exitCode?: number | undefined;
736
737
  terminationCause?: string | undefined;
737
738
  wallTimeMs?: number | undefined;
738
- exitCode?: number | undefined;
739
739
  cleanupError?: string | undefined;
740
740
  }>[];
741
741
  goal?: Readonly<{
@@ -779,21 +779,21 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
779
779
  countsByOutcome: Readonly<{
780
780
  cancelled: number;
781
781
  success: number;
782
+ invalid_input: number;
782
783
  user_rejected: number;
783
784
  policy_denied: number;
784
- invalid_input: number;
785
785
  tool_failed: number;
786
786
  }>;
787
787
  recentRecords: Readonly<{
788
788
  toolCallId: string;
789
789
  toolName: string;
790
790
  agentName: string;
791
- sequence: number;
792
791
  outcome: Readonly<{
793
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
792
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
794
793
  reason?: string | undefined;
795
794
  executionState?: "not_executed" | "outcome_unknown" | undefined;
796
795
  }>;
796
+ sequence: number;
797
797
  executionId: string;
798
798
  }>[];
799
799
  integrityStatus: "invalid" | "valid" | "sanitized";
@@ -811,9 +811,9 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
811
811
  recoverability: "unavailable" | "live" | "stale";
812
812
  commandPreview: string;
813
813
  observedAt: string;
814
+ exitCode?: number | undefined;
814
815
  terminationCause?: string | undefined;
815
816
  wallTimeMs?: number | undefined;
816
- exitCode?: number | undefined;
817
817
  cleanupError?: string | undefined;
818
818
  }>[];
819
819
  goal?: Readonly<{
@@ -933,16 +933,16 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
933
933
  }, "strict", z.ZodTypeAny, {
934
934
  cancelled: number;
935
935
  success: number;
936
+ invalid_input: number;
936
937
  user_rejected: number;
937
938
  policy_denied: number;
938
- invalid_input: number;
939
939
  tool_failed: number;
940
940
  }, {
941
941
  cancelled: number;
942
942
  success: number;
943
+ invalid_input: number;
943
944
  user_rejected: number;
944
945
  policy_denied: number;
945
- invalid_input: number;
946
946
  tool_failed: number;
947
947
  }>>;
948
948
  recentRecords: z.ZodArray<z.ZodReadonly<z.ZodObject<{
@@ -956,19 +956,19 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
956
956
  reason: z.ZodOptional<z.ZodString>;
957
957
  executionState: z.ZodOptional<z.ZodEnum<["not_executed", "outcome_unknown"]>>;
958
958
  }, "strict", z.ZodTypeAny, {
959
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
959
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
960
960
  reason?: string | undefined;
961
961
  executionState?: "not_executed" | "outcome_unknown" | undefined;
962
962
  }, {
963
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
963
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
964
964
  reason?: string | undefined;
965
965
  executionState?: "not_executed" | "outcome_unknown" | undefined;
966
966
  }>, {
967
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
967
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
968
968
  reason?: string | undefined;
969
969
  executionState?: "not_executed" | "outcome_unknown" | undefined;
970
970
  }, {
971
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
971
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
972
972
  reason?: string | undefined;
973
973
  executionState?: "not_executed" | "outcome_unknown" | undefined;
974
974
  }>>;
@@ -976,23 +976,23 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
976
976
  toolCallId: string;
977
977
  toolName: string;
978
978
  agentName: string;
979
- sequence: number;
980
979
  outcome: Readonly<{
981
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
980
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
982
981
  reason?: string | undefined;
983
982
  executionState?: "not_executed" | "outcome_unknown" | undefined;
984
983
  }>;
984
+ sequence: number;
985
985
  executionId: string;
986
986
  }, {
987
987
  toolCallId: string;
988
988
  toolName: string;
989
989
  agentName: string;
990
- sequence: number;
991
990
  outcome: Readonly<{
992
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
991
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
993
992
  reason?: string | undefined;
994
993
  executionState?: "not_executed" | "outcome_unknown" | undefined;
995
994
  }>;
995
+ sequence: number;
996
996
  executionId: string;
997
997
  }>>, "many">;
998
998
  integrityStatus: z.ZodEnum<["valid", "sanitized", "invalid"]>;
@@ -1013,21 +1013,21 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
1013
1013
  countsByOutcome: Readonly<{
1014
1014
  cancelled: number;
1015
1015
  success: number;
1016
+ invalid_input: number;
1016
1017
  user_rejected: number;
1017
1018
  policy_denied: number;
1018
- invalid_input: number;
1019
1019
  tool_failed: number;
1020
1020
  }>;
1021
1021
  recentRecords: Readonly<{
1022
1022
  toolCallId: string;
1023
1023
  toolName: string;
1024
1024
  agentName: string;
1025
- sequence: number;
1026
1025
  outcome: Readonly<{
1027
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
1026
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
1028
1027
  reason?: string | undefined;
1029
1028
  executionState?: "not_executed" | "outcome_unknown" | undefined;
1030
1029
  }>;
1030
+ sequence: number;
1031
1031
  executionId: string;
1032
1032
  }>[];
1033
1033
  integrityStatus: "invalid" | "valid" | "sanitized";
@@ -1040,21 +1040,21 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
1040
1040
  countsByOutcome: Readonly<{
1041
1041
  cancelled: number;
1042
1042
  success: number;
1043
+ invalid_input: number;
1043
1044
  user_rejected: number;
1044
1045
  policy_denied: number;
1045
- invalid_input: number;
1046
1046
  tool_failed: number;
1047
1047
  }>;
1048
1048
  recentRecords: Readonly<{
1049
1049
  toolCallId: string;
1050
1050
  toolName: string;
1051
1051
  agentName: string;
1052
- sequence: number;
1053
1052
  outcome: Readonly<{
1054
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
1053
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
1055
1054
  reason?: string | undefined;
1056
1055
  executionState?: "not_executed" | "outcome_unknown" | undefined;
1057
1056
  }>;
1057
+ sequence: number;
1058
1058
  executionId: string;
1059
1059
  }>[];
1060
1060
  integrityStatus: "invalid" | "valid" | "sanitized";
@@ -1084,9 +1084,9 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
1084
1084
  recoverability: "unavailable" | "live" | "stale";
1085
1085
  commandPreview: string;
1086
1086
  observedAt: string;
1087
+ exitCode?: number | undefined;
1087
1088
  terminationCause?: string | undefined;
1088
1089
  wallTimeMs?: number | undefined;
1089
- exitCode?: number | undefined;
1090
1090
  cleanupError?: string | undefined;
1091
1091
  }, {
1092
1092
  sessionId: number;
@@ -1096,9 +1096,9 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
1096
1096
  recoverability: "unavailable" | "live" | "stale";
1097
1097
  commandPreview: string;
1098
1098
  observedAt: string;
1099
+ exitCode?: number | undefined;
1099
1100
  terminationCause?: string | undefined;
1100
1101
  wallTimeMs?: number | undefined;
1101
- exitCode?: number | undefined;
1102
1102
  cleanupError?: string | undefined;
1103
1103
  }>>, "many">;
1104
1104
  context: z.ZodReadonly<z.ZodObject<{
@@ -1206,21 +1206,21 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
1206
1206
  countsByOutcome: Readonly<{
1207
1207
  cancelled: number;
1208
1208
  success: number;
1209
+ invalid_input: number;
1209
1210
  user_rejected: number;
1210
1211
  policy_denied: number;
1211
- invalid_input: number;
1212
1212
  tool_failed: number;
1213
1213
  }>;
1214
1214
  recentRecords: Readonly<{
1215
1215
  toolCallId: string;
1216
1216
  toolName: string;
1217
1217
  agentName: string;
1218
- sequence: number;
1219
1218
  outcome: Readonly<{
1220
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
1219
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
1221
1220
  reason?: string | undefined;
1222
1221
  executionState?: "not_executed" | "outcome_unknown" | undefined;
1223
1222
  }>;
1223
+ sequence: number;
1224
1224
  executionId: string;
1225
1225
  }>[];
1226
1226
  integrityStatus: "invalid" | "valid" | "sanitized";
@@ -1238,9 +1238,9 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
1238
1238
  recoverability: "unavailable" | "live" | "stale";
1239
1239
  commandPreview: string;
1240
1240
  observedAt: string;
1241
+ exitCode?: number | undefined;
1241
1242
  terminationCause?: string | undefined;
1242
1243
  wallTimeMs?: number | undefined;
1243
- exitCode?: number | undefined;
1244
1244
  cleanupError?: string | undefined;
1245
1245
  }>[];
1246
1246
  transcript: Readonly<{
@@ -1300,21 +1300,21 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
1300
1300
  countsByOutcome: Readonly<{
1301
1301
  cancelled: number;
1302
1302
  success: number;
1303
+ invalid_input: number;
1303
1304
  user_rejected: number;
1304
1305
  policy_denied: number;
1305
- invalid_input: number;
1306
1306
  tool_failed: number;
1307
1307
  }>;
1308
1308
  recentRecords: Readonly<{
1309
1309
  toolCallId: string;
1310
1310
  toolName: string;
1311
1311
  agentName: string;
1312
- sequence: number;
1313
1312
  outcome: Readonly<{
1314
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
1313
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
1315
1314
  reason?: string | undefined;
1316
1315
  executionState?: "not_executed" | "outcome_unknown" | undefined;
1317
1316
  }>;
1317
+ sequence: number;
1318
1318
  executionId: string;
1319
1319
  }>[];
1320
1320
  integrityStatus: "invalid" | "valid" | "sanitized";
@@ -1332,9 +1332,9 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
1332
1332
  recoverability: "unavailable" | "live" | "stale";
1333
1333
  commandPreview: string;
1334
1334
  observedAt: string;
1335
+ exitCode?: number | undefined;
1335
1336
  terminationCause?: string | undefined;
1336
1337
  wallTimeMs?: number | undefined;
1337
- exitCode?: number | undefined;
1338
1338
  cleanupError?: string | undefined;
1339
1339
  }>[];
1340
1340
  transcript: Readonly<{
@@ -2653,16 +2653,16 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
2653
2653
  }, "strict", z.ZodTypeAny, {
2654
2654
  cancelled: number;
2655
2655
  success: number;
2656
+ invalid_input: number;
2656
2657
  user_rejected: number;
2657
2658
  policy_denied: number;
2658
- invalid_input: number;
2659
2659
  tool_failed: number;
2660
2660
  }, {
2661
2661
  cancelled: number;
2662
2662
  success: number;
2663
+ invalid_input: number;
2663
2664
  user_rejected: number;
2664
2665
  policy_denied: number;
2665
- invalid_input: number;
2666
2666
  tool_failed: number;
2667
2667
  }>>;
2668
2668
  recentRecords: z.ZodArray<z.ZodReadonly<z.ZodObject<{
@@ -2676,19 +2676,19 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
2676
2676
  reason: z.ZodOptional<z.ZodString>;
2677
2677
  executionState: z.ZodOptional<z.ZodEnum<["not_executed", "outcome_unknown"]>>;
2678
2678
  }, "strict", z.ZodTypeAny, {
2679
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
2679
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
2680
2680
  reason?: string | undefined;
2681
2681
  executionState?: "not_executed" | "outcome_unknown" | undefined;
2682
2682
  }, {
2683
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
2683
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
2684
2684
  reason?: string | undefined;
2685
2685
  executionState?: "not_executed" | "outcome_unknown" | undefined;
2686
2686
  }>, {
2687
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
2687
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
2688
2688
  reason?: string | undefined;
2689
2689
  executionState?: "not_executed" | "outcome_unknown" | undefined;
2690
2690
  }, {
2691
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
2691
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
2692
2692
  reason?: string | undefined;
2693
2693
  executionState?: "not_executed" | "outcome_unknown" | undefined;
2694
2694
  }>>;
@@ -2696,23 +2696,23 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
2696
2696
  toolCallId: string;
2697
2697
  toolName: string;
2698
2698
  agentName: string;
2699
- sequence: number;
2700
2699
  outcome: Readonly<{
2701
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
2700
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
2702
2701
  reason?: string | undefined;
2703
2702
  executionState?: "not_executed" | "outcome_unknown" | undefined;
2704
2703
  }>;
2704
+ sequence: number;
2705
2705
  executionId: string;
2706
2706
  }, {
2707
2707
  toolCallId: string;
2708
2708
  toolName: string;
2709
2709
  agentName: string;
2710
- sequence: number;
2711
2710
  outcome: Readonly<{
2712
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
2711
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
2713
2712
  reason?: string | undefined;
2714
2713
  executionState?: "not_executed" | "outcome_unknown" | undefined;
2715
2714
  }>;
2715
+ sequence: number;
2716
2716
  executionId: string;
2717
2717
  }>>, "many">;
2718
2718
  integrityStatus: z.ZodEnum<["valid", "sanitized", "invalid"]>;
@@ -2733,21 +2733,21 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
2733
2733
  countsByOutcome: Readonly<{
2734
2734
  cancelled: number;
2735
2735
  success: number;
2736
+ invalid_input: number;
2736
2737
  user_rejected: number;
2737
2738
  policy_denied: number;
2738
- invalid_input: number;
2739
2739
  tool_failed: number;
2740
2740
  }>;
2741
2741
  recentRecords: Readonly<{
2742
2742
  toolCallId: string;
2743
2743
  toolName: string;
2744
2744
  agentName: string;
2745
- sequence: number;
2746
2745
  outcome: Readonly<{
2747
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
2746
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
2748
2747
  reason?: string | undefined;
2749
2748
  executionState?: "not_executed" | "outcome_unknown" | undefined;
2750
2749
  }>;
2750
+ sequence: number;
2751
2751
  executionId: string;
2752
2752
  }>[];
2753
2753
  integrityStatus: "invalid" | "valid" | "sanitized";
@@ -2760,21 +2760,21 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
2760
2760
  countsByOutcome: Readonly<{
2761
2761
  cancelled: number;
2762
2762
  success: number;
2763
+ invalid_input: number;
2763
2764
  user_rejected: number;
2764
2765
  policy_denied: number;
2765
- invalid_input: number;
2766
2766
  tool_failed: number;
2767
2767
  }>;
2768
2768
  recentRecords: Readonly<{
2769
2769
  toolCallId: string;
2770
2770
  toolName: string;
2771
2771
  agentName: string;
2772
- sequence: number;
2773
2772
  outcome: Readonly<{
2774
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
2773
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
2775
2774
  reason?: string | undefined;
2776
2775
  executionState?: "not_executed" | "outcome_unknown" | undefined;
2777
2776
  }>;
2777
+ sequence: number;
2778
2778
  executionId: string;
2779
2779
  }>[];
2780
2780
  integrityStatus: "invalid" | "valid" | "sanitized";
@@ -2804,9 +2804,9 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
2804
2804
  recoverability: "unavailable" | "live" | "stale";
2805
2805
  commandPreview: string;
2806
2806
  observedAt: string;
2807
+ exitCode?: number | undefined;
2807
2808
  terminationCause?: string | undefined;
2808
2809
  wallTimeMs?: number | undefined;
2809
- exitCode?: number | undefined;
2810
2810
  cleanupError?: string | undefined;
2811
2811
  }, {
2812
2812
  sessionId: number;
@@ -2816,9 +2816,9 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
2816
2816
  recoverability: "unavailable" | "live" | "stale";
2817
2817
  commandPreview: string;
2818
2818
  observedAt: string;
2819
+ exitCode?: number | undefined;
2819
2820
  terminationCause?: string | undefined;
2820
2821
  wallTimeMs?: number | undefined;
2821
- exitCode?: number | undefined;
2822
2822
  cleanupError?: string | undefined;
2823
2823
  }>>, "many">;
2824
2824
  context: z.ZodReadonly<z.ZodObject<{
@@ -2926,21 +2926,21 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
2926
2926
  countsByOutcome: Readonly<{
2927
2927
  cancelled: number;
2928
2928
  success: number;
2929
+ invalid_input: number;
2929
2930
  user_rejected: number;
2930
2931
  policy_denied: number;
2931
- invalid_input: number;
2932
2932
  tool_failed: number;
2933
2933
  }>;
2934
2934
  recentRecords: Readonly<{
2935
2935
  toolCallId: string;
2936
2936
  toolName: string;
2937
2937
  agentName: string;
2938
- sequence: number;
2939
2938
  outcome: Readonly<{
2940
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
2939
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
2941
2940
  reason?: string | undefined;
2942
2941
  executionState?: "not_executed" | "outcome_unknown" | undefined;
2943
2942
  }>;
2943
+ sequence: number;
2944
2944
  executionId: string;
2945
2945
  }>[];
2946
2946
  integrityStatus: "invalid" | "valid" | "sanitized";
@@ -2958,9 +2958,9 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
2958
2958
  recoverability: "unavailable" | "live" | "stale";
2959
2959
  commandPreview: string;
2960
2960
  observedAt: string;
2961
+ exitCode?: number | undefined;
2961
2962
  terminationCause?: string | undefined;
2962
2963
  wallTimeMs?: number | undefined;
2963
- exitCode?: number | undefined;
2964
2964
  cleanupError?: string | undefined;
2965
2965
  }>[];
2966
2966
  transcript: Readonly<{
@@ -3155,21 +3155,21 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
3155
3155
  countsByOutcome: Readonly<{
3156
3156
  cancelled: number;
3157
3157
  success: number;
3158
+ invalid_input: number;
3158
3159
  user_rejected: number;
3159
3160
  policy_denied: number;
3160
- invalid_input: number;
3161
3161
  tool_failed: number;
3162
3162
  }>;
3163
3163
  recentRecords: Readonly<{
3164
3164
  toolCallId: string;
3165
3165
  toolName: string;
3166
3166
  agentName: string;
3167
- sequence: number;
3168
3167
  outcome: Readonly<{
3169
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
3168
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
3170
3169
  reason?: string | undefined;
3171
3170
  executionState?: "not_executed" | "outcome_unknown" | undefined;
3172
3171
  }>;
3172
+ sequence: number;
3173
3173
  executionId: string;
3174
3174
  }>[];
3175
3175
  integrityStatus: "invalid" | "valid" | "sanitized";
@@ -3187,9 +3187,9 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
3187
3187
  recoverability: "unavailable" | "live" | "stale";
3188
3188
  commandPreview: string;
3189
3189
  observedAt: string;
3190
+ exitCode?: number | undefined;
3190
3191
  terminationCause?: string | undefined;
3191
3192
  wallTimeMs?: number | undefined;
3192
- exitCode?: number | undefined;
3193
3193
  cleanupError?: string | undefined;
3194
3194
  }>[];
3195
3195
  transcript: Readonly<{
@@ -3384,21 +3384,21 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
3384
3384
  countsByOutcome: Readonly<{
3385
3385
  cancelled: number;
3386
3386
  success: number;
3387
+ invalid_input: number;
3387
3388
  user_rejected: number;
3388
3389
  policy_denied: number;
3389
- invalid_input: number;
3390
3390
  tool_failed: number;
3391
3391
  }>;
3392
3392
  recentRecords: Readonly<{
3393
3393
  toolCallId: string;
3394
3394
  toolName: string;
3395
3395
  agentName: string;
3396
- sequence: number;
3397
3396
  outcome: Readonly<{
3398
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
3397
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
3399
3398
  reason?: string | undefined;
3400
3399
  executionState?: "not_executed" | "outcome_unknown" | undefined;
3401
3400
  }>;
3401
+ sequence: number;
3402
3402
  executionId: string;
3403
3403
  }>[];
3404
3404
  integrityStatus: "invalid" | "valid" | "sanitized";
@@ -3416,9 +3416,9 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
3416
3416
  recoverability: "unavailable" | "live" | "stale";
3417
3417
  commandPreview: string;
3418
3418
  observedAt: string;
3419
+ exitCode?: number | undefined;
3419
3420
  terminationCause?: string | undefined;
3420
3421
  wallTimeMs?: number | undefined;
3421
- exitCode?: number | undefined;
3422
3422
  cleanupError?: string | undefined;
3423
3423
  }>[];
3424
3424
  transcript: Readonly<{
@@ -3613,21 +3613,21 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
3613
3613
  countsByOutcome: Readonly<{
3614
3614
  cancelled: number;
3615
3615
  success: number;
3616
+ invalid_input: number;
3616
3617
  user_rejected: number;
3617
3618
  policy_denied: number;
3618
- invalid_input: number;
3619
3619
  tool_failed: number;
3620
3620
  }>;
3621
3621
  recentRecords: Readonly<{
3622
3622
  toolCallId: string;
3623
3623
  toolName: string;
3624
3624
  agentName: string;
3625
- sequence: number;
3626
3625
  outcome: Readonly<{
3627
- kind: "cancelled" | "success" | "user_rejected" | "policy_denied" | "invalid_input" | "tool_failed";
3626
+ kind: "cancelled" | "success" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
3628
3627
  reason?: string | undefined;
3629
3628
  executionState?: "not_executed" | "outcome_unknown" | undefined;
3630
3629
  }>;
3630
+ sequence: number;
3631
3631
  executionId: string;
3632
3632
  }>[];
3633
3633
  integrityStatus: "invalid" | "valid" | "sanitized";
@@ -3645,9 +3645,9 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
3645
3645
  recoverability: "unavailable" | "live" | "stale";
3646
3646
  commandPreview: string;
3647
3647
  observedAt: string;
3648
+ exitCode?: number | undefined;
3648
3649
  terminationCause?: string | undefined;
3649
3650
  wallTimeMs?: number | undefined;
3650
- exitCode?: number | undefined;
3651
3651
  cleanupError?: string | undefined;
3652
3652
  }>[];
3653
3653
  transcript: Readonly<{