@byok-sdk/protocol 0.23.0 → 0.25.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.
@@ -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.ZodDiscriminatedUnion<[z.ZodObject<{
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>], "mode">;
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.ZodDiscriminatedUnion<[z.ZodObject<{
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>], "mode">;
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.ZodDiscriminatedUnion<[z.ZodObject<{
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>], "mode">;
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;
@@ -991,6 +899,21 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
991
899
  payload: z.ZodObject<{
992
900
  requestId: z.ZodUUID;
993
901
  }, z.core.$strict>;
902
+ }, z.core.$strip>, z.ZodObject<{
903
+ v: z.ZodNumber;
904
+ id: z.ZodUUID;
905
+ ts: z.ZodISODateTime;
906
+ type: z.ZodLiteral<"agent.memory.intent.available">;
907
+ task_id: z.ZodOptional<z.ZodNever>;
908
+ session_ref: z.ZodOptional<z.ZodString>;
909
+ seq: z.ZodNumber;
910
+ payload: z.ZodObject<{
911
+ intentId: z.ZodUUID;
912
+ agentRef: z.ZodObject<{
913
+ agentId: z.ZodString;
914
+ profileRevision: z.ZodString;
915
+ }, z.core.$strict>;
916
+ }, z.core.$strict>;
994
917
  }, z.core.$strip>, z.ZodObject<{
995
918
  v: z.ZodNumber;
996
919
  id: z.ZodUUID;
@@ -1062,7 +985,6 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
1062
985
  resume: z.ZodOptional<z.ZodBoolean>;
1063
986
  approvalInteractive: z.ZodOptional<z.ZodBoolean>;
1064
987
  mcpToolsets: z.ZodOptional<z.ZodBoolean>;
1065
- permissionModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1066
988
  }, z.core.$strip>>;
1067
989
  }, z.core.$strip>;
1068
990
  }, z.core.$strip>, z.ZodObject<{
@@ -1167,6 +1089,12 @@ export declare const EventsPollResponseSchema: z.ZodObject<{
1167
1089
  outputTokens: z.ZodOptional<z.ZodNumber>;
1168
1090
  reasoningTokens: z.ZodOptional<z.ZodNumber>;
1169
1091
  totalTokens: z.ZodOptional<z.ZodNumber>;
1092
+ contextTokens: z.ZodOptional<z.ZodNumber>;
1093
+ contextWindow: z.ZodOptional<z.ZodNumber>;
1094
+ contextSource: z.ZodOptional<z.ZodEnum<{
1095
+ estimate: "estimate";
1096
+ provider: "provider";
1097
+ }>>;
1170
1098
  }, z.core.$strip>], "type">, z.ZodObject<{
1171
1099
  type: z.ZodString;
1172
1100
  }, z.core.$loose>]>>;
@@ -1536,7 +1464,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
1536
1464
  resume: z.ZodOptional<z.ZodBoolean>;
1537
1465
  approvalInteractive: z.ZodOptional<z.ZodBoolean>;
1538
1466
  mcpToolsets: z.ZodOptional<z.ZodBoolean>;
1539
- permissionModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1540
1467
  }, z.core.$strip>>;
1541
1468
  }, z.core.$strip>>>;
1542
1469
  harnesses: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1547,7 +1474,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
1547
1474
  resume: z.ZodOptional<z.ZodBoolean>;
1548
1475
  approvalInteractive: z.ZodOptional<z.ZodBoolean>;
1549
1476
  mcpToolsets: z.ZodOptional<z.ZodBoolean>;
1550
- permissionModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1551
1477
  }, z.core.$strip>;
1552
1478
  }, z.core.$strip>>>;
1553
1479
  configuredToolsets: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1584,18 +1510,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
1584
1510
  url: z.ZodOptional<z.ZodString>;
1585
1511
  }, z.core.$strip>;
1586
1512
  }, z.core.$strict>]>;
