@byok-sdk/protocol 0.24.0 → 0.25.0-rc.2
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/agent-egress.d.ts +13 -16
- package/dist/agent-event.d.ts +1 -1
- package/dist/envelope.d.ts +6 -99
- package/dist/http-api.d.ts +14 -218
- package/dist/index.d.ts +2 -4
- package/dist/index.js +14 -60
- package/dist/index.js.map +1 -1
- package/dist/input-preparation-version.d.ts +12 -0
- package/dist/input-preparation-version.js +6 -0
- package/dist/input-preparation-version.js.map +1 -0
- package/dist/input-preparation.d.ts +14 -100
- package/dist/messages.d.ts +20 -313
- package/dist/version.d.ts +20 -11
- package/package.json +6 -2
- package/dist/permission.d.ts +0 -39
package/dist/http-api.d.ts
CHANGED
|
@@ -137,7 +137,6 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
137
137
|
resume: z.ZodOptional<z.ZodBoolean>;
|
|
138
138
|
approvalInteractive: z.ZodOptional<z.ZodBoolean>;
|
|
139
139
|
mcpToolsets: z.ZodOptional<z.ZodBoolean>;
|
|
140
|
-
permissionModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
141
140
|
}, z.core.$strip>>;
|
|
142
141
|
}, z.core.$strip>>>;
|
|
143
142
|
harnesses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -148,7 +147,6 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
148
147
|
resume: z.ZodOptional<z.ZodBoolean>;
|
|
149
148
|
approvalInteractive: z.ZodOptional<z.ZodBoolean>;
|
|
150
149
|
mcpToolsets: z.ZodOptional<z.ZodBoolean>;
|
|
151
|
-
permissionModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
152
150
|
}, z.core.$strip>;
|
|
153
151
|
}, z.core.$strip>>>;
|
|
154
152
|
configuredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -185,18 +183,6 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
185
183
|
url: z.ZodOptional<z.ZodString>;
|
|
186
184
|
}, z.core.$strip>;
|
|
187
185
|
}, z.core.$strict>]>;
|
|
188
|
-
policy: z.ZodObject<{
|
|
189
|
-
mode: z.ZodEnum<{
|
|
190
|
-
auto: "auto";
|
|
191
|
-
confirm: "confirm";
|
|
192
|
-
plan: "plan";
|
|
193
|
-
readonly: "readonly";
|
|
194
|
-
}>;
|
|
195
|
-
allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
196
|
-
denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
197
|
-
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
198
|
-
network: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
-
}, z.core.$strict>;
|
|
200
186
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
201
187
|
claude: "claude";
|
|
202
188
|
codex: "codex";
|
|
@@ -254,18 +240,6 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
254
240
|
url: z.ZodOptional<z.ZodString>;
|
|
255
241
|
}, z.core.$strip>;
|
|
256
242
|
}, z.core.$strict>]>;
|
|
257
|
-
policy: z.ZodObject<{
|
|
258
|
-
mode: z.ZodEnum<{
|
|
259
|
-
auto: "auto";
|
|
260
|
-
confirm: "confirm";
|
|
261
|
-
plan: "plan";
|
|
262
|
-
readonly: "readonly";
|
|
263
|
-
}>;
|
|
264
|
-
allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
265
|
-
denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
266
|
-
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
267
|
-
network: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
-
}, z.core.$strict>;
|
|
269
243
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
270
244
|
claude: "claude";
|
|
271
245
|
codex: "codex";
|
|
@@ -324,18 +298,6 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
324
298
|
url: z.ZodOptional<z.ZodString>;
|
|
325
299
|
}, z.core.$strip>;
|
|
326
300
|
}, z.core.$strict>]>;
|
|
327
|
-
policy: z.ZodObject<{
|
|
328
|
-
mode: z.ZodEnum<{
|
|
329
|
-
auto: "auto";
|
|
330
|
-
confirm: "confirm";
|
|
331
|
-
plan: "plan";
|
|
332
|
-
readonly: "readonly";
|
|
333
|
-
}>;
|
|
334
|
-
allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
335
|
-
denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
336
|
-
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
337
|
-
network: z.ZodOptional<z.ZodBoolean>;
|
|
338
|
-
}, z.core.$strict>;
|
|
339
301
|
agentRef: z.ZodObject<{
|
|
340
302
|
agentId: z.ZodString;
|
|
341
303
|
profileRevision: z.ZodString;
|
|
@@ -403,18 +365,6 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
403
365
|
url: z.ZodOptional<z.ZodString>;
|
|
404
366
|
}, z.core.$strip>;
|
|
405
367
|
}, z.core.$strict>]>;
|
|
406
|
-
policy: z.ZodObject<{
|
|
407
|
-
mode: z.ZodEnum<{
|
|
408
|
-
auto: "auto";
|
|
409
|
-
confirm: "confirm";
|
|
410
|
-
plan: "plan";
|
|
411
|
-
readonly: "readonly";
|
|
412
|
-
}>;
|
|
413
|
-
allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
414
|
-
denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
415
|
-
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
416
|
-
network: z.ZodOptional<z.ZodBoolean>;
|
|
417
|
-
}, z.core.$strict>;
|
|
418
368
|
agentRef: z.ZodObject<{
|
|
419
369
|
agentId: z.ZodString;
|
|
420
370
|
profileRevision: z.ZodString;
|
|
@@ -465,15 +415,11 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
465
415
|
sessionRef: z.ZodString;
|
|
466
416
|
egressPolicy: z.ZodObject<{
|
|
467
417
|
policyRevision: z.ZodString;
|
|
468
|
-
activity: z.
|
|
469
|
-
mode: z.ZodLiteral<"metadata-status">;
|
|
470
|
-
delivery: z.ZodLiteral<"latest-value">;
|
|
471
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
472
|
-
mode: z.ZodLiteral<"contentful-trajectory">;
|
|
418
|
+
activity: z.ZodObject<{
|
|
473
419
|
delivery: z.ZodLiteral<"latest-value">;
|
|
474
420
|
maxCoalesceMs: z.ZodNumber;
|
|
475
421
|
maxEventBytes: z.ZodNumber;
|
|
476
|
-
}, z.core.$strict
|
|
422
|
+
}, z.core.$strict>;
|
|
477
423
|
reliable: z.ZodObject<{
|
|
478
424
|
maxPendingEventsPerAgent: z.ZodNumber;
|
|
479
425
|
maxPendingBytesPerAgent: z.ZodNumber;
|
|
@@ -522,18 +468,6 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
522
468
|
url: z.ZodOptional<z.ZodString>;
|
|
523
469
|
}, z.core.$strip>;
|
|
524
470
|
}, z.core.$strict>]>;
|
|
525
|
-
policy: z.ZodObject<{
|
|
526
|
-
mode: z.ZodEnum<{
|
|
527
|
-
auto: "auto";
|
|
528
|
-
confirm: "confirm";
|
|
529
|
-
plan: "plan";
|
|
530
|
-
readonly: "readonly";
|
|
531
|
-
}>;
|
|
532
|
-
allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
533
|
-
denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
534
|
-
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
535
|
-
network: z.ZodOptional<z.ZodBoolean>;
|
|
536
|
-
}, z.core.$strict>;
|
|
537
471
|
agentRef: z.ZodObject<{
|
|
538
472
|
agentId: z.ZodString;
|
|
539
473
|
profileRevision: z.ZodString;
|
|
@@ -583,15 +517,11 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
583
517
|
}, z.core.$strip>>;
|
|
584
518
|
egressPolicy: z.ZodObject<{
|
|
585
519
|
policyRevision: z.ZodString;
|
|
586
|
-
activity: z.
|
|
587
|
-
mode: z.ZodLiteral<"metadata-status">;
|
|
588
|
-
delivery: z.ZodLiteral<"latest-value">;
|
|
589
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
590
|
-
mode: z.ZodLiteral<"contentful-trajectory">;
|
|
520
|
+
activity: z.ZodObject<{
|
|
591
521
|
delivery: z.ZodLiteral<"latest-value">;
|
|
592
522
|
maxCoalesceMs: z.ZodNumber;
|
|
593
523
|
maxEventBytes: z.ZodNumber;
|
|
594
|
-
}, z.core.$strict
|
|
524
|
+
}, z.core.$strict>;
|
|
595
525
|
reliable: z.ZodObject<{
|
|
596
526
|
maxPendingEventsPerAgent: z.ZodNumber;
|
|
597
527
|
maxPendingBytesPerAgent: z.ZodNumber;
|
|
@@ -631,18 +561,6 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
631
561
|
session_ref: z.ZodOptional<z.ZodString>;
|
|
632
562
|
seq: z.ZodNumber;
|
|
633
563
|
payload: z.ZodObject<{
|
|
634
|
-
policy: z.ZodObject<{
|
|
635
|
-
mode: z.ZodEnum<{
|
|
636
|
-
auto: "auto";
|
|
637
|
-
confirm: "confirm";
|
|
638
|
-
plan: "plan";
|
|
639
|
-
readonly: "readonly";
|
|
640
|
-
}>;
|
|
641
|
-
allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
642
|
-
denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
643
|
-
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
644
|
-
network: z.ZodOptional<z.ZodBoolean>;
|
|
645
|
-
}, z.core.$strict>;
|
|
646
564
|
agentRef: z.ZodObject<{
|
|
647
565
|
agentId: z.ZodString;
|
|
648
566
|
profileRevision: z.ZodString;
|
|
@@ -702,15 +620,11 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
702
620
|
}>;
|
|
703
621
|
egressPolicy: z.ZodObject<{
|
|
704
622
|
policyRevision: z.ZodString;
|
|
705
|
-
activity: z.
|
|
706
|
-
mode: z.ZodLiteral<"metadata-status">;
|
|
707
|
-
delivery: z.ZodLiteral<"latest-value">;
|
|
708
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
709
|
-
mode: z.ZodLiteral<"contentful-trajectory">;
|
|
623
|
+
activity: z.ZodObject<{
|
|
710
624
|
delivery: z.ZodLiteral<"latest-value">;
|
|
711
625
|
maxCoalesceMs: z.ZodNumber;
|
|
712
626
|
maxEventBytes: z.ZodNumber;
|
|
713
|
-
}, z.core.$strict
|
|
627
|
+
}, z.core.$strict>;
|
|
714
628
|
reliable: z.ZodObject<{
|
|
715
629
|
maxPendingEventsPerAgent: z.ZodNumber;
|
|
716
630
|
maxPendingBytesPerAgent: z.ZodNumber;
|
|
@@ -964,12 +878,6 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
964
878
|
contentHash: z.ZodString;
|
|
965
879
|
}, z.core.$strict>]>;
|
|
966
880
|
requiredToolsets: z.ZodArray<z.ZodString>;
|
|
967
|
-
permissionMode: z.ZodEnum<{
|
|
968
|
-
auto: "auto";
|
|
969
|
-
confirm: "confirm";
|
|
970
|
-
plan: "plan";
|
|
971
|
-
readonly: "readonly";
|
|
972
|
-
}>;
|
|
973
881
|
accountingPolicyRef: z.ZodOptional<z.ZodObject<{
|
|
974
882
|
revision: z.ZodString;
|
|
975
883
|
ruledRuntime: z.ZodString;
|
|
@@ -1077,7 +985,6 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
|
|
|
1077
985
|
resume: z.ZodOptional<z.ZodBoolean>;
|
|
1078
986
|
approvalInteractive: z.ZodOptional<z.ZodBoolean>;
|
|
1079
987
|
mcpToolsets: z.ZodOptional<z.ZodBoolean>;
|
|
1080
|
-
permissionModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1081
988
|
}, z.core.$strip>>;
|
|
1082
989
|
}, z.core.$strip>;
|
|
1083
990
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1557,7 +1464,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
1557
1464
|
resume: z.ZodOptional<z.ZodBoolean>;
|
|
1558
1465
|
approvalInteractive: z.ZodOptional<z.ZodBoolean>;
|
|
1559
1466
|
mcpToolsets: z.ZodOptional<z.ZodBoolean>;
|
|
1560
|
-
permissionModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1561
1467
|
}, z.core.$strip>>;
|
|
1562
1468
|
}, z.core.$strip>>>;
|
|
1563
1469
|
harnesses: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1568,7 +1474,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
1568
1474
|
resume: z.ZodOptional<z.ZodBoolean>;
|
|
1569
1475
|
approvalInteractive: z.ZodOptional<z.ZodBoolean>;
|
|
1570
1476
|
mcpToolsets: z.ZodOptional<z.ZodBoolean>;
|
|
1571
|
-
permissionModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1572
1477
|
}, z.core.$strip>;
|
|
1573
1478
|
}, z.core.$strip>>>;
|
|
1574
1479
|
configuredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1605,18 +1510,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
1605
1510
|
url: z.ZodOptional<z.ZodString>;
|
|
1606
1511
|
}, z.core.$strip>;
|
|
1607
1512
|
}, z.core.$strict>]>;
|
|
1608
|
-
policy: z.ZodObject<{
|
|
1609
|
-
mode: z.ZodEnum<{
|
|
1610
|
-
auto: "auto";
|
|
1611
|
-
confirm: "confirm";
|
|
1612
|
-
plan: "plan";
|
|
1613
|
-
readonly: "readonly";
|
|
1614
|
-
}>;
|
|
1615
|
-
allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1616
|
-
denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1617
|
-
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
1618
|
-
network: z.ZodOptional<z.ZodBoolean>;
|
|
1619
|
-
}, z.core.$strict>;
|
|
1620
1513
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1621
1514
|
claude: "claude";
|
|
1622
1515
|
codex: "codex";
|
|
@@ -1674,18 +1567,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
1674
1567
|
url: z.ZodOptional<z.ZodString>;
|
|
1675
1568
|
}, z.core.$strip>;
|
|
1676
1569
|
}, z.core.$strict>]>;
|
|
1677
|
-
policy: z.ZodObject<{
|
|
1678
|
-
mode: z.ZodEnum<{
|
|
1679
|
-
auto: "auto";
|
|
1680
|
-
confirm: "confirm";
|
|
1681
|
-
plan: "plan";
|
|
1682
|
-
readonly: "readonly";
|
|
1683
|
-
}>;
|
|
1684
|
-
allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1685
|
-
denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1686
|
-
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
1687
|
-
network: z.ZodOptional<z.ZodBoolean>;
|
|
1688
|
-
}, z.core.$strict>;
|
|
1689
1570
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
1690
1571
|
claude: "claude";
|
|
1691
1572
|
codex: "codex";
|
|
@@ -1744,18 +1625,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
1744
1625
|
url: z.ZodOptional<z.ZodString>;
|
|
1745
1626
|
}, z.core.$strip>;
|
|
1746
1627
|
}, z.core.$strict>]>;
|
|
1747
|
-
policy: z.ZodObject<{
|
|
1748
|
-
mode: z.ZodEnum<{
|
|
1749
|
-
auto: "auto";
|
|
1750
|
-
confirm: "confirm";
|
|
1751
|
-
plan: "plan";
|
|
1752
|
-
readonly: "readonly";
|
|
1753
|
-
}>;
|
|
1754
|
-
allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1755
|
-
denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1756
|
-
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
1757
|
-
network: z.ZodOptional<z.ZodBoolean>;
|
|
1758
|
-
}, z.core.$strict>;
|
|
1759
1628
|
agentRef: z.ZodObject<{
|
|
1760
1629
|
agentId: z.ZodString;
|
|
1761
1630
|
profileRevision: z.ZodString;
|
|
@@ -1823,18 +1692,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
1823
1692
|
url: z.ZodOptional<z.ZodString>;
|
|
1824
1693
|
}, z.core.$strip>;
|
|
1825
1694
|
}, z.core.$strict>]>;
|
|
1826
|
-
policy: z.ZodObject<{
|
|
1827
|
-
mode: z.ZodEnum<{
|
|
1828
|
-
auto: "auto";
|
|
1829
|
-
confirm: "confirm";
|
|
1830
|
-
plan: "plan";
|
|
1831
|
-
readonly: "readonly";
|
|
1832
|
-
}>;
|
|
1833
|
-
allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1834
|
-
denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1835
|
-
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
1836
|
-
network: z.ZodOptional<z.ZodBoolean>;
|
|
1837
|
-
}, z.core.$strict>;
|
|
1838
1695
|
agentRef: z.ZodObject<{
|
|
1839
1696
|
agentId: z.ZodString;
|
|
1840
1697
|
profileRevision: z.ZodString;
|
|
@@ -1885,15 +1742,11 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
1885
1742
|
sessionRef: z.ZodString;
|
|
1886
1743
|
egressPolicy: z.ZodObject<{
|
|
1887
1744
|
policyRevision: z.ZodString;
|
|
1888
|
-
activity: z.
|
|
1889
|
-
mode: z.ZodLiteral<"metadata-status">;
|
|
1890
|
-
delivery: z.ZodLiteral<"latest-value">;
|
|
1891
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1892
|
-
mode: z.ZodLiteral<"contentful-trajectory">;
|
|
1745
|
+
activity: z.ZodObject<{
|
|
1893
1746
|
delivery: z.ZodLiteral<"latest-value">;
|
|
1894
1747
|
maxCoalesceMs: z.ZodNumber;
|
|
1895
1748
|
maxEventBytes: z.ZodNumber;
|
|
1896
|
-
}, z.core.$strict
|
|
1749
|
+
}, z.core.$strict>;
|
|
1897
1750
|
reliable: z.ZodObject<{
|
|
1898
1751
|
maxPendingEventsPerAgent: z.ZodNumber;
|
|
1899
1752
|
maxPendingBytesPerAgent: z.ZodNumber;
|
|
@@ -1942,18 +1795,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
1942
1795
|
url: z.ZodOptional<z.ZodString>;
|
|
1943
1796
|
}, z.core.$strip>;
|
|
1944
1797
|
}, z.core.$strict>]>;
|
|
1945
|
-
policy: z.ZodObject<{
|
|
1946
|
-
mode: z.ZodEnum<{
|
|
1947
|
-
auto: "auto";
|
|
1948
|
-
confirm: "confirm";
|
|
1949
|
-
plan: "plan";
|
|
1950
|
-
readonly: "readonly";
|
|
1951
|
-
}>;
|
|
1952
|
-
allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1953
|
-
denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1954
|
-
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
1955
|
-
network: z.ZodOptional<z.ZodBoolean>;
|
|
1956
|
-
}, z.core.$strict>;
|
|
1957
1798
|
agentRef: z.ZodObject<{
|
|
1958
1799
|
agentId: z.ZodString;
|
|
1959
1800
|
profileRevision: z.ZodString;
|
|
@@ -2003,15 +1844,11 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
2003
1844
|
}, z.core.$strip>>;
|
|
2004
1845
|
egressPolicy: z.ZodObject<{
|
|
2005
1846
|
policyRevision: z.ZodString;
|
|
2006
|
-
activity: z.
|
|
2007
|
-
mode: z.ZodLiteral<"metadata-status">;
|
|
2008
|
-
delivery: z.ZodLiteral<"latest-value">;
|
|
2009
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2010
|
-
mode: z.ZodLiteral<"contentful-trajectory">;
|
|
1847
|
+
activity: z.ZodObject<{
|
|
2011
1848
|
delivery: z.ZodLiteral<"latest-value">;
|
|
2012
1849
|
maxCoalesceMs: z.ZodNumber;
|
|
2013
1850
|
maxEventBytes: z.ZodNumber;
|
|
2014
|
-
}, z.core.$strict
|
|
1851
|
+
}, z.core.$strict>;
|
|
2015
1852
|
reliable: z.ZodObject<{
|
|
2016
1853
|
maxPendingEventsPerAgent: z.ZodNumber;
|
|
2017
1854
|
maxPendingBytesPerAgent: z.ZodNumber;
|
|
@@ -2051,18 +1888,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
2051
1888
|
session_ref: z.ZodOptional<z.ZodString>;
|
|
2052
1889
|
seq: z.ZodNumber;
|
|
2053
1890
|
payload: z.ZodObject<{
|
|
2054
|
-
policy: z.ZodObject<{
|
|
2055
|
-
mode: z.ZodEnum<{
|
|
2056
|
-
auto: "auto";
|
|
2057
|
-
confirm: "confirm";
|
|
2058
|
-
plan: "plan";
|
|
2059
|
-
readonly: "readonly";
|
|
2060
|
-
}>;
|
|
2061
|
-
allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2062
|
-
denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2063
|
-
workspaceRoot: z.ZodOptional<z.ZodString>;
|
|
2064
|
-
network: z.ZodOptional<z.ZodBoolean>;
|
|
2065
|
-
}, z.core.$strict>;
|
|
2066
1891
|
agentRef: z.ZodObject<{
|
|
2067
1892
|
agentId: z.ZodString;
|
|
2068
1893
|
profileRevision: z.ZodString;
|
|
@@ -2122,15 +1947,11 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
2122
1947
|
}>;
|
|
2123
1948
|
egressPolicy: z.ZodObject<{
|
|
2124
1949
|
policyRevision: z.ZodString;
|
|
2125
|
-
activity: z.
|
|
2126
|
-
mode: z.ZodLiteral<"metadata-status">;
|
|
2127
|
-
delivery: z.ZodLiteral<"latest-value">;
|
|
2128
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2129
|
-
mode: z.ZodLiteral<"contentful-trajectory">;
|
|
1950
|
+
activity: z.ZodObject<{
|
|
2130
1951
|
delivery: z.ZodLiteral<"latest-value">;
|
|
2131
1952
|
maxCoalesceMs: z.ZodNumber;
|
|
2132
1953
|
maxEventBytes: z.ZodNumber;
|
|
2133
|
-
}, z.core.$strict
|
|
1954
|
+
}, z.core.$strict>;
|
|
2134
1955
|
reliable: z.ZodObject<{
|
|
2135
1956
|
maxPendingEventsPerAgent: z.ZodNumber;
|
|
2136
1957
|
maxPendingBytesPerAgent: z.ZodNumber;
|
|
@@ -2384,12 +2205,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
2384
2205
|
contentHash: z.ZodString;
|
|
2385
2206
|
}, z.core.$strict>]>;
|
|
2386
2207
|
requiredToolsets: z.ZodArray<z.ZodString>;
|
|
2387
|
-
permissionMode: z.ZodEnum<{
|
|
2388
|
-
auto: "auto";
|
|
2389
|
-
confirm: "confirm";
|
|
2390
|
-
plan: "plan";
|
|
2391
|
-
readonly: "readonly";
|
|
2392
|
-
}>;
|
|
2393
2208
|
accountingPolicyRef: z.ZodOptional<z.ZodObject<{
|
|
2394
2209
|
revision: z.ZodString;
|
|
2395
2210
|
ruledRuntime: z.ZodString;
|
|
@@ -2497,7 +2312,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
|
|
|
2497
2312
|
resume: z.ZodOptional<z.ZodBoolean>;
|
|
2498
2313
|
approvalInteractive: z.ZodOptional<z.ZodBoolean>;
|
|
2499
2314
|
mcpToolsets: z.ZodOptional<z.ZodBoolean>;
|
|
2500
|
-
permissionModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2501
2315
|
}, z.core.$strip>>;
|
|
2502
2316
|
}, z.core.$strip>;
|
|
2503
2317
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3031,12 +2845,6 @@ export declare const InputPreparationCompletionRequestSchema: z.ZodDiscriminated
|
|
|
3031
2845
|
modelId: z.ZodString;
|
|
3032
2846
|
}, z.core.$strict>;
|
|
3033
2847
|
policyRevision: z.ZodString;
|
|
3034
|
-
permissionMode: z.ZodEnum<{
|
|
3035
|
-
auto: "auto";
|
|
3036
|
-
confirm: "confirm";
|
|
3037
|
-
plan: "plan";
|
|
3038
|
-
readonly: "readonly";
|
|
3039
|
-
}>;
|
|
3040
2848
|
runtime: z.ZodObject<{
|
|
3041
2849
|
packageName: z.ZodString;
|
|
3042
2850
|
packageVersion: z.ZodString;
|
|
@@ -3088,7 +2896,7 @@ export declare const InputPreparationCompletionRequestSchema: z.ZodDiscriminated
|
|
|
3088
2896
|
}, z.core.$strict>>;
|
|
3089
2897
|
observationDigest: z.ZodString;
|
|
3090
2898
|
toolBindingDigest: z.ZodString;
|
|
3091
|
-
|
|
2899
|
+
toolNames: z.ZodArray<z.ZodString>;
|
|
3092
2900
|
}, z.core.$strict>>;
|
|
3093
2901
|
counter: z.ZodOptional<z.ZodObject<{
|
|
3094
2902
|
method: z.ZodString;
|
|
@@ -3128,7 +2936,6 @@ export declare const InputPreparationCompletionRequestSchema: z.ZodDiscriminated
|
|
|
3128
2936
|
counter_authority_not_production: "counter_authority_not_production";
|
|
3129
2937
|
counter_coverage_incomplete: "counter_coverage_incomplete";
|
|
3130
2938
|
counter_interrupted: "counter_interrupted";
|
|
3131
|
-
executor_identity_unproven: "executor_identity_unproven";
|
|
3132
2939
|
failed: "failed";
|
|
3133
2940
|
not_prepared: "not_prepared";
|
|
3134
2941
|
projection_unknown: "projection_unknown";
|
|
@@ -3160,11 +2967,9 @@ export declare const InputPreparationCompletionRequestSchema: z.ZodDiscriminated
|
|
|
3160
2967
|
durable_write_failed: "durable_write_failed";
|
|
3161
2968
|
input_preparation_record_log_unsupported: "input_preparation_record_log_unsupported";
|
|
3162
2969
|
input_preparation_unconfigured: "input_preparation_unconfigured";
|
|
3163
|
-
launch_boundary_unavailable: "launch_boundary_unavailable";
|
|
3164
2970
|
limit_exceeded: "limit_exceeded";
|
|
3165
2971
|
not_found: "not_found";
|
|
3166
2972
|
observation_drift: "observation_drift";
|
|
3167
|
-
permission_mode_denied: "permission_mode_denied";
|
|
3168
2973
|
policy_revision_mismatch: "policy_revision_mismatch";
|
|
3169
2974
|
request_conflict: "request_conflict";
|
|
3170
2975
|
rpc_frame_too_large: "rpc_frame_too_large";
|
|
@@ -3232,12 +3037,6 @@ export declare const InputPreparationReadbackSchema: z.ZodObject<{
|
|
|
3232
3037
|
modelId: z.ZodString;
|
|
3233
3038
|
}, z.core.$strict>;
|
|
3234
3039
|
policyRevision: z.ZodString;
|
|
3235
|
-
permissionMode: z.ZodEnum<{
|
|
3236
|
-
auto: "auto";
|
|
3237
|
-
confirm: "confirm";
|
|
3238
|
-
plan: "plan";
|
|
3239
|
-
readonly: "readonly";
|
|
3240
|
-
}>;
|
|
3241
3040
|
runtime: z.ZodObject<{
|
|
3242
3041
|
packageName: z.ZodString;
|
|
3243
3042
|
packageVersion: z.ZodString;
|
|
@@ -3289,7 +3088,7 @@ export declare const InputPreparationReadbackSchema: z.ZodObject<{
|
|
|
3289
3088
|
}, z.core.$strict>>;
|
|
3290
3089
|
observationDigest: z.ZodString;
|
|
3291
3090
|
toolBindingDigest: z.ZodString;
|
|
3292
|
-
|
|
3091
|
+
toolNames: z.ZodArray<z.ZodString>;
|
|
3293
3092
|
}, z.core.$strict>>;
|
|
3294
3093
|
counter: z.ZodOptional<z.ZodObject<{
|
|
3295
3094
|
method: z.ZodString;
|
|
@@ -3329,7 +3128,6 @@ export declare const InputPreparationReadbackSchema: z.ZodObject<{
|
|
|
3329
3128
|
counter_authority_not_production: "counter_authority_not_production";
|
|
3330
3129
|
counter_coverage_incomplete: "counter_coverage_incomplete";
|
|
3331
3130
|
counter_interrupted: "counter_interrupted";
|
|
3332
|
-
executor_identity_unproven: "executor_identity_unproven";
|
|
3333
3131
|
failed: "failed";
|
|
3334
3132
|
not_prepared: "not_prepared";
|
|
3335
3133
|
projection_unknown: "projection_unknown";
|
|
@@ -3352,11 +3150,9 @@ export declare const InputPreparationReadbackSchema: z.ZodObject<{
|
|
|
3352
3150
|
durable_write_failed: "durable_write_failed";
|
|
3353
3151
|
input_preparation_record_log_unsupported: "input_preparation_record_log_unsupported";
|
|
3354
3152
|
input_preparation_unconfigured: "input_preparation_unconfigured";
|
|
3355
|
-
launch_boundary_unavailable: "launch_boundary_unavailable";
|
|
3356
3153
|
limit_exceeded: "limit_exceeded";
|
|
3357
3154
|
not_found: "not_found";
|
|
3358
3155
|
observation_drift: "observation_drift";
|
|
3359
|
-
permission_mode_denied: "permission_mode_denied";
|
|
3360
3156
|
policy_revision_mismatch: "policy_revision_mismatch";
|
|
3361
3157
|
request_conflict: "request_conflict";
|
|
3362
3158
|
rpc_frame_too_large: "rpc_frame_too_large";
|
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,6 @@ export { PROTOCOL_VERSION, CAPABILITY_FLAGS, STRICT_AGENT_ONLY_CAPABILITY } from
|
|
|
3
3
|
export type { CapabilityFlag } from './version';
|
|
4
4
|
export { BlobRefSchema, CONTENT_HASH_RE } from './blob';
|
|
5
5
|
export type { BlobRef } from './blob';
|
|
6
|
-
export { PermissionPolicySchema, PERMISSION_MODES } from './permission';
|
|
7
|
-
export type { PermissionPolicy, PermissionMode } from './permission';
|
|
8
6
|
export { PROVIDER_PROFILE_BINDING_CAPABILITY, PROVIDER_MODEL_CAPABILITIES, ProviderProfileRefSchema, ProviderProfileRevisionSchema, ProviderProfileHashSchema, ProviderModelCapabilitySchema, ProviderProfileBindingSchema, } from './provider-profile-binding';
|
|
9
7
|
export type { ProviderProfileRef, ProviderProfileRevision, ProviderProfileHash, ProviderModelCapability, ProviderProfileBinding, } from './provider-profile-binding';
|
|
10
8
|
export { PROVIDER_PROVISIONING_CAPABILITY, PROVIDER_SECRET_SEALING_KEY_REGISTER_OPERATION, PROVIDER_PROVISIONING_OPERATIONS, PROVIDER_PROVISIONING_OPERATION_GENERATION_MAXIMUM, PROVIDER_PROVISIONING_REJECTION_CODES, PROVIDER_PROVISIONING_HOST_TERMINAL_CODES, PROVIDER_PROVISIONING_DISPOSITIONS, PROVIDER_PROVISIONING_KEY_CHECK_RESULTS, ProviderProvisioningAvailablePayloadSchema, ProviderProvisioningKeyCheckResultSchema, ProviderProvisioningKeyCheckSchema, ProviderProvisioningOperationSchema, ProviderProvisioningOperationGenerationSchema, ProviderProvisioningOperationDigestSchema, ProviderProvisioningRejectionCodeSchema, ProviderProvisioningProviderStatusSchema, ProviderProvisioningCompletionSchema, ProviderProvisioningDispositionSchema, ProviderProvisioningReadbackSchema, } from './provider-provisioning';
|
|
@@ -17,8 +15,8 @@ export { AgentEgressPolicySchema, AgentEgressActivityPolicySchema, AgentReliable
|
|
|
17
15
|
export type { AgentEgressPolicy, AgentEgressActivityPolicy, AgentReliableQuotaPolicy, ContentReadPolicy, AgentEgressLane, AgentEgressDropReason, AgentMessageContentType, AgentMessageEgressRequirement, AgentMessageServerContext, AgentContentReadSurface, AgentContentActorKind, AgentContentActor, AgentContentDecodeAs, AgentContentReadDecision, AgentContentReadDenialReason, } from './agent-egress';
|
|
18
16
|
export { AGENT_HOME_PROJECTION_CAPABILITY, AGENT_HOME_PROJECTION_MAX_BYTES, AGENT_HOME_PROJECTION_PROFILE_REVISION_MAXIMUM, AgentHomeProjectionProfileRevisionSchema, AgentHomeProjectionHashSchema, AgentHomeProjectionOutcomeSchema, AgentHomeProjectionValueSchema, } from './agent-home-projection';
|
|
19
17
|
export type { AgentHomeProjectionProfileRevision, AgentHomeProjectionHash, AgentHomeProjectionOutcome, AgentHomeProjectionValue, } from './agent-home-projection';
|
|
20
|
-
export { AGENT_INPUT_PREPARATION_CAPABILITY, INPUT_PREPARATION_WIRE_VERSION, InputPreparationContentHashSchema,
|
|
21
|
-
export type {
|
|
18
|
+
export { AGENT_INPUT_PREPARATION_CAPABILITY, INPUT_PREPARATION_WIRE_VERSION, InputPreparationContentHashSchema, InputPreparationPolicyRevisionSchema, InputPreparationProfileIdSchema, InputPreparationSourceSchema, InputPreparationModelCostSchema, InputPreparationModelSchema, InputPreparationOptionsSchema, InputPreparationSelectionSchema, InputPreparationPromptSnapshotSchema, InputPreparationUserMessageSchema, InputPreparationHostCanonicalAssistantMessageSchema, InputPreparationMessageSchema, InputPreparationContextDocumentSchema, InputPreparationStateSchema, InputPreparationReadinessReasonSchema, InputPreparationRuntimeIdentitySchema, InputPreparationCounterTargetSchema, InputPreparationAccountingPolicyRefSchema, InputPreparationCounterProviderEvidenceSchema, InputPreparationCounterEvidenceSchema, InputPreparationResidualValueClassSchema, InputPreparationResidualKeySchema, InputPreparationProjectionSchema, InputPreparationArtifactSummarySchema, InputPreparationBindingSchema, InputPreparationReceiptSummarySchema, InputPreparationReferenceSchema, InputPreparationOfferBindingSchema, InputPreparationRejectionReasonSchema, } from './input-preparation';
|
|
19
|
+
export type { InputPreparationSource, InputPreparationModel, InputPreparationOptions, InputPreparationSelection, InputPreparationMessage, InputPreparationContextDocument, InputPreparationState, InputPreparationReadinessReason, InputPreparationAccountingPolicyRef, InputPreparationResidualValueClass, InputPreparationRuntimeIdentity, InputPreparationReceiptSummary, InputPreparationOfferBinding, InputPreparationRejectionReason, } from './input-preparation';
|
|
22
20
|
export { AGENT_MEMORY_PROJECTION_CAPABILITY, AGENT_MEMORY_PROJECTION_MAX_REDACTED_BYTES, AGENT_MEMORY_PROJECTION_MAX_ORDERING_VALUE, AgentMemoryProjectionGrantRefSchema, AgentMemoryProjectionSessionRefSchema, AgentMemoryProjectionWriterEpochSchema, AgentMemoryProjectionSourceSeqSchema, AgentMemoryProjectionSnapshotSchema, AgentMemoryProjectionMeteringReceiptSchema, AgentMemoryProjectionMutationSchema, AgentMemoryProjectionReceiptSchema, AgentMemoryProjectionEraseResultSchema, agentMemoryProjectionBase64UrlByteLength, } from './agent-memory-projection';
|
|
23
21
|
export type { AgentMemoryProjectionGrantRef, AgentMemoryProjectionSessionRef, AgentMemoryProjectionWriterEpoch, AgentMemoryProjectionSourceSeq, AgentMemoryProjectionSnapshot, AgentMemoryProjectionMeteringReceipt, AgentMemoryProjectionMutation, AgentMemoryProjectionReceipt, AgentMemoryProjectionEraseResult, } from './agent-memory-projection';
|
|
24
22
|
export { HOST_MCP_TASK_CONTEXT_CAPABILITY } from './task-assertion';
|