@roll-agent/runtime 0.9.0 → 0.10.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-bootstrap.d.ts +6 -0
- package/dist/engine/agent-bootstrap.js +1 -0
- package/dist/engine/compaction-checkpoint.d.ts +192 -192
- package/dist/engine/compaction-semantic-state.d.ts +90 -90
- package/dist/engine/conversation-engine.d.ts +3 -2
- package/dist/engine/conversation-engine.js +1 -1
- package/package.json +2 -2
|
@@ -196,9 +196,9 @@ declare const compactionRunningWorkSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
196
196
|
terminationCause: z.ZodOptional<z.ZodString>;
|
|
197
197
|
cleanupError: z.ZodOptional<z.ZodString>;
|
|
198
198
|
}, "strict", z.ZodTypeAny, {
|
|
199
|
+
sessionId: number;
|
|
199
200
|
workdir: string;
|
|
200
201
|
managerInstanceId: string;
|
|
201
|
-
sessionId: number;
|
|
202
202
|
state: "completed" | "cleanup-failed" | "running" | "draining" | "stopping";
|
|
203
203
|
recoverability: "unavailable" | "live" | "stale";
|
|
204
204
|
commandPreview: string;
|
|
@@ -208,9 +208,9 @@ declare const compactionRunningWorkSchema: z.ZodReadonly<z.ZodObject<{
|
|
|
208
208
|
exitCode?: number | undefined;
|
|
209
209
|
cleanupError?: string | undefined;
|
|
210
210
|
}, {
|
|
211
|
+
sessionId: number;
|
|
211
212
|
workdir: string;
|
|
212
213
|
managerInstanceId: string;
|
|
213
|
-
sessionId: number;
|
|
214
214
|
state: "completed" | "cleanup-failed" | "running" | "draining" | "stopping";
|
|
215
215
|
recoverability: "unavailable" | "live" | "stale";
|
|
216
216
|
commandPreview: string;
|
|
@@ -546,9 +546,9 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
546
546
|
terminationCause: z.ZodOptional<z.ZodString>;
|
|
547
547
|
cleanupError: z.ZodOptional<z.ZodString>;
|
|
548
548
|
}, "strict", z.ZodTypeAny, {
|
|
549
|
+
sessionId: number;
|
|
549
550
|
workdir: string;
|
|
550
551
|
managerInstanceId: string;
|
|
551
|
-
sessionId: number;
|
|
552
552
|
state: "completed" | "cleanup-failed" | "running" | "draining" | "stopping";
|
|
553
553
|
recoverability: "unavailable" | "live" | "stale";
|
|
554
554
|
commandPreview: string;
|
|
@@ -558,9 +558,9 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
558
558
|
exitCode?: number | undefined;
|
|
559
559
|
cleanupError?: string | undefined;
|
|
560
560
|
}, {
|
|
561
|
+
sessionId: number;
|
|
561
562
|
workdir: string;
|
|
562
563
|
managerInstanceId: string;
|
|
563
|
-
sessionId: number;
|
|
564
564
|
state: "completed" | "cleanup-failed" | "running" | "draining" | "stopping";
|
|
565
565
|
recoverability: "unavailable" | "live" | "stale";
|
|
566
566
|
commandPreview: string;
|
|
@@ -646,6 +646,12 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
646
646
|
explicitSkillNames: string[];
|
|
647
647
|
systemPromptSha256?: string | undefined;
|
|
648
648
|
}>;
|
|
649
|
+
resources: Readonly<{
|
|
650
|
+
mode: "read" | "write";
|
|
651
|
+
key: string;
|
|
652
|
+
evidenceToolCallId: string;
|
|
653
|
+
evidenceExecutionId: string;
|
|
654
|
+
}>[];
|
|
649
655
|
summary: Readonly<{
|
|
650
656
|
status: "valid";
|
|
651
657
|
digest: string;
|
|
@@ -657,12 +663,6 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
657
663
|
status: "skipped";
|
|
658
664
|
lastValidCheckpointId?: (string & z.BRAND<"CompactionCheckpointId">) | undefined;
|
|
659
665
|
}>;
|
|
660
|
-
resources: Readonly<{
|
|
661
|
-
mode: "read" | "write";
|
|
662
|
-
key: string;
|
|
663
|
-
evidenceToolCallId: string;
|
|
664
|
-
evidenceExecutionId: string;
|
|
665
|
-
}>[];
|
|
666
666
|
constraints: Readonly<{
|
|
667
667
|
sourceSequence: number;
|
|
668
668
|
quote: string;
|
|
@@ -695,9 +695,9 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
695
695
|
}>[];
|
|
696
696
|
}>;
|
|
697
697
|
runningWork: Readonly<{
|
|
698
|
+
sessionId: number;
|
|
698
699
|
workdir: string;
|
|
699
700
|
managerInstanceId: string;
|
|
700
|
-
sessionId: number;
|
|
701
701
|
state: "completed" | "cleanup-failed" | "running" | "draining" | "stopping";
|
|
702
702
|
recoverability: "unavailable" | "live" | "stale";
|
|
703
703
|
commandPreview: string;
|
|
@@ -723,6 +723,12 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
723
723
|
explicitSkillNames: string[];
|
|
724
724
|
systemPromptSha256?: string | undefined;
|
|
725
725
|
}>;
|
|
726
|
+
resources: Readonly<{
|
|
727
|
+
mode: "read" | "write";
|
|
728
|
+
key: string;
|
|
729
|
+
evidenceToolCallId: string;
|
|
730
|
+
evidenceExecutionId: string;
|
|
731
|
+
}>[];
|
|
726
732
|
summary: Readonly<{
|
|
727
733
|
status: "valid";
|
|
728
734
|
digest: string;
|
|
@@ -734,12 +740,6 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
734
740
|
status: "skipped";
|
|
735
741
|
lastValidCheckpointId?: string | undefined;
|
|
736
742
|
}>;
|
|
737
|
-
resources: Readonly<{
|
|
738
|
-
mode: "read" | "write";
|
|
739
|
-
key: string;
|
|
740
|
-
evidenceToolCallId: string;
|
|
741
|
-
evidenceExecutionId: string;
|
|
742
|
-
}>[];
|
|
743
743
|
constraints: Readonly<{
|
|
744
744
|
sourceSequence: number;
|
|
745
745
|
quote: string;
|
|
@@ -772,9 +772,9 @@ export declare const compactionCheckpointDraftSchema: z.ZodReadonly<z.ZodObject<
|
|
|
772
772
|
}>[];
|
|
773
773
|
}>;
|
|
774
774
|
runningWork: Readonly<{
|
|
775
|
+
sessionId: number;
|
|
775
776
|
workdir: string;
|
|
776
777
|
managerInstanceId: string;
|
|
777
|
-
sessionId: number;
|
|
778
778
|
state: "completed" | "cleanup-failed" | "running" | "draining" | "stopping";
|
|
779
779
|
recoverability: "unavailable" | "live" | "stale";
|
|
780
780
|
commandPreview: string;
|
|
@@ -1030,9 +1030,9 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1030
1030
|
terminationCause: z.ZodOptional<z.ZodString>;
|
|
1031
1031
|
cleanupError: z.ZodOptional<z.ZodString>;
|
|
1032
1032
|
}, "strict", z.ZodTypeAny, {
|
|
1033
|
+
sessionId: number;
|
|
1033
1034
|
workdir: string;
|
|
1034
1035
|
managerInstanceId: string;
|
|
1035
|
-
sessionId: number;
|
|
1036
1036
|
state: "completed" | "cleanup-failed" | "running" | "draining" | "stopping";
|
|
1037
1037
|
recoverability: "unavailable" | "live" | "stale";
|
|
1038
1038
|
commandPreview: string;
|
|
@@ -1042,9 +1042,9 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1042
1042
|
exitCode?: number | undefined;
|
|
1043
1043
|
cleanupError?: string | undefined;
|
|
1044
1044
|
}, {
|
|
1045
|
+
sessionId: number;
|
|
1045
1046
|
workdir: string;
|
|
1046
1047
|
managerInstanceId: string;
|
|
1047
|
-
sessionId: number;
|
|
1048
1048
|
state: "completed" | "cleanup-failed" | "running" | "draining" | "stopping";
|
|
1049
1049
|
recoverability: "unavailable" | "live" | "stale";
|
|
1050
1050
|
commandPreview: string;
|
|
@@ -1123,6 +1123,7 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1123
1123
|
version: 1;
|
|
1124
1124
|
createdAt: string;
|
|
1125
1125
|
id: string & z.BRAND<"CompactionCheckpointId">;
|
|
1126
|
+
generation: number;
|
|
1126
1127
|
context: Readonly<{
|
|
1127
1128
|
skills: Readonly<{
|
|
1128
1129
|
name: string;
|
|
@@ -1133,6 +1134,12 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1133
1134
|
explicitSkillNames: string[];
|
|
1134
1135
|
systemPromptSha256?: string | undefined;
|
|
1135
1136
|
}>;
|
|
1137
|
+
resources: Readonly<{
|
|
1138
|
+
mode: "read" | "write";
|
|
1139
|
+
key: string;
|
|
1140
|
+
evidenceToolCallId: string;
|
|
1141
|
+
evidenceExecutionId: string;
|
|
1142
|
+
}>[];
|
|
1136
1143
|
summary: Readonly<{
|
|
1137
1144
|
status: "valid";
|
|
1138
1145
|
digest: string;
|
|
@@ -1144,12 +1151,6 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1144
1151
|
status: "skipped";
|
|
1145
1152
|
lastValidCheckpointId?: (string & z.BRAND<"CompactionCheckpointId">) | undefined;
|
|
1146
1153
|
}>;
|
|
1147
|
-
resources: Readonly<{
|
|
1148
|
-
mode: "read" | "write";
|
|
1149
|
-
key: string;
|
|
1150
|
-
evidenceToolCallId: string;
|
|
1151
|
-
evidenceExecutionId: string;
|
|
1152
|
-
}>[];
|
|
1153
1154
|
constraints: Readonly<{
|
|
1154
1155
|
sourceSequence: number;
|
|
1155
1156
|
quote: string;
|
|
@@ -1182,9 +1183,9 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1182
1183
|
}>[];
|
|
1183
1184
|
}>;
|
|
1184
1185
|
runningWork: Readonly<{
|
|
1186
|
+
sessionId: number;
|
|
1185
1187
|
workdir: string;
|
|
1186
1188
|
managerInstanceId: string;
|
|
1187
|
-
sessionId: number;
|
|
1188
1189
|
state: "completed" | "cleanup-failed" | "running" | "draining" | "stopping";
|
|
1189
1190
|
recoverability: "unavailable" | "live" | "stale";
|
|
1190
1191
|
commandPreview: string;
|
|
@@ -1194,7 +1195,6 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1194
1195
|
exitCode?: number | undefined;
|
|
1195
1196
|
cleanupError?: string | undefined;
|
|
1196
1197
|
}>[];
|
|
1197
|
-
generation: number;
|
|
1198
1198
|
transcript: Readonly<{
|
|
1199
1199
|
messages: {
|
|
1200
1200
|
fromSequenceExclusive: number;
|
|
@@ -1216,6 +1216,7 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1216
1216
|
version: 1;
|
|
1217
1217
|
createdAt: string;
|
|
1218
1218
|
id: string;
|
|
1219
|
+
generation: number;
|
|
1219
1220
|
context: Readonly<{
|
|
1220
1221
|
skills: Readonly<{
|
|
1221
1222
|
name: string;
|
|
@@ -1226,6 +1227,12 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1226
1227
|
explicitSkillNames: string[];
|
|
1227
1228
|
systemPromptSha256?: string | undefined;
|
|
1228
1229
|
}>;
|
|
1230
|
+
resources: Readonly<{
|
|
1231
|
+
mode: "read" | "write";
|
|
1232
|
+
key: string;
|
|
1233
|
+
evidenceToolCallId: string;
|
|
1234
|
+
evidenceExecutionId: string;
|
|
1235
|
+
}>[];
|
|
1229
1236
|
summary: Readonly<{
|
|
1230
1237
|
status: "valid";
|
|
1231
1238
|
digest: string;
|
|
@@ -1237,12 +1244,6 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1237
1244
|
status: "skipped";
|
|
1238
1245
|
lastValidCheckpointId?: string | undefined;
|
|
1239
1246
|
}>;
|
|
1240
|
-
resources: Readonly<{
|
|
1241
|
-
mode: "read" | "write";
|
|
1242
|
-
key: string;
|
|
1243
|
-
evidenceToolCallId: string;
|
|
1244
|
-
evidenceExecutionId: string;
|
|
1245
|
-
}>[];
|
|
1246
1247
|
constraints: Readonly<{
|
|
1247
1248
|
sourceSequence: number;
|
|
1248
1249
|
quote: string;
|
|
@@ -1275,9 +1276,9 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1275
1276
|
}>[];
|
|
1276
1277
|
}>;
|
|
1277
1278
|
runningWork: Readonly<{
|
|
1279
|
+
sessionId: number;
|
|
1278
1280
|
workdir: string;
|
|
1279
1281
|
managerInstanceId: string;
|
|
1280
|
-
sessionId: number;
|
|
1281
1282
|
state: "completed" | "cleanup-failed" | "running" | "draining" | "stopping";
|
|
1282
1283
|
recoverability: "unavailable" | "live" | "stale";
|
|
1283
1284
|
commandPreview: string;
|
|
@@ -1287,7 +1288,6 @@ export declare const compactionCheckpointV1Schema: z.ZodReadonly<z.ZodObject<{
|
|
|
1287
1288
|
exitCode?: number | undefined;
|
|
1288
1289
|
cleanupError?: string | undefined;
|
|
1289
1290
|
}>[];
|
|
1290
|
-
generation: number;
|
|
1291
1291
|
transcript: Readonly<{
|
|
1292
1292
|
messages: {
|
|
1293
1293
|
fromSequenceExclusive: number;
|
|
@@ -1382,39 +1382,39 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1382
1382
|
checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1383
1383
|
snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1384
1384
|
}, "strict", z.ZodTypeAny, {
|
|
1385
|
+
sessionId: number | null;
|
|
1385
1386
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1386
1387
|
messageSequence: number | null;
|
|
1387
1388
|
toolExecutionId: string | null;
|
|
1388
1389
|
resourceKey: string | null;
|
|
1389
1390
|
managerInstanceId: string | null;
|
|
1390
|
-
sessionId: number | null;
|
|
1391
1391
|
checkpointId: string | null;
|
|
1392
1392
|
snapshotIndex: number | null;
|
|
1393
1393
|
}, {
|
|
1394
|
+
sessionId: number | null;
|
|
1394
1395
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1395
1396
|
messageSequence: number | null;
|
|
1396
1397
|
toolExecutionId: string | null;
|
|
1397
1398
|
resourceKey: string | null;
|
|
1398
1399
|
managerInstanceId: string | null;
|
|
1399
|
-
sessionId: number | null;
|
|
1400
1400
|
checkpointId?: string | null | undefined;
|
|
1401
1401
|
snapshotIndex?: number | null | undefined;
|
|
1402
1402
|
}>, {
|
|
1403
|
+
sessionId: number | null;
|
|
1403
1404
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1404
1405
|
messageSequence: number | null;
|
|
1405
1406
|
toolExecutionId: string | null;
|
|
1406
1407
|
resourceKey: string | null;
|
|
1407
1408
|
managerInstanceId: string | null;
|
|
1408
|
-
sessionId: number | null;
|
|
1409
1409
|
checkpointId: string | null;
|
|
1410
1410
|
snapshotIndex: number | null;
|
|
1411
1411
|
}, {
|
|
1412
|
+
sessionId: number | null;
|
|
1412
1413
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1413
1414
|
messageSequence: number | null;
|
|
1414
1415
|
toolExecutionId: string | null;
|
|
1415
1416
|
resourceKey: string | null;
|
|
1416
1417
|
managerInstanceId: string | null;
|
|
1417
|
-
sessionId: number | null;
|
|
1418
1418
|
checkpointId?: string | null | undefined;
|
|
1419
1419
|
snapshotIndex?: number | null | undefined;
|
|
1420
1420
|
}>>, "many">;
|
|
@@ -1424,12 +1424,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1424
1424
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
1425
1425
|
sourceQuotes: string[];
|
|
1426
1426
|
provenance: Readonly<{
|
|
1427
|
+
sessionId: number | null;
|
|
1427
1428
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1428
1429
|
messageSequence: number | null;
|
|
1429
1430
|
toolExecutionId: string | null;
|
|
1430
1431
|
resourceKey: string | null;
|
|
1431
1432
|
managerInstanceId: string | null;
|
|
1432
|
-
sessionId: number | null;
|
|
1433
1433
|
checkpointId: string | null;
|
|
1434
1434
|
snapshotIndex: number | null;
|
|
1435
1435
|
}>[];
|
|
@@ -1437,12 +1437,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1437
1437
|
text: string;
|
|
1438
1438
|
id: string;
|
|
1439
1439
|
provenance: Readonly<{
|
|
1440
|
+
sessionId: number | null;
|
|
1440
1441
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1441
1442
|
messageSequence: number | null;
|
|
1442
1443
|
toolExecutionId: string | null;
|
|
1443
1444
|
resourceKey: string | null;
|
|
1444
1445
|
managerInstanceId: string | null;
|
|
1445
|
-
sessionId: number | null;
|
|
1446
1446
|
checkpointId?: string | null | undefined;
|
|
1447
1447
|
snapshotIndex?: number | null | undefined;
|
|
1448
1448
|
}>[];
|
|
@@ -1461,39 +1461,39 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1461
1461
|
checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1462
1462
|
snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1463
1463
|
}, "strict", z.ZodTypeAny, {
|
|
1464
|
+
sessionId: number | null;
|
|
1464
1465
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1465
1466
|
messageSequence: number | null;
|
|
1466
1467
|
toolExecutionId: string | null;
|
|
1467
1468
|
resourceKey: string | null;
|
|
1468
1469
|
managerInstanceId: string | null;
|
|
1469
|
-
sessionId: number | null;
|
|
1470
1470
|
checkpointId: string | null;
|
|
1471
1471
|
snapshotIndex: number | null;
|
|
1472
1472
|
}, {
|
|
1473
|
+
sessionId: number | null;
|
|
1473
1474
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1474
1475
|
messageSequence: number | null;
|
|
1475
1476
|
toolExecutionId: string | null;
|
|
1476
1477
|
resourceKey: string | null;
|
|
1477
1478
|
managerInstanceId: string | null;
|
|
1478
|
-
sessionId: number | null;
|
|
1479
1479
|
checkpointId?: string | null | undefined;
|
|
1480
1480
|
snapshotIndex?: number | null | undefined;
|
|
1481
1481
|
}>, {
|
|
1482
|
+
sessionId: number | null;
|
|
1482
1483
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1483
1484
|
messageSequence: number | null;
|
|
1484
1485
|
toolExecutionId: string | null;
|
|
1485
1486
|
resourceKey: string | null;
|
|
1486
1487
|
managerInstanceId: string | null;
|
|
1487
|
-
sessionId: number | null;
|
|
1488
1488
|
checkpointId: string | null;
|
|
1489
1489
|
snapshotIndex: number | null;
|
|
1490
1490
|
}, {
|
|
1491
|
+
sessionId: number | null;
|
|
1491
1492
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1492
1493
|
messageSequence: number | null;
|
|
1493
1494
|
toolExecutionId: string | null;
|
|
1494
1495
|
resourceKey: string | null;
|
|
1495
1496
|
managerInstanceId: string | null;
|
|
1496
|
-
sessionId: number | null;
|
|
1497
1497
|
checkpointId?: string | null | undefined;
|
|
1498
1498
|
snapshotIndex?: number | null | undefined;
|
|
1499
1499
|
}>>, "many">;
|
|
@@ -1503,12 +1503,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1503
1503
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
1504
1504
|
sourceQuotes: string[];
|
|
1505
1505
|
provenance: Readonly<{
|
|
1506
|
+
sessionId: number | null;
|
|
1506
1507
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1507
1508
|
messageSequence: number | null;
|
|
1508
1509
|
toolExecutionId: string | null;
|
|
1509
1510
|
resourceKey: string | null;
|
|
1510
1511
|
managerInstanceId: string | null;
|
|
1511
|
-
sessionId: number | null;
|
|
1512
1512
|
checkpointId: string | null;
|
|
1513
1513
|
snapshotIndex: number | null;
|
|
1514
1514
|
}>[];
|
|
@@ -1516,12 +1516,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1516
1516
|
text: string;
|
|
1517
1517
|
id: string;
|
|
1518
1518
|
provenance: Readonly<{
|
|
1519
|
+
sessionId: number | null;
|
|
1519
1520
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1520
1521
|
messageSequence: number | null;
|
|
1521
1522
|
toolExecutionId: string | null;
|
|
1522
1523
|
resourceKey: string | null;
|
|
1523
1524
|
managerInstanceId: string | null;
|
|
1524
|
-
sessionId: number | null;
|
|
1525
1525
|
checkpointId?: string | null | undefined;
|
|
1526
1526
|
snapshotIndex?: number | null | undefined;
|
|
1527
1527
|
}>[];
|
|
@@ -1540,39 +1540,39 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1540
1540
|
checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1541
1541
|
snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1542
1542
|
}, "strict", z.ZodTypeAny, {
|
|
1543
|
+
sessionId: number | null;
|
|
1543
1544
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1544
1545
|
messageSequence: number | null;
|
|
1545
1546
|
toolExecutionId: string | null;
|
|
1546
1547
|
resourceKey: string | null;
|
|
1547
1548
|
managerInstanceId: string | null;
|
|
1548
|
-
sessionId: number | null;
|
|
1549
1549
|
checkpointId: string | null;
|
|
1550
1550
|
snapshotIndex: number | null;
|
|
1551
1551
|
}, {
|
|
1552
|
+
sessionId: number | null;
|
|
1552
1553
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1553
1554
|
messageSequence: number | null;
|
|
1554
1555
|
toolExecutionId: string | null;
|
|
1555
1556
|
resourceKey: string | null;
|
|
1556
1557
|
managerInstanceId: string | null;
|
|
1557
|
-
sessionId: number | null;
|
|
1558
1558
|
checkpointId?: string | null | undefined;
|
|
1559
1559
|
snapshotIndex?: number | null | undefined;
|
|
1560
1560
|
}>, {
|
|
1561
|
+
sessionId: number | null;
|
|
1561
1562
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1562
1563
|
messageSequence: number | null;
|
|
1563
1564
|
toolExecutionId: string | null;
|
|
1564
1565
|
resourceKey: string | null;
|
|
1565
1566
|
managerInstanceId: string | null;
|
|
1566
|
-
sessionId: number | null;
|
|
1567
1567
|
checkpointId: string | null;
|
|
1568
1568
|
snapshotIndex: number | null;
|
|
1569
1569
|
}, {
|
|
1570
|
+
sessionId: number | null;
|
|
1570
1571
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1571
1572
|
messageSequence: number | null;
|
|
1572
1573
|
toolExecutionId: string | null;
|
|
1573
1574
|
resourceKey: string | null;
|
|
1574
1575
|
managerInstanceId: string | null;
|
|
1575
|
-
sessionId: number | null;
|
|
1576
1576
|
checkpointId?: string | null | undefined;
|
|
1577
1577
|
snapshotIndex?: number | null | undefined;
|
|
1578
1578
|
}>>, "many">;
|
|
@@ -1582,12 +1582,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1582
1582
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
1583
1583
|
sourceQuotes: string[];
|
|
1584
1584
|
provenance: Readonly<{
|
|
1585
|
+
sessionId: number | null;
|
|
1585
1586
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1586
1587
|
messageSequence: number | null;
|
|
1587
1588
|
toolExecutionId: string | null;
|
|
1588
1589
|
resourceKey: string | null;
|
|
1589
1590
|
managerInstanceId: string | null;
|
|
1590
|
-
sessionId: number | null;
|
|
1591
1591
|
checkpointId: string | null;
|
|
1592
1592
|
snapshotIndex: number | null;
|
|
1593
1593
|
}>[];
|
|
@@ -1595,12 +1595,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1595
1595
|
text: string;
|
|
1596
1596
|
id: string;
|
|
1597
1597
|
provenance: Readonly<{
|
|
1598
|
+
sessionId: number | null;
|
|
1598
1599
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1599
1600
|
messageSequence: number | null;
|
|
1600
1601
|
toolExecutionId: string | null;
|
|
1601
1602
|
resourceKey: string | null;
|
|
1602
1603
|
managerInstanceId: string | null;
|
|
1603
|
-
sessionId: number | null;
|
|
1604
1604
|
checkpointId?: string | null | undefined;
|
|
1605
1605
|
snapshotIndex?: number | null | undefined;
|
|
1606
1606
|
}>[];
|
|
@@ -1619,39 +1619,39 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1619
1619
|
checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1620
1620
|
snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1621
1621
|
}, "strict", z.ZodTypeAny, {
|
|
1622
|
+
sessionId: number | null;
|
|
1622
1623
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1623
1624
|
messageSequence: number | null;
|
|
1624
1625
|
toolExecutionId: string | null;
|
|
1625
1626
|
resourceKey: string | null;
|
|
1626
1627
|
managerInstanceId: string | null;
|
|
1627
|
-
sessionId: number | null;
|
|
1628
1628
|
checkpointId: string | null;
|
|
1629
1629
|
snapshotIndex: number | null;
|
|
1630
1630
|
}, {
|
|
1631
|
+
sessionId: number | null;
|
|
1631
1632
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1632
1633
|
messageSequence: number | null;
|
|
1633
1634
|
toolExecutionId: string | null;
|
|
1634
1635
|
resourceKey: string | null;
|
|
1635
1636
|
managerInstanceId: string | null;
|
|
1636
|
-
sessionId: number | null;
|
|
1637
1637
|
checkpointId?: string | null | undefined;
|
|
1638
1638
|
snapshotIndex?: number | null | undefined;
|
|
1639
1639
|
}>, {
|
|
1640
|
+
sessionId: number | null;
|
|
1640
1641
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1641
1642
|
messageSequence: number | null;
|
|
1642
1643
|
toolExecutionId: string | null;
|
|
1643
1644
|
resourceKey: string | null;
|
|
1644
1645
|
managerInstanceId: string | null;
|
|
1645
|
-
sessionId: number | null;
|
|
1646
1646
|
checkpointId: string | null;
|
|
1647
1647
|
snapshotIndex: number | null;
|
|
1648
1648
|
}, {
|
|
1649
|
+
sessionId: number | null;
|
|
1649
1650
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1650
1651
|
messageSequence: number | null;
|
|
1651
1652
|
toolExecutionId: string | null;
|
|
1652
1653
|
resourceKey: string | null;
|
|
1653
1654
|
managerInstanceId: string | null;
|
|
1654
|
-
sessionId: number | null;
|
|
1655
1655
|
checkpointId?: string | null | undefined;
|
|
1656
1656
|
snapshotIndex?: number | null | undefined;
|
|
1657
1657
|
}>>, "many">;
|
|
@@ -1661,12 +1661,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1661
1661
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
1662
1662
|
sourceQuotes: string[];
|
|
1663
1663
|
provenance: Readonly<{
|
|
1664
|
+
sessionId: number | null;
|
|
1664
1665
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1665
1666
|
messageSequence: number | null;
|
|
1666
1667
|
toolExecutionId: string | null;
|
|
1667
1668
|
resourceKey: string | null;
|
|
1668
1669
|
managerInstanceId: string | null;
|
|
1669
|
-
sessionId: number | null;
|
|
1670
1670
|
checkpointId: string | null;
|
|
1671
1671
|
snapshotIndex: number | null;
|
|
1672
1672
|
}>[];
|
|
@@ -1674,12 +1674,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1674
1674
|
text: string;
|
|
1675
1675
|
id: string;
|
|
1676
1676
|
provenance: Readonly<{
|
|
1677
|
+
sessionId: number | null;
|
|
1677
1678
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1678
1679
|
messageSequence: number | null;
|
|
1679
1680
|
toolExecutionId: string | null;
|
|
1680
1681
|
resourceKey: string | null;
|
|
1681
1682
|
managerInstanceId: string | null;
|
|
1682
|
-
sessionId: number | null;
|
|
1683
1683
|
checkpointId?: string | null | undefined;
|
|
1684
1684
|
snapshotIndex?: number | null | undefined;
|
|
1685
1685
|
}>[];
|
|
@@ -1698,39 +1698,39 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1698
1698
|
checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1699
1699
|
snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1700
1700
|
}, "strict", z.ZodTypeAny, {
|
|
1701
|
+
sessionId: number | null;
|
|
1701
1702
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1702
1703
|
messageSequence: number | null;
|
|
1703
1704
|
toolExecutionId: string | null;
|
|
1704
1705
|
resourceKey: string | null;
|
|
1705
1706
|
managerInstanceId: string | null;
|
|
1706
|
-
sessionId: number | null;
|
|
1707
1707
|
checkpointId: string | null;
|
|
1708
1708
|
snapshotIndex: number | null;
|
|
1709
1709
|
}, {
|
|
1710
|
+
sessionId: number | null;
|
|
1710
1711
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1711
1712
|
messageSequence: number | null;
|
|
1712
1713
|
toolExecutionId: string | null;
|
|
1713
1714
|
resourceKey: string | null;
|
|
1714
1715
|
managerInstanceId: string | null;
|
|
1715
|
-
sessionId: number | null;
|
|
1716
1716
|
checkpointId?: string | null | undefined;
|
|
1717
1717
|
snapshotIndex?: number | null | undefined;
|
|
1718
1718
|
}>, {
|
|
1719
|
+
sessionId: number | null;
|
|
1719
1720
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1720
1721
|
messageSequence: number | null;
|
|
1721
1722
|
toolExecutionId: string | null;
|
|
1722
1723
|
resourceKey: string | null;
|
|
1723
1724
|
managerInstanceId: string | null;
|
|
1724
|
-
sessionId: number | null;
|
|
1725
1725
|
checkpointId: string | null;
|
|
1726
1726
|
snapshotIndex: number | null;
|
|
1727
1727
|
}, {
|
|
1728
|
+
sessionId: number | null;
|
|
1728
1729
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1729
1730
|
messageSequence: number | null;
|
|
1730
1731
|
toolExecutionId: string | null;
|
|
1731
1732
|
resourceKey: string | null;
|
|
1732
1733
|
managerInstanceId: string | null;
|
|
1733
|
-
sessionId: number | null;
|
|
1734
1734
|
checkpointId?: string | null | undefined;
|
|
1735
1735
|
snapshotIndex?: number | null | undefined;
|
|
1736
1736
|
}>>, "many">;
|
|
@@ -1740,12 +1740,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1740
1740
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
1741
1741
|
sourceQuotes: string[];
|
|
1742
1742
|
provenance: Readonly<{
|
|
1743
|
+
sessionId: number | null;
|
|
1743
1744
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1744
1745
|
messageSequence: number | null;
|
|
1745
1746
|
toolExecutionId: string | null;
|
|
1746
1747
|
resourceKey: string | null;
|
|
1747
1748
|
managerInstanceId: string | null;
|
|
1748
|
-
sessionId: number | null;
|
|
1749
1749
|
checkpointId: string | null;
|
|
1750
1750
|
snapshotIndex: number | null;
|
|
1751
1751
|
}>[];
|
|
@@ -1753,12 +1753,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1753
1753
|
text: string;
|
|
1754
1754
|
id: string;
|
|
1755
1755
|
provenance: Readonly<{
|
|
1756
|
+
sessionId: number | null;
|
|
1756
1757
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1757
1758
|
messageSequence: number | null;
|
|
1758
1759
|
toolExecutionId: string | null;
|
|
1759
1760
|
resourceKey: string | null;
|
|
1760
1761
|
managerInstanceId: string | null;
|
|
1761
|
-
sessionId: number | null;
|
|
1762
1762
|
checkpointId?: string | null | undefined;
|
|
1763
1763
|
snapshotIndex?: number | null | undefined;
|
|
1764
1764
|
}>[];
|
|
@@ -1777,39 +1777,39 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1777
1777
|
checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1778
1778
|
snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1779
1779
|
}, "strict", z.ZodTypeAny, {
|
|
1780
|
+
sessionId: number | null;
|
|
1780
1781
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1781
1782
|
messageSequence: number | null;
|
|
1782
1783
|
toolExecutionId: string | null;
|
|
1783
1784
|
resourceKey: string | null;
|
|
1784
1785
|
managerInstanceId: string | null;
|
|
1785
|
-
sessionId: number | null;
|
|
1786
1786
|
checkpointId: string | null;
|
|
1787
1787
|
snapshotIndex: number | null;
|
|
1788
1788
|
}, {
|
|
1789
|
+
sessionId: number | null;
|
|
1789
1790
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1790
1791
|
messageSequence: number | null;
|
|
1791
1792
|
toolExecutionId: string | null;
|
|
1792
1793
|
resourceKey: string | null;
|
|
1793
1794
|
managerInstanceId: string | null;
|
|
1794
|
-
sessionId: number | null;
|
|
1795
1795
|
checkpointId?: string | null | undefined;
|
|
1796
1796
|
snapshotIndex?: number | null | undefined;
|
|
1797
1797
|
}>, {
|
|
1798
|
+
sessionId: number | null;
|
|
1798
1799
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1799
1800
|
messageSequence: number | null;
|
|
1800
1801
|
toolExecutionId: string | null;
|
|
1801
1802
|
resourceKey: string | null;
|
|
1802
1803
|
managerInstanceId: string | null;
|
|
1803
|
-
sessionId: number | null;
|
|
1804
1804
|
checkpointId: string | null;
|
|
1805
1805
|
snapshotIndex: number | null;
|
|
1806
1806
|
}, {
|
|
1807
|
+
sessionId: number | null;
|
|
1807
1808
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1808
1809
|
messageSequence: number | null;
|
|
1809
1810
|
toolExecutionId: string | null;
|
|
1810
1811
|
resourceKey: string | null;
|
|
1811
1812
|
managerInstanceId: string | null;
|
|
1812
|
-
sessionId: number | null;
|
|
1813
1813
|
checkpointId?: string | null | undefined;
|
|
1814
1814
|
snapshotIndex?: number | null | undefined;
|
|
1815
1815
|
}>>, "many">;
|
|
@@ -1817,12 +1817,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1817
1817
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
1818
1818
|
resourceKey: string;
|
|
1819
1819
|
provenance: Readonly<{
|
|
1820
|
+
sessionId: number | null;
|
|
1820
1821
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1821
1822
|
messageSequence: number | null;
|
|
1822
1823
|
toolExecutionId: string | null;
|
|
1823
1824
|
resourceKey: string | null;
|
|
1824
1825
|
managerInstanceId: string | null;
|
|
1825
|
-
sessionId: number | null;
|
|
1826
1826
|
checkpointId: string | null;
|
|
1827
1827
|
snapshotIndex: number | null;
|
|
1828
1828
|
}>[];
|
|
@@ -1830,12 +1830,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1830
1830
|
id: string;
|
|
1831
1831
|
resourceKey: string;
|
|
1832
1832
|
provenance: Readonly<{
|
|
1833
|
+
sessionId: number | null;
|
|
1833
1834
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1834
1835
|
messageSequence: number | null;
|
|
1835
1836
|
toolExecutionId: string | null;
|
|
1836
1837
|
resourceKey: string | null;
|
|
1837
1838
|
managerInstanceId: string | null;
|
|
1838
|
-
sessionId: number | null;
|
|
1839
1839
|
checkpointId?: string | null | undefined;
|
|
1840
1840
|
snapshotIndex?: number | null | undefined;
|
|
1841
1841
|
}>[];
|
|
@@ -1854,67 +1854,67 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1854
1854
|
checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1855
1855
|
snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1856
1856
|
}, "strict", z.ZodTypeAny, {
|
|
1857
|
+
sessionId: number | null;
|
|
1857
1858
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1858
1859
|
messageSequence: number | null;
|
|
1859
1860
|
toolExecutionId: string | null;
|
|
1860
1861
|
resourceKey: string | null;
|
|
1861
1862
|
managerInstanceId: string | null;
|
|
1862
|
-
sessionId: number | null;
|
|
1863
1863
|
checkpointId: string | null;
|
|
1864
1864
|
snapshotIndex: number | null;
|
|
1865
1865
|
}, {
|
|
1866
|
+
sessionId: number | null;
|
|
1866
1867
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1867
1868
|
messageSequence: number | null;
|
|
1868
1869
|
toolExecutionId: string | null;
|
|
1869
1870
|
resourceKey: string | null;
|
|
1870
1871
|
managerInstanceId: string | null;
|
|
1871
|
-
sessionId: number | null;
|
|
1872
1872
|
checkpointId?: string | null | undefined;
|
|
1873
1873
|
snapshotIndex?: number | null | undefined;
|
|
1874
1874
|
}>, {
|
|
1875
|
+
sessionId: number | null;
|
|
1875
1876
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1876
1877
|
messageSequence: number | null;
|
|
1877
1878
|
toolExecutionId: string | null;
|
|
1878
1879
|
resourceKey: string | null;
|
|
1879
1880
|
managerInstanceId: string | null;
|
|
1880
|
-
sessionId: number | null;
|
|
1881
1881
|
checkpointId: string | null;
|
|
1882
1882
|
snapshotIndex: number | null;
|
|
1883
1883
|
}, {
|
|
1884
|
+
sessionId: number | null;
|
|
1884
1885
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1885
1886
|
messageSequence: number | null;
|
|
1886
1887
|
toolExecutionId: string | null;
|
|
1887
1888
|
resourceKey: string | null;
|
|
1888
1889
|
managerInstanceId: string | null;
|
|
1889
|
-
sessionId: number | null;
|
|
1890
1890
|
checkpointId?: string | null | undefined;
|
|
1891
1891
|
snapshotIndex?: number | null | undefined;
|
|
1892
1892
|
}>>, "many">;
|
|
1893
1893
|
}, "strict", z.ZodTypeAny, {
|
|
1894
1894
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
1895
|
-
managerInstanceId: string;
|
|
1896
1895
|
sessionId: number;
|
|
1896
|
+
managerInstanceId: string;
|
|
1897
1897
|
provenance: Readonly<{
|
|
1898
|
+
sessionId: number | null;
|
|
1898
1899
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1899
1900
|
messageSequence: number | null;
|
|
1900
1901
|
toolExecutionId: string | null;
|
|
1901
1902
|
resourceKey: string | null;
|
|
1902
1903
|
managerInstanceId: string | null;
|
|
1903
|
-
sessionId: number | null;
|
|
1904
1904
|
checkpointId: string | null;
|
|
1905
1905
|
snapshotIndex: number | null;
|
|
1906
1906
|
}>[];
|
|
1907
1907
|
}, {
|
|
1908
1908
|
id: string;
|
|
1909
|
-
managerInstanceId: string;
|
|
1910
1909
|
sessionId: number;
|
|
1910
|
+
managerInstanceId: string;
|
|
1911
1911
|
provenance: Readonly<{
|
|
1912
|
+
sessionId: number | null;
|
|
1912
1913
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1913
1914
|
messageSequence: number | null;
|
|
1914
1915
|
toolExecutionId: string | null;
|
|
1915
1916
|
resourceKey: string | null;
|
|
1916
1917
|
managerInstanceId: string | null;
|
|
1917
|
-
sessionId: number | null;
|
|
1918
1918
|
checkpointId?: string | null | undefined;
|
|
1919
1919
|
snapshotIndex?: number | null | undefined;
|
|
1920
1920
|
}>[];
|
|
@@ -1932,39 +1932,39 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1932
1932
|
checkpointId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1933
1933
|
snapshotIndex: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
1934
1934
|
}, "strict", z.ZodTypeAny, {
|
|
1935
|
+
sessionId: number | null;
|
|
1935
1936
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1936
1937
|
messageSequence: number | null;
|
|
1937
1938
|
toolExecutionId: string | null;
|
|
1938
1939
|
resourceKey: string | null;
|
|
1939
1940
|
managerInstanceId: string | null;
|
|
1940
|
-
sessionId: number | null;
|
|
1941
1941
|
checkpointId: string | null;
|
|
1942
1942
|
snapshotIndex: number | null;
|
|
1943
1943
|
}, {
|
|
1944
|
+
sessionId: number | null;
|
|
1944
1945
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1945
1946
|
messageSequence: number | null;
|
|
1946
1947
|
toolExecutionId: string | null;
|
|
1947
1948
|
resourceKey: string | null;
|
|
1948
1949
|
managerInstanceId: string | null;
|
|
1949
|
-
sessionId: number | null;
|
|
1950
1950
|
checkpointId?: string | null | undefined;
|
|
1951
1951
|
snapshotIndex?: number | null | undefined;
|
|
1952
1952
|
}>, {
|
|
1953
|
+
sessionId: number | null;
|
|
1953
1954
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1954
1955
|
messageSequence: number | null;
|
|
1955
1956
|
toolExecutionId: string | null;
|
|
1956
1957
|
resourceKey: string | null;
|
|
1957
1958
|
managerInstanceId: string | null;
|
|
1958
|
-
sessionId: number | null;
|
|
1959
1959
|
checkpointId: string | null;
|
|
1960
1960
|
snapshotIndex: number | null;
|
|
1961
1961
|
}, {
|
|
1962
|
+
sessionId: number | null;
|
|
1962
1963
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1963
1964
|
messageSequence: number | null;
|
|
1964
1965
|
toolExecutionId: string | null;
|
|
1965
1966
|
resourceKey: string | null;
|
|
1966
1967
|
managerInstanceId: string | null;
|
|
1967
|
-
sessionId: number | null;
|
|
1968
1968
|
checkpointId?: string | null | undefined;
|
|
1969
1969
|
snapshotIndex?: number | null | undefined;
|
|
1970
1970
|
}>>, "many">;
|
|
@@ -1974,12 +1974,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1974
1974
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
1975
1975
|
sourceQuotes: string[];
|
|
1976
1976
|
provenance: Readonly<{
|
|
1977
|
+
sessionId: number | null;
|
|
1977
1978
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1978
1979
|
messageSequence: number | null;
|
|
1979
1980
|
toolExecutionId: string | null;
|
|
1980
1981
|
resourceKey: string | null;
|
|
1981
1982
|
managerInstanceId: string | null;
|
|
1982
|
-
sessionId: number | null;
|
|
1983
1983
|
checkpointId: string | null;
|
|
1984
1984
|
snapshotIndex: number | null;
|
|
1985
1985
|
}>[];
|
|
@@ -1987,12 +1987,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
1987
1987
|
text: string;
|
|
1988
1988
|
id: string;
|
|
1989
1989
|
provenance: Readonly<{
|
|
1990
|
+
sessionId: number | null;
|
|
1990
1991
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
1991
1992
|
messageSequence: number | null;
|
|
1992
1993
|
toolExecutionId: string | null;
|
|
1993
1994
|
resourceKey: string | null;
|
|
1994
1995
|
managerInstanceId: string | null;
|
|
1995
|
-
sessionId: number | null;
|
|
1996
1996
|
checkpointId?: string | null | undefined;
|
|
1997
1997
|
snapshotIndex?: number | null | undefined;
|
|
1998
1998
|
}>[];
|
|
@@ -2029,12 +2029,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2029
2029
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2030
2030
|
resourceKey: string;
|
|
2031
2031
|
provenance: Readonly<{
|
|
2032
|
+
sessionId: number | null;
|
|
2032
2033
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2033
2034
|
messageSequence: number | null;
|
|
2034
2035
|
toolExecutionId: string | null;
|
|
2035
2036
|
resourceKey: string | null;
|
|
2036
2037
|
managerInstanceId: string | null;
|
|
2037
|
-
sessionId: number | null;
|
|
2038
2038
|
checkpointId: string | null;
|
|
2039
2039
|
snapshotIndex: number | null;
|
|
2040
2040
|
}>[];
|
|
@@ -2044,12 +2044,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2044
2044
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2045
2045
|
sourceQuotes: string[];
|
|
2046
2046
|
provenance: Readonly<{
|
|
2047
|
+
sessionId: number | null;
|
|
2047
2048
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2048
2049
|
messageSequence: number | null;
|
|
2049
2050
|
toolExecutionId: string | null;
|
|
2050
2051
|
resourceKey: string | null;
|
|
2051
2052
|
managerInstanceId: string | null;
|
|
2052
|
-
sessionId: number | null;
|
|
2053
2053
|
checkpointId: string | null;
|
|
2054
2054
|
snapshotIndex: number | null;
|
|
2055
2055
|
}>[];
|
|
@@ -2059,12 +2059,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2059
2059
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2060
2060
|
sourceQuotes: string[];
|
|
2061
2061
|
provenance: Readonly<{
|
|
2062
|
+
sessionId: number | null;
|
|
2062
2063
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2063
2064
|
messageSequence: number | null;
|
|
2064
2065
|
toolExecutionId: string | null;
|
|
2065
2066
|
resourceKey: string | null;
|
|
2066
2067
|
managerInstanceId: string | null;
|
|
2067
|
-
sessionId: number | null;
|
|
2068
2068
|
checkpointId: string | null;
|
|
2069
2069
|
snapshotIndex: number | null;
|
|
2070
2070
|
}>[];
|
|
@@ -2074,12 +2074,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2074
2074
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2075
2075
|
sourceQuotes: string[];
|
|
2076
2076
|
provenance: Readonly<{
|
|
2077
|
+
sessionId: number | null;
|
|
2077
2078
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2078
2079
|
messageSequence: number | null;
|
|
2079
2080
|
toolExecutionId: string | null;
|
|
2080
2081
|
resourceKey: string | null;
|
|
2081
2082
|
managerInstanceId: string | null;
|
|
2082
|
-
sessionId: number | null;
|
|
2083
2083
|
checkpointId: string | null;
|
|
2084
2084
|
snapshotIndex: number | null;
|
|
2085
2085
|
}>[];
|
|
@@ -2089,12 +2089,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2089
2089
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2090
2090
|
sourceQuotes: string[];
|
|
2091
2091
|
provenance: Readonly<{
|
|
2092
|
+
sessionId: number | null;
|
|
2092
2093
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2093
2094
|
messageSequence: number | null;
|
|
2094
2095
|
toolExecutionId: string | null;
|
|
2095
2096
|
resourceKey: string | null;
|
|
2096
2097
|
managerInstanceId: string | null;
|
|
2097
|
-
sessionId: number | null;
|
|
2098
2098
|
checkpointId: string | null;
|
|
2099
2099
|
snapshotIndex: number | null;
|
|
2100
2100
|
}>[];
|
|
@@ -2104,27 +2104,27 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2104
2104
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2105
2105
|
sourceQuotes: string[];
|
|
2106
2106
|
provenance: Readonly<{
|
|
2107
|
+
sessionId: number | null;
|
|
2107
2108
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2108
2109
|
messageSequence: number | null;
|
|
2109
2110
|
toolExecutionId: string | null;
|
|
2110
2111
|
resourceKey: string | null;
|
|
2111
2112
|
managerInstanceId: string | null;
|
|
2112
|
-
sessionId: number | null;
|
|
2113
2113
|
checkpointId: string | null;
|
|
2114
2114
|
snapshotIndex: number | null;
|
|
2115
2115
|
}>[];
|
|
2116
2116
|
}>[];
|
|
2117
2117
|
runningSessions: Readonly<{
|
|
2118
2118
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2119
|
-
managerInstanceId: string;
|
|
2120
2119
|
sessionId: number;
|
|
2120
|
+
managerInstanceId: string;
|
|
2121
2121
|
provenance: Readonly<{
|
|
2122
|
+
sessionId: number | null;
|
|
2122
2123
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2123
2124
|
messageSequence: number | null;
|
|
2124
2125
|
toolExecutionId: string | null;
|
|
2125
2126
|
resourceKey: string | null;
|
|
2126
2127
|
managerInstanceId: string | null;
|
|
2127
|
-
sessionId: number | null;
|
|
2128
2128
|
checkpointId: string | null;
|
|
2129
2129
|
snapshotIndex: number | null;
|
|
2130
2130
|
}>[];
|
|
@@ -2134,12 +2134,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2134
2134
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2135
2135
|
sourceQuotes: string[];
|
|
2136
2136
|
provenance: Readonly<{
|
|
2137
|
+
sessionId: number | null;
|
|
2137
2138
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2138
2139
|
messageSequence: number | null;
|
|
2139
2140
|
toolExecutionId: string | null;
|
|
2140
2141
|
resourceKey: string | null;
|
|
2141
2142
|
managerInstanceId: string | null;
|
|
2142
|
-
sessionId: number | null;
|
|
2143
2143
|
checkpointId: string | null;
|
|
2144
2144
|
snapshotIndex: number | null;
|
|
2145
2145
|
}>[];
|
|
@@ -2159,12 +2159,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2159
2159
|
id: string;
|
|
2160
2160
|
resourceKey: string;
|
|
2161
2161
|
provenance: Readonly<{
|
|
2162
|
+
sessionId: number | null;
|
|
2162
2163
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2163
2164
|
messageSequence: number | null;
|
|
2164
2165
|
toolExecutionId: string | null;
|
|
2165
2166
|
resourceKey: string | null;
|
|
2166
2167
|
managerInstanceId: string | null;
|
|
2167
|
-
sessionId: number | null;
|
|
2168
2168
|
checkpointId?: string | null | undefined;
|
|
2169
2169
|
snapshotIndex?: number | null | undefined;
|
|
2170
2170
|
}>[];
|
|
@@ -2173,12 +2173,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2173
2173
|
text: string;
|
|
2174
2174
|
id: string;
|
|
2175
2175
|
provenance: Readonly<{
|
|
2176
|
+
sessionId: number | null;
|
|
2176
2177
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2177
2178
|
messageSequence: number | null;
|
|
2178
2179
|
toolExecutionId: string | null;
|
|
2179
2180
|
resourceKey: string | null;
|
|
2180
2181
|
managerInstanceId: string | null;
|
|
2181
|
-
sessionId: number | null;
|
|
2182
2182
|
checkpointId?: string | null | undefined;
|
|
2183
2183
|
snapshotIndex?: number | null | undefined;
|
|
2184
2184
|
}>[];
|
|
@@ -2188,12 +2188,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2188
2188
|
text: string;
|
|
2189
2189
|
id: string;
|
|
2190
2190
|
provenance: Readonly<{
|
|
2191
|
+
sessionId: number | null;
|
|
2191
2192
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2192
2193
|
messageSequence: number | null;
|
|
2193
2194
|
toolExecutionId: string | null;
|
|
2194
2195
|
resourceKey: string | null;
|
|
2195
2196
|
managerInstanceId: string | null;
|
|
2196
|
-
sessionId: number | null;
|
|
2197
2197
|
checkpointId?: string | null | undefined;
|
|
2198
2198
|
snapshotIndex?: number | null | undefined;
|
|
2199
2199
|
}>[];
|
|
@@ -2203,12 +2203,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2203
2203
|
text: string;
|
|
2204
2204
|
id: string;
|
|
2205
2205
|
provenance: Readonly<{
|
|
2206
|
+
sessionId: number | null;
|
|
2206
2207
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2207
2208
|
messageSequence: number | null;
|
|
2208
2209
|
toolExecutionId: string | null;
|
|
2209
2210
|
resourceKey: string | null;
|
|
2210
2211
|
managerInstanceId: string | null;
|
|
2211
|
-
sessionId: number | null;
|
|
2212
2212
|
checkpointId?: string | null | undefined;
|
|
2213
2213
|
snapshotIndex?: number | null | undefined;
|
|
2214
2214
|
}>[];
|
|
@@ -2218,12 +2218,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2218
2218
|
text: string;
|
|
2219
2219
|
id: string;
|
|
2220
2220
|
provenance: Readonly<{
|
|
2221
|
+
sessionId: number | null;
|
|
2221
2222
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2222
2223
|
messageSequence: number | null;
|
|
2223
2224
|
toolExecutionId: string | null;
|
|
2224
2225
|
resourceKey: string | null;
|
|
2225
2226
|
managerInstanceId: string | null;
|
|
2226
|
-
sessionId: number | null;
|
|
2227
2227
|
checkpointId?: string | null | undefined;
|
|
2228
2228
|
snapshotIndex?: number | null | undefined;
|
|
2229
2229
|
}>[];
|
|
@@ -2231,15 +2231,15 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2231
2231
|
}>[];
|
|
2232
2232
|
runningSessions: Readonly<{
|
|
2233
2233
|
id: string;
|
|
2234
|
-
managerInstanceId: string;
|
|
2235
2234
|
sessionId: number;
|
|
2235
|
+
managerInstanceId: string;
|
|
2236
2236
|
provenance: Readonly<{
|
|
2237
|
+
sessionId: number | null;
|
|
2237
2238
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2238
2239
|
messageSequence: number | null;
|
|
2239
2240
|
toolExecutionId: string | null;
|
|
2240
2241
|
resourceKey: string | null;
|
|
2241
2242
|
managerInstanceId: string | null;
|
|
2242
|
-
sessionId: number | null;
|
|
2243
2243
|
checkpointId?: string | null | undefined;
|
|
2244
2244
|
snapshotIndex?: number | null | undefined;
|
|
2245
2245
|
}>[];
|
|
@@ -2248,12 +2248,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2248
2248
|
text: string;
|
|
2249
2249
|
id: string;
|
|
2250
2250
|
provenance: Readonly<{
|
|
2251
|
+
sessionId: number | null;
|
|
2251
2252
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2252
2253
|
messageSequence: number | null;
|
|
2253
2254
|
toolExecutionId: string | null;
|
|
2254
2255
|
resourceKey: string | null;
|
|
2255
2256
|
managerInstanceId: string | null;
|
|
2256
|
-
sessionId: number | null;
|
|
2257
2257
|
checkpointId?: string | null | undefined;
|
|
2258
2258
|
snapshotIndex?: number | null | undefined;
|
|
2259
2259
|
}>[];
|
|
@@ -2263,12 +2263,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2263
2263
|
text: string;
|
|
2264
2264
|
id: string;
|
|
2265
2265
|
provenance: Readonly<{
|
|
2266
|
+
sessionId: number | null;
|
|
2266
2267
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2267
2268
|
messageSequence: number | null;
|
|
2268
2269
|
toolExecutionId: string | null;
|
|
2269
2270
|
resourceKey: string | null;
|
|
2270
2271
|
managerInstanceId: string | null;
|
|
2271
|
-
sessionId: number | null;
|
|
2272
2272
|
checkpointId?: string | null | undefined;
|
|
2273
2273
|
snapshotIndex?: number | null | undefined;
|
|
2274
2274
|
}>[];
|
|
@@ -2289,12 +2289,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2289
2289
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2290
2290
|
resourceKey: string;
|
|
2291
2291
|
provenance: Readonly<{
|
|
2292
|
+
sessionId: number | null;
|
|
2292
2293
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2293
2294
|
messageSequence: number | null;
|
|
2294
2295
|
toolExecutionId: string | null;
|
|
2295
2296
|
resourceKey: string | null;
|
|
2296
2297
|
managerInstanceId: string | null;
|
|
2297
|
-
sessionId: number | null;
|
|
2298
2298
|
checkpointId: string | null;
|
|
2299
2299
|
snapshotIndex: number | null;
|
|
2300
2300
|
}>[];
|
|
@@ -2304,12 +2304,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2304
2304
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2305
2305
|
sourceQuotes: string[];
|
|
2306
2306
|
provenance: Readonly<{
|
|
2307
|
+
sessionId: number | null;
|
|
2307
2308
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2308
2309
|
messageSequence: number | null;
|
|
2309
2310
|
toolExecutionId: string | null;
|
|
2310
2311
|
resourceKey: string | null;
|
|
2311
2312
|
managerInstanceId: string | null;
|
|
2312
|
-
sessionId: number | null;
|
|
2313
2313
|
checkpointId: string | null;
|
|
2314
2314
|
snapshotIndex: number | null;
|
|
2315
2315
|
}>[];
|
|
@@ -2319,12 +2319,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2319
2319
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2320
2320
|
sourceQuotes: string[];
|
|
2321
2321
|
provenance: Readonly<{
|
|
2322
|
+
sessionId: number | null;
|
|
2322
2323
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2323
2324
|
messageSequence: number | null;
|
|
2324
2325
|
toolExecutionId: string | null;
|
|
2325
2326
|
resourceKey: string | null;
|
|
2326
2327
|
managerInstanceId: string | null;
|
|
2327
|
-
sessionId: number | null;
|
|
2328
2328
|
checkpointId: string | null;
|
|
2329
2329
|
snapshotIndex: number | null;
|
|
2330
2330
|
}>[];
|
|
@@ -2334,12 +2334,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2334
2334
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2335
2335
|
sourceQuotes: string[];
|
|
2336
2336
|
provenance: Readonly<{
|
|
2337
|
+
sessionId: number | null;
|
|
2337
2338
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2338
2339
|
messageSequence: number | null;
|
|
2339
2340
|
toolExecutionId: string | null;
|
|
2340
2341
|
resourceKey: string | null;
|
|
2341
2342
|
managerInstanceId: string | null;
|
|
2342
|
-
sessionId: number | null;
|
|
2343
2343
|
checkpointId: string | null;
|
|
2344
2344
|
snapshotIndex: number | null;
|
|
2345
2345
|
}>[];
|
|
@@ -2349,12 +2349,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2349
2349
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2350
2350
|
sourceQuotes: string[];
|
|
2351
2351
|
provenance: Readonly<{
|
|
2352
|
+
sessionId: number | null;
|
|
2352
2353
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2353
2354
|
messageSequence: number | null;
|
|
2354
2355
|
toolExecutionId: string | null;
|
|
2355
2356
|
resourceKey: string | null;
|
|
2356
2357
|
managerInstanceId: string | null;
|
|
2357
|
-
sessionId: number | null;
|
|
2358
2358
|
checkpointId: string | null;
|
|
2359
2359
|
snapshotIndex: number | null;
|
|
2360
2360
|
}>[];
|
|
@@ -2364,27 +2364,27 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2364
2364
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2365
2365
|
sourceQuotes: string[];
|
|
2366
2366
|
provenance: Readonly<{
|
|
2367
|
+
sessionId: number | null;
|
|
2367
2368
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2368
2369
|
messageSequence: number | null;
|
|
2369
2370
|
toolExecutionId: string | null;
|
|
2370
2371
|
resourceKey: string | null;
|
|
2371
2372
|
managerInstanceId: string | null;
|
|
2372
|
-
sessionId: number | null;
|
|
2373
2373
|
checkpointId: string | null;
|
|
2374
2374
|
snapshotIndex: number | null;
|
|
2375
2375
|
}>[];
|
|
2376
2376
|
}>[];
|
|
2377
2377
|
runningSessions: Readonly<{
|
|
2378
2378
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2379
|
-
managerInstanceId: string;
|
|
2380
2379
|
sessionId: number;
|
|
2380
|
+
managerInstanceId: string;
|
|
2381
2381
|
provenance: Readonly<{
|
|
2382
|
+
sessionId: number | null;
|
|
2382
2383
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2383
2384
|
messageSequence: number | null;
|
|
2384
2385
|
toolExecutionId: string | null;
|
|
2385
2386
|
resourceKey: string | null;
|
|
2386
2387
|
managerInstanceId: string | null;
|
|
2387
|
-
sessionId: number | null;
|
|
2388
2388
|
checkpointId: string | null;
|
|
2389
2389
|
snapshotIndex: number | null;
|
|
2390
2390
|
}>[];
|
|
@@ -2394,12 +2394,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2394
2394
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2395
2395
|
sourceQuotes: string[];
|
|
2396
2396
|
provenance: Readonly<{
|
|
2397
|
+
sessionId: number | null;
|
|
2397
2398
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2398
2399
|
messageSequence: number | null;
|
|
2399
2400
|
toolExecutionId: string | null;
|
|
2400
2401
|
resourceKey: string | null;
|
|
2401
2402
|
managerInstanceId: string | null;
|
|
2402
|
-
sessionId: number | null;
|
|
2403
2403
|
checkpointId: string | null;
|
|
2404
2404
|
snapshotIndex: number | null;
|
|
2405
2405
|
}>[];
|
|
@@ -2419,12 +2419,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2419
2419
|
id: string;
|
|
2420
2420
|
resourceKey: string;
|
|
2421
2421
|
provenance: Readonly<{
|
|
2422
|
+
sessionId: number | null;
|
|
2422
2423
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2423
2424
|
messageSequence: number | null;
|
|
2424
2425
|
toolExecutionId: string | null;
|
|
2425
2426
|
resourceKey: string | null;
|
|
2426
2427
|
managerInstanceId: string | null;
|
|
2427
|
-
sessionId: number | null;
|
|
2428
2428
|
checkpointId?: string | null | undefined;
|
|
2429
2429
|
snapshotIndex?: number | null | undefined;
|
|
2430
2430
|
}>[];
|
|
@@ -2433,12 +2433,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2433
2433
|
text: string;
|
|
2434
2434
|
id: string;
|
|
2435
2435
|
provenance: Readonly<{
|
|
2436
|
+
sessionId: number | null;
|
|
2436
2437
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2437
2438
|
messageSequence: number | null;
|
|
2438
2439
|
toolExecutionId: string | null;
|
|
2439
2440
|
resourceKey: string | null;
|
|
2440
2441
|
managerInstanceId: string | null;
|
|
2441
|
-
sessionId: number | null;
|
|
2442
2442
|
checkpointId?: string | null | undefined;
|
|
2443
2443
|
snapshotIndex?: number | null | undefined;
|
|
2444
2444
|
}>[];
|
|
@@ -2448,12 +2448,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2448
2448
|
text: string;
|
|
2449
2449
|
id: string;
|
|
2450
2450
|
provenance: Readonly<{
|
|
2451
|
+
sessionId: number | null;
|
|
2451
2452
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2452
2453
|
messageSequence: number | null;
|
|
2453
2454
|
toolExecutionId: string | null;
|
|
2454
2455
|
resourceKey: string | null;
|
|
2455
2456
|
managerInstanceId: string | null;
|
|
2456
|
-
sessionId: number | null;
|
|
2457
2457
|
checkpointId?: string | null | undefined;
|
|
2458
2458
|
snapshotIndex?: number | null | undefined;
|
|
2459
2459
|
}>[];
|
|
@@ -2463,12 +2463,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2463
2463
|
text: string;
|
|
2464
2464
|
id: string;
|
|
2465
2465
|
provenance: Readonly<{
|
|
2466
|
+
sessionId: number | null;
|
|
2466
2467
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2467
2468
|
messageSequence: number | null;
|
|
2468
2469
|
toolExecutionId: string | null;
|
|
2469
2470
|
resourceKey: string | null;
|
|
2470
2471
|
managerInstanceId: string | null;
|
|
2471
|
-
sessionId: number | null;
|
|
2472
2472
|
checkpointId?: string | null | undefined;
|
|
2473
2473
|
snapshotIndex?: number | null | undefined;
|
|
2474
2474
|
}>[];
|
|
@@ -2478,12 +2478,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2478
2478
|
text: string;
|
|
2479
2479
|
id: string;
|
|
2480
2480
|
provenance: Readonly<{
|
|
2481
|
+
sessionId: number | null;
|
|
2481
2482
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2482
2483
|
messageSequence: number | null;
|
|
2483
2484
|
toolExecutionId: string | null;
|
|
2484
2485
|
resourceKey: string | null;
|
|
2485
2486
|
managerInstanceId: string | null;
|
|
2486
|
-
sessionId: number | null;
|
|
2487
2487
|
checkpointId?: string | null | undefined;
|
|
2488
2488
|
snapshotIndex?: number | null | undefined;
|
|
2489
2489
|
}>[];
|
|
@@ -2491,15 +2491,15 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2491
2491
|
}>[];
|
|
2492
2492
|
runningSessions: Readonly<{
|
|
2493
2493
|
id: string;
|
|
2494
|
-
managerInstanceId: string;
|
|
2495
2494
|
sessionId: number;
|
|
2495
|
+
managerInstanceId: string;
|
|
2496
2496
|
provenance: Readonly<{
|
|
2497
|
+
sessionId: number | null;
|
|
2497
2498
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2498
2499
|
messageSequence: number | null;
|
|
2499
2500
|
toolExecutionId: string | null;
|
|
2500
2501
|
resourceKey: string | null;
|
|
2501
2502
|
managerInstanceId: string | null;
|
|
2502
|
-
sessionId: number | null;
|
|
2503
2503
|
checkpointId?: string | null | undefined;
|
|
2504
2504
|
snapshotIndex?: number | null | undefined;
|
|
2505
2505
|
}>[];
|
|
@@ -2508,12 +2508,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2508
2508
|
text: string;
|
|
2509
2509
|
id: string;
|
|
2510
2510
|
provenance: Readonly<{
|
|
2511
|
+
sessionId: number | null;
|
|
2511
2512
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2512
2513
|
messageSequence: number | null;
|
|
2513
2514
|
toolExecutionId: string | null;
|
|
2514
2515
|
resourceKey: string | null;
|
|
2515
2516
|
managerInstanceId: string | null;
|
|
2516
|
-
sessionId: number | null;
|
|
2517
2517
|
checkpointId?: string | null | undefined;
|
|
2518
2518
|
snapshotIndex?: number | null | undefined;
|
|
2519
2519
|
}>[];
|
|
@@ -2523,12 +2523,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2523
2523
|
text: string;
|
|
2524
2524
|
id: string;
|
|
2525
2525
|
provenance: Readonly<{
|
|
2526
|
+
sessionId: number | null;
|
|
2526
2527
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2527
2528
|
messageSequence: number | null;
|
|
2528
2529
|
toolExecutionId: string | null;
|
|
2529
2530
|
resourceKey: string | null;
|
|
2530
2531
|
managerInstanceId: string | null;
|
|
2531
|
-
sessionId: number | null;
|
|
2532
2532
|
checkpointId?: string | null | undefined;
|
|
2533
2533
|
snapshotIndex?: number | null | undefined;
|
|
2534
2534
|
}>[];
|
|
@@ -2733,9 +2733,9 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2733
2733
|
terminationCause: z.ZodOptional<z.ZodString>;
|
|
2734
2734
|
cleanupError: z.ZodOptional<z.ZodString>;
|
|
2735
2735
|
}, "strict", z.ZodTypeAny, {
|
|
2736
|
+
sessionId: number;
|
|
2736
2737
|
workdir: string;
|
|
2737
2738
|
managerInstanceId: string;
|
|
2738
|
-
sessionId: number;
|
|
2739
2739
|
state: "completed" | "cleanup-failed" | "running" | "draining" | "stopping";
|
|
2740
2740
|
recoverability: "unavailable" | "live" | "stale";
|
|
2741
2741
|
commandPreview: string;
|
|
@@ -2745,9 +2745,9 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2745
2745
|
exitCode?: number | undefined;
|
|
2746
2746
|
cleanupError?: string | undefined;
|
|
2747
2747
|
}, {
|
|
2748
|
+
sessionId: number;
|
|
2748
2749
|
workdir: string;
|
|
2749
2750
|
managerInstanceId: string;
|
|
2750
|
-
sessionId: number;
|
|
2751
2751
|
state: "completed" | "cleanup-failed" | "running" | "draining" | "stopping";
|
|
2752
2752
|
recoverability: "unavailable" | "live" | "stale";
|
|
2753
2753
|
commandPreview: string;
|
|
@@ -2826,6 +2826,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2826
2826
|
version: 2;
|
|
2827
2827
|
createdAt: string;
|
|
2828
2828
|
id: string & z.BRAND<"CompactionCheckpointId">;
|
|
2829
|
+
generation: number;
|
|
2829
2830
|
context: Readonly<{
|
|
2830
2831
|
skills: Readonly<{
|
|
2831
2832
|
name: string;
|
|
@@ -2836,6 +2837,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2836
2837
|
explicitSkillNames: string[];
|
|
2837
2838
|
systemPromptSha256?: string | undefined;
|
|
2838
2839
|
}>;
|
|
2840
|
+
resources: Readonly<{
|
|
2841
|
+
mode: "read" | "write";
|
|
2842
|
+
key: string;
|
|
2843
|
+
evidenceToolCallId: string;
|
|
2844
|
+
evidenceExecutionId: string;
|
|
2845
|
+
}>[];
|
|
2839
2846
|
summary: Readonly<{
|
|
2840
2847
|
status: "valid";
|
|
2841
2848
|
digest: string;
|
|
@@ -2847,12 +2854,6 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2847
2854
|
status: "skipped";
|
|
2848
2855
|
lastValidCheckpointId?: (string & z.BRAND<"CompactionCheckpointId">) | undefined;
|
|
2849
2856
|
}>;
|
|
2850
|
-
resources: Readonly<{
|
|
2851
|
-
mode: "read" | "write";
|
|
2852
|
-
key: string;
|
|
2853
|
-
evidenceToolCallId: string;
|
|
2854
|
-
evidenceExecutionId: string;
|
|
2855
|
-
}>[];
|
|
2856
2857
|
constraints: Readonly<{
|
|
2857
2858
|
sourceSequence: number;
|
|
2858
2859
|
quote: string;
|
|
@@ -2885,9 +2886,9 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2885
2886
|
}>[];
|
|
2886
2887
|
}>;
|
|
2887
2888
|
runningWork: Readonly<{
|
|
2889
|
+
sessionId: number;
|
|
2888
2890
|
workdir: string;
|
|
2889
2891
|
managerInstanceId: string;
|
|
2890
|
-
sessionId: number;
|
|
2891
2892
|
state: "completed" | "cleanup-failed" | "running" | "draining" | "stopping";
|
|
2892
2893
|
recoverability: "unavailable" | "live" | "stale";
|
|
2893
2894
|
commandPreview: string;
|
|
@@ -2897,7 +2898,6 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2897
2898
|
exitCode?: number | undefined;
|
|
2898
2899
|
cleanupError?: string | undefined;
|
|
2899
2900
|
}>[];
|
|
2900
|
-
generation: number;
|
|
2901
2901
|
transcript: Readonly<{
|
|
2902
2902
|
messages: {
|
|
2903
2903
|
fromSequenceExclusive: number;
|
|
@@ -2915,12 +2915,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2915
2915
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2916
2916
|
resourceKey: string;
|
|
2917
2917
|
provenance: Readonly<{
|
|
2918
|
+
sessionId: number | null;
|
|
2918
2919
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2919
2920
|
messageSequence: number | null;
|
|
2920
2921
|
toolExecutionId: string | null;
|
|
2921
2922
|
resourceKey: string | null;
|
|
2922
2923
|
managerInstanceId: string | null;
|
|
2923
|
-
sessionId: number | null;
|
|
2924
2924
|
checkpointId: string | null;
|
|
2925
2925
|
snapshotIndex: number | null;
|
|
2926
2926
|
}>[];
|
|
@@ -2930,12 +2930,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2930
2930
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2931
2931
|
sourceQuotes: string[];
|
|
2932
2932
|
provenance: Readonly<{
|
|
2933
|
+
sessionId: number | null;
|
|
2933
2934
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2934
2935
|
messageSequence: number | null;
|
|
2935
2936
|
toolExecutionId: string | null;
|
|
2936
2937
|
resourceKey: string | null;
|
|
2937
2938
|
managerInstanceId: string | null;
|
|
2938
|
-
sessionId: number | null;
|
|
2939
2939
|
checkpointId: string | null;
|
|
2940
2940
|
snapshotIndex: number | null;
|
|
2941
2941
|
}>[];
|
|
@@ -2945,12 +2945,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2945
2945
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2946
2946
|
sourceQuotes: string[];
|
|
2947
2947
|
provenance: Readonly<{
|
|
2948
|
+
sessionId: number | null;
|
|
2948
2949
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2949
2950
|
messageSequence: number | null;
|
|
2950
2951
|
toolExecutionId: string | null;
|
|
2951
2952
|
resourceKey: string | null;
|
|
2952
2953
|
managerInstanceId: string | null;
|
|
2953
|
-
sessionId: number | null;
|
|
2954
2954
|
checkpointId: string | null;
|
|
2955
2955
|
snapshotIndex: number | null;
|
|
2956
2956
|
}>[];
|
|
@@ -2960,12 +2960,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2960
2960
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2961
2961
|
sourceQuotes: string[];
|
|
2962
2962
|
provenance: Readonly<{
|
|
2963
|
+
sessionId: number | null;
|
|
2963
2964
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2964
2965
|
messageSequence: number | null;
|
|
2965
2966
|
toolExecutionId: string | null;
|
|
2966
2967
|
resourceKey: string | null;
|
|
2967
2968
|
managerInstanceId: string | null;
|
|
2968
|
-
sessionId: number | null;
|
|
2969
2969
|
checkpointId: string | null;
|
|
2970
2970
|
snapshotIndex: number | null;
|
|
2971
2971
|
}>[];
|
|
@@ -2975,12 +2975,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2975
2975
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2976
2976
|
sourceQuotes: string[];
|
|
2977
2977
|
provenance: Readonly<{
|
|
2978
|
+
sessionId: number | null;
|
|
2978
2979
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2979
2980
|
messageSequence: number | null;
|
|
2980
2981
|
toolExecutionId: string | null;
|
|
2981
2982
|
resourceKey: string | null;
|
|
2982
2983
|
managerInstanceId: string | null;
|
|
2983
|
-
sessionId: number | null;
|
|
2984
2984
|
checkpointId: string | null;
|
|
2985
2985
|
snapshotIndex: number | null;
|
|
2986
2986
|
}>[];
|
|
@@ -2990,27 +2990,27 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
2990
2990
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
2991
2991
|
sourceQuotes: string[];
|
|
2992
2992
|
provenance: Readonly<{
|
|
2993
|
+
sessionId: number | null;
|
|
2993
2994
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
2994
2995
|
messageSequence: number | null;
|
|
2995
2996
|
toolExecutionId: string | null;
|
|
2996
2997
|
resourceKey: string | null;
|
|
2997
2998
|
managerInstanceId: string | null;
|
|
2998
|
-
sessionId: number | null;
|
|
2999
2999
|
checkpointId: string | null;
|
|
3000
3000
|
snapshotIndex: number | null;
|
|
3001
3001
|
}>[];
|
|
3002
3002
|
}>[];
|
|
3003
3003
|
runningSessions: Readonly<{
|
|
3004
3004
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3005
|
-
managerInstanceId: string;
|
|
3006
3005
|
sessionId: number;
|
|
3006
|
+
managerInstanceId: string;
|
|
3007
3007
|
provenance: Readonly<{
|
|
3008
|
+
sessionId: number | null;
|
|
3008
3009
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3009
3010
|
messageSequence: number | null;
|
|
3010
3011
|
toolExecutionId: string | null;
|
|
3011
3012
|
resourceKey: string | null;
|
|
3012
3013
|
managerInstanceId: string | null;
|
|
3013
|
-
sessionId: number | null;
|
|
3014
3014
|
checkpointId: string | null;
|
|
3015
3015
|
snapshotIndex: number | null;
|
|
3016
3016
|
}>[];
|
|
@@ -3020,12 +3020,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3020
3020
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3021
3021
|
sourceQuotes: string[];
|
|
3022
3022
|
provenance: Readonly<{
|
|
3023
|
+
sessionId: number | null;
|
|
3023
3024
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3024
3025
|
messageSequence: number | null;
|
|
3025
3026
|
toolExecutionId: string | null;
|
|
3026
3027
|
resourceKey: string | null;
|
|
3027
3028
|
managerInstanceId: string | null;
|
|
3028
|
-
sessionId: number | null;
|
|
3029
3029
|
checkpointId: string | null;
|
|
3030
3030
|
snapshotIndex: number | null;
|
|
3031
3031
|
}>[];
|
|
@@ -3054,6 +3054,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3054
3054
|
version: 2;
|
|
3055
3055
|
createdAt: string;
|
|
3056
3056
|
id: string;
|
|
3057
|
+
generation: number;
|
|
3057
3058
|
context: Readonly<{
|
|
3058
3059
|
skills: Readonly<{
|
|
3059
3060
|
name: string;
|
|
@@ -3064,6 +3065,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3064
3065
|
explicitSkillNames: string[];
|
|
3065
3066
|
systemPromptSha256?: string | undefined;
|
|
3066
3067
|
}>;
|
|
3068
|
+
resources: Readonly<{
|
|
3069
|
+
mode: "read" | "write";
|
|
3070
|
+
key: string;
|
|
3071
|
+
evidenceToolCallId: string;
|
|
3072
|
+
evidenceExecutionId: string;
|
|
3073
|
+
}>[];
|
|
3067
3074
|
summary: Readonly<{
|
|
3068
3075
|
status: "valid";
|
|
3069
3076
|
digest: string;
|
|
@@ -3075,12 +3082,6 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3075
3082
|
status: "skipped";
|
|
3076
3083
|
lastValidCheckpointId?: string | undefined;
|
|
3077
3084
|
}>;
|
|
3078
|
-
resources: Readonly<{
|
|
3079
|
-
mode: "read" | "write";
|
|
3080
|
-
key: string;
|
|
3081
|
-
evidenceToolCallId: string;
|
|
3082
|
-
evidenceExecutionId: string;
|
|
3083
|
-
}>[];
|
|
3084
3085
|
constraints: Readonly<{
|
|
3085
3086
|
sourceSequence: number;
|
|
3086
3087
|
quote: string;
|
|
@@ -3113,9 +3114,9 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3113
3114
|
}>[];
|
|
3114
3115
|
}>;
|
|
3115
3116
|
runningWork: Readonly<{
|
|
3117
|
+
sessionId: number;
|
|
3116
3118
|
workdir: string;
|
|
3117
3119
|
managerInstanceId: string;
|
|
3118
|
-
sessionId: number;
|
|
3119
3120
|
state: "completed" | "cleanup-failed" | "running" | "draining" | "stopping";
|
|
3120
3121
|
recoverability: "unavailable" | "live" | "stale";
|
|
3121
3122
|
commandPreview: string;
|
|
@@ -3125,7 +3126,6 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3125
3126
|
exitCode?: number | undefined;
|
|
3126
3127
|
cleanupError?: string | undefined;
|
|
3127
3128
|
}>[];
|
|
3128
|
-
generation: number;
|
|
3129
3129
|
transcript: Readonly<{
|
|
3130
3130
|
messages: {
|
|
3131
3131
|
fromSequenceExclusive: number;
|
|
@@ -3143,12 +3143,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3143
3143
|
id: string;
|
|
3144
3144
|
resourceKey: string;
|
|
3145
3145
|
provenance: Readonly<{
|
|
3146
|
+
sessionId: number | null;
|
|
3146
3147
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3147
3148
|
messageSequence: number | null;
|
|
3148
3149
|
toolExecutionId: string | null;
|
|
3149
3150
|
resourceKey: string | null;
|
|
3150
3151
|
managerInstanceId: string | null;
|
|
3151
|
-
sessionId: number | null;
|
|
3152
3152
|
checkpointId?: string | null | undefined;
|
|
3153
3153
|
snapshotIndex?: number | null | undefined;
|
|
3154
3154
|
}>[];
|
|
@@ -3157,12 +3157,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3157
3157
|
text: string;
|
|
3158
3158
|
id: string;
|
|
3159
3159
|
provenance: Readonly<{
|
|
3160
|
+
sessionId: number | null;
|
|
3160
3161
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3161
3162
|
messageSequence: number | null;
|
|
3162
3163
|
toolExecutionId: string | null;
|
|
3163
3164
|
resourceKey: string | null;
|
|
3164
3165
|
managerInstanceId: string | null;
|
|
3165
|
-
sessionId: number | null;
|
|
3166
3166
|
checkpointId?: string | null | undefined;
|
|
3167
3167
|
snapshotIndex?: number | null | undefined;
|
|
3168
3168
|
}>[];
|
|
@@ -3172,12 +3172,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3172
3172
|
text: string;
|
|
3173
3173
|
id: string;
|
|
3174
3174
|
provenance: Readonly<{
|
|
3175
|
+
sessionId: number | null;
|
|
3175
3176
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3176
3177
|
messageSequence: number | null;
|
|
3177
3178
|
toolExecutionId: string | null;
|
|
3178
3179
|
resourceKey: string | null;
|
|
3179
3180
|
managerInstanceId: string | null;
|
|
3180
|
-
sessionId: number | null;
|
|
3181
3181
|
checkpointId?: string | null | undefined;
|
|
3182
3182
|
snapshotIndex?: number | null | undefined;
|
|
3183
3183
|
}>[];
|
|
@@ -3187,12 +3187,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3187
3187
|
text: string;
|
|
3188
3188
|
id: string;
|
|
3189
3189
|
provenance: Readonly<{
|
|
3190
|
+
sessionId: number | null;
|
|
3190
3191
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3191
3192
|
messageSequence: number | null;
|
|
3192
3193
|
toolExecutionId: string | null;
|
|
3193
3194
|
resourceKey: string | null;
|
|
3194
3195
|
managerInstanceId: string | null;
|
|
3195
|
-
sessionId: number | null;
|
|
3196
3196
|
checkpointId?: string | null | undefined;
|
|
3197
3197
|
snapshotIndex?: number | null | undefined;
|
|
3198
3198
|
}>[];
|
|
@@ -3202,12 +3202,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3202
3202
|
text: string;
|
|
3203
3203
|
id: string;
|
|
3204
3204
|
provenance: Readonly<{
|
|
3205
|
+
sessionId: number | null;
|
|
3205
3206
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3206
3207
|
messageSequence: number | null;
|
|
3207
3208
|
toolExecutionId: string | null;
|
|
3208
3209
|
resourceKey: string | null;
|
|
3209
3210
|
managerInstanceId: string | null;
|
|
3210
|
-
sessionId: number | null;
|
|
3211
3211
|
checkpointId?: string | null | undefined;
|
|
3212
3212
|
snapshotIndex?: number | null | undefined;
|
|
3213
3213
|
}>[];
|
|
@@ -3215,15 +3215,15 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3215
3215
|
}>[];
|
|
3216
3216
|
runningSessions: Readonly<{
|
|
3217
3217
|
id: string;
|
|
3218
|
-
managerInstanceId: string;
|
|
3219
3218
|
sessionId: number;
|
|
3219
|
+
managerInstanceId: string;
|
|
3220
3220
|
provenance: Readonly<{
|
|
3221
|
+
sessionId: number | null;
|
|
3221
3222
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3222
3223
|
messageSequence: number | null;
|
|
3223
3224
|
toolExecutionId: string | null;
|
|
3224
3225
|
resourceKey: string | null;
|
|
3225
3226
|
managerInstanceId: string | null;
|
|
3226
|
-
sessionId: number | null;
|
|
3227
3227
|
checkpointId?: string | null | undefined;
|
|
3228
3228
|
snapshotIndex?: number | null | undefined;
|
|
3229
3229
|
}>[];
|
|
@@ -3232,12 +3232,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3232
3232
|
text: string;
|
|
3233
3233
|
id: string;
|
|
3234
3234
|
provenance: Readonly<{
|
|
3235
|
+
sessionId: number | null;
|
|
3235
3236
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3236
3237
|
messageSequence: number | null;
|
|
3237
3238
|
toolExecutionId: string | null;
|
|
3238
3239
|
resourceKey: string | null;
|
|
3239
3240
|
managerInstanceId: string | null;
|
|
3240
|
-
sessionId: number | null;
|
|
3241
3241
|
checkpointId?: string | null | undefined;
|
|
3242
3242
|
snapshotIndex?: number | null | undefined;
|
|
3243
3243
|
}>[];
|
|
@@ -3247,12 +3247,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3247
3247
|
text: string;
|
|
3248
3248
|
id: string;
|
|
3249
3249
|
provenance: Readonly<{
|
|
3250
|
+
sessionId: number | null;
|
|
3250
3251
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3251
3252
|
messageSequence: number | null;
|
|
3252
3253
|
toolExecutionId: string | null;
|
|
3253
3254
|
resourceKey: string | null;
|
|
3254
3255
|
managerInstanceId: string | null;
|
|
3255
|
-
sessionId: number | null;
|
|
3256
3256
|
checkpointId?: string | null | undefined;
|
|
3257
3257
|
snapshotIndex?: number | null | undefined;
|
|
3258
3258
|
}>[];
|
|
@@ -3282,6 +3282,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3282
3282
|
version: 2;
|
|
3283
3283
|
createdAt: string;
|
|
3284
3284
|
id: string & z.BRAND<"CompactionCheckpointId">;
|
|
3285
|
+
generation: number;
|
|
3285
3286
|
context: Readonly<{
|
|
3286
3287
|
skills: Readonly<{
|
|
3287
3288
|
name: string;
|
|
@@ -3292,6 +3293,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3292
3293
|
explicitSkillNames: string[];
|
|
3293
3294
|
systemPromptSha256?: string | undefined;
|
|
3294
3295
|
}>;
|
|
3296
|
+
resources: Readonly<{
|
|
3297
|
+
mode: "read" | "write";
|
|
3298
|
+
key: string;
|
|
3299
|
+
evidenceToolCallId: string;
|
|
3300
|
+
evidenceExecutionId: string;
|
|
3301
|
+
}>[];
|
|
3295
3302
|
summary: Readonly<{
|
|
3296
3303
|
status: "valid";
|
|
3297
3304
|
digest: string;
|
|
@@ -3303,12 +3310,6 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3303
3310
|
status: "skipped";
|
|
3304
3311
|
lastValidCheckpointId?: (string & z.BRAND<"CompactionCheckpointId">) | undefined;
|
|
3305
3312
|
}>;
|
|
3306
|
-
resources: Readonly<{
|
|
3307
|
-
mode: "read" | "write";
|
|
3308
|
-
key: string;
|
|
3309
|
-
evidenceToolCallId: string;
|
|
3310
|
-
evidenceExecutionId: string;
|
|
3311
|
-
}>[];
|
|
3312
3313
|
constraints: Readonly<{
|
|
3313
3314
|
sourceSequence: number;
|
|
3314
3315
|
quote: string;
|
|
@@ -3341,9 +3342,9 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3341
3342
|
}>[];
|
|
3342
3343
|
}>;
|
|
3343
3344
|
runningWork: Readonly<{
|
|
3345
|
+
sessionId: number;
|
|
3344
3346
|
workdir: string;
|
|
3345
3347
|
managerInstanceId: string;
|
|
3346
|
-
sessionId: number;
|
|
3347
3348
|
state: "completed" | "cleanup-failed" | "running" | "draining" | "stopping";
|
|
3348
3349
|
recoverability: "unavailable" | "live" | "stale";
|
|
3349
3350
|
commandPreview: string;
|
|
@@ -3353,7 +3354,6 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3353
3354
|
exitCode?: number | undefined;
|
|
3354
3355
|
cleanupError?: string | undefined;
|
|
3355
3356
|
}>[];
|
|
3356
|
-
generation: number;
|
|
3357
3357
|
transcript: Readonly<{
|
|
3358
3358
|
messages: {
|
|
3359
3359
|
fromSequenceExclusive: number;
|
|
@@ -3371,12 +3371,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3371
3371
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3372
3372
|
resourceKey: string;
|
|
3373
3373
|
provenance: Readonly<{
|
|
3374
|
+
sessionId: number | null;
|
|
3374
3375
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3375
3376
|
messageSequence: number | null;
|
|
3376
3377
|
toolExecutionId: string | null;
|
|
3377
3378
|
resourceKey: string | null;
|
|
3378
3379
|
managerInstanceId: string | null;
|
|
3379
|
-
sessionId: number | null;
|
|
3380
3380
|
checkpointId: string | null;
|
|
3381
3381
|
snapshotIndex: number | null;
|
|
3382
3382
|
}>[];
|
|
@@ -3386,12 +3386,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3386
3386
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3387
3387
|
sourceQuotes: string[];
|
|
3388
3388
|
provenance: Readonly<{
|
|
3389
|
+
sessionId: number | null;
|
|
3389
3390
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3390
3391
|
messageSequence: number | null;
|
|
3391
3392
|
toolExecutionId: string | null;
|
|
3392
3393
|
resourceKey: string | null;
|
|
3393
3394
|
managerInstanceId: string | null;
|
|
3394
|
-
sessionId: number | null;
|
|
3395
3395
|
checkpointId: string | null;
|
|
3396
3396
|
snapshotIndex: number | null;
|
|
3397
3397
|
}>[];
|
|
@@ -3401,12 +3401,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3401
3401
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3402
3402
|
sourceQuotes: string[];
|
|
3403
3403
|
provenance: Readonly<{
|
|
3404
|
+
sessionId: number | null;
|
|
3404
3405
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3405
3406
|
messageSequence: number | null;
|
|
3406
3407
|
toolExecutionId: string | null;
|
|
3407
3408
|
resourceKey: string | null;
|
|
3408
3409
|
managerInstanceId: string | null;
|
|
3409
|
-
sessionId: number | null;
|
|
3410
3410
|
checkpointId: string | null;
|
|
3411
3411
|
snapshotIndex: number | null;
|
|
3412
3412
|
}>[];
|
|
@@ -3416,12 +3416,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3416
3416
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3417
3417
|
sourceQuotes: string[];
|
|
3418
3418
|
provenance: Readonly<{
|
|
3419
|
+
sessionId: number | null;
|
|
3419
3420
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3420
3421
|
messageSequence: number | null;
|
|
3421
3422
|
toolExecutionId: string | null;
|
|
3422
3423
|
resourceKey: string | null;
|
|
3423
3424
|
managerInstanceId: string | null;
|
|
3424
|
-
sessionId: number | null;
|
|
3425
3425
|
checkpointId: string | null;
|
|
3426
3426
|
snapshotIndex: number | null;
|
|
3427
3427
|
}>[];
|
|
@@ -3431,12 +3431,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3431
3431
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3432
3432
|
sourceQuotes: string[];
|
|
3433
3433
|
provenance: Readonly<{
|
|
3434
|
+
sessionId: number | null;
|
|
3434
3435
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3435
3436
|
messageSequence: number | null;
|
|
3436
3437
|
toolExecutionId: string | null;
|
|
3437
3438
|
resourceKey: string | null;
|
|
3438
3439
|
managerInstanceId: string | null;
|
|
3439
|
-
sessionId: number | null;
|
|
3440
3440
|
checkpointId: string | null;
|
|
3441
3441
|
snapshotIndex: number | null;
|
|
3442
3442
|
}>[];
|
|
@@ -3446,27 +3446,27 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3446
3446
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3447
3447
|
sourceQuotes: string[];
|
|
3448
3448
|
provenance: Readonly<{
|
|
3449
|
+
sessionId: number | null;
|
|
3449
3450
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3450
3451
|
messageSequence: number | null;
|
|
3451
3452
|
toolExecutionId: string | null;
|
|
3452
3453
|
resourceKey: string | null;
|
|
3453
3454
|
managerInstanceId: string | null;
|
|
3454
|
-
sessionId: number | null;
|
|
3455
3455
|
checkpointId: string | null;
|
|
3456
3456
|
snapshotIndex: number | null;
|
|
3457
3457
|
}>[];
|
|
3458
3458
|
}>[];
|
|
3459
3459
|
runningSessions: Readonly<{
|
|
3460
3460
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3461
|
-
managerInstanceId: string;
|
|
3462
3461
|
sessionId: number;
|
|
3462
|
+
managerInstanceId: string;
|
|
3463
3463
|
provenance: Readonly<{
|
|
3464
|
+
sessionId: number | null;
|
|
3464
3465
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3465
3466
|
messageSequence: number | null;
|
|
3466
3467
|
toolExecutionId: string | null;
|
|
3467
3468
|
resourceKey: string | null;
|
|
3468
3469
|
managerInstanceId: string | null;
|
|
3469
|
-
sessionId: number | null;
|
|
3470
3470
|
checkpointId: string | null;
|
|
3471
3471
|
snapshotIndex: number | null;
|
|
3472
3472
|
}>[];
|
|
@@ -3476,12 +3476,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3476
3476
|
id: string & z.BRAND<"CompactionSemanticItemId">;
|
|
3477
3477
|
sourceQuotes: string[];
|
|
3478
3478
|
provenance: Readonly<{
|
|
3479
|
+
sessionId: number | null;
|
|
3479
3480
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3480
3481
|
messageSequence: number | null;
|
|
3481
3482
|
toolExecutionId: string | null;
|
|
3482
3483
|
resourceKey: string | null;
|
|
3483
3484
|
managerInstanceId: string | null;
|
|
3484
|
-
sessionId: number | null;
|
|
3485
3485
|
checkpointId: string | null;
|
|
3486
3486
|
snapshotIndex: number | null;
|
|
3487
3487
|
}>[];
|
|
@@ -3510,6 +3510,7 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3510
3510
|
version: 2;
|
|
3511
3511
|
createdAt: string;
|
|
3512
3512
|
id: string;
|
|
3513
|
+
generation: number;
|
|
3513
3514
|
context: Readonly<{
|
|
3514
3515
|
skills: Readonly<{
|
|
3515
3516
|
name: string;
|
|
@@ -3520,6 +3521,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3520
3521
|
explicitSkillNames: string[];
|
|
3521
3522
|
systemPromptSha256?: string | undefined;
|
|
3522
3523
|
}>;
|
|
3524
|
+
resources: Readonly<{
|
|
3525
|
+
mode: "read" | "write";
|
|
3526
|
+
key: string;
|
|
3527
|
+
evidenceToolCallId: string;
|
|
3528
|
+
evidenceExecutionId: string;
|
|
3529
|
+
}>[];
|
|
3523
3530
|
summary: Readonly<{
|
|
3524
3531
|
status: "valid";
|
|
3525
3532
|
digest: string;
|
|
@@ -3531,12 +3538,6 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3531
3538
|
status: "skipped";
|
|
3532
3539
|
lastValidCheckpointId?: string | undefined;
|
|
3533
3540
|
}>;
|
|
3534
|
-
resources: Readonly<{
|
|
3535
|
-
mode: "read" | "write";
|
|
3536
|
-
key: string;
|
|
3537
|
-
evidenceToolCallId: string;
|
|
3538
|
-
evidenceExecutionId: string;
|
|
3539
|
-
}>[];
|
|
3540
3541
|
constraints: Readonly<{
|
|
3541
3542
|
sourceSequence: number;
|
|
3542
3543
|
quote: string;
|
|
@@ -3569,9 +3570,9 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3569
3570
|
}>[];
|
|
3570
3571
|
}>;
|
|
3571
3572
|
runningWork: Readonly<{
|
|
3573
|
+
sessionId: number;
|
|
3572
3574
|
workdir: string;
|
|
3573
3575
|
managerInstanceId: string;
|
|
3574
|
-
sessionId: number;
|
|
3575
3576
|
state: "completed" | "cleanup-failed" | "running" | "draining" | "stopping";
|
|
3576
3577
|
recoverability: "unavailable" | "live" | "stale";
|
|
3577
3578
|
commandPreview: string;
|
|
@@ -3581,7 +3582,6 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3581
3582
|
exitCode?: number | undefined;
|
|
3582
3583
|
cleanupError?: string | undefined;
|
|
3583
3584
|
}>[];
|
|
3584
|
-
generation: number;
|
|
3585
3585
|
transcript: Readonly<{
|
|
3586
3586
|
messages: {
|
|
3587
3587
|
fromSequenceExclusive: number;
|
|
@@ -3599,12 +3599,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3599
3599
|
id: string;
|
|
3600
3600
|
resourceKey: string;
|
|
3601
3601
|
provenance: Readonly<{
|
|
3602
|
+
sessionId: number | null;
|
|
3602
3603
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3603
3604
|
messageSequence: number | null;
|
|
3604
3605
|
toolExecutionId: string | null;
|
|
3605
3606
|
resourceKey: string | null;
|
|
3606
3607
|
managerInstanceId: string | null;
|
|
3607
|
-
sessionId: number | null;
|
|
3608
3608
|
checkpointId?: string | null | undefined;
|
|
3609
3609
|
snapshotIndex?: number | null | undefined;
|
|
3610
3610
|
}>[];
|
|
@@ -3613,12 +3613,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3613
3613
|
text: string;
|
|
3614
3614
|
id: string;
|
|
3615
3615
|
provenance: Readonly<{
|
|
3616
|
+
sessionId: number | null;
|
|
3616
3617
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3617
3618
|
messageSequence: number | null;
|
|
3618
3619
|
toolExecutionId: string | null;
|
|
3619
3620
|
resourceKey: string | null;
|
|
3620
3621
|
managerInstanceId: string | null;
|
|
3621
|
-
sessionId: number | null;
|
|
3622
3622
|
checkpointId?: string | null | undefined;
|
|
3623
3623
|
snapshotIndex?: number | null | undefined;
|
|
3624
3624
|
}>[];
|
|
@@ -3628,12 +3628,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3628
3628
|
text: string;
|
|
3629
3629
|
id: string;
|
|
3630
3630
|
provenance: Readonly<{
|
|
3631
|
+
sessionId: number | null;
|
|
3631
3632
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3632
3633
|
messageSequence: number | null;
|
|
3633
3634
|
toolExecutionId: string | null;
|
|
3634
3635
|
resourceKey: string | null;
|
|
3635
3636
|
managerInstanceId: string | null;
|
|
3636
|
-
sessionId: number | null;
|
|
3637
3637
|
checkpointId?: string | null | undefined;
|
|
3638
3638
|
snapshotIndex?: number | null | undefined;
|
|
3639
3639
|
}>[];
|
|
@@ -3643,12 +3643,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3643
3643
|
text: string;
|
|
3644
3644
|
id: string;
|
|
3645
3645
|
provenance: Readonly<{
|
|
3646
|
+
sessionId: number | null;
|
|
3646
3647
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3647
3648
|
messageSequence: number | null;
|
|
3648
3649
|
toolExecutionId: string | null;
|
|
3649
3650
|
resourceKey: string | null;
|
|
3650
3651
|
managerInstanceId: string | null;
|
|
3651
|
-
sessionId: number | null;
|
|
3652
3652
|
checkpointId?: string | null | undefined;
|
|
3653
3653
|
snapshotIndex?: number | null | undefined;
|
|
3654
3654
|
}>[];
|
|
@@ -3658,12 +3658,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3658
3658
|
text: string;
|
|
3659
3659
|
id: string;
|
|
3660
3660
|
provenance: Readonly<{
|
|
3661
|
+
sessionId: number | null;
|
|
3661
3662
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3662
3663
|
messageSequence: number | null;
|
|
3663
3664
|
toolExecutionId: string | null;
|
|
3664
3665
|
resourceKey: string | null;
|
|
3665
3666
|
managerInstanceId: string | null;
|
|
3666
|
-
sessionId: number | null;
|
|
3667
3667
|
checkpointId?: string | null | undefined;
|
|
3668
3668
|
snapshotIndex?: number | null | undefined;
|
|
3669
3669
|
}>[];
|
|
@@ -3671,15 +3671,15 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3671
3671
|
}>[];
|
|
3672
3672
|
runningSessions: Readonly<{
|
|
3673
3673
|
id: string;
|
|
3674
|
-
managerInstanceId: string;
|
|
3675
3674
|
sessionId: number;
|
|
3675
|
+
managerInstanceId: string;
|
|
3676
3676
|
provenance: Readonly<{
|
|
3677
|
+
sessionId: number | null;
|
|
3677
3678
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3678
3679
|
messageSequence: number | null;
|
|
3679
3680
|
toolExecutionId: string | null;
|
|
3680
3681
|
resourceKey: string | null;
|
|
3681
3682
|
managerInstanceId: string | null;
|
|
3682
|
-
sessionId: number | null;
|
|
3683
3683
|
checkpointId?: string | null | undefined;
|
|
3684
3684
|
snapshotIndex?: number | null | undefined;
|
|
3685
3685
|
}>[];
|
|
@@ -3688,12 +3688,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3688
3688
|
text: string;
|
|
3689
3689
|
id: string;
|
|
3690
3690
|
provenance: Readonly<{
|
|
3691
|
+
sessionId: number | null;
|
|
3691
3692
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3692
3693
|
messageSequence: number | null;
|
|
3693
3694
|
toolExecutionId: string | null;
|
|
3694
3695
|
resourceKey: string | null;
|
|
3695
3696
|
managerInstanceId: string | null;
|
|
3696
|
-
sessionId: number | null;
|
|
3697
3697
|
checkpointId?: string | null | undefined;
|
|
3698
3698
|
snapshotIndex?: number | null | undefined;
|
|
3699
3699
|
}>[];
|
|
@@ -3703,12 +3703,12 @@ export declare const compactionCheckpointV2Schema: z.ZodReadonly<z.ZodEffects<z.
|
|
|
3703
3703
|
text: string;
|
|
3704
3704
|
id: string;
|
|
3705
3705
|
provenance: Readonly<{
|
|
3706
|
+
sessionId: number | null;
|
|
3706
3707
|
kind: "resource" | "message" | "tool_execution" | "running_session" | "legacy_snapshot";
|
|
3707
3708
|
messageSequence: number | null;
|
|
3708
3709
|
toolExecutionId: string | null;
|
|
3709
3710
|
resourceKey: string | null;
|
|
3710
3711
|
managerInstanceId: string | null;
|
|
3711
|
-
sessionId: number | null;
|
|
3712
3712
|
checkpointId?: string | null | undefined;
|
|
3713
3713
|
snapshotIndex?: number | null | undefined;
|
|
3714
3714
|
}>[];
|