1587
- policy: z.ZodObject<{
1588
- mode: z.ZodEnum<{
1589
- auto: "auto";
1590
- confirm: "confirm";
1591
- plan: "plan";
1592
- readonly: "readonly";
1593
- }>;
1594
- allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1595
- denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1596
- workspaceRoot: z.ZodOptional<z.ZodString>;
1597
- network: z.ZodOptional<z.ZodBoolean>;
1598
- }, z.core.$strict>;
1599
1513
  runtime: z.ZodOptional<z.ZodEnum<{
1600
1514
  claude: "claude";
1601
1515
  codex: "codex";
@@ -1653,18 +1567,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
1653
1567
  url: z.ZodOptional<z.ZodString>;
1654
1568
  }, z.core.$strip>;
1655
1569
  }, z.core.$strict>]>;
1656
- policy: z.ZodObject<{
1657
- mode: z.ZodEnum<{
1658
- auto: "auto";
1659
- confirm: "confirm";
1660
- plan: "plan";
1661
- readonly: "readonly";
1662
- }>;
1663
- allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1664
- denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1665
- workspaceRoot: z.ZodOptional<z.ZodString>;
1666
- network: z.ZodOptional<z.ZodBoolean>;
1667
- }, z.core.$strict>;
1668
1570
  runtime: z.ZodOptional<z.ZodEnum<{
1669
1571
  claude: "claude";
1670
1572
  codex: "codex";
@@ -1723,18 +1625,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
1723
1625
  url: z.ZodOptional<z.ZodString>;
1724
1626
  }, z.core.$strip>;
1725
1627
  }, z.core.$strict>]>;
1726
- policy: z.ZodObject<{
1727
- mode: z.ZodEnum<{
1728
- auto: "auto";
1729
- confirm: "confirm";
1730
- plan: "plan";
1731
- readonly: "readonly";
1732
- }>;
1733
- allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1734
- denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1735
- workspaceRoot: z.ZodOptional<z.ZodString>;
1736
- network: z.ZodOptional<z.ZodBoolean>;
1737
- }, z.core.$strict>;
1738
1628
  agentRef: z.ZodObject<{
1739
1629
  agentId: z.ZodString;
1740
1630
  profileRevision: z.ZodString;
@@ -1802,18 +1692,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
1802
1692
  url: z.ZodOptional<z.ZodString>;
1803
1693
  }, z.core.$strip>;
1804
1694
  }, z.core.$strict>]>;
1805
- policy: z.ZodObject<{
1806
- mode: z.ZodEnum<{
1807
- auto: "auto";
1808
- confirm: "confirm";
1809
- plan: "plan";
1810
- readonly: "readonly";
1811
- }>;
1812
- allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1813
- denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1814
- workspaceRoot: z.ZodOptional<z.ZodString>;
1815
- network: z.ZodOptional<z.ZodBoolean>;
1816
- }, z.core.$strict>;
1817
1695
  agentRef: z.ZodObject<{
1818
1696
  agentId: z.ZodString;
1819
1697
  profileRevision: z.ZodString;
@@ -1864,15 +1742,11 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
1864
1742
  sessionRef: z.ZodString;
1865
1743
  egressPolicy: z.ZodObject<{
1866
1744
  policyRevision: z.ZodString;
1867
- activity: z.ZodDiscriminatedUnion<[z.ZodObject<{
1868
- mode: z.ZodLiteral<"metadata-status">;
1869
- delivery: z.ZodLiteral<"latest-value">;
1870
- }, z.core.$strict>, z.ZodObject<{
1871
- mode: z.ZodLiteral<"contentful-trajectory">;
1745
+ activity: z.ZodObject<{
1872
1746
  delivery: z.ZodLiteral<"latest-value">;
1873
1747
  maxCoalesceMs: z.ZodNumber;
1874
1748
  maxEventBytes: z.ZodNumber;
1875
- }, z.core.$strict>], "mode">;
1749
+ }, z.core.$strict>;
1876
1750
  reliable: z.ZodObject<{
1877
1751
  maxPendingEventsPerAgent: z.ZodNumber;
1878
1752
  maxPendingBytesPerAgent: z.ZodNumber;
@@ -1921,18 +1795,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
1921
1795
  url: z.ZodOptional<z.ZodString>;
1922
1796
  }, z.core.$strip>;
1923
1797
  }, z.core.$strict>]>;
