@byok-sdk/protocol 0.25.0 → 0.26.0-rc.1
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/envelope.d.ts +50 -0
- package/dist/http-api.d.ts +100 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +37 -4
- package/dist/index.js.map +1 -1
- package/dist/messages.d.ts +167 -0
- package/dist/version.d.ts +9 -1
- package/package.json +1 -1
package/dist/envelope.d.ts
CHANGED
|
@@ -208,6 +208,7 @@ export declare const EnvelopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
208
208
|
agentId: z.ZodString;
|
|
209
209
|
profileRevision: z.ZodString;
|
|
210
210
|
}, z.core.$strict>;
|
|
211
|
+
homeAccess: z.ZodOptional<z.ZodLiteral<"memory-reader">>;
|
|
211
212
|
requiredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
212
213
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
213
214
|
claude: "claude";
|
|
@@ -275,6 +276,7 @@ export declare const EnvelopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
275
276
|
agentId: z.ZodString;
|
|
276
277
|
profileRevision: z.ZodString;
|
|
277
278
|
}, z.core.$strict>;
|
|
279
|
+
homeAccess: z.ZodOptional<z.ZodLiteral<"memory-reader">>;
|
|
278
280
|
requiredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
279
281
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
280
282
|
claude: "claude";
|
|
@@ -378,6 +380,7 @@ export declare const EnvelopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
378
380
|
agentId: z.ZodString;
|
|
379
381
|
profileRevision: z.ZodString;
|
|
380
382
|
}, z.core.$strict>;
|
|
383
|
+
homeAccess: z.ZodOptional<z.ZodLiteral<"memory-reader">>;
|
|
381
384
|
requiredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
382
385
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
383
386
|
claude: "claude";
|
|
@@ -471,6 +474,7 @@ export declare const EnvelopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
471
474
|
agentId: z.ZodString;
|
|
472
475
|
profileRevision: z.ZodString;
|
|
473
476
|
}, z.core.$strict>;
|
|
477
|
+
homeAccess: z.ZodOptional<z.ZodLiteral<"memory-reader">>;
|
|
474
478
|
requiredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
475
479
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
476
480
|
claude: "claude";
|
|
@@ -1048,6 +1052,7 @@ export declare const EnvelopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1048
1052
|
payload: z.ZodObject<{
|
|
1049
1053
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
1050
1054
|
summary: z.ZodString;
|
|
1055
|
+
finalMessage: z.ZodOptional<z.ZodString>;
|
|
1051
1056
|
sessionRef: z.ZodString;
|
|
1052
1057
|
artifactRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1053
1058
|
blobId: z.ZodString;
|
|
@@ -1080,6 +1085,21 @@ export declare const EnvelopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1080
1085
|
agentId: z.ZodString;
|
|
1081
1086
|
profileRevision: z.ZodString;
|
|
1082
1087
|
}, z.core.$strict>>;
|
|
1088
|
+
agentHomeProjection: z.ZodOptional<z.ZodObject<{
|
|
1089
|
+
profileRevision: z.ZodString;
|
|
1090
|
+
projectionHash: z.ZodString;
|
|
1091
|
+
}, z.core.$strict>>;
|
|
1092
|
+
agentHomeMemoryChange: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1093
|
+
outcome: z.ZodLiteral<"unchanged">;
|
|
1094
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1095
|
+
outcome: z.ZodLiteral<"reader-attributed">;
|
|
1096
|
+
paths: z.ZodArray<z.ZodString>;
|
|
1097
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1098
|
+
outcome: z.ZodLiteral<"unattributed">;
|
|
1099
|
+
paths: z.ZodArray<z.ZodString>;
|
|
1100
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1101
|
+
outcome: z.ZodLiteral<"unmeasured">;
|
|
1102
|
+
}, z.core.$strict>], "outcome">>;
|
|
1083
1103
|
}, z.core.$strip>;
|
|
1084
1104
|
}, z.core.$strip>, z.ZodObject<{
|
|
1085
1105
|
v: z.ZodNumber;
|
|
@@ -1120,6 +1140,21 @@ export declare const EnvelopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1120
1140
|
agentId: z.ZodString;
|
|
1121
1141
|
profileRevision: z.ZodString;
|
|
1122
1142
|
}, z.core.$strict>>;
|
|
1143
|
+
agentHomeProjection: z.ZodOptional<z.ZodObject<{
|
|
1144
|
+
profileRevision: z.ZodString;
|
|
1145
|
+
projectionHash: z.ZodString;
|
|
1146
|
+
}, z.core.$strict>>;
|
|
1147
|
+
agentHomeMemoryChange: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1148
|
+
outcome: z.ZodLiteral<"unchanged">;
|
|
1149
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1150
|
+
outcome: z.ZodLiteral<"reader-attributed">;
|
|
1151
|
+
paths: z.ZodArray<z.ZodString>;
|
|
1152
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1153
|
+
outcome: z.ZodLiteral<"unattributed">;
|
|
1154
|
+
paths: z.ZodArray<z.ZodString>;
|
|
1155
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1156
|
+
outcome: z.ZodLiteral<"unmeasured">;
|
|
1157
|
+
}, z.core.$strict>], "outcome">>;
|
|
1123
1158
|
}, z.core.$strip>;
|
|
1124
1159
|
}, z.core.$strip>, z.ZodObject<{
|
|
1125
1160
|
v: z.ZodNumber;
|
|
@@ -1150,6 +1185,21 @@ export declare const EnvelopeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1150
1185
|
agentId: z.ZodString;
|
|
1151
1186
|
profileRevision: z.ZodString;
|
|
1152
1187
|
}, z.core.$strict>>;
|
|
1188
|
+
agentHomeProjection: z.ZodOptional<z.ZodObject<{
|
|
1189
|
+
profileRevision: z.ZodString;
|
|
1190
|
+
projectionHash: z.ZodString;
|
|
1191
|
+
}, z.core.$strict>>;
|
|
1192
|
+
agentHomeMemoryChange: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1193
|
+
outcome: z.ZodLiteral<"unchanged">;
|
|
1194
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1195
|
+
outcome: z.ZodLiteral<"reader-attributed">;
|
|
1196
|
+
paths: z.ZodArray<z.ZodString>;
|
|
1197
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1198
|
+
outcome: z.ZodLiteral<"unattributed">;
|
|
1199
|
+
paths: z.ZodArray<z.ZodString>;
|
|
1200
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1201
|
+
outcome: z.ZodLiteral<"unmeasured">;
|
|
1202
|
+
}, z.core.$strict>], "outcome">>;
|
|
1153
1203
|
}, z.core.$strip>;
|
|
1154
1204
|
}, z.core.$strip>, z.ZodObject<{
|
|
1155
1205
|
v: z.ZodNumber;
|
package/dist/http-api.d.ts
CHANGED
|
@@ -302,6 +302,7 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
302
302
|
agentId: z.ZodString;
|
|
303
303
|
profileRevision: z.ZodString;
|
|
304
304
|
}, z.core.$strict>;
|
|
305
|
+
homeAccess: z.ZodOptional<z.ZodLiteral<"memory-reader">>;
|
|
305
306
|
requiredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
306
307
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
307
308
|
claude: "claude";
|
|
@@ -369,6 +370,7 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
369
370
|
agentId: z.ZodString;
|
|
370
371
|
profileRevision: z.ZodString;
|
|
371
372
|
}, z.core.$strict>;
|
|
373
|
+
homeAccess: z.ZodOptional<z.ZodLiteral<"memory-reader">>;
|
|
372
374
|
requiredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
373
375
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
374
376
|
claude: "claude";
|
|
@@ -472,6 +474,7 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
472
474
|
agentId: z.ZodString;
|
|
473
475
|
profileRevision: z.ZodString;
|
|
474
476
|
}, z.core.$strict>;
|
|
477
|
+
homeAccess: z.ZodOptional<z.ZodLiteral<"memory-reader">>;
|
|
475
478
|
requiredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
476
479
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
477
480
|
claude: "claude";
|
|
@@ -565,6 +568,7 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
565
568
|
agentId: z.ZodString;
|
|
566
569
|
profileRevision: z.ZodString;
|
|
567
570
|
}, z.core.$strict>;
|
|
571
|
+
homeAccess: z.ZodOptional<z.ZodLiteral<"memory-reader">>;
|
|
568
572
|
requiredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
569
573
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
570
574
|
claude: "claude";
|
|
@@ -1142,6 +1146,7 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
1142
1146
|
payload: z.ZodObject<{
|
|
1143
1147
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
1144
1148
|
summary: z.ZodString;
|
|
1149
|
+
finalMessage: z.ZodOptional<z.ZodString>;
|
|
1145
1150
|
sessionRef: z.ZodString;
|
|
1146
1151
|
artifactRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1147
1152
|
blobId: z.ZodString;
|
|
@@ -1174,6 +1179,21 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
1174
1179
|
agentId: z.ZodString;
|
|
1175
1180
|
profileRevision: z.ZodString;
|
|
1176
1181
|
}, z.core.$strict>>;
|
|
1182
|
+
agentHomeProjection: z.ZodOptional<z.ZodObject<{
|
|
1183
|
+
profileRevision: z.ZodString;
|
|
1184
|
+
projectionHash: z.ZodString;
|
|
1185
|
+
}, z.core.$strict>>;
|
|
1186
|
+
agentHomeMemoryChange: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1187
|
+
outcome: z.ZodLiteral<"unchanged">;
|
|
1188
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1189
|
+
outcome: z.ZodLiteral<"reader-attributed">;
|
|
1190
|
+
paths: z.ZodArray<z.ZodString>;
|
|
1191
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1192
|
+
outcome: z.ZodLiteral<"unattributed">;
|
|
1193
|
+
paths: z.ZodArray<z.ZodString>;
|
|
1194
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1195
|
+
outcome: z.ZodLiteral<"unmeasured">;
|
|
1196
|
+
}, z.core.$strict>], "outcome">>;
|
|
1177
1197
|
}, z.core.$strip>;
|
|
1178
1198
|
}, z.core.$strip>, z.ZodObject<{
|
|
1179
1199
|
v: z.ZodNumber;
|
|
@@ -1214,6 +1234,21 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
1214
1234
|
agentId: z.ZodString;
|
|
1215
1235
|
profileRevision: z.ZodString;
|
|
1216
1236
|
}, z.core.$strict>>;
|
|
1237
|
+
agentHomeProjection: z.ZodOptional<z.ZodObject<{
|
|
1238
|
+
profileRevision: z.ZodString;
|
|
1239
|
+
projectionHash: z.ZodString;
|
|
1240
|
+
}, z.core.$strict>>;
|
|
1241
|
+
agentHomeMemoryChange: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1242
|
+
outcome: z.ZodLiteral<"unchanged">;
|
|
1243
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1244
|
+
outcome: z.ZodLiteral<"reader-attributed">;
|
|
1245
|
+
paths: z.ZodArray<z.ZodString>;
|
|
1246
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1247
|
+
outcome: z.ZodLiteral<"unattributed">;
|
|
1248
|
+
paths: z.ZodArray<z.ZodString>;
|
|
1249
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1250
|
+
outcome: z.ZodLiteral<"unmeasured">;
|
|
1251
|
+
}, z.core.$strict>], "outcome">>;
|
|
1217
1252
|
}, z.core.$strip>;
|
|
1218
1253
|
}, z.core.$strip>, z.ZodObject<{
|
|
1219
1254
|
v: z.ZodNumber;
|
|
@@ -1244,6 +1279,21 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
1244
1279
|
agentId: z.ZodString;
|
|
1245
1280
|
profileRevision: z.ZodString;
|
|
1246
1281
|
}, z.core.$strict>>;
|
|
1282
|
+
agentHomeProjection: z.ZodOptional<z.ZodObject<{
|
|
1283
|
+
profileRevision: z.ZodString;
|
|
1284
|
+
projectionHash: z.ZodString;
|
|
1285
|
+
}, z.core.$strict>>;
|
|
1286
|
+
agentHomeMemoryChange: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1287
|
+
outcome: z.ZodLiteral<"unchanged">;
|
|
1288
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1289
|
+
outcome: z.ZodLiteral<"reader-attributed">;
|
|
1290
|
+
paths: z.ZodArray<z.ZodString>;
|
|
1291
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1292
|
+
outcome: z.ZodLiteral<"unattributed">;
|
|
1293
|
+
paths: z.ZodArray<z.ZodString>;
|
|
1294
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1295
|
+
outcome: z.ZodLiteral<"unmeasured">;
|
|
1296
|
+
}, z.core.$strict>], "outcome">>;
|
|
1247
1297
|
}, z.core.$strip>;
|
|
1248
1298
|
}, z.core.$strip>, z.ZodObject<{
|
|
1249
1299
|
v: z.ZodNumber;
|
|
@@ -1629,6 +1679,7 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
1629
1679
|
agentId: z.ZodString;
|
|
1630
1680
|
profileRevision: z.ZodString;
|
|
1631
1681
|
}, z.core.$strict>;
|
|
1682
|
+
homeAccess: z.ZodOptional<z.ZodLiteral<"memory-reader">>;
|
|
1632
1683
|
requiredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1633
1684
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1634
1685
|
claude: "claude";
|
|
@@ -1696,6 +1747,7 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
1696
1747
|
agentId: z.ZodString;
|
|
1697
1748
|
profileRevision: z.ZodString;
|
|
1698
1749
|
}, z.core.$strict>;
|
|
1750
|
+
homeAccess: z.ZodOptional<z.ZodLiteral<"memory-reader">>;
|
|
1699
1751
|
requiredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1700
1752
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1701
1753
|
claude: "claude";
|
|
@@ -1799,6 +1851,7 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
1799
1851
|
agentId: z.ZodString;
|
|
1800
1852
|
profileRevision: z.ZodString;
|
|
1801
1853
|
}, z.core.$strict>;
|
|
1854
|
+
homeAccess: z.ZodOptional<z.ZodLiteral<"memory-reader">>;
|
|
1802
1855
|
requiredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1803
1856
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1804
1857
|
claude: "claude";
|
|
@@ -1892,6 +1945,7 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
1892
1945
|
agentId: z.ZodString;
|
|
1893
1946
|
profileRevision: z.ZodString;
|
|
1894
1947
|
}, z.core.$strict>;
|
|
1948
|
+
homeAccess: z.ZodOptional<z.ZodLiteral<"memory-reader">>;
|
|
1895
1949
|
requiredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1896
1950
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1897
1951
|
claude: "claude";
|
|
@@ -2469,6 +2523,7 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
2469
2523
|
payload: z.ZodObject<{
|
|
2470
2524
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
2471
2525
|
summary: z.ZodString;
|
|
2526
|
+
finalMessage: z.ZodOptional<z.ZodString>;
|
|
2472
2527
|
sessionRef: z.ZodString;
|
|
2473
2528
|
artifactRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2474
2529
|
blobId: z.ZodString;
|
|
@@ -2501,6 +2556,21 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
2501
2556
|
agentId: z.ZodString;
|
|
2502
2557
|
profileRevision: z.ZodString;
|
|
2503
2558
|
}, z.core.$strict>>;
|
|
2559
|
+
agentHomeProjection: z.ZodOptional<z.ZodObject<{
|
|
2560
|
+
profileRevision: z.ZodString;
|
|
2561
|
+
projectionHash: z.ZodString;
|
|
2562
|
+
}, z.core.$strict>>;
|
|
2563
|
+
agentHomeMemoryChange: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2564
|
+
outcome: z.ZodLiteral<"unchanged">;
|
|
2565
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2566
|
+
outcome: z.ZodLiteral<"reader-attributed">;
|
|
2567
|
+
paths: z.ZodArray<z.ZodString>;
|
|
2568
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2569
|
+
outcome: z.ZodLiteral<"unattributed">;
|
|
2570
|
+
paths: z.ZodArray<z.ZodString>;
|
|
2571
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2572
|
+
outcome: z.ZodLiteral<"unmeasured">;
|
|
2573
|
+
}, z.core.$strict>], "outcome">>;
|
|
2504
2574
|
}, z.core.$strip>;
|
|
2505
2575
|
}, z.core.$strip>, z.ZodObject<{
|
|
2506
2576
|
v: z.ZodNumber;
|
|
@@ -2541,6 +2611,21 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
2541
2611
|
agentId: z.ZodString;
|
|
2542
2612
|
profileRevision: z.ZodString;
|
|
2543
2613
|
}, z.core.$strict>>;
|
|
2614
|
+
agentHomeProjection: z.ZodOptional<z.ZodObject<{
|
|
2615
|
+
profileRevision: z.ZodString;
|
|
2616
|
+
projectionHash: z.ZodString;
|
|
2617
|
+
}, z.core.$strict>>;
|
|
2618
|
+
agentHomeMemoryChange: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2619
|
+
outcome: z.ZodLiteral<"unchanged">;
|
|
2620
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2621
|
+
outcome: z.ZodLiteral<"reader-attributed">;
|
|
2622
|
+
paths: z.ZodArray<z.ZodString>;
|
|
2623
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2624
|
+
outcome: z.ZodLiteral<"unattributed">;
|
|
2625
|
+
paths: z.ZodArray<z.ZodString>;
|
|
2626
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2627
|
+
outcome: z.ZodLiteral<"unmeasured">;
|
|
2628
|
+
}, z.core.$strict>], "outcome">>;
|
|
2544
2629
|
}, z.core.$strip>;
|
|
2545
2630
|
}, z.core.$strip>, z.ZodObject<{
|
|
2546
2631
|
v: z.ZodNumber;
|
|
@@ -2571,6 +2656,21 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
2571
2656
|
agentId: z.ZodString;
|
|
2572
2657
|
profileRevision: z.ZodString;
|
|
2573
2658
|
}, z.core.$strict>>;
|
|
2659
|
+
agentHomeProjection: z.ZodOptional<z.ZodObject<{
|
|
2660
|
+
profileRevision: z.ZodString;
|
|
2661
|
+
projectionHash: z.ZodString;
|
|
2662
|
+
}, z.core.$strict>>;
|
|
2663
|
+
agentHomeMemoryChange: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2664
|
+
outcome: z.ZodLiteral<"unchanged">;
|
|
2665
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2666
|
+
outcome: z.ZodLiteral<"reader-attributed">;
|
|
2667
|
+
paths: z.ZodArray<z.ZodString>;
|
|
2668
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2669
|
+
outcome: z.ZodLiteral<"unattributed">;
|
|
2670
|
+
paths: z.ZodArray<z.ZodString>;
|
|
2671
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2672
|
+
outcome: z.ZodLiteral<"unmeasured">;
|
|
2673
|
+
}, z.core.$strict>], "outcome">>;
|
|
2574
2674
|
}, z.core.$strip>;
|
|
2575
2675
|
}, z.core.$strip>, z.ZodObject<{
|
|
2576
2676
|
v: z.ZodNumber;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { MAILBOX_READ_AHEAD_MAX_SEQS, MAILBOX_READ_AHEAD_CAPABILITY } from './version';
|
|
2
|
-
export { PROTOCOL_VERSION, CAPABILITY_FLAGS, STRICT_AGENT_ONLY_CAPABILITY } from './version';
|
|
2
|
+
export { PROTOCOL_VERSION, CAPABILITY_FLAGS, STRICT_AGENT_ONLY_CAPABILITY, AGENT_HOME_READERS_CAPABILITY } from './version';
|
|
3
3
|
export type { CapabilityFlag } from './version';
|
|
4
4
|
export { BlobRefSchema, CONTENT_HASH_RE } from './blob';
|
|
5
5
|
export type { BlobRef } from './blob';
|
|
@@ -24,8 +24,8 @@ export { TERMINAL_PROJECTION_SELECTION_CAPABILITY, TerminalProjectionContractSch
|
|
|
24
24
|
export type { TerminalProjectionSelection } from './terminal-projection';
|
|
25
25
|
export { TASK_STATES, TASK_TRANSITIONS, canTransition } from './task-state';
|
|
26
26
|
export type { TaskState } from './task-state';
|
|
27
|
-
export { MESSAGE_TYPES, TASK_OFFER_TYPES, isTaskOfferType, MESSAGE_PAYLOAD_SCHEMAS, SERVER_TO_DAEMON_TYPES, DAEMON_TO_SERVER_TYPES, RuntimeIdSchema, ProtocolVersionNumberSchema, RuntimeInfoSchema, HarnessIdSchema, HarnessInfoSchema, HarnessInventorySchema, RuntimeCapabilitiesSchema, AgentRefSchema, AgentHomeProjectionAgentRefSchema, AGENT_REF_MAX_BYTES, DispatchSelectionSchema, ToolsetIdSchema, ConfiguredToolsetsSchema, RequiredToolsetsSchema, CONFIGURED_TOOLSETS_MAX_ITEMS, ConnHelloPayloadSchema, ConnAckPayloadSchema, TaskOfferPayloadSchema, TaskOfferWithToolsetsPayloadSchema, TaskOfferForAgentPayloadSchema, TaskOfferForAgentWithEgressPayloadSchema, TaskOfferForAgentWithEgressFreshPayloadSchema, TaskOfferPreparedPayloadSchema, AgentEgressReliablePayloadSchema, AgentEgressAckPayloadSchema, AgentMessagePublishPayloadSchema, AgentMessageDispositionPayloadSchema, AgentContentReadPayloadSchema, AgentContentReceiptPayloadSchema, AgentHomeProjectionPayloadSchema, AgentMemoryIntentAvailablePayloadSchema, AgentInputPreparationPayloadSchema, TaskApprovePayloadSchema, TaskRejectPayloadSchema, TaskCancelPayloadSchema, TaskSteerPayloadSchema, TaskClaimPayloadSchema, TaskStartedPayloadSchema, TaskDeclinePayloadSchema, TaskProgressPayloadSchema, TaskArtifactPayloadSchema, TaskAwaitApprovalPayloadSchema, TaskCompletePayloadSchema, TaskFailPayloadSchema, TaskCancelledPayloadSchema, TaskApprovalResolvedPayloadSchema, RESULT_DOCUMENT_MAX_BYTES, checkResultDocument, TerminalInferenceUsageSchema, TerminalPreparedObservationSchema, TERMINAL_INFERENCE_USAGE_MAX_TOKENS, TERMINAL_INFERENCE_USAGE_MAX_DURATION_MS, TERMINAL_INFERENCE_USAGE_PROVIDER_MAX_LENGTH, TERMINAL_INFERENCE_USAGE_MODEL_MAX_LENGTH, TERMINAL_INFERENCE_USAGE_CLIENT_VERSION_MAX_LENGTH, } from './messages';
|
|
28
|
-
export type { ResultDocumentCheck, MessageType, RuntimeId, RuntimeInfo, RuntimeCapabilities, AgentRef, AgentHomeProjectionAgentRef, DispatchSelection, ToolsetId, ConnHelloPayload, ConnAckPayload, TaskOfferPayload, TaskOfferWithToolsetsPayload, TaskOfferForAgentPayload, TaskOfferForAgentWithEgressPayload, TaskOfferForAgentWithEgressFreshPayload, TaskOfferPreparedPayload, AgentEgressReliablePayload, AgentEgressAckPayload, AgentMessagePublishPayload, AgentMessageDispositionPayload, AgentContentReadPayload, AgentContentReceiptPayload, AgentHomeProjectionPayload, AgentMemoryIntentAvailablePayload, AgentInputPreparationPayload, TaskApprovePayload, TaskRejectPayload, TaskCancelPayload, TaskSteerPayload, TaskClaimPayload, TaskStartedPayload, TaskDeclinePayload, TaskProgressPayload, TaskArtifactPayload, TaskAwaitApprovalPayload, TaskCompletePayload, TaskFailPayload, TaskCancelledPayload, TaskApprovalResolvedPayload, TerminalInferenceUsage, TerminalPreparedObservation, } from './messages';
|
|
27
|
+
export { MESSAGE_TYPES, TASK_OFFER_TYPES, isTaskOfferType, MESSAGE_PAYLOAD_SCHEMAS, SERVER_TO_DAEMON_TYPES, DAEMON_TO_SERVER_TYPES, RuntimeIdSchema, ProtocolVersionNumberSchema, RuntimeInfoSchema, HarnessIdSchema, HarnessInfoSchema, HarnessInventorySchema, RuntimeCapabilitiesSchema, AgentRefSchema, AgentHomeProjectionAgentRefSchema, AGENT_REF_MAX_BYTES, DispatchSelectionSchema, ToolsetIdSchema, ConfiguredToolsetsSchema, RequiredToolsetsSchema, CONFIGURED_TOOLSETS_MAX_ITEMS, ConnHelloPayloadSchema, ConnAckPayloadSchema, TaskOfferPayloadSchema, TaskOfferWithToolsetsPayloadSchema, AgentHomeAccessSchema, TaskOfferForAgentPayloadSchema, TaskOfferForAgentWithEgressPayloadSchema, TaskOfferForAgentWithEgressFreshPayloadSchema, TaskOfferPreparedPayloadSchema, AgentEgressReliablePayloadSchema, AgentEgressAckPayloadSchema, AgentMessagePublishPayloadSchema, AgentMessageDispositionPayloadSchema, AgentContentReadPayloadSchema, AgentContentReceiptPayloadSchema, AgentHomeProjectionPayloadSchema, AgentMemoryIntentAvailablePayloadSchema, AgentInputPreparationPayloadSchema, TaskApprovePayloadSchema, TaskRejectPayloadSchema, TaskCancelPayloadSchema, TaskSteerPayloadSchema, TaskClaimPayloadSchema, TaskStartedPayloadSchema, TaskDeclinePayloadSchema, TaskProgressPayloadSchema, TaskArtifactPayloadSchema, TaskAwaitApprovalPayloadSchema, TaskCompletePayloadSchema, TaskFailPayloadSchema, TaskCancelledPayloadSchema, TaskApprovalResolvedPayloadSchema, RESULT_DOCUMENT_MAX_BYTES, checkResultDocument, TerminalInferenceUsageSchema, TerminalPreparedObservationSchema, TerminalAgentHomeProjectionSchema, TerminalAgentHomeMemoryChangeSchema, AGENT_HOME_MEMORY_DIGEST_MAX_FILES, AGENT_HOME_MEMORY_DIGEST_MAX_BYTES, AGENT_HOME_MEMORY_PATH_MAX_LENGTH, TERMINAL_INFERENCE_USAGE_MAX_TOKENS, TERMINAL_INFERENCE_USAGE_MAX_DURATION_MS, TERMINAL_INFERENCE_USAGE_PROVIDER_MAX_LENGTH, TERMINAL_INFERENCE_USAGE_MODEL_MAX_LENGTH, TERMINAL_INFERENCE_USAGE_CLIENT_VERSION_MAX_LENGTH, } from './messages';
|
|
28
|
+
export type { ResultDocumentCheck, MessageType, RuntimeId, RuntimeInfo, RuntimeCapabilities, AgentRef, AgentHomeProjectionAgentRef, DispatchSelection, ToolsetId, ConnHelloPayload, ConnAckPayload, TaskOfferPayload, TaskOfferWithToolsetsPayload, TaskOfferForAgentPayload, TaskOfferForAgentWithEgressPayload, TaskOfferForAgentWithEgressFreshPayload, TaskOfferPreparedPayload, AgentEgressReliablePayload, AgentEgressAckPayload, AgentMessagePublishPayload, AgentMessageDispositionPayload, AgentContentReadPayload, AgentContentReceiptPayload, AgentHomeProjectionPayload, AgentMemoryIntentAvailablePayload, AgentInputPreparationPayload, TaskApprovePayload, TaskRejectPayload, TaskCancelPayload, TaskSteerPayload, TaskClaimPayload, TaskStartedPayload, TaskDeclinePayload, TaskProgressPayload, TaskArtifactPayload, TaskAwaitApprovalPayload, TaskCompletePayload, TaskFailPayload, TaskCancelledPayload, TaskApprovalResolvedPayload, TerminalInferenceUsage, TerminalPreparedObservation, TerminalAgentHomeProjection, TerminalAgentHomeMemoryChange, AgentHomeAccess, } from './messages';
|
|
29
29
|
export { EnvelopeSchema, isServerToDaemonType } from './envelope';
|
|
30
30
|
export type { Envelope } from './envelope';
|
|
31
31
|
export { ProtocolError, EnvelopeParseError, UnknownMessageTypeError, EnvelopeValidationError, } from './errors';
|
package/dist/index.js
CHANGED
|
@@ -782,9 +782,11 @@ var RequiredToolsetsSchema = z.array(ToolsetIdSchema).min(1).max(16).superRefine
|
|
|
782
782
|
var TaskOfferWithToolsetsPayloadSchema = TaskOfferPayloadSchema.extend({
|
|
783
783
|
requiredToolsets: RequiredToolsetsSchema
|
|
784
784
|
}).strict();
|
|
785
|
+
var AgentHomeAccessSchema = z.literal("memory-reader");
|
|
785
786
|
var TaskOfferForAgentPayloadSchema = z.object({
|
|
786
787
|
instruction: z.union([z.string(), InstructionBlobRefSchema]),
|
|
787
788
|
agentRef: AgentRefSchema,
|
|
789
|
+
homeAccess: AgentHomeAccessSchema.optional(),
|
|
788
790
|
requiredToolsets: RequiredToolsetsSchema.optional(),
|
|
789
791
|
runtime: RuntimeIdSchema.optional(),
|
|
790
792
|
harnessId: HarnessIdSchema.optional(),
|
|
@@ -1107,9 +1109,32 @@ var TerminalPreparedObservationSchema = z.object({
|
|
|
1107
1109
|
message: "maxPromptTokens must not be below initialPromptTokens",
|
|
1108
1110
|
path: ["maxPromptTokens"]
|
|
1109
1111
|
});
|
|
1112
|
+
var TerminalAgentHomeProjectionSchema = z.object({
|
|
1113
|
+
profileRevision: AgentHomeProjectionProfileRevisionSchema,
|
|
1114
|
+
projectionHash: AgentHomeProjectionHashSchema
|
|
1115
|
+
}).strict();
|
|
1116
|
+
var AGENT_HOME_MEMORY_DIGEST_MAX_FILES = 256;
|
|
1117
|
+
var AGENT_HOME_MEMORY_DIGEST_MAX_BYTES = 16 * 1024 * 1024;
|
|
1118
|
+
var AGENT_HOME_MEMORY_PATH_MAX_LENGTH = 1024;
|
|
1119
|
+
var AgentHomeMemoryChangedPathsSchema = z.array(z.string().min(1).max(AGENT_HOME_MEMORY_PATH_MAX_LENGTH).regex(/^[^\u0000]+$/u)).min(1).max(AGENT_HOME_MEMORY_DIGEST_MAX_FILES * 2);
|
|
1120
|
+
var TerminalAgentHomeMemoryChangeSchema = z.discriminatedUnion("outcome", [
|
|
1121
|
+
z.object({ outcome: z.literal("unchanged") }).strict(),
|
|
1122
|
+
z.object({ outcome: z.literal("reader-attributed"), paths: AgentHomeMemoryChangedPathsSchema }).strict(),
|
|
1123
|
+
z.object({ outcome: z.literal("unattributed"), paths: AgentHomeMemoryChangedPathsSchema }).strict(),
|
|
1124
|
+
z.object({ outcome: z.literal("unmeasured") }).strict()
|
|
1125
|
+
]);
|
|
1110
1126
|
var TaskCompletePayloadSchema = z.object({
|
|
1111
1127
|
harnessId: HarnessIdSchema.optional(),
|
|
1112
1128
|
summary: z.string(),
|
|
1129
|
+
/**
|
|
1130
|
+
* The runtime's closing reply: the assistant text after the last tool
|
|
1131
|
+
* interaction, or the last whole message for a runtime whose `progress`
|
|
1132
|
+
* events are whole messages (Codex). `summary` keeps the whole run's text,
|
|
1133
|
+
* so a host reads the final answer here without parsing commentary out of
|
|
1134
|
+
* it. Absent when the run ended with no closing text. An older server strips
|
|
1135
|
+
* this optional field; the host then sees it absent and keeps `summary`.
|
|
1136
|
+
*/
|
|
1137
|
+
finalMessage: z.string().optional(),
|
|
1113
1138
|
sessionRef: z.string(),
|
|
1114
1139
|
artifactRefs: z.array(BlobRefSchema).optional(),
|
|
1115
1140
|
document: z.unknown().optional().refine((value) => value === void 0 || checkResultDocument(value).ok, {
|
|
@@ -1118,7 +1143,9 @@ var TaskCompletePayloadSchema = z.object({
|
|
|
1118
1143
|
usage: TerminalInferenceUsageSchema.optional(),
|
|
1119
1144
|
/** Present on a prepared Execution only — see {@link TerminalPreparedObservationSchema}. */
|
|
1120
1145
|
preparedObservation: TerminalPreparedObservationSchema.optional(),
|
|
1121
|
-
agentRef: AgentRefSchema.optional()
|
|
1146
|
+
agentRef: AgentRefSchema.optional(),
|
|
1147
|
+
agentHomeProjection: TerminalAgentHomeProjectionSchema.optional(),
|
|
1148
|
+
agentHomeMemoryChange: TerminalAgentHomeMemoryChangeSchema.optional()
|
|
1122
1149
|
});
|
|
1123
1150
|
var TaskFailPayloadSchema = z.object({
|
|
1124
1151
|
/** Local interruption observation bound to the immutable offer; does not assert a cloud claim. */
|
|
@@ -1129,13 +1156,17 @@ var TaskFailPayloadSchema = z.object({
|
|
|
1129
1156
|
usage: TerminalInferenceUsageSchema.optional(),
|
|
1130
1157
|
/** Present on a prepared Execution that observed provider usage before failing. */
|
|
1131
1158
|
preparedObservation: TerminalPreparedObservationSchema.optional(),
|
|
1132
|
-
agentRef: AgentRefSchema.optional()
|
|
1159
|
+
agentRef: AgentRefSchema.optional(),
|
|
1160
|
+
agentHomeProjection: TerminalAgentHomeProjectionSchema.optional(),
|
|
1161
|
+
agentHomeMemoryChange: TerminalAgentHomeMemoryChangeSchema.optional()
|
|
1133
1162
|
});
|
|
1134
1163
|
var TaskCancelledPayloadSchema = z.object({
|
|
1135
1164
|
harnessId: HarnessIdSchema.optional(),
|
|
1136
1165
|
reason: z.string().optional(),
|
|
1137
1166
|
usage: TerminalInferenceUsageSchema.optional(),
|
|
1138
|
-
agentRef: AgentRefSchema.optional()
|
|
1167
|
+
agentRef: AgentRefSchema.optional(),
|
|
1168
|
+
agentHomeProjection: TerminalAgentHomeProjectionSchema.optional(),
|
|
1169
|
+
agentHomeMemoryChange: TerminalAgentHomeMemoryChangeSchema.optional()
|
|
1139
1170
|
});
|
|
1140
1171
|
var TaskApprovalResolvedPayloadSchema = z.object({
|
|
1141
1172
|
approvalId: z.string(),
|
|
@@ -1392,6 +1423,7 @@ var MAILBOX_READ_AHEAD_MAX_SEQS = 4096;
|
|
|
1392
1423
|
var MAILBOX_READ_AHEAD_CAPABILITY = "mailbox-read-ahead";
|
|
1393
1424
|
var PROTOCOL_VERSION = 2;
|
|
1394
1425
|
var STRICT_AGENT_ONLY_CAPABILITY = "strict-agent-only";
|
|
1426
|
+
var AGENT_HOME_READERS_CAPABILITY = "agent-home-readers";
|
|
1395
1427
|
var CUSTOM_HARNESS_CAPABILITY = "custom-harness";
|
|
1396
1428
|
var CAPABILITY_FLAGS = [
|
|
1397
1429
|
"steer",
|
|
@@ -1404,6 +1436,7 @@ var CAPABILITY_FLAGS = [
|
|
|
1404
1436
|
PROVIDER_PROFILE_BINDING_CAPABILITY,
|
|
1405
1437
|
"toolset-selection",
|
|
1406
1438
|
"agent-home-contract",
|
|
1439
|
+
AGENT_HOME_READERS_CAPABILITY,
|
|
1407
1440
|
STRICT_AGENT_ONLY_CAPABILITY,
|
|
1408
1441
|
AGENT_EGRESS_POLICY_CAPABILITY,
|
|
1409
1442
|
AGENT_EGRESS_RELIABLE_ACK_CAPABILITY,
|
|
@@ -1886,6 +1919,6 @@ function byokBlobContentPath(blobId) {
|
|
|
1886
1919
|
return `/byok/blobs/${blobId}/content`;
|
|
1887
1920
|
}
|
|
1888
1921
|
|
|
1889
|
-
export { AGENT_CONTENT_ARTIFACT_READ_CAPABILITY, AGENT_CONTENT_TRANSCRIPT_READ_CAPABILITY, AGENT_CONTENT_WORKSPACE_READ_CAPABILITY, AGENT_EGRESS_FRESH_SESSION_CAPABILITY, AGENT_EGRESS_POLICY_CAPABILITY, AGENT_EGRESS_RELIABLE_ACK_CAPABILITY, AGENT_EVENT_SPILL_UNSTORED_REASON_MAX_LENGTH, AGENT_HOME_PROJECTION_CAPABILITY, AGENT_HOME_PROJECTION_MAX_BYTES, AGENT_HOME_PROJECTION_PROFILE_REVISION_MAXIMUM, AGENT_INPUT_PREPARATION_CAPABILITY, AGENT_MEMORY_INTENT_APPROVAL_REF_MAX_BYTES, AGENT_MEMORY_INTENT_CAPABILITY, AGENT_MEMORY_INTENT_CONTENT_MAX_BYTES, AGENT_MEMORY_INTENT_FETCH_DISPOSITIONS, AGENT_MEMORY_INTENT_FETCH_DISPOSITIONS_BY_RESERVATION, AGENT_MEMORY_INTENT_HOST_TERMINAL_CODES, AGENT_MEMORY_INTENT_OPERATIONS, AGENT_MEMORY_INTENT_PATH_MAX_BYTES, AGENT_MEMORY_INTENT_READBACK_DISPOSITIONS, AGENT_MEMORY_INTENT_REJECTION_CODES, AGENT_MEMORY_INTENT_RESERVATIONS, AGENT_MEMORY_PROJECTION_CAPABILITY, AGENT_MEMORY_PROJECTION_MAX_ORDERING_VALUE, AGENT_MEMORY_PROJECTION_MAX_REDACTED_BYTES, AGENT_MESSAGE_EGRESS_CAPABILITY, AGENT_MESSAGE_MAX_BYTES, AGENT_REF_MAX_BYTES, AgentContentActorKindSchema, AgentContentActorSchema, AgentContentDecodeAsSchema, AgentContentMimeTypeSchema, AgentContentReadDecisionSchema, AgentContentReadDenialReasonSchema, AgentContentReadPayloadSchema, AgentContentReadSurfaceSchema, AgentContentReceiptPayloadSchema, AgentEgressAckPayloadSchema, AgentEgressActivityPolicySchema, AgentEgressContentHashSchema, AgentEgressDropReasonSchema, AgentEgressLaneSchema, AgentEgressPolicyRevisionSchema, AgentEgressPolicySchema, AgentEgressReliablePayloadSchema, AgentEventOrUnknownSchema, AgentEventSchema, AgentEventSpillSchema, AgentHomeProjectionAgentRefSchema, AgentHomeProjectionCompletionRequestSchema, AgentHomeProjectionHashSchema, AgentHomeProjectionOutcomeSchema, AgentHomeProjectionPayloadSchema, AgentHomeProjectionProfileRevisionSchema, AgentHomeProjectionReadbackSchema, AgentHomeProjectionStatusSchema, AgentHomeProjectionValueSchema, AgentInputPreparationPayloadSchema, AgentMemoryIntentApprovalRefSchema, AgentMemoryIntentAvailablePayloadSchema, AgentMemoryIntentCompletionSchema, AgentMemoryIntentContentSchema, AgentMemoryIntentFetchRequestSchema, AgentMemoryIntentFetchResponseSchema, AgentMemoryIntentFileObservationSchema, AgentMemoryIntentHostTerminalCodeSchema, AgentMemoryIntentOperationDigestSchema, AgentMemoryIntentOperationSchema, AgentMemoryIntentPathSchema, AgentMemoryIntentReadbackDispositionSchema, AgentMemoryIntentReadbackSchema, AgentMemoryIntentRejectionCodeSchema, AgentMemoryIntentReservationSchema, AgentMemoryIntentRevisionSchema, AgentMemoryIntentV1Schema, AgentMemoryProjectionCommitRequestSchema, AgentMemoryProjectionCommitResponseSchema, AgentMemoryProjectionEraseResultSchema, AgentMemoryProjectionGrantRefSchema, AgentMemoryProjectionMeteringReceiptSchema, AgentMemoryProjectionMutationSchema, AgentMemoryProjectionReceiptSchema, AgentMemoryProjectionSessionRefSchema, AgentMemoryProjectionSnapshotSchema, AgentMemoryProjectionSourceSeqSchema, AgentMemoryProjectionWriterEpochSchema, AgentMessageContentTypeSchema, AgentMessageContractSchema, AgentMessageDestinationBindingSchema, AgentMessageDispositionPayloadSchema, AgentMessageEgressRequirementSchema, AgentMessageFreshnessCursorSchema, AgentMessagePublishPayloadSchema, AgentMessageServerContextSchema, AgentRefSchema, AgentReliableQuotaPolicySchema, BYOK_ACTIVITY_PATH, BYOK_AGENT_HOME_PROJECTIONS_PATH, BYOK_AGENT_HOME_PROJECTION_COMPLETION_ROUTE, BYOK_AGENT_MEMORY_PROJECTIONS_PATH, BYOK_BLOBS_PATH, BYOK_BLOB_CONTENT_ROUTE, BYOK_BLOB_FINALIZE_ROUTE, BYOK_BLOB_URL_ROUTE, BYOK_BOARD_CLAIM_ROUTE, BYOK_BOARD_PATH, BYOK_BOARD_STATUS_ROUTE, BYOK_BOARD_STREAM_PATH, BYOK_BOARD_UNCLAIM_ROUTE, BYOK_CAPABILITIES_PATH, BYOK_CHALLENGE_PATH, BYOK_EVENTS_PATH, BYOK_INPUT_PREPARATIONS_PATH, BYOK_INPUT_PREPARATION_COMPLETION_ROUTE, BYOK_INPUT_PREPARATION_STATUS_ROUTE, BYOK_MESSAGES_PATH, BYOK_PAIR_PATH, BYOK_PRESENCE_PATH, BYOK_RECORDS_PATH, BYOK_RECORD_ROUTE, BYOK_SKILL_PACKS_PATH, BYOK_SKILL_PACK_FILE_ROUTE, BYOK_TOKEN_PATH, BlobDownloadUrlResponseSchema, BlobRefSchema, CAPABILITY_FLAGS, CONFIGURED_TOOLSETS_MAX_ITEMS, CONTENT_HASH_RE, CUSTOM_HARNESS_CAPABILITY, ChallengeRequestSchema, ChallengeResponseSchema, ConfiguredToolsetsSchema, ConnAckPayloadSchema, ConnHelloPayloadSchema, ContentReadPolicySchema, CreateBlobRequestSchema, CreateBlobResponseSchema, DAEMON_TO_SERVER_TYPES, DispatchSelectionSchema, EnvelopeParseError, EnvelopeSchema, EnvelopeValidationError, EventsPollQuerySchema, EventsPollResponseSchema, HOST_MCP_TASK_CONTEXT_CAPABILITY, HarnessIdSchema, HarnessInfoSchema, HarnessInventorySchema, INPUT_PREPARATION_WIRE_VERSION, InputPreparationAccountingPolicyRefSchema, InputPreparationArtifactSummarySchema, InputPreparationBindingSchema, InputPreparationCompletionRequestSchema, InputPreparationContentHashSchema, InputPreparationContextDocumentSchema, InputPreparationCounterEvidenceSchema, InputPreparationCounterProviderEvidenceSchema, InputPreparationCounterTargetSchema, InputPreparationHostCanonicalAssistantMessageSchema, InputPreparationMessageSchema, InputPreparationModelCostSchema, InputPreparationModelSchema, InputPreparationOfferBindingSchema, InputPreparationOptionsSchema, InputPreparationPolicyRevisionSchema, InputPreparationProfileIdSchema, InputPreparationProjectionSchema, InputPreparationPromptSnapshotSchema, InputPreparationReadbackSchema, InputPreparationReadinessReasonSchema, InputPreparationReceiptSummarySchema, InputPreparationReferenceSchema, InputPreparationRejectionReasonSchema, InputPreparationResidualKeySchema, InputPreparationResidualValueClassSchema, InputPreparationRuntimeIdentitySchema, InputPreparationSelectionSchema, InputPreparationSourceSchema, InputPreparationStateSchema, InputPreparationStatusQuerySchema, InputPreparationStatusSchema, InputPreparationUserMessageSchema, KNOWN_AGENT_EVENT_TYPES, MAILBOX_READ_AHEAD_CAPABILITY, MAILBOX_READ_AHEAD_MAX_SEQS, MAX_MESSAGES_PER_BATCH, MESSAGE_PAYLOAD_SCHEMAS, MESSAGE_TYPES, MessagesSendRequestSchema, MessagesSendResponseSchema, PAIR_RESPONSE_TENANT_ID_MAX_LENGTH, PROTOCOL_VERSION, PROVIDER_MODEL_CAPABILITIES, PROVIDER_PROFILE_BINDING_CAPABILITY, PROVIDER_PROVISIONING_CAPABILITY, PROVIDER_PROVISIONING_DISPOSITIONS, PROVIDER_PROVISIONING_HOST_TERMINAL_CODES, PROVIDER_PROVISIONING_KEY_CHECK_RESULTS, PROVIDER_PROVISIONING_OPERATIONS, PROVIDER_PROVISIONING_OPERATION_GENERATION_MAXIMUM, PROVIDER_PROVISIONING_REJECTION_CODES, PROVIDER_SECRET_SEALING_KEY_REGISTER_OPERATION, PairRequestSchema, PairResponseSchema, PairResponseTenantIdSchema, PreparedAgentMemoryModeSchema, PresencePublishRequestSchema, ProtocolError, ProtocolVersionNumberSchema, ProviderModelCapabilitySchema, ProviderProfileBindingSchema, ProviderProfileHashSchema, ProviderProfileRefSchema, ProviderProfileRevisionSchema, ProviderProvisioningAvailablePayloadSchema, ProviderProvisioningCompletionSchema, ProviderProvisioningDispositionSchema, ProviderProvisioningKeyCheckResultSchema, ProviderProvisioningKeyCheckSchema, ProviderProvisioningOperationDigestSchema, ProviderProvisioningOperationGenerationSchema, ProviderProvisioningOperationSchema, ProviderProvisioningProviderStatusSchema, ProviderProvisioningReadbackSchema, ProviderProvisioningRejectionCodeSchema, RESULT_DOCUMENT_MAX_BYTES, RequiredToolsetsSchema, RuntimeCapabilitiesSchema, RuntimeIdSchema, RuntimeInfoSchema, SERVER_TO_DAEMON_TYPES, STRICT_AGENT_ONLY_CAPABILITY, TASK_OFFER_TYPES, TASK_STATES, TASK_TRANSITIONS, TERMINAL_INFERENCE_USAGE_CLIENT_VERSION_MAX_LENGTH, TERMINAL_INFERENCE_USAGE_MAX_DURATION_MS, TERMINAL_INFERENCE_USAGE_MAX_TOKENS, TERMINAL_INFERENCE_USAGE_MODEL_MAX_LENGTH, TERMINAL_INFERENCE_USAGE_PROVIDER_MAX_LENGTH, TERMINAL_PROJECTION_SELECTION_CAPABILITY, TaskApprovalResolvedPayloadSchema, TaskApprovePayloadSchema, TaskArtifactPayloadSchema, TaskAwaitApprovalPayloadSchema, TaskCancelPayloadSchema, TaskCancelledPayloadSchema, TaskClaimPayloadSchema, TaskCompletePayloadSchema, TaskDeclinePayloadSchema, TaskFailPayloadSchema, TaskOfferForAgentPayloadSchema, TaskOfferForAgentWithEgressFreshPayloadSchema, TaskOfferForAgentWithEgressPayloadSchema, TaskOfferPayloadSchema, TaskOfferPreparedPayloadSchema, TaskOfferWithToolsetsPayloadSchema, TaskProgressPayloadSchema, TaskRejectPayloadSchema, TaskStartedPayloadSchema, TaskSteerPayloadSchema, TerminalInferenceUsageSchema, TerminalPreparedObservationSchema, TerminalProjectionContractSchema, TerminalProjectionSelectionSchema, TokenRequestSchema, TokenResponseSchema, ToolsetIdSchema, UnknownAgentEventSchema, UnknownMessageTypeError, agentMemoryIntentFetchResponseSchemaFor, agentMemoryProjectionBase64UrlByteLength, byokAgentHomeProjectionCompletionPath, byokBlobContentPath, byokBlobFinalizePath, byokBlobUrlPath, byokInputPreparationCompletionPath, byokInputPreparationStatusPath, byokRecordPath, byokSkillPackFilePath, canTransition, checkResultDocument, createEnvelope, decodeEnvelope, encodeEnvelope, isKnownAgentEvent, isServerToDaemonType, isTaskOfferType, parseMessage, partitionAgentEvents };
|
|
1922
|
+
export { AGENT_CONTENT_ARTIFACT_READ_CAPABILITY, AGENT_CONTENT_TRANSCRIPT_READ_CAPABILITY, AGENT_CONTENT_WORKSPACE_READ_CAPABILITY, AGENT_EGRESS_FRESH_SESSION_CAPABILITY, AGENT_EGRESS_POLICY_CAPABILITY, AGENT_EGRESS_RELIABLE_ACK_CAPABILITY, AGENT_EVENT_SPILL_UNSTORED_REASON_MAX_LENGTH, AGENT_HOME_MEMORY_DIGEST_MAX_BYTES, AGENT_HOME_MEMORY_DIGEST_MAX_FILES, AGENT_HOME_MEMORY_PATH_MAX_LENGTH, AGENT_HOME_PROJECTION_CAPABILITY, AGENT_HOME_PROJECTION_MAX_BYTES, AGENT_HOME_PROJECTION_PROFILE_REVISION_MAXIMUM, AGENT_HOME_READERS_CAPABILITY, AGENT_INPUT_PREPARATION_CAPABILITY, AGENT_MEMORY_INTENT_APPROVAL_REF_MAX_BYTES, AGENT_MEMORY_INTENT_CAPABILITY, AGENT_MEMORY_INTENT_CONTENT_MAX_BYTES, AGENT_MEMORY_INTENT_FETCH_DISPOSITIONS, AGENT_MEMORY_INTENT_FETCH_DISPOSITIONS_BY_RESERVATION, AGENT_MEMORY_INTENT_HOST_TERMINAL_CODES, AGENT_MEMORY_INTENT_OPERATIONS, AGENT_MEMORY_INTENT_PATH_MAX_BYTES, AGENT_MEMORY_INTENT_READBACK_DISPOSITIONS, AGENT_MEMORY_INTENT_REJECTION_CODES, AGENT_MEMORY_INTENT_RESERVATIONS, AGENT_MEMORY_PROJECTION_CAPABILITY, AGENT_MEMORY_PROJECTION_MAX_ORDERING_VALUE, AGENT_MEMORY_PROJECTION_MAX_REDACTED_BYTES, AGENT_MESSAGE_EGRESS_CAPABILITY, AGENT_MESSAGE_MAX_BYTES, AGENT_REF_MAX_BYTES, AgentContentActorKindSchema, AgentContentActorSchema, AgentContentDecodeAsSchema, AgentContentMimeTypeSchema, AgentContentReadDecisionSchema, AgentContentReadDenialReasonSchema, AgentContentReadPayloadSchema, AgentContentReadSurfaceSchema, AgentContentReceiptPayloadSchema, AgentEgressAckPayloadSchema, AgentEgressActivityPolicySchema, AgentEgressContentHashSchema, AgentEgressDropReasonSchema, AgentEgressLaneSchema, AgentEgressPolicyRevisionSchema, AgentEgressPolicySchema, AgentEgressReliablePayloadSchema, AgentEventOrUnknownSchema, AgentEventSchema, AgentEventSpillSchema, AgentHomeAccessSchema, AgentHomeProjectionAgentRefSchema, AgentHomeProjectionCompletionRequestSchema, AgentHomeProjectionHashSchema, AgentHomeProjectionOutcomeSchema, AgentHomeProjectionPayloadSchema, AgentHomeProjectionProfileRevisionSchema, AgentHomeProjectionReadbackSchema, AgentHomeProjectionStatusSchema, AgentHomeProjectionValueSchema, AgentInputPreparationPayloadSchema, AgentMemoryIntentApprovalRefSchema, AgentMemoryIntentAvailablePayloadSchema, AgentMemoryIntentCompletionSchema, AgentMemoryIntentContentSchema, AgentMemoryIntentFetchRequestSchema, AgentMemoryIntentFetchResponseSchema, AgentMemoryIntentFileObservationSchema, AgentMemoryIntentHostTerminalCodeSchema, AgentMemoryIntentOperationDigestSchema, AgentMemoryIntentOperationSchema, AgentMemoryIntentPathSchema, AgentMemoryIntentReadbackDispositionSchema, AgentMemoryIntentReadbackSchema, AgentMemoryIntentRejectionCodeSchema, AgentMemoryIntentReservationSchema, AgentMemoryIntentRevisionSchema, AgentMemoryIntentV1Schema, AgentMemoryProjectionCommitRequestSchema, AgentMemoryProjectionCommitResponseSchema, AgentMemoryProjectionEraseResultSchema, AgentMemoryProjectionGrantRefSchema, AgentMemoryProjectionMeteringReceiptSchema, AgentMemoryProjectionMutationSchema, AgentMemoryProjectionReceiptSchema, AgentMemoryProjectionSessionRefSchema, AgentMemoryProjectionSnapshotSchema, AgentMemoryProjectionSourceSeqSchema, AgentMemoryProjectionWriterEpochSchema, AgentMessageContentTypeSchema, AgentMessageContractSchema, AgentMessageDestinationBindingSchema, AgentMessageDispositionPayloadSchema, AgentMessageEgressRequirementSchema, AgentMessageFreshnessCursorSchema, AgentMessagePublishPayloadSchema, AgentMessageServerContextSchema, AgentRefSchema, AgentReliableQuotaPolicySchema, BYOK_ACTIVITY_PATH, BYOK_AGENT_HOME_PROJECTIONS_PATH, BYOK_AGENT_HOME_PROJECTION_COMPLETION_ROUTE, BYOK_AGENT_MEMORY_PROJECTIONS_PATH, BYOK_BLOBS_PATH, BYOK_BLOB_CONTENT_ROUTE, BYOK_BLOB_FINALIZE_ROUTE, BYOK_BLOB_URL_ROUTE, BYOK_BOARD_CLAIM_ROUTE, BYOK_BOARD_PATH, BYOK_BOARD_STATUS_ROUTE, BYOK_BOARD_STREAM_PATH, BYOK_BOARD_UNCLAIM_ROUTE, BYOK_CAPABILITIES_PATH, BYOK_CHALLENGE_PATH, BYOK_EVENTS_PATH, BYOK_INPUT_PREPARATIONS_PATH, BYOK_INPUT_PREPARATION_COMPLETION_ROUTE, BYOK_INPUT_PREPARATION_STATUS_ROUTE, BYOK_MESSAGES_PATH, BYOK_PAIR_PATH, BYOK_PRESENCE_PATH, BYOK_RECORDS_PATH, BYOK_RECORD_ROUTE, BYOK_SKILL_PACKS_PATH, BYOK_SKILL_PACK_FILE_ROUTE, BYOK_TOKEN_PATH, BlobDownloadUrlResponseSchema, BlobRefSchema, CAPABILITY_FLAGS, CONFIGURED_TOOLSETS_MAX_ITEMS, CONTENT_HASH_RE, CUSTOM_HARNESS_CAPABILITY, ChallengeRequestSchema, ChallengeResponseSchema, ConfiguredToolsetsSchema, ConnAckPayloadSchema, ConnHelloPayloadSchema, ContentReadPolicySchema, CreateBlobRequestSchema, CreateBlobResponseSchema, DAEMON_TO_SERVER_TYPES, DispatchSelectionSchema, EnvelopeParseError, EnvelopeSchema, EnvelopeValidationError, EventsPollQuerySchema, EventsPollResponseSchema, HOST_MCP_TASK_CONTEXT_CAPABILITY, HarnessIdSchema, HarnessInfoSchema, HarnessInventorySchema, INPUT_PREPARATION_WIRE_VERSION, InputPreparationAccountingPolicyRefSchema, InputPreparationArtifactSummarySchema, InputPreparationBindingSchema, InputPreparationCompletionRequestSchema, InputPreparationContentHashSchema, InputPreparationContextDocumentSchema, InputPreparationCounterEvidenceSchema, InputPreparationCounterProviderEvidenceSchema, InputPreparationCounterTargetSchema, InputPreparationHostCanonicalAssistantMessageSchema, InputPreparationMessageSchema, InputPreparationModelCostSchema, InputPreparationModelSchema, InputPreparationOfferBindingSchema, InputPreparationOptionsSchema, InputPreparationPolicyRevisionSchema, InputPreparationProfileIdSchema, InputPreparationProjectionSchema, InputPreparationPromptSnapshotSchema, InputPreparationReadbackSchema, InputPreparationReadinessReasonSchema, InputPreparationReceiptSummarySchema, InputPreparationReferenceSchema, InputPreparationRejectionReasonSchema, InputPreparationResidualKeySchema, InputPreparationResidualValueClassSchema, InputPreparationRuntimeIdentitySchema, InputPreparationSelectionSchema, InputPreparationSourceSchema, InputPreparationStateSchema, InputPreparationStatusQuerySchema, InputPreparationStatusSchema, InputPreparationUserMessageSchema, KNOWN_AGENT_EVENT_TYPES, MAILBOX_READ_AHEAD_CAPABILITY, MAILBOX_READ_AHEAD_MAX_SEQS, MAX_MESSAGES_PER_BATCH, MESSAGE_PAYLOAD_SCHEMAS, MESSAGE_TYPES, MessagesSendRequestSchema, MessagesSendResponseSchema, PAIR_RESPONSE_TENANT_ID_MAX_LENGTH, PROTOCOL_VERSION, PROVIDER_MODEL_CAPABILITIES, PROVIDER_PROFILE_BINDING_CAPABILITY, PROVIDER_PROVISIONING_CAPABILITY, PROVIDER_PROVISIONING_DISPOSITIONS, PROVIDER_PROVISIONING_HOST_TERMINAL_CODES, PROVIDER_PROVISIONING_KEY_CHECK_RESULTS, PROVIDER_PROVISIONING_OPERATIONS, PROVIDER_PROVISIONING_OPERATION_GENERATION_MAXIMUM, PROVIDER_PROVISIONING_REJECTION_CODES, PROVIDER_SECRET_SEALING_KEY_REGISTER_OPERATION, PairRequestSchema, PairResponseSchema, PairResponseTenantIdSchema, PreparedAgentMemoryModeSchema, PresencePublishRequestSchema, ProtocolError, ProtocolVersionNumberSchema, ProviderModelCapabilitySchema, ProviderProfileBindingSchema, ProviderProfileHashSchema, ProviderProfileRefSchema, ProviderProfileRevisionSchema, ProviderProvisioningAvailablePayloadSchema, ProviderProvisioningCompletionSchema, ProviderProvisioningDispositionSchema, ProviderProvisioningKeyCheckResultSchema, ProviderProvisioningKeyCheckSchema, ProviderProvisioningOperationDigestSchema, ProviderProvisioningOperationGenerationSchema, ProviderProvisioningOperationSchema, ProviderProvisioningProviderStatusSchema, ProviderProvisioningReadbackSchema, ProviderProvisioningRejectionCodeSchema, RESULT_DOCUMENT_MAX_BYTES, RequiredToolsetsSchema, RuntimeCapabilitiesSchema, RuntimeIdSchema, RuntimeInfoSchema, SERVER_TO_DAEMON_TYPES, STRICT_AGENT_ONLY_CAPABILITY, TASK_OFFER_TYPES, TASK_STATES, TASK_TRANSITIONS, TERMINAL_INFERENCE_USAGE_CLIENT_VERSION_MAX_LENGTH, TERMINAL_INFERENCE_USAGE_MAX_DURATION_MS, TERMINAL_INFERENCE_USAGE_MAX_TOKENS, TERMINAL_INFERENCE_USAGE_MODEL_MAX_LENGTH, TERMINAL_INFERENCE_USAGE_PROVIDER_MAX_LENGTH, TERMINAL_PROJECTION_SELECTION_CAPABILITY, TaskApprovalResolvedPayloadSchema, TaskApprovePayloadSchema, TaskArtifactPayloadSchema, TaskAwaitApprovalPayloadSchema, TaskCancelPayloadSchema, TaskCancelledPayloadSchema, TaskClaimPayloadSchema, TaskCompletePayloadSchema, TaskDeclinePayloadSchema, TaskFailPayloadSchema, TaskOfferForAgentPayloadSchema, TaskOfferForAgentWithEgressFreshPayloadSchema, TaskOfferForAgentWithEgressPayloadSchema, TaskOfferPayloadSchema, TaskOfferPreparedPayloadSchema, TaskOfferWithToolsetsPayloadSchema, TaskProgressPayloadSchema, TaskRejectPayloadSchema, TaskStartedPayloadSchema, TaskSteerPayloadSchema, TerminalAgentHomeMemoryChangeSchema, TerminalAgentHomeProjectionSchema, TerminalInferenceUsageSchema, TerminalPreparedObservationSchema, TerminalProjectionContractSchema, TerminalProjectionSelectionSchema, TokenRequestSchema, TokenResponseSchema, ToolsetIdSchema, UnknownAgentEventSchema, UnknownMessageTypeError, agentMemoryIntentFetchResponseSchemaFor, agentMemoryProjectionBase64UrlByteLength, byokAgentHomeProjectionCompletionPath, byokBlobContentPath, byokBlobFinalizePath, byokBlobUrlPath, byokInputPreparationCompletionPath, byokInputPreparationStatusPath, byokRecordPath, byokSkillPackFilePath, canTransition, checkResultDocument, createEnvelope, decodeEnvelope, encodeEnvelope, isKnownAgentEvent, isServerToDaemonType, isTaskOfferType, parseMessage, partitionAgentEvents };
|
|
1890
1923
|
//# sourceMappingURL=index.js.map
|
|
1891
1924
|
//# sourceMappingURL=index.js.map
|