@roll-agent/runtime 0.23.0 → 0.24.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.
- package/dist/engine/agent-session.js +1 -1
- package/dist/engine/capability-manifest.d.ts +2 -0
- package/dist/engine/capability-manifest.js +1 -1
- package/dist/engine/compaction-checkpoint.d.ts +244 -244
- package/dist/engine/compaction-semantic-state.d.ts +124 -124
- package/dist/engine/context-window.js +1 -1
- package/dist/engine/conversation-engine.js +1 -1
- package/dist/server/runtime-protocol-adapter.js +1 -1
- package/dist/service/runtime-service.d.ts +5 -4
- package/dist/service/runtime-service.js +1 -1
- package/dist/store/thread-store.d.ts +14 -3
- package/dist/store/thread-store.js +1 -1
- package/dist/tool-bridge/app-output-content.d.ts +2 -0
- package/dist/tool-bridge/app-output-content.js +1 -0
- package/dist/tool-bridge/build-tools.js +1 -1
- package/dist/tool-bridge/naming.d.ts +2 -0
- package/dist/tool-bridge/naming.js +1 -1
- package/dist/tool-bridge/normalize-app-output.d.ts +5 -0
- package/dist/tool-bridge/normalize-app-output.js +1 -0
- package/dist/tool-bridge/normalize-result.d.ts +3 -1
- package/dist/tool-bridge/normalize-result.js +1 -1
- package/dist/tool-bridge/tool-approval-continuation.js +1 -1
- package/dist/tool-bridge/tool-execution-record.d.ts +5 -0
- package/dist/tool-bridge/tool-execution-record.js +1 -1
- package/dist/types/events.d.ts +2 -1
- package/package.json +3 -3
|
@@ -65,15 +65,15 @@ declare const compactionToolStateSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
65
65
|
cancelled: z.ZodNumber;
|
|
66
66
|
tool_failed: z.ZodNumber;
|
|
67
67
|
}, "strict", z.ZodTypeAny, {
|
|
68
|
-
cancelled: number;
|
|
69
68
|
success: number;
|
|
69
|
+
cancelled: number;
|
|
70
70
|
invalid_input: number;
|
|
71
71
|
user_rejected: number;
|
|
72
72
|
policy_denied: number;
|
|
73
73
|
tool_failed: number;
|
|
74
74
|
}, {
|
|
75
|
-
cancelled: number;
|
|
76
75
|
success: number;
|
|
76
|
+
cancelled: number;
|
|
77
77
|
invalid_input: number;
|
|
78
78
|
user_rejected: number;
|
|
79
79
|
policy_denied: number;
|
|
@@ -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: "
|
|
93
|
+
kind: "success" | "cancelled" | "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: "
|
|
97
|
+
kind: "success" | "cancelled" | "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: "
|
|
101
|
+
kind: "success" | "cancelled" | "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: "
|
|
105
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
106
106
|
reason?: string | undefined;
|
|
107
107
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
108
108
|
}>>;
|
|
@@ -111,7 +111,7 @@ declare const compactionToolStateSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
111
111
|
toolName: string;
|
|
112
112
|
agentName: string;
|
|
113
113
|
outcome: Readonly<{
|
|
114
|
-
kind: "
|
|
114
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
115
115
|
reason?: string | undefined;
|
|
116
116
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
117
117
|
}>;
|
|
@@ -122,7 +122,7 @@ declare const compactionToolStateSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
122
122
|
toolName: string;
|
|
123
123
|
agentName: string;
|
|
124
124
|
outcome: Readonly<{
|
|
125
|
-
kind: "
|
|
125
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
126
126
|
reason?: string | undefined;
|
|
127
127
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
128
128
|
}>;
|
|
@@ -145,8 +145,8 @@ declare const compactionToolStateSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
145
145
|
}>>, "many">;
|
|
146
146
|
}, "strict", z.ZodTypeAny, {
|
|
147
147
|
countsByOutcome: Readonly<{
|
|
148
|
-
cancelled: number;
|
|
149
148
|
success: number;
|
|
149
|
+
cancelled: number;
|
|
150
150
|
invalid_input: number;
|
|
151
151
|
user_rejected: number;
|
|
152
152
|
policy_denied: number;
|
|
@@ -157,7 +157,7 @@ declare const compactionToolStateSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
157
157
|
toolName: string;
|
|
158
158
|
agentName: string;
|
|
159
159
|
outcome: Readonly<{
|
|
160
|
-
kind: "
|
|
160
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
161
161
|
reason?: string | undefined;
|
|
162
162
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
163
163
|
}>;
|
|
@@ -172,8 +172,8 @@ declare const compactionToolStateSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
172
172
|
}>[];
|
|
173
173
|
}, {
|
|
174
174
|
countsByOutcome: Readonly<{
|
|
175
|
-
cancelled: number;
|
|
176
175
|
success: number;
|
|
176
|
+
cancelled: number;
|
|
177
177
|
invalid_input: number;
|
|
178
178
|
user_rejected: number;
|
|
179
179
|
policy_denied: number;
|
|
@@ -184,7 +184,7 @@ declare const compactionToolStateSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
184
184
|
toolName: string;
|
|
185
185
|
agentName: string;
|
|
186
186
|
outcome: Readonly<{
|
|
187
|
-
kind: "
|
|
187
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
188
188
|
reason?: string | undefined;
|
|
189
189
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
190
190
|
}>;
|
|
@@ -430,15 +430,15 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
430
430
|
cancelled: z.ZodNumber;
|
|
431
431
|
tool_failed: z.ZodNumber;
|
|
432
432
|
}, "strict", z.ZodTypeAny, {
|
|
433
|
-
cancelled: number;
|
|
434
433
|
success: number;
|
|
434
|
+
cancelled: number;
|
|
435
435
|
invalid_input: number;
|
|
436
436
|
user_rejected: number;
|
|
437
437
|
policy_denied: number;
|
|
438
438
|
tool_failed: number;
|
|
439
439
|
}, {
|
|
440
|
-
cancelled: number;
|
|
441
440
|
success: number;
|
|
441
|
+
cancelled: number;
|
|
442
442
|
invalid_input: number;
|
|
443
443
|
user_rejected: number;
|
|
444
444
|
policy_denied: number;
|
|
@@ -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: "
|
|
458
|
+
kind: "success" | "cancelled" | "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: "
|
|
462
|
+
kind: "success" | "cancelled" | "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: "
|
|
466
|
+
kind: "success" | "cancelled" | "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: "
|
|
470
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
471
471
|
reason?: string | undefined;
|
|
472
472
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
473
473
|
}>>;
|
|
@@ -476,7 +476,7 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
476
476
|
toolName: string;
|
|
477
477
|
agentName: string;
|
|
478
478
|
outcome: Readonly<{
|
|
479
|
-
kind: "
|
|
479
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
480
480
|
reason?: string | undefined;
|
|
481
481
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
482
482
|
}>;
|
|
@@ -487,7 +487,7 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
487
487
|
toolName: string;
|
|
488
488
|
agentName: string;
|
|
489
489
|
outcome: Readonly<{
|
|
490
|
-
kind: "
|
|
490
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
491
491
|
reason?: string | undefined;
|
|
492
492
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
493
493
|
}>;
|
|
@@ -510,8 +510,8 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
510
510
|
}>>, "many">;
|
|
511
511
|
}, "strict", z.ZodTypeAny, {
|
|
512
512
|
countsByOutcome: Readonly<{
|
|
513
|
-
cancelled: number;
|
|
514
513
|
success: number;
|
|
514
|
+
cancelled: number;
|
|
515
515
|
invalid_input: number;
|
|
516
516
|
user_rejected: number;
|
|
517
517
|
policy_denied: number;
|
|
@@ -522,7 +522,7 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
522
522
|
toolName: string;
|
|
523
523
|
agentName: string;
|
|
524
524
|
outcome: Readonly<{
|
|
525
|
-
kind: "
|
|
525
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
526
526
|
reason?: string | undefined;
|
|
527
527
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
528
528
|
}>;
|
|
@@ -537,8 +537,8 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
537
537
|
}>[];
|
|
538
538
|
}, {
|
|
539
539
|
countsByOutcome: Readonly<{
|
|
540
|
-
cancelled: number;
|
|
541
540
|
success: number;
|
|
541
|
+
cancelled: number;
|
|
542
542
|
invalid_input: number;
|
|
543
543
|
user_rejected: number;
|
|
544
544
|
policy_denied: number;
|
|
@@ -549,7 +549,7 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
549
549
|
toolName: string;
|
|
550
550
|
agentName: string;
|
|
551
551
|
outcome: Readonly<{
|
|
552
|
-
kind: "
|
|
552
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
553
553
|
reason?: string | undefined;
|
|
554
554
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
555
555
|
}>;
|
|
@@ -699,8 +699,8 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
699
699
|
}>[];
|
|
700
700
|
toolState: Readonly<{
|
|
701
701
|
countsByOutcome: Readonly<{
|
|
702
|
-
cancelled: number;
|
|
703
702
|
success: number;
|
|
703
|
+
cancelled: number;
|
|
704
704
|
invalid_input: number;
|
|
705
705
|
user_rejected: number;
|
|
706
706
|
policy_denied: number;
|
|
@@ -711,7 +711,7 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
711
711
|
toolName: string;
|
|
712
712
|
agentName: string;
|
|
713
713
|
outcome: Readonly<{
|
|
714
|
-
kind: "
|
|
714
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
715
715
|
reason?: string | undefined;
|
|
716
716
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
717
717
|
}>;
|
|
@@ -777,8 +777,8 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
777
777
|
}>[];
|
|
778
778
|
toolState: Readonly<{
|
|
779
779
|
countsByOutcome: Readonly<{
|
|
780
|
-
cancelled: number;
|
|
781
780
|
success: number;
|
|
781
|
+
cancelled: number;
|
|
782
782
|
invalid_input: number;
|
|
783
783
|
user_rejected: number;
|
|
784
784
|
policy_denied: number;
|
|
@@ -789,7 +789,7 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
789
789
|
toolName: string;
|
|
790
790
|
agentName: string;
|
|
791
791
|
outcome: Readonly<{
|
|
792
|
-
kind: "
|
|
792
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
793
793
|
reason?: string | undefined;
|
|
794
794
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
795
795
|
}>;
|
|
@@ -931,15 +931,15 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
931
931
|
cancelled: z.ZodNumber;
|
|
932
932
|
tool_failed: z.ZodNumber;
|
|
933
933
|
}, "strict", z.ZodTypeAny, {
|
|
934
|
-
cancelled: number;
|
|
935
934
|
success: number;
|
|
935
|
+
cancelled: number;
|
|
936
936
|
invalid_input: number;
|
|
937
937
|
user_rejected: number;
|
|
938
938
|
policy_denied: number;
|
|
939
939
|
tool_failed: number;
|
|
940
940
|
}, {
|
|
941
|
-
cancelled: number;
|
|
942
941
|
success: number;
|
|
942
|
+
cancelled: number;
|
|
943
943
|
invalid_input: number;
|
|
944
944
|
user_rejected: number;
|
|
945
945
|
policy_denied: number;
|
|
@@ -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: "
|
|
959
|
+
kind: "success" | "cancelled" | "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: "
|
|
963
|
+
kind: "success" | "cancelled" | "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: "
|
|
967
|
+
kind: "success" | "cancelled" | "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: "
|
|
971
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
972
972
|
reason?: string | undefined;
|
|
973
973
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
974
974
|
}>>;
|
|
@@ -977,7 +977,7 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
977
977
|
toolName: string;
|
|
978
978
|
agentName: string;
|
|
979
979
|
outcome: Readonly<{
|
|
980
|
-
kind: "
|
|
980
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
981
981
|
reason?: string | undefined;
|
|
982
982
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
983
983
|
}>;
|
|
@@ -988,7 +988,7 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
988
988
|
toolName: string;
|
|
989
989
|
agentName: string;
|
|
990
990
|
outcome: Readonly<{
|
|
991
|
-
kind: "
|
|
991
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
992
992
|
reason?: string | undefined;
|
|
993
993
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
994
994
|
}>;
|
|
@@ -1011,8 +1011,8 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1011
1011
|
}>>, "many">;
|
|
1012
1012
|
}, "strict", z.ZodTypeAny, {
|
|
1013
1013
|
countsByOutcome: Readonly<{
|
|
1014
|
-
cancelled: number;
|
|
1015
1014
|
success: number;
|
|
1015
|
+
cancelled: number;
|
|
1016
1016
|
invalid_input: number;
|
|
1017
1017
|
user_rejected: number;
|
|
1018
1018
|
policy_denied: number;
|
|
@@ -1023,7 +1023,7 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1023
1023
|
toolName: string;
|
|
1024
1024
|
agentName: string;
|
|
1025
1025
|
outcome: Readonly<{
|
|
1026
|
-
kind: "
|
|
1026
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
1027
1027
|
reason?: string | undefined;
|
|
1028
1028
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
1029
1029
|
}>;
|
|
@@ -1038,8 +1038,8 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1038
1038
|
}>[];
|
|
1039
1039
|
}, {
|
|
1040
1040
|
countsByOutcome: Readonly<{
|
|
1041
|
-
cancelled: number;
|
|
1042
1041
|
success: number;
|
|
1042
|
+
cancelled: number;
|
|
1043
1043
|
invalid_input: number;
|
|
1044
1044
|
user_rejected: number;
|
|
1045
1045
|
policy_denied: number;
|
|
@@ -1050,7 +1050,7 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1050
1050
|
toolName: string;
|
|
1051
1051
|
agentName: string;
|
|
1052
1052
|
outcome: Readonly<{
|
|
1053
|
-
kind: "
|
|
1053
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
1054
1054
|
reason?: string | undefined;
|
|
1055
1055
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
1056
1056
|
}>;
|
|
@@ -1168,8 +1168,8 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1168
1168
|
}>]>>;
|
|
1169
1169
|
}, "strict", z.ZodTypeAny, {
|
|
1170
1170
|
version: 1;
|
|
1171
|
-
createdAt: string;
|
|
1172
1171
|
id: string & z.BRAND<"CompactionCheckpointId">;
|
|
1172
|
+
createdAt: string;
|
|
1173
1173
|
generation: number;
|
|
1174
1174
|
context: Readonly<{
|
|
1175
1175
|
skills: Readonly<{
|
|
@@ -1204,8 +1204,8 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1204
1204
|
}>[];
|
|
1205
1205
|
toolState: Readonly<{
|
|
1206
1206
|
countsByOutcome: Readonly<{
|
|
1207
|
-
cancelled: number;
|
|
1208
1207
|
success: number;
|
|
1208
|
+
cancelled: number;
|
|
1209
1209
|
invalid_input: number;
|
|
1210
1210
|
user_rejected: number;
|
|
1211
1211
|
policy_denied: number;
|
|
@@ -1216,7 +1216,7 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1216
1216
|
toolName: string;
|
|
1217
1217
|
agentName: string;
|
|
1218
1218
|
outcome: Readonly<{
|
|
1219
|
-
kind: "
|
|
1219
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
1220
1220
|
reason?: string | undefined;
|
|
1221
1221
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
1222
1222
|
}>;
|
|
@@ -1262,8 +1262,8 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1262
1262
|
previousCheckpointId?: (string & z.BRAND<"CompactionCheckpointId">) | undefined;
|
|
1263
1263
|
}, {
|
|
1264
1264
|
version: 1;
|
|
1265
|
-
createdAt: string;
|
|
1266
1265
|
id: string;
|
|
1266
|
+
createdAt: string;
|
|
1267
1267
|
generation: number;
|
|
1268
1268
|
context: Readonly<{
|
|
1269
1269
|
skills: Readonly<{
|
|
@@ -1298,8 +1298,8 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1298
1298
|
}>[];
|
|
1299
1299
|
toolState: Readonly<{
|
|
1300
1300
|
countsByOutcome: Readonly<{
|
|
1301
|
-
cancelled: number;
|
|
1302
1301
|
success: number;
|
|
1302
|
+
cancelled: number;
|
|
1303
1303
|
invalid_input: number;
|
|
1304
1304
|
user_rejected: number;
|
|
1305
1305
|
policy_denied: number;
|
|
@@ -1310,7 +1310,7 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1310
1310
|
toolName: string;
|
|
1311
1311
|
agentName: string;
|
|
1312
1312
|
outcome: Readonly<{
|
|
1313
|
-
kind: "
|
|
1313
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
1314
1314
|
reason?: string | undefined;
|
|
1315
1315
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
1316
1316
|
}>;
|
|
@@ -1432,7 +1432,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1432
1432
|
snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1433
1433
|
}, "strict", z.ZodTypeAny, {
|
|
1434
1434
|
sessionId: number | null;
|
|
1435
|
-
kind: "
|
|
1435
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1436
1436
|
messageSequence: number | null;
|
|
1437
1437
|
toolExecutionId: string | null;
|
|
1438
1438
|
resourceKey: string | null;
|
|
@@ -1441,7 +1441,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1441
1441
|
snapshotIndex: number | null;
|
|
1442
1442
|
}, {
|
|
1443
1443
|
sessionId: number | null;
|
|
1444
|
-
kind: "
|
|
1444
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1445
1445
|
messageSequence: number | null;
|
|
1446
1446
|
toolExecutionId: string | null;
|
|
1447
1447
|
resourceKey: string | null;
|
|
@@ -1450,7 +1450,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1450
1450
|
snapshotIndex?: number | null | undefined;
|
|
1451
1451
|
}>, {
|
|
1452
1452
|
sessionId: number | null;
|
|
1453
|
-
kind: "
|
|
1453
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1454
1454
|
messageSequence: number | null;
|
|
1455
1455
|
toolExecutionId: string | null;
|
|
1456
1456
|
resourceKey: string | null;
|
|
@@ -1459,7 +1459,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1459
1459
|
snapshotIndex: number | null;
|
|
1460
1460
|
}, {
|
|
1461
1461
|
sessionId: number | null;
|
|
1462
|
-
kind: "
|
|
1462
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1463
1463
|
messageSequence: number | null;
|
|
1464
1464
|
toolExecutionId: string | null;
|
|
1465
1465
|
resourceKey: string | null;
|
|
@@ -1469,12 +1469,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1469
1469
|
}>>, "many">;
|
|
1470
1470
|
sourceQuotes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1471
1471
|
}, "strict", z.ZodTypeAny, {
|
|
1472
|
-
text: string;
|
|
1473
1472
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
1473
|
+
text: string;
|
|
1474
1474
|
sourceQuotes: string[];
|
|
1475
1475
|
provenance: Readonly<{
|
|
1476
1476
|
sessionId: number | null;
|
|
1477
|
-
kind: "
|
|
1477
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1478
1478
|
messageSequence: number | null;
|
|
1479
1479
|
toolExecutionId: string | null;
|
|
1480
1480
|
resourceKey: string | null;
|
|
@@ -1483,11 +1483,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1483
1483
|
snapshotIndex: number | null;
|
|
1484
1484
|
}>[];
|
|
1485
1485
|
}, {
|
|
1486
|
-
text: string;
|
|
1487
1486
|
id: string;
|
|
1487
|
+
text: string;
|
|
1488
1488
|
provenance: Readonly<{
|
|
1489
1489
|
sessionId: number | null;
|
|
1490
|
-
kind: "
|
|
1490
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1491
1491
|
messageSequence: number | null;
|
|
1492
1492
|
toolExecutionId: string | null;
|
|
1493
1493
|
resourceKey: string | null;
|
|
@@ -1511,7 +1511,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1511
1511
|
snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1512
1512
|
}, "strict", z.ZodTypeAny, {
|
|
1513
1513
|
sessionId: number | null;
|
|
1514
|
-
kind: "
|
|
1514
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1515
1515
|
messageSequence: number | null;
|
|
1516
1516
|
toolExecutionId: string | null;
|
|
1517
1517
|
resourceKey: string | null;
|
|
@@ -1520,7 +1520,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1520
1520
|
snapshotIndex: number | null;
|
|
1521
1521
|
}, {
|
|
1522
1522
|
sessionId: number | null;
|
|
1523
|
-
kind: "
|
|
1523
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1524
1524
|
messageSequence: number | null;
|
|
1525
1525
|
toolExecutionId: string | null;
|
|
1526
1526
|
resourceKey: string | null;
|
|
@@ -1529,7 +1529,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1529
1529
|
snapshotIndex?: number | null | undefined;
|
|
1530
1530
|
}>, {
|
|
1531
1531
|
sessionId: number | null;
|
|
1532
|
-
kind: "
|
|
1532
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1533
1533
|
messageSequence: number | null;
|
|
1534
1534
|
toolExecutionId: string | null;
|
|
1535
1535
|
resourceKey: string | null;
|
|
@@ -1538,7 +1538,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1538
1538
|
snapshotIndex: number | null;
|
|
1539
1539
|
}, {
|
|
1540
1540
|
sessionId: number | null;
|
|
1541
|
-
kind: "
|
|
1541
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1542
1542
|
messageSequence: number | null;
|
|
1543
1543
|
toolExecutionId: string | null;
|
|
1544
1544
|
resourceKey: string | null;
|
|
@@ -1548,12 +1548,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1548
1548
|
}>>, "many">;
|
|
1549
1549
|
sourceQuotes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1550
1550
|
}, "strict", z.ZodTypeAny, {
|
|
1551
|
-
text: string;
|
|
1552
1551
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
1552
|
+
text: string;
|
|
1553
1553
|
sourceQuotes: string[];
|
|
1554
1554
|
provenance: Readonly<{
|
|
1555
1555
|
sessionId: number | null;
|
|
1556
|
-
kind: "
|
|
1556
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1557
1557
|
messageSequence: number | null;
|
|
1558
1558
|
toolExecutionId: string | null;
|
|
1559
1559
|
resourceKey: string | null;
|
|
@@ -1562,11 +1562,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1562
1562
|
snapshotIndex: number | null;
|
|
1563
1563
|
}>[];
|
|
1564
1564
|
}, {
|
|
1565
|
-
text: string;
|
|
1566
1565
|
id: string;
|
|
1566
|
+
text: string;
|
|
1567
1567
|
provenance: Readonly<{
|
|
1568
1568
|
sessionId: number | null;
|
|
1569
|
-
kind: "
|
|
1569
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1570
1570
|
messageSequence: number | null;
|
|
1571
1571
|
toolExecutionId: string | null;
|
|
1572
1572
|
resourceKey: string | null;
|
|
@@ -1590,7 +1590,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1590
1590
|
snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1591
1591
|
}, "strict", z.ZodTypeAny, {
|
|
1592
1592
|
sessionId: number | null;
|
|
1593
|
-
kind: "
|
|
1593
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1594
1594
|
messageSequence: number | null;
|
|
1595
1595
|
toolExecutionId: string | null;
|
|
1596
1596
|
resourceKey: string | null;
|
|
@@ -1599,7 +1599,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1599
1599
|
snapshotIndex: number | null;
|
|
1600
1600
|
}, {
|
|
1601
1601
|
sessionId: number | null;
|
|
1602
|
-
kind: "
|
|
1602
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1603
1603
|
messageSequence: number | null;
|
|
1604
1604
|
toolExecutionId: string | null;
|
|
1605
1605
|
resourceKey: string | null;
|
|
@@ -1608,7 +1608,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1608
1608
|
snapshotIndex?: number | null | undefined;
|
|
1609
1609
|
}>, {
|
|
1610
1610
|
sessionId: number | null;
|
|
1611
|
-
kind: "
|
|
1611
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1612
1612
|
messageSequence: number | null;
|
|
1613
1613
|
toolExecutionId: string | null;
|
|
1614
1614
|
resourceKey: string | null;
|
|
@@ -1617,7 +1617,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1617
1617
|
snapshotIndex: number | null;
|
|
1618
1618
|
}, {
|
|
1619
1619
|
sessionId: number | null;
|
|
1620
|
-
kind: "
|
|
1620
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1621
1621
|
messageSequence: number | null;
|
|
1622
1622
|
toolExecutionId: string | null;
|
|
1623
1623
|
resourceKey: string | null;
|
|
@@ -1627,12 +1627,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1627
1627
|
}>>, "many">;
|
|
1628
1628
|
sourceQuotes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1629
1629
|
}, "strict", z.ZodTypeAny, {
|
|
1630
|
-
text: string;
|
|
1631
1630
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
1631
|
+
text: string;
|
|
1632
1632
|
sourceQuotes: string[];
|
|
1633
1633
|
provenance: Readonly<{
|
|
1634
1634
|
sessionId: number | null;
|
|
1635
|
-
kind: "
|
|
1635
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1636
1636
|
messageSequence: number | null;
|
|
1637
1637
|
toolExecutionId: string | null;
|
|
1638
1638
|
resourceKey: string | null;
|
|
@@ -1641,11 +1641,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1641
1641
|
snapshotIndex: number | null;
|
|
1642
1642
|
}>[];
|
|
1643
1643
|
}, {
|
|
1644
|
-
text: string;
|
|
1645
1644
|
id: string;
|
|
1645
|
+
text: string;
|
|
1646
1646
|
provenance: Readonly<{
|
|
1647
1647
|
sessionId: number | null;
|
|
1648
|
-
kind: "
|
|
1648
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1649
1649
|
messageSequence: number | null;
|
|
1650
1650
|
toolExecutionId: string | null;
|
|
1651
1651
|
resourceKey: string | null;
|
|
@@ -1669,7 +1669,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1669
1669
|
snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1670
1670
|
}, "strict", z.ZodTypeAny, {
|
|
1671
1671
|
sessionId: number | null;
|
|
1672
|
-
kind: "
|
|
1672
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1673
1673
|
messageSequence: number | null;
|
|
1674
1674
|
toolExecutionId: string | null;
|
|
1675
1675
|
resourceKey: string | null;
|
|
@@ -1678,7 +1678,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1678
1678
|
snapshotIndex: number | null;
|
|
1679
1679
|
}, {
|
|
1680
1680
|
sessionId: number | null;
|
|
1681
|
-
kind: "
|
|
1681
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1682
1682
|
messageSequence: number | null;
|
|
1683
1683
|
toolExecutionId: string | null;
|
|
1684
1684
|
resourceKey: string | null;
|
|
@@ -1687,7 +1687,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1687
1687
|
snapshotIndex?: number | null | undefined;
|
|
1688
1688
|
}>, {
|
|
1689
1689
|
sessionId: number | null;
|
|
1690
|
-
kind: "
|
|
1690
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1691
1691
|
messageSequence: number | null;
|
|
1692
1692
|
toolExecutionId: string | null;
|
|
1693
1693
|
resourceKey: string | null;
|
|
@@ -1696,7 +1696,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1696
1696
|
snapshotIndex: number | null;
|
|
1697
1697
|
}, {
|
|
1698
1698
|
sessionId: number | null;
|
|
1699
|
-
kind: "
|
|
1699
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1700
1700
|
messageSequence: number | null;
|
|
1701
1701
|
toolExecutionId: string | null;
|
|
1702
1702
|
resourceKey: string | null;
|
|
@@ -1706,12 +1706,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1706
1706
|
}>>, "many">;
|
|
1707
1707
|
sourceQuotes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1708
1708
|
}, "strict", z.ZodTypeAny, {
|
|
1709
|
-
text: string;
|
|
1710
1709
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
1710
|
+
text: string;
|
|
1711
1711
|
sourceQuotes: string[];
|
|
1712
1712
|
provenance: Readonly<{
|
|
1713
1713
|
sessionId: number | null;
|
|
1714
|
-
kind: "
|
|
1714
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1715
1715
|
messageSequence: number | null;
|
|
1716
1716
|
toolExecutionId: string | null;
|
|
1717
1717
|
resourceKey: string | null;
|
|
@@ -1720,11 +1720,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1720
1720
|
snapshotIndex: number | null;
|
|
1721
1721
|
}>[];
|
|
1722
1722
|
}, {
|
|
1723
|
-
text: string;
|
|
1724
1723
|
id: string;
|
|
1724
|
+
text: string;
|
|
1725
1725
|
provenance: Readonly<{
|
|
1726
1726
|
sessionId: number | null;
|
|
1727
|
-
kind: "
|
|
1727
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1728
1728
|
messageSequence: number | null;
|
|
1729
1729
|
toolExecutionId: string | null;
|
|
1730
1730
|
resourceKey: string | null;
|
|
@@ -1748,7 +1748,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1748
1748
|
snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1749
1749
|
}, "strict", z.ZodTypeAny, {
|
|
1750
1750
|
sessionId: number | null;
|
|
1751
|
-
kind: "
|
|
1751
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1752
1752
|
messageSequence: number | null;
|
|
1753
1753
|
toolExecutionId: string | null;
|
|
1754
1754
|
resourceKey: string | null;
|
|
@@ -1757,7 +1757,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1757
1757
|
snapshotIndex: number | null;
|
|
1758
1758
|
}, {
|
|
1759
1759
|
sessionId: number | null;
|
|
1760
|
-
kind: "
|
|
1760
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1761
1761
|
messageSequence: number | null;
|
|
1762
1762
|
toolExecutionId: string | null;
|
|
1763
1763
|
resourceKey: string | null;
|
|
@@ -1766,7 +1766,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1766
1766
|
snapshotIndex?: number | null | undefined;
|
|
1767
1767
|
}>, {
|
|
1768
1768
|
sessionId: number | null;
|
|
1769
|
-
kind: "
|
|
1769
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1770
1770
|
messageSequence: number | null;
|
|
1771
1771
|
toolExecutionId: string | null;
|
|
1772
1772
|
resourceKey: string | null;
|
|
@@ -1775,7 +1775,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1775
1775
|
snapshotIndex: number | null;
|
|
1776
1776
|
}, {
|
|
1777
1777
|
sessionId: number | null;
|
|
1778
|
-
kind: "
|
|
1778
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1779
1779
|
messageSequence: number | null;
|
|
1780
1780
|
toolExecutionId: string | null;
|
|
1781
1781
|
resourceKey: string | null;
|
|
@@ -1785,12 +1785,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1785
1785
|
}>>, "many">;
|
|
1786
1786
|
sourceQuotes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1787
1787
|
}, "strict", z.ZodTypeAny, {
|
|
1788
|
-
text: string;
|
|
1789
1788
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
1789
|
+
text: string;
|
|
1790
1790
|
sourceQuotes: string[];
|
|
1791
1791
|
provenance: Readonly<{
|
|
1792
1792
|
sessionId: number | null;
|
|
1793
|
-
kind: "
|
|
1793
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1794
1794
|
messageSequence: number | null;
|
|
1795
1795
|
toolExecutionId: string | null;
|
|
1796
1796
|
resourceKey: string | null;
|
|
@@ -1799,11 +1799,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1799
1799
|
snapshotIndex: number | null;
|
|
1800
1800
|
}>[];
|
|
1801
1801
|
}, {
|
|
1802
|
-
text: string;
|
|
1803
1802
|
id: string;
|
|
1803
|
+
text: string;
|
|
1804
1804
|
provenance: Readonly<{
|
|
1805
1805
|
sessionId: number | null;
|
|
1806
|
-
kind: "
|
|
1806
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1807
1807
|
messageSequence: number | null;
|
|
1808
1808
|
toolExecutionId: string | null;
|
|
1809
1809
|
resourceKey: string | null;
|
|
@@ -1827,7 +1827,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1827
1827
|
snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1828
1828
|
}, "strict", z.ZodTypeAny, {
|
|
1829
1829
|
sessionId: number | null;
|
|
1830
|
-
kind: "
|
|
1830
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1831
1831
|
messageSequence: number | null;
|
|
1832
1832
|
toolExecutionId: string | null;
|
|
1833
1833
|
resourceKey: string | null;
|
|
@@ -1836,7 +1836,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1836
1836
|
snapshotIndex: number | null;
|
|
1837
1837
|
}, {
|
|
1838
1838
|
sessionId: number | null;
|
|
1839
|
-
kind: "
|
|
1839
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1840
1840
|
messageSequence: number | null;
|
|
1841
1841
|
toolExecutionId: string | null;
|
|
1842
1842
|
resourceKey: string | null;
|
|
@@ -1845,7 +1845,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1845
1845
|
snapshotIndex?: number | null | undefined;
|
|
1846
1846
|
}>, {
|
|
1847
1847
|
sessionId: number | null;
|
|
1848
|
-
kind: "
|
|
1848
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1849
1849
|
messageSequence: number | null;
|
|
1850
1850
|
toolExecutionId: string | null;
|
|
1851
1851
|
resourceKey: string | null;
|
|
@@ -1854,7 +1854,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1854
1854
|
snapshotIndex: number | null;
|
|
1855
1855
|
}, {
|
|
1856
1856
|
sessionId: number | null;
|
|
1857
|
-
kind: "
|
|
1857
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1858
1858
|
messageSequence: number | null;
|
|
1859
1859
|
toolExecutionId: string | null;
|
|
1860
1860
|
resourceKey: string | null;
|
|
@@ -1867,7 +1867,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1867
1867
|
resourceKey: string;
|
|
1868
1868
|
provenance: Readonly<{
|
|
1869
1869
|
sessionId: number | null;
|
|
1870
|
-
kind: "
|
|
1870
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1871
1871
|
messageSequence: number | null;
|
|
1872
1872
|
toolExecutionId: string | null;
|
|
1873
1873
|
resourceKey: string | null;
|
|
@@ -1880,7 +1880,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1880
1880
|
resourceKey: string;
|
|
1881
1881
|
provenance: Readonly<{
|
|
1882
1882
|
sessionId: number | null;
|
|
1883
|
-
kind: "
|
|
1883
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1884
1884
|
messageSequence: number | null;
|
|
1885
1885
|
toolExecutionId: string | null;
|
|
1886
1886
|
resourceKey: string | null;
|
|
@@ -1904,7 +1904,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1904
1904
|
snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1905
1905
|
}, "strict", z.ZodTypeAny, {
|
|
1906
1906
|
sessionId: number | null;
|
|
1907
|
-
kind: "
|
|
1907
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1908
1908
|
messageSequence: number | null;
|
|
1909
1909
|
toolExecutionId: string | null;
|
|
1910
1910
|
resourceKey: string | null;
|
|
@@ -1913,7 +1913,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1913
1913
|
snapshotIndex: number | null;
|
|
1914
1914
|
}, {
|
|
1915
1915
|
sessionId: number | null;
|
|
1916
|
-
kind: "
|
|
1916
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1917
1917
|
messageSequence: number | null;
|
|
1918
1918
|
toolExecutionId: string | null;
|
|
1919
1919
|
resourceKey: string | null;
|
|
@@ -1922,7 +1922,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1922
1922
|
snapshotIndex?: number | null | undefined;
|
|
1923
1923
|
}>, {
|
|
1924
1924
|
sessionId: number | null;
|
|
1925
|
-
kind: "
|
|
1925
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1926
1926
|
messageSequence: number | null;
|
|
1927
1927
|
toolExecutionId: string | null;
|
|
1928
1928
|
resourceKey: string | null;
|
|
@@ -1931,7 +1931,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1931
1931
|
snapshotIndex: number | null;
|
|
1932
1932
|
}, {
|
|
1933
1933
|
sessionId: number | null;
|
|
1934
|
-
kind: "
|
|
1934
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1935
1935
|
messageSequence: number | null;
|
|
1936
1936
|
toolExecutionId: string | null;
|
|
1937
1937
|
resourceKey: string | null;
|
|
@@ -1945,7 +1945,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1945
1945
|
managerInstanceId: string;
|
|
1946
1946
|
provenance: Readonly<{
|
|
1947
1947
|
sessionId: number | null;
|
|
1948
|
-
kind: "
|
|
1948
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1949
1949
|
messageSequence: number | null;
|
|
1950
1950
|
toolExecutionId: string | null;
|
|
1951
1951
|
resourceKey: string | null;
|
|
@@ -1959,7 +1959,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1959
1959
|
managerInstanceId: string;
|
|
1960
1960
|
provenance: Readonly<{
|
|
1961
1961
|
sessionId: number | null;
|
|
1962
|
-
kind: "
|
|
1962
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1963
1963
|
messageSequence: number | null;
|
|
1964
1964
|
toolExecutionId: string | null;
|
|
1965
1965
|
resourceKey: string | null;
|
|
@@ -1982,7 +1982,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1982
1982
|
snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1983
1983
|
}, "strict", z.ZodTypeAny, {
|
|
1984
1984
|
sessionId: number | null;
|
|
1985
|
-
kind: "
|
|
1985
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1986
1986
|
messageSequence: number | null;
|
|
1987
1987
|
toolExecutionId: string | null;
|
|
1988
1988
|
resourceKey: string | null;
|
|
@@ -1991,7 +1991,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1991
1991
|
snapshotIndex: number | null;
|
|
1992
1992
|
}, {
|
|
1993
1993
|
sessionId: number | null;
|
|
1994
|
-
kind: "
|
|
1994
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
1995
1995
|
messageSequence: number | null;
|
|
1996
1996
|
toolExecutionId: string | null;
|
|
1997
1997
|
resourceKey: string | null;
|
|
@@ -2000,7 +2000,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2000
2000
|
snapshotIndex?: number | null | undefined;
|
|
2001
2001
|
}>, {
|
|
2002
2002
|
sessionId: number | null;
|
|
2003
|
-
kind: "
|
|
2003
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2004
2004
|
messageSequence: number | null;
|
|
2005
2005
|
toolExecutionId: string | null;
|
|
2006
2006
|
resourceKey: string | null;
|
|
@@ -2009,7 +2009,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2009
2009
|
snapshotIndex: number | null;
|
|
2010
2010
|
}, {
|
|
2011
2011
|
sessionId: number | null;
|
|
2012
|
-
kind: "
|
|
2012
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2013
2013
|
messageSequence: number | null;
|
|
2014
2014
|
toolExecutionId: string | null;
|
|
2015
2015
|
resourceKey: string | null;
|
|
@@ -2019,12 +2019,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2019
2019
|
}>>, "many">;
|
|
2020
2020
|
sourceQuotes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2021
2021
|
}, "strict", z.ZodTypeAny, {
|
|
2022
|
-
text: string;
|
|
2023
2022
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2023
|
+
text: string;
|
|
2024
2024
|
sourceQuotes: string[];
|
|
2025
2025
|
provenance: Readonly<{
|
|
2026
2026
|
sessionId: number | null;
|
|
2027
|
-
kind: "
|
|
2027
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2028
2028
|
messageSequence: number | null;
|
|
2029
2029
|
toolExecutionId: string | null;
|
|
2030
2030
|
resourceKey: string | null;
|
|
@@ -2033,11 +2033,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2033
2033
|
snapshotIndex: number | null;
|
|
2034
2034
|
}>[];
|
|
2035
2035
|
}, {
|
|
2036
|
-
text: string;
|
|
2037
2036
|
id: string;
|
|
2037
|
+
text: string;
|
|
2038
2038
|
provenance: Readonly<{
|
|
2039
2039
|
sessionId: number | null;
|
|
2040
|
-
kind: "
|
|
2040
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2041
2041
|
messageSequence: number | null;
|
|
2042
2042
|
toolExecutionId: string | null;
|
|
2043
2043
|
resourceKey: string | null;
|
|
@@ -2079,7 +2079,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2079
2079
|
resourceKey: string;
|
|
2080
2080
|
provenance: Readonly<{
|
|
2081
2081
|
sessionId: number | null;
|
|
2082
|
-
kind: "
|
|
2082
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2083
2083
|
messageSequence: number | null;
|
|
2084
2084
|
toolExecutionId: string | null;
|
|
2085
2085
|
resourceKey: string | null;
|
|
@@ -2089,12 +2089,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2089
2089
|
}>[];
|
|
2090
2090
|
}>[];
|
|
2091
2091
|
goal: Readonly<{
|
|
2092
|
-
text: string;
|
|
2093
2092
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2093
|
+
text: string;
|
|
2094
2094
|
sourceQuotes: string[];
|
|
2095
2095
|
provenance: Readonly<{
|
|
2096
2096
|
sessionId: number | null;
|
|
2097
|
-
kind: "
|
|
2097
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2098
2098
|
messageSequence: number | null;
|
|
2099
2099
|
toolExecutionId: string | null;
|
|
2100
2100
|
resourceKey: string | null;
|
|
@@ -2104,12 +2104,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2104
2104
|
}>[];
|
|
2105
2105
|
}> | null;
|
|
2106
2106
|
constraints: Readonly<{
|
|
2107
|
-
text: string;
|
|
2108
2107
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2108
|
+
text: string;
|
|
2109
2109
|
sourceQuotes: string[];
|
|
2110
2110
|
provenance: Readonly<{
|
|
2111
2111
|
sessionId: number | null;
|
|
2112
|
-
kind: "
|
|
2112
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2113
2113
|
messageSequence: number | null;
|
|
2114
2114
|
toolExecutionId: string | null;
|
|
2115
2115
|
resourceKey: string | null;
|
|
@@ -2119,12 +2119,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2119
2119
|
}>[];
|
|
2120
2120
|
}>[];
|
|
2121
2121
|
decisions: Readonly<{
|
|
2122
|
-
text: string;
|
|
2123
2122
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2123
|
+
text: string;
|
|
2124
2124
|
sourceQuotes: string[];
|
|
2125
2125
|
provenance: Readonly<{
|
|
2126
2126
|
sessionId: number | null;
|
|
2127
|
-
kind: "
|
|
2127
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2128
2128
|
messageSequence: number | null;
|
|
2129
2129
|
toolExecutionId: string | null;
|
|
2130
2130
|
resourceKey: string | null;
|
|
@@ -2134,12 +2134,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2134
2134
|
}>[];
|
|
2135
2135
|
}>[];
|
|
2136
2136
|
completedWork: Readonly<{
|
|
2137
|
-
text: string;
|
|
2138
2137
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2138
|
+
text: string;
|
|
2139
2139
|
sourceQuotes: string[];
|
|
2140
2140
|
provenance: Readonly<{
|
|
2141
2141
|
sessionId: number | null;
|
|
2142
|
-
kind: "
|
|
2142
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2143
2143
|
messageSequence: number | null;
|
|
2144
2144
|
toolExecutionId: string | null;
|
|
2145
2145
|
resourceKey: string | null;
|
|
@@ -2149,12 +2149,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2149
2149
|
}>[];
|
|
2150
2150
|
}>[];
|
|
2151
2151
|
pendingWork: Readonly<{
|
|
2152
|
-
text: string;
|
|
2153
2152
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2153
|
+
text: string;
|
|
2154
2154
|
sourceQuotes: string[];
|
|
2155
2155
|
provenance: Readonly<{
|
|
2156
2156
|
sessionId: number | null;
|
|
2157
|
-
kind: "
|
|
2157
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2158
2158
|
messageSequence: number | null;
|
|
2159
2159
|
toolExecutionId: string | null;
|
|
2160
2160
|
resourceKey: string | null;
|
|
@@ -2169,7 +2169,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2169
2169
|
managerInstanceId: string;
|
|
2170
2170
|
provenance: Readonly<{
|
|
2171
2171
|
sessionId: number | null;
|
|
2172
|
-
kind: "
|
|
2172
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2173
2173
|
messageSequence: number | null;
|
|
2174
2174
|
toolExecutionId: string | null;
|
|
2175
2175
|
resourceKey: string | null;
|
|
@@ -2179,12 +2179,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2179
2179
|
}>[];
|
|
2180
2180
|
}>[];
|
|
2181
2181
|
uncertainties: Readonly<{
|
|
2182
|
-
text: string;
|
|
2183
2182
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2183
|
+
text: string;
|
|
2184
2184
|
sourceQuotes: string[];
|
|
2185
2185
|
provenance: Readonly<{
|
|
2186
2186
|
sessionId: number | null;
|
|
2187
|
-
kind: "
|
|
2187
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2188
2188
|
messageSequence: number | null;
|
|
2189
2189
|
toolExecutionId: string | null;
|
|
2190
2190
|
resourceKey: string | null;
|
|
@@ -2209,7 +2209,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2209
2209
|
resourceKey: string;
|
|
2210
2210
|
provenance: Readonly<{
|
|
2211
2211
|
sessionId: number | null;
|
|
2212
|
-
kind: "
|
|
2212
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2213
2213
|
messageSequence: number | null;
|
|
2214
2214
|
toolExecutionId: string | null;
|
|
2215
2215
|
resourceKey: string | null;
|
|
@@ -2219,11 +2219,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2219
2219
|
}>[];
|
|
2220
2220
|
}>[];
|
|
2221
2221
|
goal: Readonly<{
|
|
2222
|
-
text: string;
|
|
2223
2222
|
id: string;
|
|
2223
|
+
text: string;
|
|
2224
2224
|
provenance: Readonly<{
|
|
2225
2225
|
sessionId: number | null;
|
|
2226
|
-
kind: "
|
|
2226
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2227
2227
|
messageSequence: number | null;
|
|
2228
2228
|
toolExecutionId: string | null;
|
|
2229
2229
|
resourceKey: string | null;
|
|
@@ -2234,11 +2234,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2234
2234
|
sourceQuotes?: string[] | undefined;
|
|
2235
2235
|
}> | null;
|
|
2236
2236
|
decisions: Readonly<{
|
|
2237
|
-
text: string;
|
|
2238
2237
|
id: string;
|
|
2238
|
+
text: string;
|
|
2239
2239
|
provenance: Readonly<{
|
|
2240
2240
|
sessionId: number | null;
|
|
2241
|
-
kind: "
|
|
2241
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2242
2242
|
messageSequence: number | null;
|
|
2243
2243
|
toolExecutionId: string | null;
|
|
2244
2244
|
resourceKey: string | null;
|
|
@@ -2249,11 +2249,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2249
2249
|
sourceQuotes?: string[] | undefined;
|
|
2250
2250
|
}>[];
|
|
2251
2251
|
completedWork: Readonly<{
|
|
2252
|
-
text: string;
|
|
2253
2252
|
id: string;
|
|
2253
|
+
text: string;
|
|
2254
2254
|
provenance: Readonly<{
|
|
2255
2255
|
sessionId: number | null;
|
|
2256
|
-
kind: "
|
|
2256
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2257
2257
|
messageSequence: number | null;
|
|
2258
2258
|
toolExecutionId: string | null;
|
|
2259
2259
|
resourceKey: string | null;
|
|
@@ -2264,11 +2264,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2264
2264
|
sourceQuotes?: string[] | undefined;
|
|
2265
2265
|
}>[];
|
|
2266
2266
|
pendingWork: Readonly<{
|
|
2267
|
-
text: string;
|
|
2268
2267
|
id: string;
|
|
2268
|
+
text: string;
|
|
2269
2269
|
provenance: Readonly<{
|
|
2270
2270
|
sessionId: number | null;
|
|
2271
|
-
kind: "
|
|
2271
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2272
2272
|
messageSequence: number | null;
|
|
2273
2273
|
toolExecutionId: string | null;
|
|
2274
2274
|
resourceKey: string | null;
|
|
@@ -2284,7 +2284,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2284
2284
|
managerInstanceId: string;
|
|
2285
2285
|
provenance: Readonly<{
|
|
2286
2286
|
sessionId: number | null;
|
|
2287
|
-
kind: "
|
|
2287
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2288
2288
|
messageSequence: number | null;
|
|
2289
2289
|
toolExecutionId: string | null;
|
|
2290
2290
|
resourceKey: string | null;
|
|
@@ -2294,11 +2294,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2294
2294
|
}>[];
|
|
2295
2295
|
}>[];
|
|
2296
2296
|
uncertainties: Readonly<{
|
|
2297
|
-
text: string;
|
|
2298
2297
|
id: string;
|
|
2298
|
+
text: string;
|
|
2299
2299
|
provenance: Readonly<{
|
|
2300
2300
|
sessionId: number | null;
|
|
2301
|
-
kind: "
|
|
2301
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2302
2302
|
messageSequence: number | null;
|
|
2303
2303
|
toolExecutionId: string | null;
|
|
2304
2304
|
resourceKey: string | null;
|
|
@@ -2309,11 +2309,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2309
2309
|
sourceQuotes?: string[] | undefined;
|
|
2310
2310
|
}>[];
|
|
2311
2311
|
constraints?: Readonly<{
|
|
2312
|
-
text: string;
|
|
2313
2312
|
id: string;
|
|
2313
|
+
text: string;
|
|
2314
2314
|
provenance: Readonly<{
|
|
2315
2315
|
sessionId: number | null;
|
|
2316
|
-
kind: "
|
|
2316
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2317
2317
|
messageSequence: number | null;
|
|
2318
2318
|
toolExecutionId: string | null;
|
|
2319
2319
|
resourceKey: string | null;
|
|
@@ -2339,7 +2339,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2339
2339
|
resourceKey: string;
|
|
2340
2340
|
provenance: Readonly<{
|
|
2341
2341
|
sessionId: number | null;
|
|
2342
|
-
kind: "
|
|
2342
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2343
2343
|
messageSequence: number | null;
|
|
2344
2344
|
toolExecutionId: string | null;
|
|
2345
2345
|
resourceKey: string | null;
|
|
@@ -2349,12 +2349,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2349
2349
|
}>[];
|
|
2350
2350
|
}>[];
|
|
2351
2351
|
goal: Readonly<{
|
|
2352
|
-
text: string;
|
|
2353
2352
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2353
|
+
text: string;
|
|
2354
2354
|
sourceQuotes: string[];
|
|
2355
2355
|
provenance: Readonly<{
|
|
2356
2356
|
sessionId: number | null;
|
|
2357
|
-
kind: "
|
|
2357
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2358
2358
|
messageSequence: number | null;
|
|
2359
2359
|
toolExecutionId: string | null;
|
|
2360
2360
|
resourceKey: string | null;
|
|
@@ -2364,12 +2364,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2364
2364
|
}>[];
|
|
2365
2365
|
}> | null;
|
|
2366
2366
|
constraints: Readonly<{
|
|
2367
|
-
text: string;
|
|
2368
2367
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2368
|
+
text: string;
|
|
2369
2369
|
sourceQuotes: string[];
|
|
2370
2370
|
provenance: Readonly<{
|
|
2371
2371
|
sessionId: number | null;
|
|
2372
|
-
kind: "
|
|
2372
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2373
2373
|
messageSequence: number | null;
|
|
2374
2374
|
toolExecutionId: string | null;
|
|
2375
2375
|
resourceKey: string | null;
|
|
@@ -2379,12 +2379,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2379
2379
|
}>[];
|
|
2380
2380
|
}>[];
|
|
2381
2381
|
decisions: Readonly<{
|
|
2382
|
-
text: string;
|
|
2383
2382
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2383
|
+
text: string;
|
|
2384
2384
|
sourceQuotes: string[];
|
|
2385
2385
|
provenance: Readonly<{
|
|
2386
2386
|
sessionId: number | null;
|
|
2387
|
-
kind: "
|
|
2387
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2388
2388
|
messageSequence: number | null;
|
|
2389
2389
|
toolExecutionId: string | null;
|
|
2390
2390
|
resourceKey: string | null;
|
|
@@ -2394,12 +2394,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2394
2394
|
}>[];
|
|
2395
2395
|
}>[];
|
|
2396
2396
|
completedWork: Readonly<{
|
|
2397
|
-
text: string;
|
|
2398
2397
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2398
|
+
text: string;
|
|
2399
2399
|
sourceQuotes: string[];
|
|
2400
2400
|
provenance: Readonly<{
|
|
2401
2401
|
sessionId: number | null;
|
|
2402
|
-
kind: "
|
|
2402
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2403
2403
|
messageSequence: number | null;
|
|
2404
2404
|
toolExecutionId: string | null;
|
|
2405
2405
|
resourceKey: string | null;
|
|
@@ -2409,12 +2409,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2409
2409
|
}>[];
|
|
2410
2410
|
}>[];
|
|
2411
2411
|
pendingWork: Readonly<{
|
|
2412
|
-
text: string;
|
|
2413
2412
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2413
|
+
text: string;
|
|
2414
2414
|
sourceQuotes: string[];
|
|
2415
2415
|
provenance: Readonly<{
|
|
2416
2416
|
sessionId: number | null;
|
|
2417
|
-
kind: "
|
|
2417
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2418
2418
|
messageSequence: number | null;
|
|
2419
2419
|
toolExecutionId: string | null;
|
|
2420
2420
|
resourceKey: string | null;
|
|
@@ -2429,7 +2429,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2429
2429
|
managerInstanceId: string;
|
|
2430
2430
|
provenance: Readonly<{
|
|
2431
2431
|
sessionId: number | null;
|
|
2432
|
-
kind: "
|
|
2432
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2433
2433
|
messageSequence: number | null;
|
|
2434
2434
|
toolExecutionId: string | null;
|
|
2435
2435
|
resourceKey: string | null;
|
|
@@ -2439,12 +2439,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2439
2439
|
}>[];
|
|
2440
2440
|
}>[];
|
|
2441
2441
|
uncertainties: Readonly<{
|
|
2442
|
-
text: string;
|
|
2443
2442
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2443
|
+
text: string;
|
|
2444
2444
|
sourceQuotes: string[];
|
|
2445
2445
|
provenance: Readonly<{
|
|
2446
2446
|
sessionId: number | null;
|
|
2447
|
-
kind: "
|
|
2447
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2448
2448
|
messageSequence: number | null;
|
|
2449
2449
|
toolExecutionId: string | null;
|
|
2450
2450
|
resourceKey: string | null;
|
|
@@ -2469,7 +2469,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2469
2469
|
resourceKey: string;
|
|
2470
2470
|
provenance: Readonly<{
|
|
2471
2471
|
sessionId: number | null;
|
|
2472
|
-
kind: "
|
|
2472
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2473
2473
|
messageSequence: number | null;
|
|
2474
2474
|
toolExecutionId: string | null;
|
|
2475
2475
|
resourceKey: string | null;
|
|
@@ -2479,11 +2479,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2479
2479
|
}>[];
|
|
2480
2480
|
}>[];
|
|
2481
2481
|
goal: Readonly<{
|
|
2482
|
-
text: string;
|
|
2483
2482
|
id: string;
|
|
2483
|
+
text: string;
|
|
2484
2484
|
provenance: Readonly<{
|
|
2485
2485
|
sessionId: number | null;
|
|
2486
|
-
kind: "
|
|
2486
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2487
2487
|
messageSequence: number | null;
|
|
2488
2488
|
toolExecutionId: string | null;
|
|
2489
2489
|
resourceKey: string | null;
|
|
@@ -2494,11 +2494,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2494
2494
|
sourceQuotes?: string[] | undefined;
|
|
2495
2495
|
}> | null;
|
|
2496
2496
|
decisions: Readonly<{
|
|
2497
|
-
text: string;
|
|
2498
2497
|
id: string;
|
|
2498
|
+
text: string;
|
|
2499
2499
|
provenance: Readonly<{
|
|
2500
2500
|
sessionId: number | null;
|
|
2501
|
-
kind: "
|
|
2501
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2502
2502
|
messageSequence: number | null;
|
|
2503
2503
|
toolExecutionId: string | null;
|
|
2504
2504
|
resourceKey: string | null;
|
|
@@ -2509,11 +2509,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2509
2509
|
sourceQuotes?: string[] | undefined;
|
|
2510
2510
|
}>[];
|
|
2511
2511
|
completedWork: Readonly<{
|
|
2512
|
-
text: string;
|
|
2513
2512
|
id: string;
|
|
2513
|
+
text: string;
|
|
2514
2514
|
provenance: Readonly<{
|
|
2515
2515
|
sessionId: number | null;
|
|
2516
|
-
kind: "
|
|
2516
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2517
2517
|
messageSequence: number | null;
|
|
2518
2518
|
toolExecutionId: string | null;
|
|
2519
2519
|
resourceKey: string | null;
|
|
@@ -2524,11 +2524,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2524
2524
|
sourceQuotes?: string[] | undefined;
|
|
2525
2525
|
}>[];
|
|
2526
2526
|
pendingWork: Readonly<{
|
|
2527
|
-
text: string;
|
|
2528
2527
|
id: string;
|
|
2528
|
+
text: string;
|
|
2529
2529
|
provenance: Readonly<{
|
|
2530
2530
|
sessionId: number | null;
|
|
2531
|
-
kind: "
|
|
2531
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2532
2532
|
messageSequence: number | null;
|
|
2533
2533
|
toolExecutionId: string | null;
|
|
2534
2534
|
resourceKey: string | null;
|
|
@@ -2544,7 +2544,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2544
2544
|
managerInstanceId: string;
|
|
2545
2545
|
provenance: Readonly<{
|
|
2546
2546
|
sessionId: number | null;
|
|
2547
|
-
kind: "
|
|
2547
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2548
2548
|
messageSequence: number | null;
|
|
2549
2549
|
toolExecutionId: string | null;
|
|
2550
2550
|
resourceKey: string | null;
|
|
@@ -2554,11 +2554,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2554
2554
|
}>[];
|
|
2555
2555
|
}>[];
|
|
2556
2556
|
uncertainties: Readonly<{
|
|
2557
|
-
text: string;
|
|
2558
2557
|
id: string;
|
|
2558
|
+
text: string;
|
|
2559
2559
|
provenance: Readonly<{
|
|
2560
2560
|
sessionId: number | null;
|
|
2561
|
-
kind: "
|
|
2561
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2562
2562
|
messageSequence: number | null;
|
|
2563
2563
|
toolExecutionId: string | null;
|
|
2564
2564
|
resourceKey: string | null;
|
|
@@ -2569,11 +2569,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2569
2569
|
sourceQuotes?: string[] | undefined;
|
|
2570
2570
|
}>[];
|
|
2571
2571
|
constraints?: Readonly<{
|
|
2572
|
-
text: string;
|
|
2573
2572
|
id: string;
|
|
2573
|
+
text: string;
|
|
2574
2574
|
provenance: Readonly<{
|
|
2575
2575
|
sessionId: number | null;
|
|
2576
|
-
kind: "
|
|
2576
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2577
2577
|
messageSequence: number | null;
|
|
2578
2578
|
toolExecutionId: string | null;
|
|
2579
2579
|
resourceKey: string | null;
|
|
@@ -2651,15 +2651,15 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2651
2651
|
cancelled: z.ZodNumber;
|
|
2652
2652
|
tool_failed: z.ZodNumber;
|
|
2653
2653
|
}, "strict", z.ZodTypeAny, {
|
|
2654
|
-
cancelled: number;
|
|
2655
2654
|
success: number;
|
|
2655
|
+
cancelled: number;
|
|
2656
2656
|
invalid_input: number;
|
|
2657
2657
|
user_rejected: number;
|
|
2658
2658
|
policy_denied: number;
|
|
2659
2659
|
tool_failed: number;
|
|
2660
2660
|
}, {
|
|
2661
|
-
cancelled: number;
|
|
2662
2661
|
success: number;
|
|
2662
|
+
cancelled: number;
|
|
2663
2663
|
invalid_input: number;
|
|
2664
2664
|
user_rejected: number;
|
|
2665
2665
|
policy_denied: number;
|
|
@@ -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: "
|
|
2679
|
+
kind: "success" | "cancelled" | "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: "
|
|
2683
|
+
kind: "success" | "cancelled" | "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: "
|
|
2687
|
+
kind: "success" | "cancelled" | "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: "
|
|
2691
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
2692
2692
|
reason?: string | undefined;
|
|
2693
2693
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
2694
2694
|
}>>;
|
|
@@ -2697,7 +2697,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2697
2697
|
toolName: string;
|
|
2698
2698
|
agentName: string;
|
|
2699
2699
|
outcome: Readonly<{
|
|
2700
|
-
kind: "
|
|
2700
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
2701
2701
|
reason?: string | undefined;
|
|
2702
2702
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
2703
2703
|
}>;
|
|
@@ -2708,7 +2708,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2708
2708
|
toolName: string;
|
|
2709
2709
|
agentName: string;
|
|
2710
2710
|
outcome: Readonly<{
|
|
2711
|
-
kind: "
|
|
2711
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
2712
2712
|
reason?: string | undefined;
|
|
2713
2713
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
2714
2714
|
}>;
|
|
@@ -2731,8 +2731,8 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2731
2731
|
}>>, "many">;
|
|
2732
2732
|
}, "strict", z.ZodTypeAny, {
|
|
2733
2733
|
countsByOutcome: Readonly<{
|
|
2734
|
-
cancelled: number;
|
|
2735
2734
|
success: number;
|
|
2735
|
+
cancelled: number;
|
|
2736
2736
|
invalid_input: number;
|
|
2737
2737
|
user_rejected: number;
|
|
2738
2738
|
policy_denied: number;
|
|
@@ -2743,7 +2743,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2743
2743
|
toolName: string;
|
|
2744
2744
|
agentName: string;
|
|
2745
2745
|
outcome: Readonly<{
|
|
2746
|
-
kind: "
|
|
2746
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
2747
2747
|
reason?: string | undefined;
|
|
2748
2748
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
2749
2749
|
}>;
|
|
@@ -2758,8 +2758,8 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2758
2758
|
}>[];
|
|
2759
2759
|
}, {
|
|
2760
2760
|
countsByOutcome: Readonly<{
|
|
2761
|
-
cancelled: number;
|
|
2762
2761
|
success: number;
|
|
2762
|
+
cancelled: number;
|
|
2763
2763
|
invalid_input: number;
|
|
2764
2764
|
user_rejected: number;
|
|
2765
2765
|
policy_denied: number;
|
|
@@ -2770,7 +2770,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2770
2770
|
toolName: string;
|
|
2771
2771
|
agentName: string;
|
|
2772
2772
|
outcome: Readonly<{
|
|
2773
|
-
kind: "
|
|
2773
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
2774
2774
|
reason?: string | undefined;
|
|
2775
2775
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
2776
2776
|
}>;
|
|
@@ -2888,8 +2888,8 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2888
2888
|
}>]>>;
|
|
2889
2889
|
}, "strict", z.ZodTypeAny, {
|
|
2890
2890
|
version: 2;
|
|
2891
|
-
createdAt: string;
|
|
2892
2891
|
id: string & z.BRAND<"CompactionCheckpointId">;
|
|
2892
|
+
createdAt: string;
|
|
2893
2893
|
generation: number;
|
|
2894
2894
|
context: Readonly<{
|
|
2895
2895
|
skills: Readonly<{
|
|
@@ -2924,8 +2924,8 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2924
2924
|
}>[];
|
|
2925
2925
|
toolState: Readonly<{
|
|
2926
2926
|
countsByOutcome: Readonly<{
|
|
2927
|
-
cancelled: number;
|
|
2928
2927
|
success: number;
|
|
2928
|
+
cancelled: number;
|
|
2929
2929
|
invalid_input: number;
|
|
2930
2930
|
user_rejected: number;
|
|
2931
2931
|
policy_denied: number;
|
|
@@ -2936,7 +2936,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2936
2936
|
toolName: string;
|
|
2937
2937
|
agentName: string;
|
|
2938
2938
|
outcome: Readonly<{
|
|
2939
|
-
kind: "
|
|
2939
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
2940
2940
|
reason?: string | undefined;
|
|
2941
2941
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
2942
2942
|
}>;
|
|
@@ -2981,7 +2981,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2981
2981
|
resourceKey: string;
|
|
2982
2982
|
provenance: Readonly<{
|
|
2983
2983
|
sessionId: number | null;
|
|
2984
|
-
kind: "
|
|
2984
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
2985
2985
|
messageSequence: number | null;
|
|
2986
2986
|
toolExecutionId: string | null;
|
|
2987
2987
|
resourceKey: string | null;
|
|
@@ -2991,12 +2991,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2991
2991
|
}>[];
|
|
2992
2992
|
}>[];
|
|
2993
2993
|
goal: Readonly<{
|
|
2994
|
-
text: string;
|
|
2995
2994
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2995
|
+
text: string;
|
|
2996
2996
|
sourceQuotes: string[];
|
|
2997
2997
|
provenance: Readonly<{
|
|
2998
2998
|
sessionId: number | null;
|
|
2999
|
-
kind: "
|
|
2999
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3000
3000
|
messageSequence: number | null;
|
|
3001
3001
|
toolExecutionId: string | null;
|
|
3002
3002
|
resourceKey: string | null;
|
|
@@ -3006,12 +3006,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3006
3006
|
}>[];
|
|
3007
3007
|
}> | null;
|
|
3008
3008
|
constraints: Readonly<{
|
|
3009
|
-
text: string;
|
|
3010
3009
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3010
|
+
text: string;
|
|
3011
3011
|
sourceQuotes: string[];
|
|
3012
3012
|
provenance: Readonly<{
|
|
3013
3013
|
sessionId: number | null;
|
|
3014
|
-
kind: "
|
|
3014
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3015
3015
|
messageSequence: number | null;
|
|
3016
3016
|
toolExecutionId: string | null;
|
|
3017
3017
|
resourceKey: string | null;
|
|
@@ -3021,12 +3021,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3021
3021
|
}>[];
|
|
3022
3022
|
}>[];
|
|
3023
3023
|
decisions: Readonly<{
|
|
3024
|
-
text: string;
|
|
3025
3024
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3025
|
+
text: string;
|
|
3026
3026
|
sourceQuotes: string[];
|
|
3027
3027
|
provenance: Readonly<{
|
|
3028
3028
|
sessionId: number | null;
|
|
3029
|
-
kind: "
|
|
3029
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3030
3030
|
messageSequence: number | null;
|
|
3031
3031
|
toolExecutionId: string | null;
|
|
3032
3032
|
resourceKey: string | null;
|
|
@@ -3036,12 +3036,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3036
3036
|
}>[];
|
|
3037
3037
|
}>[];
|
|
3038
3038
|
completedWork: Readonly<{
|
|
3039
|
-
text: string;
|
|
3040
3039
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3040
|
+
text: string;
|
|
3041
3041
|
sourceQuotes: string[];
|
|
3042
3042
|
provenance: Readonly<{
|
|
3043
3043
|
sessionId: number | null;
|
|
3044
|
-
kind: "
|
|
3044
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3045
3045
|
messageSequence: number | null;
|
|
3046
3046
|
toolExecutionId: string | null;
|
|
3047
3047
|
resourceKey: string | null;
|
|
@@ -3051,12 +3051,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3051
3051
|
}>[];
|
|
3052
3052
|
}>[];
|
|
3053
3053
|
pendingWork: Readonly<{
|
|
3054
|
-
text: string;
|
|
3055
3054
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3055
|
+
text: string;
|
|
3056
3056
|
sourceQuotes: string[];
|
|
3057
3057
|
provenance: Readonly<{
|
|
3058
3058
|
sessionId: number | null;
|
|
3059
|
-
kind: "
|
|
3059
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3060
3060
|
messageSequence: number | null;
|
|
3061
3061
|
toolExecutionId: string | null;
|
|
3062
3062
|
resourceKey: string | null;
|
|
@@ -3071,7 +3071,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3071
3071
|
managerInstanceId: string;
|
|
3072
3072
|
provenance: Readonly<{
|
|
3073
3073
|
sessionId: number | null;
|
|
3074
|
-
kind: "
|
|
3074
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3075
3075
|
messageSequence: number | null;
|
|
3076
3076
|
toolExecutionId: string | null;
|
|
3077
3077
|
resourceKey: string | null;
|
|
@@ -3081,12 +3081,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3081
3081
|
}>[];
|
|
3082
3082
|
}>[];
|
|
3083
3083
|
uncertainties: Readonly<{
|
|
3084
|
-
text: string;
|
|
3085
3084
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3085
|
+
text: string;
|
|
3086
3086
|
sourceQuotes: string[];
|
|
3087
3087
|
provenance: Readonly<{
|
|
3088
3088
|
sessionId: number | null;
|
|
3089
|
-
kind: "
|
|
3089
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3090
3090
|
messageSequence: number | null;
|
|
3091
3091
|
toolExecutionId: string | null;
|
|
3092
3092
|
resourceKey: string | null;
|
|
@@ -3117,8 +3117,8 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3117
3117
|
previousCheckpointId?: (string & z.BRAND<"CompactionCheckpointId">) | undefined;
|
|
3118
3118
|
}, {
|
|
3119
3119
|
version: 2;
|
|
3120
|
-
createdAt: string;
|
|
3121
3120
|
id: string;
|
|
3121
|
+
createdAt: string;
|
|
3122
3122
|
generation: number;
|
|
3123
3123
|
context: Readonly<{
|
|
3124
3124
|
skills: Readonly<{
|
|
@@ -3153,8 +3153,8 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3153
3153
|
}>[];
|
|
3154
3154
|
toolState: Readonly<{
|
|
3155
3155
|
countsByOutcome: Readonly<{
|
|
3156
|
-
cancelled: number;
|
|
3157
3156
|
success: number;
|
|
3157
|
+
cancelled: number;
|
|
3158
3158
|
invalid_input: number;
|
|
3159
3159
|
user_rejected: number;
|
|
3160
3160
|
policy_denied: number;
|
|
@@ -3165,7 +3165,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3165
3165
|
toolName: string;
|
|
3166
3166
|
agentName: string;
|
|
3167
3167
|
outcome: Readonly<{
|
|
3168
|
-
kind: "
|
|
3168
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
3169
3169
|
reason?: string | undefined;
|
|
3170
3170
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
3171
3171
|
}>;
|
|
@@ -3210,7 +3210,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3210
3210
|
resourceKey: string;
|
|
3211
3211
|
provenance: Readonly<{
|
|
3212
3212
|
sessionId: number | null;
|
|
3213
|
-
kind: "
|
|
3213
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3214
3214
|
messageSequence: number | null;
|
|
3215
3215
|
toolExecutionId: string | null;
|
|
3216
3216
|
resourceKey: string | null;
|
|
@@ -3220,11 +3220,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3220
3220
|
}>[];
|
|
3221
3221
|
}>[];
|
|
3222
3222
|
goal: Readonly<{
|
|
3223
|
-
text: string;
|
|
3224
3223
|
id: string;
|
|
3224
|
+
text: string;
|
|
3225
3225
|
provenance: Readonly<{
|
|
3226
3226
|
sessionId: number | null;
|
|
3227
|
-
kind: "
|
|
3227
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3228
3228
|
messageSequence: number | null;
|
|
3229
3229
|
toolExecutionId: string | null;
|
|
3230
3230
|
resourceKey: string | null;
|
|
@@ -3235,11 +3235,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3235
3235
|
sourceQuotes?: string[] | undefined;
|
|
3236
3236
|
}> | null;
|
|
3237
3237
|
decisions: Readonly<{
|
|
3238
|
-
text: string;
|
|
3239
3238
|
id: string;
|
|
3239
|
+
text: string;
|
|
3240
3240
|
provenance: Readonly<{
|
|
3241
3241
|
sessionId: number | null;
|
|
3242
|
-
kind: "
|
|
3242
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3243
3243
|
messageSequence: number | null;
|
|
3244
3244
|
toolExecutionId: string | null;
|
|
3245
3245
|
resourceKey: string | null;
|
|
@@ -3250,11 +3250,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3250
3250
|
sourceQuotes?: string[] | undefined;
|
|
3251
3251
|
}>[];
|
|
3252
3252
|
completedWork: Readonly<{
|
|
3253
|
-
text: string;
|
|
3254
3253
|
id: string;
|
|
3254
|
+
text: string;
|
|
3255
3255
|
provenance: Readonly<{
|
|
3256
3256
|
sessionId: number | null;
|
|
3257
|
-
kind: "
|
|
3257
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3258
3258
|
messageSequence: number | null;
|
|
3259
3259
|
toolExecutionId: string | null;
|
|
3260
3260
|
resourceKey: string | null;
|
|
@@ -3265,11 +3265,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3265
3265
|
sourceQuotes?: string[] | undefined;
|
|
3266
3266
|
}>[];
|
|
3267
3267
|
pendingWork: Readonly<{
|
|
3268
|
-
text: string;
|
|
3269
3268
|
id: string;
|
|
3269
|
+
text: string;
|
|
3270
3270
|
provenance: Readonly<{
|
|
3271
3271
|
sessionId: number | null;
|
|
3272
|
-
kind: "
|
|
3272
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3273
3273
|
messageSequence: number | null;
|
|
3274
3274
|
toolExecutionId: string | null;
|
|
3275
3275
|
resourceKey: string | null;
|
|
@@ -3285,7 +3285,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3285
3285
|
managerInstanceId: string;
|
|
3286
3286
|
provenance: Readonly<{
|
|
3287
3287
|
sessionId: number | null;
|
|
3288
|
-
kind: "
|
|
3288
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3289
3289
|
messageSequence: number | null;
|
|
3290
3290
|
toolExecutionId: string | null;
|
|
3291
3291
|
resourceKey: string | null;
|
|
@@ -3295,11 +3295,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3295
3295
|
}>[];
|
|
3296
3296
|
}>[];
|
|
3297
3297
|
uncertainties: Readonly<{
|
|
3298
|
-
text: string;
|
|
3299
3298
|
id: string;
|
|
3299
|
+
text: string;
|
|
3300
3300
|
provenance: Readonly<{
|
|
3301
3301
|
sessionId: number | null;
|
|
3302
|
-
kind: "
|
|
3302
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3303
3303
|
messageSequence: number | null;
|
|
3304
3304
|
toolExecutionId: string | null;
|
|
3305
3305
|
resourceKey: string | null;
|
|
@@ -3310,11 +3310,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3310
3310
|
sourceQuotes?: string[] | undefined;
|
|
3311
3311
|
}>[];
|
|
3312
3312
|
constraints?: Readonly<{
|
|
3313
|
-
text: string;
|
|
3314
3313
|
id: string;
|
|
3314
|
+
text: string;
|
|
3315
3315
|
provenance: Readonly<{
|
|
3316
3316
|
sessionId: number | null;
|
|
3317
|
-
kind: "
|
|
3317
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3318
3318
|
messageSequence: number | null;
|
|
3319
3319
|
toolExecutionId: string | null;
|
|
3320
3320
|
resourceKey: string | null;
|
|
@@ -3346,8 +3346,8 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3346
3346
|
}> | undefined;
|
|
3347
3347
|
}>, {
|
|
3348
3348
|
version: 2;
|
|
3349
|
-
createdAt: string;
|
|
3350
3349
|
id: string & z.BRAND<"CompactionCheckpointId">;
|
|
3350
|
+
createdAt: string;
|
|
3351
3351
|
generation: number;
|
|
3352
3352
|
context: Readonly<{
|
|
3353
3353
|
skills: Readonly<{
|
|
@@ -3382,8 +3382,8 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3382
3382
|
}>[];
|
|
3383
3383
|
toolState: Readonly<{
|
|
3384
3384
|
countsByOutcome: Readonly<{
|
|
3385
|
-
cancelled: number;
|
|
3386
3385
|
success: number;
|
|
3386
|
+
cancelled: number;
|
|
3387
3387
|
invalid_input: number;
|
|
3388
3388
|
user_rejected: number;
|
|
3389
3389
|
policy_denied: number;
|
|
@@ -3394,7 +3394,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3394
3394
|
toolName: string;
|
|
3395
3395
|
agentName: string;
|
|
3396
3396
|
outcome: Readonly<{
|
|
3397
|
-
kind: "
|
|
3397
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
3398
3398
|
reason?: string | undefined;
|
|
3399
3399
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
3400
3400
|
}>;
|
|
@@ -3439,7 +3439,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3439
3439
|
resourceKey: string;
|
|
3440
3440
|
provenance: Readonly<{
|
|
3441
3441
|
sessionId: number | null;
|
|
3442
|
-
kind: "
|
|
3442
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3443
3443
|
messageSequence: number | null;
|
|
3444
3444
|
toolExecutionId: string | null;
|
|
3445
3445
|
resourceKey: string | null;
|
|
@@ -3449,12 +3449,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3449
3449
|
}>[];
|
|
3450
3450
|
}>[];
|
|
3451
3451
|
goal: Readonly<{
|
|
3452
|
-
text: string;
|
|
3453
3452
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3453
|
+
text: string;
|
|
3454
3454
|
sourceQuotes: string[];
|
|
3455
3455
|
provenance: Readonly<{
|
|
3456
3456
|
sessionId: number | null;
|
|
3457
|
-
kind: "
|
|
3457
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3458
3458
|
messageSequence: number | null;
|
|
3459
3459
|
toolExecutionId: string | null;
|
|
3460
3460
|
resourceKey: string | null;
|
|
@@ -3464,12 +3464,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3464
3464
|
}>[];
|
|
3465
3465
|
}> | null;
|
|
3466
3466
|
constraints: Readonly<{
|
|
3467
|
-
text: string;
|
|
3468
3467
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3468
|
+
text: string;
|
|
3469
3469
|
sourceQuotes: string[];
|
|
3470
3470
|
provenance: Readonly<{
|
|
3471
3471
|
sessionId: number | null;
|
|
3472
|
-
kind: "
|
|
3472
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3473
3473
|
messageSequence: number | null;
|
|
3474
3474
|
toolExecutionId: string | null;
|
|
3475
3475
|
resourceKey: string | null;
|
|
@@ -3479,12 +3479,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3479
3479
|
}>[];
|
|
3480
3480
|
}>[];
|
|
3481
3481
|
decisions: Readonly<{
|
|
3482
|
-
text: string;
|
|
3483
3482
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3483
|
+
text: string;
|
|
3484
3484
|
sourceQuotes: string[];
|
|
3485
3485
|
provenance: Readonly<{
|
|
3486
3486
|
sessionId: number | null;
|
|
3487
|
-
kind: "
|
|
3487
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3488
3488
|
messageSequence: number | null;
|
|
3489
3489
|
toolExecutionId: string | null;
|
|
3490
3490
|
resourceKey: string | null;
|
|
@@ -3494,12 +3494,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3494
3494
|
}>[];
|
|
3495
3495
|
}>[];
|
|
3496
3496
|
completedWork: Readonly<{
|
|
3497
|
-
text: string;
|
|
3498
3497
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3498
|
+
text: string;
|
|
3499
3499
|
sourceQuotes: string[];
|
|
3500
3500
|
provenance: Readonly<{
|
|
3501
3501
|
sessionId: number | null;
|
|
3502
|
-
kind: "
|
|
3502
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3503
3503
|
messageSequence: number | null;
|
|
3504
3504
|
toolExecutionId: string | null;
|
|
3505
3505
|
resourceKey: string | null;
|
|
@@ -3509,12 +3509,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3509
3509
|
}>[];
|
|
3510
3510
|
}>[];
|
|
3511
3511
|
pendingWork: Readonly<{
|
|
3512
|
-
text: string;
|
|
3513
3512
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3513
|
+
text: string;
|
|
3514
3514
|
sourceQuotes: string[];
|
|
3515
3515
|
provenance: Readonly<{
|
|
3516
3516
|
sessionId: number | null;
|
|
3517
|
-
kind: "
|
|
3517
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3518
3518
|
messageSequence: number | null;
|
|
3519
3519
|
toolExecutionId: string | null;
|
|
3520
3520
|
resourceKey: string | null;
|
|
@@ -3529,7 +3529,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3529
3529
|
managerInstanceId: string;
|
|
3530
3530
|
provenance: Readonly<{
|
|
3531
3531
|
sessionId: number | null;
|
|
3532
|
-
kind: "
|
|
3532
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3533
3533
|
messageSequence: number | null;
|
|
3534
3534
|
toolExecutionId: string | null;
|
|
3535
3535
|
resourceKey: string | null;
|
|
@@ -3539,12 +3539,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3539
3539
|
}>[];
|
|
3540
3540
|
}>[];
|
|
3541
3541
|
uncertainties: Readonly<{
|
|
3542
|
-
text: string;
|
|
3543
3542
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3543
|
+
text: string;
|
|
3544
3544
|
sourceQuotes: string[];
|
|
3545
3545
|
provenance: Readonly<{
|
|
3546
3546
|
sessionId: number | null;
|
|
3547
|
-
kind: "
|
|
3547
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3548
3548
|
messageSequence: number | null;
|
|
3549
3549
|
toolExecutionId: string | null;
|
|
3550
3550
|
resourceKey: string | null;
|
|
@@ -3575,8 +3575,8 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3575
3575
|
previousCheckpointId?: (string & z.BRAND<"CompactionCheckpointId">) | undefined;
|
|
3576
3576
|
}, {
|
|
3577
3577
|
version: 2;
|
|
3578
|
-
createdAt: string;
|
|
3579
3578
|
id: string;
|
|
3579
|
+
createdAt: string;
|
|
3580
3580
|
generation: number;
|
|
3581
3581
|
context: Readonly<{
|
|
3582
3582
|
skills: Readonly<{
|
|
@@ -3611,8 +3611,8 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3611
3611
|
}>[];
|
|
3612
3612
|
toolState: Readonly<{
|
|
3613
3613
|
countsByOutcome: Readonly<{
|
|
3614
|
-
cancelled: number;
|
|
3615
3614
|
success: number;
|
|
3615
|
+
cancelled: number;
|
|
3616
3616
|
invalid_input: number;
|
|
3617
3617
|
user_rejected: number;
|
|
3618
3618
|
policy_denied: number;
|
|
@@ -3623,7 +3623,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3623
3623
|
toolName: string;
|
|
3624
3624
|
agentName: string;
|
|
3625
3625
|
outcome: Readonly<{
|
|
3626
|
-
kind: "
|
|
3626
|
+
kind: "success" | "cancelled" | "invalid_input" | "user_rejected" | "policy_denied" | "tool_failed";
|
|
3627
3627
|
reason?: string | undefined;
|
|
3628
3628
|
executionState?: "not_executed" | "outcome_unknown" | undefined;
|
|
3629
3629
|
}>;
|
|
@@ -3668,7 +3668,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3668
3668
|
resourceKey: string;
|
|
3669
3669
|
provenance: Readonly<{
|
|
3670
3670
|
sessionId: number | null;
|
|
3671
|
-
kind: "
|
|
3671
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3672
3672
|
messageSequence: number | null;
|
|
3673
3673
|
toolExecutionId: string | null;
|
|
3674
3674
|
resourceKey: string | null;
|
|
@@ -3678,11 +3678,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3678
3678
|
}>[];
|
|
3679
3679
|
}>[];
|
|
3680
3680
|
goal: Readonly<{
|
|
3681
|
-
text: string;
|
|
3682
3681
|
id: string;
|
|
3682
|
+
text: string;
|
|
3683
3683
|
provenance: Readonly<{
|
|
3684
3684
|
sessionId: number | null;
|
|
3685
|
-
kind: "
|
|
3685
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3686
3686
|
messageSequence: number | null;
|
|
3687
3687
|
toolExecutionId: string | null;
|
|
3688
3688
|
resourceKey: string | null;
|
|
@@ -3693,11 +3693,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3693
3693
|
sourceQuotes?: string[] | undefined;
|
|
3694
3694
|
}> | null;
|
|
3695
3695
|
decisions: Readonly<{
|
|
3696
|
-
text: string;
|
|
3697
3696
|
id: string;
|
|
3697
|
+
text: string;
|
|
3698
3698
|
provenance: Readonly<{
|
|
3699
3699
|
sessionId: number | null;
|
|
3700
|
-
kind: "
|
|
3700
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3701
3701
|
messageSequence: number | null;
|
|
3702
3702
|
toolExecutionId: string | null;
|
|
3703
3703
|
resourceKey: string | null;
|
|
@@ -3708,11 +3708,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3708
3708
|
sourceQuotes?: string[] | undefined;
|
|
3709
3709
|
}>[];
|
|
3710
3710
|
completedWork: Readonly<{
|
|
3711
|
-
text: string;
|
|
3712
3711
|
id: string;
|
|
3712
|
+
text: string;
|
|
3713
3713
|
provenance: Readonly<{
|
|
3714
3714
|
sessionId: number | null;
|
|
3715
|
-
kind: "
|
|
3715
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3716
3716
|
messageSequence: number | null;
|
|
3717
3717
|
toolExecutionId: string | null;
|
|
3718
3718
|
resourceKey: string | null;
|
|
@@ -3723,11 +3723,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3723
3723
|
sourceQuotes?: string[] | undefined;
|
|
3724
3724
|
}>[];
|
|
3725
3725
|
pendingWork: Readonly<{
|
|
3726
|
-
text: string;
|
|
3727
3726
|
id: string;
|
|
3727
|
+
text: string;
|
|
3728
3728
|
provenance: Readonly<{
|
|
3729
3729
|
sessionId: number | null;
|
|
3730
|
-
kind: "
|
|
3730
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3731
3731
|
messageSequence: number | null;
|
|
3732
3732
|
toolExecutionId: string | null;
|
|
3733
3733
|
resourceKey: string | null;
|
|
@@ -3743,7 +3743,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3743
3743
|
managerInstanceId: string;
|
|
3744
3744
|
provenance: Readonly<{
|
|
3745
3745
|
sessionId: number | null;
|
|
3746
|
-
kind: "
|
|
3746
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3747
3747
|
messageSequence: number | null;
|
|
3748
3748
|
toolExecutionId: string | null;
|
|
3749
3749
|
resourceKey: string | null;
|
|
@@ -3753,11 +3753,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3753
3753
|
}>[];
|
|
3754
3754
|
}>[];
|
|
3755
3755
|
uncertainties: Readonly<{
|
|
3756
|
-
text: string;
|
|
3757
3756
|
id: string;
|
|
3757
|
+
text: string;
|
|
3758
3758
|
provenance: Readonly<{
|
|
3759
3759
|
sessionId: number | null;
|
|
3760
|
-
kind: "
|
|
3760
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3761
3761
|
messageSequence: number | null;
|
|
3762
3762
|
toolExecutionId: string | null;
|
|
3763
3763
|
resourceKey: string | null;
|
|
@@ -3768,11 +3768,11 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3768
3768
|
sourceQuotes?: string[] | undefined;
|
|
3769
3769
|
}>[];
|
|
3770
3770
|
constraints?: Readonly<{
|
|
3771
|
-
text: string;
|
|
3772
3771
|
id: string;
|
|
3772
|
+
text: string;
|
|
3773
3773
|
provenance: Readonly<{
|
|
3774
3774
|
sessionId: number | null;
|
|
3775
|
-
kind: "
|
|
3775
|
+
kind: "message" | "resource" | "legacy_snapshot" | "tool_execution" | "running_session";
|
|
3776
3776
|
messageSequence: number | null;
|
|
3777
3777
|
toolExecutionId: string | null;
|
|
3778
3778
|
resourceKey: string | null;
|
|
@@ -3824,13 +3824,13 @@ export declare const archivedTranscriptMessageSchema: z.ZodReadonly<z.ZodObject<
|
|
|
3824
3824
|
createdAt: z.ZodString;
|
|
3825
3825
|
message: z.ZodType<ModelMessage, z.ZodTypeDef, ModelMessage>;
|
|
3826
3826
|
}, "strict", z.ZodTypeAny, {
|
|
3827
|
-
createdAt: string;
|
|
3828
3827
|
message: ModelMessage;
|
|
3828
|
+
createdAt: string;
|
|
3829
3829
|
sequence: number;
|
|
3830
3830
|
provenance: "legacy_snapshot" | "native";
|
|
3831
3831
|
}, {
|
|
3832
|
-
createdAt: string;
|
|
3833
3832
|
message: ModelMessage;
|
|
3833
|
+
createdAt: string;
|
|
3834
3834
|
sequence: number;
|
|
3835
3835
|
provenance: "legacy_snapshot" | "native";
|
|
3836
3836
|
}>>;
|