1924
- policy: z.ZodObject<{
1925
- mode: z.ZodEnum<{
1926
- auto: "auto";
1927
- confirm: "confirm";
1928
- plan: "plan";
1929
- readonly: "readonly";
1930
- }>;
1931
- allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1932
- denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1933
- workspaceRoot: z.ZodOptional<z.ZodString>;
1934
- network: z.ZodOptional<z.ZodBoolean>;
1935
- }, z.core.$strict>;
1936
1798
  agentRef: z.ZodObject<{
1937
1799
  agentId: z.ZodString;
1938
1800
  profileRevision: z.ZodString;
@@ -1982,15 +1844,11 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
1982
1844
  }, z.core.$strip>>;
1983
1845
  egressPolicy: z.ZodObject<{
1984
1846
  policyRevision: z.ZodString;
1985
- activity: z.ZodDiscriminatedUnion<[z.ZodObject<{
1986
- mode: z.ZodLiteral<"metadata-status">;
1987
- delivery: z.ZodLiteral<"latest-value">;
1988
- }, z.core.$strict>, z.ZodObject<{
1989
- mode: z.ZodLiteral<"contentful-trajectory">;
1847
+ activity: z.ZodObject<{
1990
1848
  delivery: z.ZodLiteral<"latest-value">;
1991
1849
  maxCoalesceMs: z.ZodNumber;
1992
1850
  maxEventBytes: z.ZodNumber;
1993
- }, z.core.$strict>], "mode">;
1851
+ }, z.core.$strict>;
1994
1852
  reliable: z.ZodObject<{
1995
1853
  maxPendingEventsPerAgent: z.ZodNumber;
1996
1854
  maxPendingBytesPerAgent: z.ZodNumber;
@@ -2030,18 +1888,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
2030
1888
  session_ref: z.ZodOptional<z.ZodString>;
2031
1889
  seq: z.ZodNumber;
2032
1890
  payload: z.ZodObject<{
2033
- policy: z.ZodObject<{
2034
- mode: z.ZodEnum<{
2035
- auto: "auto";
2036
- confirm: "confirm";
2037
- plan: "plan";
2038
- readonly: "readonly";
2039
- }>;
2040
- allowTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
2041
- denyTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
2042
- workspaceRoot: z.ZodOptional<z.ZodString>;
2043
- network: z.ZodOptional<z.ZodBoolean>;
2044
- }, z.core.$strict>;
2045
1891
  agentRef: z.ZodObject<{
2046
1892
  agentId: z.ZodString;
2047
1893
  profileRevision: z.ZodString;
@@ -2101,15 +1947,11 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
2101
1947
  }>;
2102
1948
  egressPolicy: z.ZodObject<{
2103
1949
  policyRevision: z.ZodString;
2104
- activity: z.ZodDiscriminatedUnion<[z.ZodObject<{
2105
- mode: z.ZodLiteral<"metadata-status">;
2106
- delivery: z.ZodLiteral<"latest-value">;
2107
- }, z.core.$strict>, z.ZodObject<{
2108
- mode: z.ZodLiteral<"contentful-trajectory">;
1950
+ activity: z.ZodObject<{
2109
1951
  delivery: z.ZodLiteral<"latest-value">;
2110
1952
  maxCoalesceMs: z.ZodNumber;
2111
1953
  maxEventBytes: z.ZodNumber;
2112
- }, z.core.$strict>], "mode">;
1954
+ }, z.core.$strict>;
2113
1955
  reliable: z.ZodObject<{
2114
1956
  maxPendingEventsPerAgent: z.ZodNumber;
2115
1957
  maxPendingBytesPerAgent: z.ZodNumber;
@@ -2363,12 +2205,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
2363
2205
  contentHash: z.ZodString;
2364
2206
  }, z.core.$strict>]>;
2365
2207
  requiredToolsets: z.ZodArray<z.ZodString>;
2366
- permissionMode: z.ZodEnum<{
2367
- auto: "auto";
2368
- confirm: "confirm";
2369
- plan: "plan";
2370
- readonly: "readonly";
2371
- }>;
2372
2208
  accountingPolicyRef: z.ZodOptional<z.ZodObject<{
2373
2209
  revision: z.ZodString;
2374
2210
  ruledRuntime: z.ZodString;
@@ -2390,6 +2226,21 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
2390
2226
  payload: z.ZodObject<{
2391
2227
  requestId: z.ZodUUID;
2392
2228
  }, z.core.$strict>;
2229
+ }, z.core.$strip>, z.ZodObject<{
2230
+ v: z.ZodNumber;
2231
+ id: z.ZodUUID;
2232
+ ts: z.ZodISODateTime;
2233
+ type: z.ZodLiteral<"agent.memory.intent.available">;
2234
+ task_id: z.ZodOptional<z.ZodNever>;
2235
+ session_ref: z.ZodOptional<z.ZodString>;
2236
+ seq: z.ZodNumber;
2237
+ payload: z.ZodObject<{
2238
+ intentId: z.ZodUUID;
2239
+ agentRef: z.ZodObject<{
2240
+ agentId: z.ZodString;
2241
+ profileRevision: z.ZodString;
2242
+ }, z.core.$strict>;
2243
+ }, z.core.$strict>;
2393
2244
  }, z.core.$strip>, z.ZodObject<{
2394
2245
  v: z.ZodNumber;
2395
2246
  id: z.ZodUUID;
@@ -2461,7 +2312,6 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
2461
2312
  resume: z.ZodOptional<z.ZodBoolean>;
2462
2313
  approvalInteractive: z.ZodOptional<z.ZodBoolean>;
2463
2314
  mcpToolsets: z.ZodOptional<z.ZodBoolean>;
2464
- permissionModes: z.ZodOptional<z.ZodArray<z.ZodString>>;
2465
2315
  }, z.core.$strip>>;
2466
2316
  }, z.core.$strip>;
2467
2317
  }, z.core.$strip>, z.ZodObject<{
@@ -2566,6 +2416,12 @@ export declare const MessagesSendRequestSchema: z.ZodObject<{
2566
2416
  outputTokens: z.ZodOptional<z.ZodNumber>;
2567
2417
  reasoningTokens: z.ZodOptional<z.ZodNumber>;
2568
2418
  totalTokens: z.ZodOptional<z.ZodNumber>;
2419
+ contextTokens: z.ZodOptional<z.ZodNumber>;
2420
+ contextWindow: z.ZodOptional<z.ZodNumber>;
2421
+ contextSource: z.ZodOptional<z.ZodEnum<{
2422
+ estimate: "estimate";
2423
+ provider: "provider";
2424
+ }>>;
2569
2425
  }, z.core.$strip>], "type">, z.ZodObject<{
2570
2426
  type: z.ZodString;
2571
2427
  }, z.core.$loose>]>>;
@@ -2989,12 +2845,6 @@ export declare const InputPreparationCompletionRequestSchema: z.ZodDiscriminated
2989
2845
  modelId: z.ZodString;
2990
2846
  }, z.core.$strict>;
2991
2847
  policyRevision: z.ZodString;
2992
- permissionMode: z.ZodEnum<{
2993
- auto: "auto";
2994
- confirm: "confirm";
2995
- plan: "plan";
2996
- readonly: "readonly";
2997
- }>;
2998
2848
  runtime: z.ZodObject<{
2999
2849
  packageName: z.ZodString;
3000
2850
  packageVersion: z.ZodString;
@@ -3046,7 +2896,7 @@ export declare const InputPreparationCompletionRequestSchema: z.ZodDiscriminated
3046
2896
  }, z.core.$strict>>;
3047
2897
  observationDigest: z.ZodString;
3048
2898
  toolBindingDigest: z.ZodString;
3049
- toolImplementationKinds: z.ZodRecord<z.ZodString, z.ZodString>;
2899
+ toolNames: z.ZodArray<z.ZodString>;
3050
2900
  }, z.core.$strict>>;
3051
2901
  counter: z.ZodOptional<z.ZodObject<{
3052
2902
  method: z.ZodString;
@@ -3086,7 +2936,6 @@ export declare const InputPreparationCompletionRequestSchema: z.ZodDiscriminated
3086
2936
  counter_authority_not_production: "counter_authority_not_production";
3087
2937
  counter_coverage_incomplete: "counter_coverage_incomplete";
3088
2938
  counter_interrupted: "counter_interrupted";
3089
- executor_identity_unproven: "executor_identity_unproven";
3090
2939
  failed: "failed";
3091
2940
  not_prepared: "not_prepared";
3092
2941
  projection_unknown: "projection_unknown";
@@ -3118,11 +2967,9 @@ export declare const InputPreparationCompletionRequestSchema: z.ZodDiscriminated
3118
2967
  durable_write_failed: "durable_write_failed";
3119
2968
  input_preparation_record_log_unsupported: "input_preparation_record_log_unsupported";
3120
2969
  input_preparation_unconfigured: "input_preparation_unconfigured";
3121
- launch_boundary_unavailable: "launch_boundary_unavailable";
3122
2970
  limit_exceeded: "limit_exceeded";
3123
2971
  not_found: "not_found";
3124
2972
  observation_drift: "observation_drift";
3125
- permission_mode_denied: "permission_mode_denied";
3126
2973
  policy_revision_mismatch: "policy_revision_mismatch";
3127
2974
  request_conflict: "request_conflict";
3128
2975
  rpc_frame_too_large: "rpc_frame_too_large";
@@ -3190,12 +3037,6 @@ export declare const InputPreparationReadbackSchema: z.ZodObject<{
3190
3037
  modelId: z.ZodString;
3191
3038
  }, z.core.$strict>;
3192
3039
  policyRevision: z.ZodString;
3193
- permissionMode: z.ZodEnum<{
3194
- auto: "auto";
3195
- confirm: "confirm";
3196
- plan: "plan";
3197
- readonly: "readonly";
3198
- }>;
3199
3040
  runtime: z.ZodObject<{
3200
3041
  packageName: z.ZodString;
3201
3042
  packageVersion: z.ZodString;
@@ -3247,7 +3088,7 @@ export declare const InputPreparationReadbackSchema: z.ZodObject<{
3247
3088
  }, z.core.$strict>>;
3248
3089
  observationDigest: z.ZodString;
3249
3090
  toolBindingDigest: z.ZodString;
3250
- toolImplementationKinds: z.ZodRecord<z.ZodString, z.ZodString>;
3091
+ toolNames: z.ZodArray<z.ZodString>;
3251
3092
  }, z.core.$strict>>;
3252
3093
  counter: z.ZodOptional<z.ZodObject<{
3253
3094
  method: z.ZodString;
@@ -3287,7 +3128,6 @@ export declare const InputPreparationReadbackSchema: z.ZodObject<{
3287
3128
  counter_authority_not_production: "counter_authority_not_production";
3288
3129
  counter_coverage_incomplete: "counter_coverage_incomplete";
3289
3130
  counter_interrupted: "counter_interrupted";
3290
- executor_identity_unproven: "executor_identity_unproven";
3291
3131
  failed: "failed";
3292
3132
  not_prepared: "not_prepared";
3293
3133
  projection_unknown: "projection_unknown";
@@ -3310,11 +3150,9 @@ export declare const InputPreparationReadbackSchema: z.ZodObject<{
3310
3150
  durable_write_failed: "durable_write_failed";
3311
3151
  input_preparation_record_log_unsupported: "input_preparation_record_log_unsupported";
3312
3152
  input_preparation_unconfigured: "input_preparation_unconfigured";
3313
- launch_boundary_unavailable: "launch_boundary_unavailable";
3314
3153
  limit_exceeded: "limit_exceeded";
3315
3154
  not_found: "not_found";
3316
3155
  observation_drift: "observation_drift";
3317
- permission_mode_denied: "permission_mode_denied";
3318
3156
  policy_revision_mismatch: "policy_revision_mismatch";
3319
3157
  request_conflict: "request_conflict";
3320
3158
  rpc_frame_too_large: "rpc_frame_too_large";
package/dist/index.d.ts CHANGED
@@ -3,20 +3,20 @@ 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';
11
9
  export type { ProviderProvisioningAvailablePayload, ProviderProvisioningOperation, ProviderProvisioningOperationGeneration, ProviderProvisioningOperationDigest, ProviderProvisioningRejectionCode, ProviderProvisioningProviderStatus, ProviderProvisioningCompletion, ProviderProvisioningDisposition, ProviderProvisioningReadback, ProviderProvisioningKeyCheckResult, ProviderProvisioningKeyCheck, } from './provider-provisioning';
10
+ export { AGENT_MEMORY_INTENT_CAPABILITY, AGENT_MEMORY_INTENT_CONTENT_MAX_BYTES, AGENT_MEMORY_INTENT_PATH_MAX_BYTES, AGENT_MEMORY_INTENT_APPROVAL_REF_MAX_BYTES, AGENT_MEMORY_INTENT_OPERATIONS, AGENT_MEMORY_INTENT_HOST_TERMINAL_CODES, AGENT_MEMORY_INTENT_REJECTION_CODES, AGENT_MEMORY_INTENT_READBACK_DISPOSITIONS, AGENT_MEMORY_INTENT_RESERVATIONS, AGENT_MEMORY_INTENT_FETCH_DISPOSITIONS, AGENT_MEMORY_INTENT_FETCH_DISPOSITIONS_BY_RESERVATION, AgentMemoryIntentRevisionSchema, AgentMemoryIntentOperationDigestSchema, AgentMemoryIntentPathSchema, AgentMemoryIntentApprovalRefSchema, AgentMemoryIntentContentSchema, AgentMemoryIntentOperationSchema, AgentMemoryIntentV1Schema, AgentMemoryIntentHostTerminalCodeSchema, AgentMemoryIntentRejectionCodeSchema, AgentMemoryIntentFileObservationSchema, AgentMemoryIntentCompletionSchema, AgentMemoryIntentReadbackDispositionSchema, AgentMemoryIntentReadbackSchema, AgentMemoryIntentReservationSchema, AgentMemoryIntentFetchRequestSchema, AgentMemoryIntentFetchResponseSchema, agentMemoryIntentFetchResponseSchemaFor, } from './agent-memory-intent';
11
+ export type { AgentMemoryIntentRevision, AgentMemoryIntentOperationDigest, AgentMemoryIntentPath, AgentMemoryIntentApprovalRef, AgentMemoryIntentContent, AgentMemoryIntentOperation, AgentMemoryIntentV1, AgentMemoryIntentHostTerminalCode, AgentMemoryIntentRejectionCode, AgentMemoryIntentFileObservation, AgentMemoryIntentCompletion, AgentMemoryIntentReadbackDisposition, AgentMemoryIntentReadback, AgentMemoryIntentReservation, AgentMemoryIntentFetchRequest, AgentMemoryIntentFetchDisposition, AgentMemoryIntentFetchResponse, } from './agent-memory-intent';
12
12
  export { AgentEventSchema, AgentEventSpillSchema, AGENT_EVENT_SPILL_UNSTORED_REASON_MAX_LENGTH, UnknownAgentEventSchema, AgentEventOrUnknownSchema, KNOWN_AGENT_EVENT_TYPES, isKnownAgentEvent, partitionAgentEvents, } from './agent-event';
13
13
  export type { AgentEvent, AgentEventSpill, UnknownAgentEvent, AgentEventOrUnknown } from './agent-event';
14
14
  export { AgentEgressPolicySchema, AgentEgressActivityPolicySchema, AgentReliableQuotaPolicySchema, ContentReadPolicySchema, AgentEgressLaneSchema, AgentEgressDropReasonSchema, AgentContentReadSurfaceSchema, AgentContentActorKindSchema, AgentContentActorSchema, AgentContentDecodeAsSchema, AgentContentMimeTypeSchema, AgentContentReadDecisionSchema, AgentContentReadDenialReasonSchema, AgentEgressContentHashSchema, AgentEgressPolicyRevisionSchema, AgentMessageContractSchema, AgentMessageContentTypeSchema, AgentMessageDestinationBindingSchema, AgentMessageFreshnessCursorSchema, AgentMessageServerContextSchema, AgentMessageEgressRequirementSchema, AGENT_MESSAGE_MAX_BYTES, AGENT_MESSAGE_EGRESS_CAPABILITY, AGENT_EGRESS_POLICY_CAPABILITY, AGENT_EGRESS_RELIABLE_ACK_CAPABILITY, AGENT_EGRESS_FRESH_SESSION_CAPABILITY, AGENT_CONTENT_WORKSPACE_READ_CAPABILITY, AGENT_CONTENT_TRANSCRIPT_READ_CAPABILITY, AGENT_CONTENT_ARTIFACT_READ_CAPABILITY, } from './agent-egress';
15
15
  export type { AgentEgressPolicy, AgentEgressActivityPolicy, AgentReliableQuotaPolicy, ContentReadPolicy, AgentEgressLane, AgentEgressDropReason, AgentMessageContentType, AgentMessageEgressRequirement, AgentMessageServerContext, AgentContentReadSurface, AgentContentActorKind, AgentContentActor, AgentContentDecodeAs, AgentContentReadDecision, AgentContentReadDenialReason, } from './agent-egress';
16
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';
17
17
  export type { AgentHomeProjectionProfileRevision, AgentHomeProjectionHash, AgentHomeProjectionOutcome, AgentHomeProjectionValue, } from './agent-home-projection';
18
- export { AGENT_INPUT_PREPARATION_CAPABILITY, INPUT_PREPARATION_WIRE_VERSION, InputPreparationContentHashSchema, InputPreparationPermissionModeSchema, InputPreparationPolicyRevisionSchema, InputPreparationProfileIdSchema, InputPreparationSourceSchema, InputPreparationModelCostSchema, InputPreparationModelSchema, InputPreparationOptionsSchema, InputPreparationSelectionSchema, InputPreparationPromptSnapshotSchema, InputPreparationUserMessageSchema, InputPreparationHostCanonicalAssistantMessageSchema, InputPreparationMessageSchema, InputPreparationContextDocumentSchema, InputPreparationStateSchema, InputPreparationReadinessReasonSchema, InputPreparationRuntimeIdentitySchema, InputPreparationCounterTargetSchema, InputPreparationAccountingPolicyRefSchema, InputPreparationCounterProviderEvidenceSchema, InputPreparationCounterEvidenceSchema, InputPreparationResidualValueClassSchema, InputPreparationResidualKeySchema, InputPreparationProjectionSchema, InputPreparationToolImplementationKindSchema, InputPreparationArtifactSummarySchema, InputPreparationBindingSchema, InputPreparationReceiptSummarySchema, InputPreparationReferenceSchema, InputPreparationOfferBindingSchema, InputPreparationRejectionReasonSchema, } from './input-preparation';
19
- export type { InputPreparationPermissionMode, InputPreparationSource, InputPreparationModel, InputPreparationOptions, InputPreparationSelection, InputPreparationMessage, InputPreparationContextDocument, InputPreparationState, InputPreparationReadinessReason, InputPreparationAccountingPolicyRef, InputPreparationResidualValueClass, InputPreparationRuntimeIdentity, InputPreparationReceiptSummary, InputPreparationOfferBinding, InputPreparationRejectionReason, } from './input-preparation';
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';
20
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';
21
21
  export type { AgentMemoryProjectionGrantRef, AgentMemoryProjectionSessionRef, AgentMemoryProjectionWriterEpoch, AgentMemoryProjectionSourceSeq, AgentMemoryProjectionSnapshot, AgentMemoryProjectionMeteringReceipt, AgentMemoryProjectionMutation, AgentMemoryProjectionReceipt, AgentMemoryProjectionEraseResult, } from './agent-memory-projection';
22
22
  export { HOST_MCP_TASK_CONTEXT_CAPABILITY } from './task-assertion';
@@ -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, 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, 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, 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';
29
29
  export { EnvelopeSchema, isServerToDaemonType } from './envelope';
30
30
  export type { Envelope } from './envelope';
31
31
  export { ProtocolError, EnvelopeParseError, UnknownMessageTypeError, EnvelopeValidationError, } from './errors';