@google/gemini-cli 0.2.0-preview.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/google-gemini-cli-0.2.0-preview.2.tgz +0 -0
  2. package/dist/package.json +2 -2
  3. package/dist/src/generated/git-commit.d.ts +2 -2
  4. package/dist/src/generated/git-commit.js +2 -2
  5. package/dist/src/generated/git-commit.js.map +1 -1
  6. package/dist/src/ui/commands/setupGithubCommand.d.ts +2 -0
  7. package/dist/src/ui/commands/setupGithubCommand.js +47 -8
  8. package/dist/src/ui/commands/setupGithubCommand.js.map +1 -1
  9. package/dist/src/ui/commands/setupGithubCommand.test.js +100 -7
  10. package/dist/src/ui/commands/setupGithubCommand.test.js.map +1 -1
  11. package/dist/src/ui/contexts/KeypressContext.js +23 -1
  12. package/dist/src/ui/contexts/KeypressContext.js.map +1 -1
  13. package/dist/src/ui/contexts/KeypressContext.test.js +58 -2
  14. package/dist/src/ui/contexts/KeypressContext.test.js.map +1 -1
  15. package/dist/src/ui/hooks/atCommandProcessor.js +0 -2
  16. package/dist/src/ui/hooks/atCommandProcessor.js.map +1 -1
  17. package/dist/src/ui/hooks/atCommandProcessor.test.js +21 -6
  18. package/dist/src/ui/hooks/atCommandProcessor.test.js.map +1 -1
  19. package/dist/src/ui/hooks/useGeminiStream.js +2 -0
  20. package/dist/src/ui/hooks/useGeminiStream.js.map +1 -1
  21. package/dist/src/ui/utils/platformConstants.d.ts +2 -0
  22. package/dist/src/ui/utils/platformConstants.js +2 -0
  23. package/dist/src/ui/utils/platformConstants.js.map +1 -1
  24. package/dist/src/zed-integration/schema.d.ts +422 -319
  25. package/dist/src/zed-integration/schema.js +7 -1
  26. package/dist/src/zed-integration/schema.js.map +1 -1
  27. package/dist/src/zed-integration/zedIntegration.js +181 -137
  28. package/dist/src/zed-integration/zedIntegration.js.map +1 -1
  29. package/dist/tsconfig.tsbuildinfo +1 -1
  30. package/package.json +3 -3
@@ -47,6 +47,7 @@ export type EnvVariable = z.infer<typeof envVariableSchema>;
47
47
  export type McpServer = z.infer<typeof mcpServerSchema>;
48
48
  export type AgentCapabilities = z.infer<typeof agentCapabilitiesSchema>;
49
49
  export type AuthMethod = z.infer<typeof authMethodSchema>;
50
+ export type PromptCapabilities = z.infer<typeof promptCapabilitiesSchema>;
50
51
  export type ClientResponse = z.infer<typeof clientResponseSchema>;
51
52
  export type ClientNotification = z.infer<typeof clientNotificationSchema>;
52
53
  export type EmbeddedResourceResource = z.infer<typeof embeddedResourceResourceSchema>;
@@ -312,12 +313,48 @@ export declare const mcpServerSchema: z.ZodObject<{
312
313
  value: string;
313
314
  }[];
314
315
  }>;
316
+ export declare const promptCapabilitiesSchema: z.ZodObject<{
317
+ audio: z.ZodOptional<z.ZodBoolean>;
318
+ embeddedContext: z.ZodOptional<z.ZodBoolean>;
319
+ image: z.ZodOptional<z.ZodBoolean>;
320
+ }, "strip", z.ZodTypeAny, {
321
+ audio?: boolean | undefined;
322
+ image?: boolean | undefined;
323
+ embeddedContext?: boolean | undefined;
324
+ }, {
325
+ audio?: boolean | undefined;
326
+ image?: boolean | undefined;
327
+ embeddedContext?: boolean | undefined;
328
+ }>;
315
329
  export declare const agentCapabilitiesSchema: z.ZodObject<{
316
- loadSession: z.ZodBoolean;
330
+ loadSession: z.ZodOptional<z.ZodBoolean>;
331
+ promptCapabilities: z.ZodOptional<z.ZodObject<{
332
+ audio: z.ZodOptional<z.ZodBoolean>;
333
+ embeddedContext: z.ZodOptional<z.ZodBoolean>;
334
+ image: z.ZodOptional<z.ZodBoolean>;
335
+ }, "strip", z.ZodTypeAny, {
336
+ audio?: boolean | undefined;
337
+ image?: boolean | undefined;
338
+ embeddedContext?: boolean | undefined;
339
+ }, {
340
+ audio?: boolean | undefined;
341
+ image?: boolean | undefined;
342
+ embeddedContext?: boolean | undefined;
343
+ }>>;
317
344
  }, "strip", z.ZodTypeAny, {
318
- loadSession: boolean;
345
+ loadSession?: boolean | undefined;
346
+ promptCapabilities?: {
347
+ audio?: boolean | undefined;
348
+ image?: boolean | undefined;
349
+ embeddedContext?: boolean | undefined;
350
+ } | undefined;
319
351
  }, {
320
- loadSession: boolean;
352
+ loadSession?: boolean | undefined;
353
+ promptCapabilities?: {
354
+ audio?: boolean | undefined;
355
+ image?: boolean | undefined;
356
+ embeddedContext?: boolean | undefined;
357
+ } | undefined;
321
358
  }>;
322
359
  export declare const authMethodSchema: z.ZodObject<{
323
360
  description: z.ZodNullable<z.ZodString>;
@@ -519,11 +556,34 @@ export declare const loadSessionRequestSchema: z.ZodObject<{
519
556
  }>;
520
557
  export declare const initializeResponseSchema: z.ZodObject<{
521
558
  agentCapabilities: z.ZodObject<{
522
- loadSession: z.ZodBoolean;
559
+ loadSession: z.ZodOptional<z.ZodBoolean>;
560
+ promptCapabilities: z.ZodOptional<z.ZodObject<{
561
+ audio: z.ZodOptional<z.ZodBoolean>;
562
+ embeddedContext: z.ZodOptional<z.ZodBoolean>;
563
+ image: z.ZodOptional<z.ZodBoolean>;
564
+ }, "strip", z.ZodTypeAny, {
565
+ audio?: boolean | undefined;
566
+ image?: boolean | undefined;
567
+ embeddedContext?: boolean | undefined;
568
+ }, {
569
+ audio?: boolean | undefined;
570
+ image?: boolean | undefined;
571
+ embeddedContext?: boolean | undefined;
572
+ }>>;
523
573
  }, "strip", z.ZodTypeAny, {
524
- loadSession: boolean;
574
+ loadSession?: boolean | undefined;
575
+ promptCapabilities?: {
576
+ audio?: boolean | undefined;
577
+ image?: boolean | undefined;
578
+ embeddedContext?: boolean | undefined;
579
+ } | undefined;
525
580
  }, {
526
- loadSession: boolean;
581
+ loadSession?: boolean | undefined;
582
+ promptCapabilities?: {
583
+ audio?: boolean | undefined;
584
+ image?: boolean | undefined;
585
+ embeddedContext?: boolean | undefined;
586
+ } | undefined;
527
587
  }>;
528
588
  authMethods: z.ZodArray<z.ZodObject<{
529
589
  description: z.ZodNullable<z.ZodString>;
@@ -541,7 +601,12 @@ export declare const initializeResponseSchema: z.ZodObject<{
541
601
  protocolVersion: z.ZodNumber;
542
602
  }, "strip", z.ZodTypeAny, {
543
603
  agentCapabilities: {
544
- loadSession: boolean;
604
+ loadSession?: boolean | undefined;
605
+ promptCapabilities?: {
606
+ audio?: boolean | undefined;
607
+ image?: boolean | undefined;
608
+ embeddedContext?: boolean | undefined;
609
+ } | undefined;
545
610
  };
546
611
  authMethods: {
547
612
  id: string;
@@ -551,7 +616,12 @@ export declare const initializeResponseSchema: z.ZodObject<{
551
616
  protocolVersion: number;
552
617
  }, {
553
618
  agentCapabilities: {
554
- loadSession: boolean;
619
+ loadSession?: boolean | undefined;
620
+ promptCapabilities?: {
621
+ audio?: boolean | undefined;
622
+ image?: boolean | undefined;
623
+ embeddedContext?: boolean | undefined;
624
+ } | undefined;
555
625
  };
556
626
  authMethods: {
557
627
  id: string;
@@ -610,8 +680,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
610
680
  mimeType: z.ZodString;
611
681
  type: z.ZodLiteral<"image">;
612
682
  }, "strip", z.ZodTypeAny, {
613
- data: string;
614
683
  type: "image";
684
+ data: string;
615
685
  mimeType: string;
616
686
  annotations?: {
617
687
  priority?: number | null | undefined;
@@ -619,8 +689,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
619
689
  lastModified?: string | null | undefined;
620
690
  } | null | undefined;
621
691
  }, {
622
- data: string;
623
692
  type: "image";
693
+ data: string;
624
694
  mimeType: string;
625
695
  annotations?: {
626
696
  priority?: number | null | undefined;
@@ -645,8 +715,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
645
715
  mimeType: z.ZodString;
646
716
  type: z.ZodLiteral<"audio">;
647
717
  }, "strip", z.ZodTypeAny, {
648
- data: string;
649
718
  type: "audio";
719
+ data: string;
650
720
  mimeType: string;
651
721
  annotations?: {
652
722
  priority?: number | null | undefined;
@@ -654,8 +724,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
654
724
  lastModified?: string | null | undefined;
655
725
  } | null | undefined;
656
726
  }, {
657
- data: string;
658
727
  type: "audio";
728
+ data: string;
659
729
  mimeType: string;
660
730
  annotations?: {
661
731
  priority?: number | null | undefined;
@@ -833,8 +903,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
833
903
  mimeType: z.ZodString;
834
904
  type: z.ZodLiteral<"image">;
835
905
  }, "strip", z.ZodTypeAny, {
836
- data: string;
837
906
  type: "image";
907
+ data: string;
838
908
  mimeType: string;
839
909
  annotations?: {
840
910
  priority?: number | null | undefined;
@@ -842,8 +912,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
842
912
  lastModified?: string | null | undefined;
843
913
  } | null | undefined;
844
914
  }, {
845
- data: string;
846
915
  type: "image";
916
+ data: string;
847
917
  mimeType: string;
848
918
  annotations?: {
849
919
  priority?: number | null | undefined;
@@ -868,8 +938,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
868
938
  mimeType: z.ZodString;
869
939
  type: z.ZodLiteral<"audio">;
870
940
  }, "strip", z.ZodTypeAny, {
871
- data: string;
872
941
  type: "audio";
942
+ data: string;
873
943
  mimeType: string;
874
944
  annotations?: {
875
945
  priority?: number | null | undefined;
@@ -877,8 +947,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
877
947
  lastModified?: string | null | undefined;
878
948
  } | null | undefined;
879
949
  }, {
880
- data: string;
881
950
  type: "audio";
951
+ data: string;
882
952
  mimeType: string;
883
953
  annotations?: {
884
954
  priority?: number | null | undefined;
@@ -1007,6 +1077,7 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1007
1077
  }>]>;
1008
1078
  type: z.ZodLiteral<"content">;
1009
1079
  }, "strip", z.ZodTypeAny, {
1080
+ type: "content";
1010
1081
  content: {
1011
1082
  text: string;
1012
1083
  type: "text";
@@ -1016,8 +1087,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1016
1087
  lastModified?: string | null | undefined;
1017
1088
  } | null | undefined;
1018
1089
  } | {
1019
- data: string;
1020
1090
  type: "image";
1091
+ data: string;
1021
1092
  mimeType: string;
1022
1093
  annotations?: {
1023
1094
  priority?: number | null | undefined;
@@ -1025,8 +1096,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1025
1096
  lastModified?: string | null | undefined;
1026
1097
  } | null | undefined;
1027
1098
  } | {
1028
- data: string;
1029
1099
  type: "audio";
1100
+ data: string;
1030
1101
  mimeType: string;
1031
1102
  annotations?: {
1032
1103
  priority?: number | null | undefined;
@@ -1063,8 +1134,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1063
1134
  lastModified?: string | null | undefined;
1064
1135
  } | null | undefined;
1065
1136
  };
1066
- type: "content";
1067
1137
  }, {
1138
+ type: "content";
1068
1139
  content: {
1069
1140
  text: string;
1070
1141
  type: "text";
@@ -1074,8 +1145,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1074
1145
  lastModified?: string | null | undefined;
1075
1146
  } | null | undefined;
1076
1147
  } | {
1077
- data: string;
1078
1148
  type: "image";
1149
+ data: string;
1079
1150
  mimeType: string;
1080
1151
  annotations?: {
1081
1152
  priority?: number | null | undefined;
@@ -1083,8 +1154,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1083
1154
  lastModified?: string | null | undefined;
1084
1155
  } | null | undefined;
1085
1156
  } | {
1086
- data: string;
1087
1157
  type: "audio";
1158
+ data: string;
1088
1159
  mimeType: string;
1089
1160
  annotations?: {
1090
1161
  priority?: number | null | undefined;
@@ -1121,7 +1192,6 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1121
1192
  lastModified?: string | null | undefined;
1122
1193
  } | null | undefined;
1123
1194
  };
1124
- type: "content";
1125
1195
  }>, z.ZodObject<{
1126
1196
  newText: z.ZodString;
1127
1197
  oldText: z.ZodNullable<z.ZodString>;
@@ -1190,8 +1260,8 @@ export declare const toolCallSchema: z.ZodObject<{
1190
1260
  mimeType: z.ZodString;
1191
1261
  type: z.ZodLiteral<"image">;
1192
1262
  }, "strip", z.ZodTypeAny, {
1193
- data: string;
1194
1263
  type: "image";
1264
+ data: string;
1195
1265
  mimeType: string;
1196
1266
  annotations?: {
1197
1267
  priority?: number | null | undefined;
@@ -1199,8 +1269,8 @@ export declare const toolCallSchema: z.ZodObject<{
1199
1269
  lastModified?: string | null | undefined;
1200
1270
  } | null | undefined;
1201
1271
  }, {
1202
- data: string;
1203
1272
  type: "image";
1273
+ data: string;
1204
1274
  mimeType: string;
1205
1275
  annotations?: {
1206
1276
  priority?: number | null | undefined;
@@ -1225,8 +1295,8 @@ export declare const toolCallSchema: z.ZodObject<{
1225
1295
  mimeType: z.ZodString;
1226
1296
  type: z.ZodLiteral<"audio">;
1227
1297
  }, "strip", z.ZodTypeAny, {
1228
- data: string;
1229
1298
  type: "audio";
1299
+ data: string;
1230
1300
  mimeType: string;
1231
1301
  annotations?: {
1232
1302
  priority?: number | null | undefined;
@@ -1234,8 +1304,8 @@ export declare const toolCallSchema: z.ZodObject<{
1234
1304
  lastModified?: string | null | undefined;
1235
1305
  } | null | undefined;
1236
1306
  }, {
1237
- data: string;
1238
1307
  type: "audio";
1308
+ data: string;
1239
1309
  mimeType: string;
1240
1310
  annotations?: {
1241
1311
  priority?: number | null | undefined;
@@ -1364,6 +1434,7 @@ export declare const toolCallSchema: z.ZodObject<{
1364
1434
  }>]>;
1365
1435
  type: z.ZodLiteral<"content">;
1366
1436
  }, "strip", z.ZodTypeAny, {
1437
+ type: "content";
1367
1438
  content: {
1368
1439
  text: string;
1369
1440
  type: "text";
@@ -1373,8 +1444,8 @@ export declare const toolCallSchema: z.ZodObject<{
1373
1444
  lastModified?: string | null | undefined;
1374
1445
  } | null | undefined;
1375
1446
  } | {
1376
- data: string;
1377
1447
  type: "image";
1448
+ data: string;
1378
1449
  mimeType: string;
1379
1450
  annotations?: {
1380
1451
  priority?: number | null | undefined;
@@ -1382,8 +1453,8 @@ export declare const toolCallSchema: z.ZodObject<{
1382
1453
  lastModified?: string | null | undefined;
1383
1454
  } | null | undefined;
1384
1455
  } | {
1385
- data: string;
1386
1456
  type: "audio";
1457
+ data: string;
1387
1458
  mimeType: string;
1388
1459
  annotations?: {
1389
1460
  priority?: number | null | undefined;
@@ -1420,8 +1491,8 @@ export declare const toolCallSchema: z.ZodObject<{
1420
1491
  lastModified?: string | null | undefined;
1421
1492
  } | null | undefined;
1422
1493
  };
1423
- type: "content";
1424
1494
  }, {
1495
+ type: "content";
1425
1496
  content: {
1426
1497
  text: string;
1427
1498
  type: "text";
@@ -1431,8 +1502,8 @@ export declare const toolCallSchema: z.ZodObject<{
1431
1502
  lastModified?: string | null | undefined;
1432
1503
  } | null | undefined;
1433
1504
  } | {
1434
- data: string;
1435
1505
  type: "image";
1506
+ data: string;
1436
1507
  mimeType: string;
1437
1508
  annotations?: {
1438
1509
  priority?: number | null | undefined;
@@ -1440,8 +1511,8 @@ export declare const toolCallSchema: z.ZodObject<{
1440
1511
  lastModified?: string | null | undefined;
1441
1512
  } | null | undefined;
1442
1513
  } | {
1443
- data: string;
1444
1514
  type: "audio";
1515
+ data: string;
1445
1516
  mimeType: string;
1446
1517
  annotations?: {
1447
1518
  priority?: number | null | undefined;
@@ -1478,7 +1549,6 @@ export declare const toolCallSchema: z.ZodObject<{
1478
1549
  lastModified?: string | null | undefined;
1479
1550
  } | null | undefined;
1480
1551
  };
1481
- type: "content";
1482
1552
  }>, z.ZodObject<{
1483
1553
  newText: z.ZodString;
1484
1554
  oldText: z.ZodNullable<z.ZodString>;
@@ -1516,6 +1586,7 @@ export declare const toolCallSchema: z.ZodObject<{
1516
1586
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
1517
1587
  toolCallId: string;
1518
1588
  content?: ({
1589
+ type: "content";
1519
1590
  content: {
1520
1591
  text: string;
1521
1592
  type: "text";
@@ -1525,8 +1596,8 @@ export declare const toolCallSchema: z.ZodObject<{
1525
1596
  lastModified?: string | null | undefined;
1526
1597
  } | null | undefined;
1527
1598
  } | {
1528
- data: string;
1529
1599
  type: "image";
1600
+ data: string;
1530
1601
  mimeType: string;
1531
1602
  annotations?: {
1532
1603
  priority?: number | null | undefined;
@@ -1534,8 +1605,8 @@ export declare const toolCallSchema: z.ZodObject<{
1534
1605
  lastModified?: string | null | undefined;
1535
1606
  } | null | undefined;
1536
1607
  } | {
1537
- data: string;
1538
1608
  type: "audio";
1609
+ data: string;
1539
1610
  mimeType: string;
1540
1611
  annotations?: {
1541
1612
  priority?: number | null | undefined;
@@ -1572,7 +1643,6 @@ export declare const toolCallSchema: z.ZodObject<{
1572
1643
  lastModified?: string | null | undefined;
1573
1644
  } | null | undefined;
1574
1645
  };
1575
- type: "content";
1576
1646
  } | {
1577
1647
  type: "diff";
1578
1648
  path: string;
@@ -1590,6 +1660,7 @@ export declare const toolCallSchema: z.ZodObject<{
1590
1660
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
1591
1661
  toolCallId: string;
1592
1662
  content?: ({
1663
+ type: "content";
1593
1664
  content: {
1594
1665
  text: string;
1595
1666
  type: "text";
@@ -1599,8 +1670,8 @@ export declare const toolCallSchema: z.ZodObject<{
1599
1670
  lastModified?: string | null | undefined;
1600
1671
  } | null | undefined;
1601
1672
  } | {
1602
- data: string;
1603
1673
  type: "image";
1674
+ data: string;
1604
1675
  mimeType: string;
1605
1676
  annotations?: {
1606
1677
  priority?: number | null | undefined;
@@ -1608,8 +1679,8 @@ export declare const toolCallSchema: z.ZodObject<{
1608
1679
  lastModified?: string | null | undefined;
1609
1680
  } | null | undefined;
1610
1681
  } | {
1611
- data: string;
1612
1682
  type: "audio";
1683
+ data: string;
1613
1684
  mimeType: string;
1614
1685
  annotations?: {
1615
1686
  priority?: number | null | undefined;
@@ -1646,7 +1717,6 @@ export declare const toolCallSchema: z.ZodObject<{
1646
1717
  lastModified?: string | null | undefined;
1647
1718
  } | null | undefined;
1648
1719
  };
1649
- type: "content";
1650
1720
  } | {
1651
1721
  type: "diff";
1652
1722
  path: string;
@@ -1732,8 +1802,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1732
1802
  mimeType: z.ZodString;
1733
1803
  type: z.ZodLiteral<"image">;
1734
1804
  }, "strip", z.ZodTypeAny, {
1735
- data: string;
1736
1805
  type: "image";
1806
+ data: string;
1737
1807
  mimeType: string;
1738
1808
  annotations?: {
1739
1809
  priority?: number | null | undefined;
@@ -1741,8 +1811,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1741
1811
  lastModified?: string | null | undefined;
1742
1812
  } | null | undefined;
1743
1813
  }, {
1744
- data: string;
1745
1814
  type: "image";
1815
+ data: string;
1746
1816
  mimeType: string;
1747
1817
  annotations?: {
1748
1818
  priority?: number | null | undefined;
@@ -1767,8 +1837,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1767
1837
  mimeType: z.ZodString;
1768
1838
  type: z.ZodLiteral<"audio">;
1769
1839
  }, "strip", z.ZodTypeAny, {
1770
- data: string;
1771
1840
  type: "audio";
1841
+ data: string;
1772
1842
  mimeType: string;
1773
1843
  annotations?: {
1774
1844
  priority?: number | null | undefined;
@@ -1776,8 +1846,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1776
1846
  lastModified?: string | null | undefined;
1777
1847
  } | null | undefined;
1778
1848
  }, {
1779
- data: string;
1780
1849
  type: "audio";
1850
+ data: string;
1781
1851
  mimeType: string;
1782
1852
  annotations?: {
1783
1853
  priority?: number | null | undefined;
@@ -1916,8 +1986,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1916
1986
  lastModified?: string | null | undefined;
1917
1987
  } | null | undefined;
1918
1988
  } | {
1919
- data: string;
1920
1989
  type: "image";
1990
+ data: string;
1921
1991
  mimeType: string;
1922
1992
  annotations?: {
1923
1993
  priority?: number | null | undefined;
@@ -1925,8 +1995,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1925
1995
  lastModified?: string | null | undefined;
1926
1996
  } | null | undefined;
1927
1997
  } | {
1928
- data: string;
1929
1998
  type: "audio";
1999
+ data: string;
1930
2000
  mimeType: string;
1931
2001
  annotations?: {
1932
2002
  priority?: number | null | undefined;
@@ -1974,8 +2044,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1974
2044
  lastModified?: string | null | undefined;
1975
2045
  } | null | undefined;
1976
2046
  } | {
1977
- data: string;
1978
2047
  type: "image";
2048
+ data: string;
1979
2049
  mimeType: string;
1980
2050
  annotations?: {
1981
2051
  priority?: number | null | undefined;
@@ -1983,8 +2053,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1983
2053
  lastModified?: string | null | undefined;
1984
2054
  } | null | undefined;
1985
2055
  } | {
1986
- data: string;
1987
2056
  type: "audio";
2057
+ data: string;
1988
2058
  mimeType: string;
1989
2059
  annotations?: {
1990
2060
  priority?: number | null | undefined;
@@ -2073,8 +2143,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2073
2143
  mimeType: z.ZodString;
2074
2144
  type: z.ZodLiteral<"image">;
2075
2145
  }, "strip", z.ZodTypeAny, {
2076
- data: string;
2077
2146
  type: "image";
2147
+ data: string;
2078
2148
  mimeType: string;
2079
2149
  annotations?: {
2080
2150
  priority?: number | null | undefined;
@@ -2082,8 +2152,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2082
2152
  lastModified?: string | null | undefined;
2083
2153
  } | null | undefined;
2084
2154
  }, {
2085
- data: string;
2086
2155
  type: "image";
2156
+ data: string;
2087
2157
  mimeType: string;
2088
2158
  annotations?: {
2089
2159
  priority?: number | null | undefined;
@@ -2108,8 +2178,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2108
2178
  mimeType: z.ZodString;
2109
2179
  type: z.ZodLiteral<"audio">;
2110
2180
  }, "strip", z.ZodTypeAny, {
2111
- data: string;
2112
2181
  type: "audio";
2182
+ data: string;
2113
2183
  mimeType: string;
2114
2184
  annotations?: {
2115
2185
  priority?: number | null | undefined;
@@ -2117,8 +2187,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2117
2187
  lastModified?: string | null | undefined;
2118
2188
  } | null | undefined;
2119
2189
  }, {
2120
- data: string;
2121
2190
  type: "audio";
2191
+ data: string;
2122
2192
  mimeType: string;
2123
2193
  annotations?: {
2124
2194
  priority?: number | null | undefined;
@@ -2256,8 +2326,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2256
2326
  lastModified?: string | null | undefined;
2257
2327
  } | null | undefined;
2258
2328
  } | {
2259
- data: string;
2260
2329
  type: "image";
2330
+ data: string;
2261
2331
  mimeType: string;
2262
2332
  annotations?: {
2263
2333
  priority?: number | null | undefined;
@@ -2265,8 +2335,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2265
2335
  lastModified?: string | null | undefined;
2266
2336
  } | null | undefined;
2267
2337
  } | {
2268
- data: string;
2269
2338
  type: "audio";
2339
+ data: string;
2270
2340
  mimeType: string;
2271
2341
  annotations?: {
2272
2342
  priority?: number | null | undefined;
@@ -2314,8 +2384,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2314
2384
  lastModified?: string | null | undefined;
2315
2385
  } | null | undefined;
2316
2386
  } | {
2317
- data: string;
2318
2387
  type: "image";
2388
+ data: string;
2319
2389
  mimeType: string;
2320
2390
  annotations?: {
2321
2391
  priority?: number | null | undefined;
@@ -2323,8 +2393,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2323
2393
  lastModified?: string | null | undefined;
2324
2394
  } | null | undefined;
2325
2395
  } | {
2326
- data: string;
2327
2396
  type: "audio";
2397
+ data: string;
2328
2398
  mimeType: string;
2329
2399
  annotations?: {
2330
2400
  priority?: number | null | undefined;
@@ -2413,8 +2483,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2413
2483
  mimeType: z.ZodString;
2414
2484
  type: z.ZodLiteral<"image">;
2415
2485
  }, "strip", z.ZodTypeAny, {
2416
- data: string;
2417
2486
  type: "image";
2487
+ data: string;
2418
2488
  mimeType: string;
2419
2489
  annotations?: {
2420
2490
  priority?: number | null | undefined;
@@ -2422,8 +2492,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2422
2492
  lastModified?: string | null | undefined;
2423
2493
  } | null | undefined;
2424
2494
  }, {
2425
- data: string;
2426
2495
  type: "image";
2496
+ data: string;
2427
2497
  mimeType: string;
2428
2498
  annotations?: {
2429
2499
  priority?: number | null | undefined;
@@ -2448,8 +2518,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2448
2518
  mimeType: z.ZodString;
2449
2519
  type: z.ZodLiteral<"audio">;
2450
2520
  }, "strip", z.ZodTypeAny, {
2451
- data: string;
2452
2521
  type: "audio";
2522
+ data: string;
2453
2523
  mimeType: string;
2454
2524
  annotations?: {
2455
2525
  priority?: number | null | undefined;
@@ -2457,8 +2527,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2457
2527
  lastModified?: string | null | undefined;
2458
2528
  } | null | undefined;
2459
2529
  }, {
2460
- data: string;
2461
2530
  type: "audio";
2531
+ data: string;
2462
2532
  mimeType: string;
2463
2533
  annotations?: {
2464
2534
  priority?: number | null | undefined;
@@ -2596,8 +2666,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2596
2666
  lastModified?: string | null | undefined;
2597
2667
  } | null | undefined;
2598
2668
  } | {
2599
- data: string;
2600
2669
  type: "image";
2670
+ data: string;
2601
2671
  mimeType: string;
2602
2672
  annotations?: {
2603
2673
  priority?: number | null | undefined;
@@ -2605,8 +2675,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2605
2675
  lastModified?: string | null | undefined;
2606
2676
  } | null | undefined;
2607
2677
  } | {
2608
- data: string;
2609
2678
  type: "audio";
2679
+ data: string;
2610
2680
  mimeType: string;
2611
2681
  annotations?: {
2612
2682
  priority?: number | null | undefined;
@@ -2654,8 +2724,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2654
2724
  lastModified?: string | null | undefined;
2655
2725
  } | null | undefined;
2656
2726
  } | {
2657
- data: string;
2658
2727
  type: "image";
2728
+ data: string;
2659
2729
  mimeType: string;
2660
2730
  annotations?: {
2661
2731
  priority?: number | null | undefined;
@@ -2663,8 +2733,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2663
2733
  lastModified?: string | null | undefined;
2664
2734
  } | null | undefined;
2665
2735
  } | {
2666
- data: string;
2667
2736
  type: "audio";
2737
+ data: string;
2668
2738
  mimeType: string;
2669
2739
  annotations?: {
2670
2740
  priority?: number | null | undefined;
@@ -2753,8 +2823,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2753
2823
  mimeType: z.ZodString;
2754
2824
  type: z.ZodLiteral<"image">;
2755
2825
  }, "strip", z.ZodTypeAny, {
2756
- data: string;
2757
2826
  type: "image";
2827
+ data: string;
2758
2828
  mimeType: string;
2759
2829
  annotations?: {
2760
2830
  priority?: number | null | undefined;
@@ -2762,8 +2832,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2762
2832
  lastModified?: string | null | undefined;
2763
2833
  } | null | undefined;
2764
2834
  }, {
2765
- data: string;
2766
2835
  type: "image";
2836
+ data: string;
2767
2837
  mimeType: string;
2768
2838
  annotations?: {
2769
2839
  priority?: number | null | undefined;
@@ -2788,8 +2858,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2788
2858
  mimeType: z.ZodString;
2789
2859
  type: z.ZodLiteral<"audio">;
2790
2860
  }, "strip", z.ZodTypeAny, {
2791
- data: string;
2792
2861
  type: "audio";
2862
+ data: string;
2793
2863
  mimeType: string;
2794
2864
  annotations?: {
2795
2865
  priority?: number | null | undefined;
@@ -2797,8 +2867,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2797
2867
  lastModified?: string | null | undefined;
2798
2868
  } | null | undefined;
2799
2869
  }, {
2800
- data: string;
2801
2870
  type: "audio";
2871
+ data: string;
2802
2872
  mimeType: string;
2803
2873
  annotations?: {
2804
2874
  priority?: number | null | undefined;
@@ -2936,8 +3006,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2936
3006
  lastModified?: string | null | undefined;
2937
3007
  } | null | undefined;
2938
3008
  } | {
2939
- data: string;
2940
3009
  type: "image";
3010
+ data: string;
2941
3011
  mimeType: string;
2942
3012
  annotations?: {
2943
3013
  priority?: number | null | undefined;
@@ -2945,8 +3015,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2945
3015
  lastModified?: string | null | undefined;
2946
3016
  } | null | undefined;
2947
3017
  } | {
2948
- data: string;
2949
3018
  type: "audio";
3019
+ data: string;
2950
3020
  mimeType: string;
2951
3021
  annotations?: {
2952
3022
  priority?: number | null | undefined;
@@ -2994,8 +3064,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2994
3064
  lastModified?: string | null | undefined;
2995
3065
  } | null | undefined;
2996
3066
  } | {
2997
- data: string;
2998
3067
  type: "image";
3068
+ data: string;
2999
3069
  mimeType: string;
3000
3070
  annotations?: {
3001
3071
  priority?: number | null | undefined;
@@ -3003,8 +3073,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3003
3073
  lastModified?: string | null | undefined;
3004
3074
  } | null | undefined;
3005
3075
  } | {
3006
- data: string;
3007
3076
  type: "audio";
3077
+ data: string;
3008
3078
  mimeType: string;
3009
3079
  annotations?: {
3010
3080
  priority?: number | null | undefined;
@@ -3094,8 +3164,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3094
3164
  mimeType: z.ZodString;
3095
3165
  type: z.ZodLiteral<"image">;
3096
3166
  }, "strip", z.ZodTypeAny, {
3097
- data: string;
3098
3167
  type: "image";
3168
+ data: string;
3099
3169
  mimeType: string;
3100
3170
  annotations?: {
3101
3171
  priority?: number | null | undefined;
@@ -3103,8 +3173,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3103
3173
  lastModified?: string | null | undefined;
3104
3174
  } | null | undefined;
3105
3175
  }, {
3106
- data: string;
3107
3176
  type: "image";
3177
+ data: string;
3108
3178
  mimeType: string;
3109
3179
  annotations?: {
3110
3180
  priority?: number | null | undefined;
@@ -3129,8 +3199,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3129
3199
  mimeType: z.ZodString;
3130
3200
  type: z.ZodLiteral<"audio">;
3131
3201
  }, "strip", z.ZodTypeAny, {
3132
- data: string;
3133
3202
  type: "audio";
3203
+ data: string;
3134
3204
  mimeType: string;
3135
3205
  annotations?: {
3136
3206
  priority?: number | null | undefined;
@@ -3138,8 +3208,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3138
3208
  lastModified?: string | null | undefined;
3139
3209
  } | null | undefined;
3140
3210
  }, {
3141
- data: string;
3142
3211
  type: "audio";
3212
+ data: string;
3143
3213
  mimeType: string;
3144
3214
  annotations?: {
3145
3215
  priority?: number | null | undefined;
@@ -3268,6 +3338,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3268
3338
  }>]>;
3269
3339
  type: z.ZodLiteral<"content">;
3270
3340
  }, "strip", z.ZodTypeAny, {
3341
+ type: "content";
3271
3342
  content: {
3272
3343
  text: string;
3273
3344
  type: "text";
@@ -3277,8 +3348,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3277
3348
  lastModified?: string | null | undefined;
3278
3349
  } | null | undefined;
3279
3350
  } | {
3280
- data: string;
3281
3351
  type: "image";
3352
+ data: string;
3282
3353
  mimeType: string;
3283
3354
  annotations?: {
3284
3355
  priority?: number | null | undefined;
@@ -3286,8 +3357,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3286
3357
  lastModified?: string | null | undefined;
3287
3358
  } | null | undefined;
3288
3359
  } | {
3289
- data: string;
3290
3360
  type: "audio";
3361
+ data: string;
3291
3362
  mimeType: string;
3292
3363
  annotations?: {
3293
3364
  priority?: number | null | undefined;
@@ -3324,8 +3395,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3324
3395
  lastModified?: string | null | undefined;
3325
3396
  } | null | undefined;
3326
3397
  };
3327
- type: "content";
3328
3398
  }, {
3399
+ type: "content";
3329
3400
  content: {
3330
3401
  text: string;
3331
3402
  type: "text";
@@ -3335,8 +3406,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3335
3406
  lastModified?: string | null | undefined;
3336
3407
  } | null | undefined;
3337
3408
  } | {
3338
- data: string;
3339
3409
  type: "image";
3410
+ data: string;
3340
3411
  mimeType: string;
3341
3412
  annotations?: {
3342
3413
  priority?: number | null | undefined;
@@ -3344,8 +3415,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3344
3415
  lastModified?: string | null | undefined;
3345
3416
  } | null | undefined;
3346
3417
  } | {
3347
- data: string;
3348
3418
  type: "audio";
3419
+ data: string;
3349
3420
  mimeType: string;
3350
3421
  annotations?: {
3351
3422
  priority?: number | null | undefined;
@@ -3382,7 +3453,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3382
3453
  lastModified?: string | null | undefined;
3383
3454
  } | null | undefined;
3384
3455
  };
3385
- type: "content";
3386
3456
  }>, z.ZodObject<{
3387
3457
  newText: z.ZodString;
3388
3458
  oldText: z.ZodNullable<z.ZodString>;
@@ -3422,6 +3492,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3422
3492
  toolCallId: string;
3423
3493
  sessionUpdate: "tool_call";
3424
3494
  content?: ({
3495
+ type: "content";
3425
3496
  content: {
3426
3497
  text: string;
3427
3498
  type: "text";
@@ -3431,8 +3502,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3431
3502
  lastModified?: string | null | undefined;
3432
3503
  } | null | undefined;
3433
3504
  } | {
3434
- data: string;
3435
3505
  type: "image";
3506
+ data: string;
3436
3507
  mimeType: string;
3437
3508
  annotations?: {
3438
3509
  priority?: number | null | undefined;
@@ -3440,8 +3511,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3440
3511
  lastModified?: string | null | undefined;
3441
3512
  } | null | undefined;
3442
3513
  } | {
3443
- data: string;
3444
3514
  type: "audio";
3515
+ data: string;
3445
3516
  mimeType: string;
3446
3517
  annotations?: {
3447
3518
  priority?: number | null | undefined;
@@ -3478,7 +3549,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3478
3549
  lastModified?: string | null | undefined;
3479
3550
  } | null | undefined;
3480
3551
  };
3481
- type: "content";
3482
3552
  } | {
3483
3553
  type: "diff";
3484
3554
  path: string;
@@ -3497,6 +3567,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3497
3567
  toolCallId: string;
3498
3568
  sessionUpdate: "tool_call";
3499
3569
  content?: ({
3570
+ type: "content";
3500
3571
  content: {
3501
3572
  text: string;
3502
3573
  type: "text";
@@ -3506,8 +3577,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3506
3577
  lastModified?: string | null | undefined;
3507
3578
  } | null | undefined;
3508
3579
  } | {
3509
- data: string;
3510
3580
  type: "image";
3581
+ data: string;
3511
3582
  mimeType: string;
3512
3583
  annotations?: {
3513
3584
  priority?: number | null | undefined;
@@ -3515,8 +3586,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3515
3586
  lastModified?: string | null | undefined;
3516
3587
  } | null | undefined;
3517
3588
  } | {
3518
- data: string;
3519
3589
  type: "audio";
3590
+ data: string;
3520
3591
  mimeType: string;
3521
3592
  annotations?: {
3522
3593
  priority?: number | null | undefined;
@@ -3553,7 +3624,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3553
3624
  lastModified?: string | null | undefined;
3554
3625
  } | null | undefined;
3555
3626
  };
3556
- type: "content";
3557
3627
  } | {
3558
3628
  type: "diff";
3559
3629
  path: string;
@@ -3617,8 +3687,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3617
3687
  mimeType: z.ZodString;
3618
3688
  type: z.ZodLiteral<"image">;
3619
3689
  }, "strip", z.ZodTypeAny, {
3620
- data: string;
3621
3690
  type: "image";
3691
+ data: string;
3622
3692
  mimeType: string;
3623
3693
  annotations?: {
3624
3694
  priority?: number | null | undefined;
@@ -3626,8 +3696,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3626
3696
  lastModified?: string | null | undefined;
3627
3697
  } | null | undefined;
3628
3698
  }, {
3629
- data: string;
3630
3699
  type: "image";
3700
+ data: string;
3631
3701
  mimeType: string;
3632
3702
  annotations?: {
3633
3703
  priority?: number | null | undefined;
@@ -3652,8 +3722,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3652
3722
  mimeType: z.ZodString;
3653
3723
  type: z.ZodLiteral<"audio">;
3654
3724
  }, "strip", z.ZodTypeAny, {
3655
- data: string;
3656
3725
  type: "audio";
3726
+ data: string;
3657
3727
  mimeType: string;
3658
3728
  annotations?: {
3659
3729
  priority?: number | null | undefined;
@@ -3661,8 +3731,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3661
3731
  lastModified?: string | null | undefined;
3662
3732
  } | null | undefined;
3663
3733
  }, {
3664
- data: string;
3665
3734
  type: "audio";
3735
+ data: string;
3666
3736
  mimeType: string;
3667
3737
  annotations?: {
3668
3738
  priority?: number | null | undefined;
@@ -3791,6 +3861,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3791
3861
  }>]>;
3792
3862
  type: z.ZodLiteral<"content">;
3793
3863
  }, "strip", z.ZodTypeAny, {
3864
+ type: "content";
3794
3865
  content: {
3795
3866
  text: string;
3796
3867
  type: "text";
@@ -3800,8 +3871,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3800
3871
  lastModified?: string | null | undefined;
3801
3872
  } | null | undefined;
3802
3873
  } | {
3803
- data: string;
3804
3874
  type: "image";
3875
+ data: string;
3805
3876
  mimeType: string;
3806
3877
  annotations?: {
3807
3878
  priority?: number | null | undefined;
@@ -3809,8 +3880,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3809
3880
  lastModified?: string | null | undefined;
3810
3881
  } | null | undefined;
3811
3882
  } | {
3812
- data: string;
3813
3883
  type: "audio";
3884
+ data: string;
3814
3885
  mimeType: string;
3815
3886
  annotations?: {
3816
3887
  priority?: number | null | undefined;
@@ -3847,8 +3918,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3847
3918
  lastModified?: string | null | undefined;
3848
3919
  } | null | undefined;
3849
3920
  };
3850
- type: "content";
3851
3921
  }, {
3922
+ type: "content";
3852
3923
  content: {
3853
3924
  text: string;
3854
3925
  type: "text";
@@ -3858,8 +3929,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3858
3929
  lastModified?: string | null | undefined;
3859
3930
  } | null | undefined;
3860
3931
  } | {
3861
- data: string;
3862
3932
  type: "image";
3933
+ data: string;
3863
3934
  mimeType: string;
3864
3935
  annotations?: {
3865
3936
  priority?: number | null | undefined;
@@ -3867,8 +3938,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3867
3938
  lastModified?: string | null | undefined;
3868
3939
  } | null | undefined;
3869
3940
  } | {
3870
- data: string;
3871
3941
  type: "audio";
3942
+ data: string;
3872
3943
  mimeType: string;
3873
3944
  annotations?: {
3874
3945
  priority?: number | null | undefined;
@@ -3905,7 +3976,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3905
3976
  lastModified?: string | null | undefined;
3906
3977
  } | null | undefined;
3907
3978
  };
3908
- type: "content";
3909
3979
  }>, z.ZodObject<{
3910
3980
  newText: z.ZodString;
3911
3981
  oldText: z.ZodNullable<z.ZodString>;
@@ -3942,6 +4012,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3942
4012
  toolCallId: string;
3943
4013
  sessionUpdate: "tool_call_update";
3944
4014
  content?: ({
4015
+ type: "content";
3945
4016
  content: {
3946
4017
  text: string;
3947
4018
  type: "text";
@@ -3951,8 +4022,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3951
4022
  lastModified?: string | null | undefined;
3952
4023
  } | null | undefined;
3953
4024
  } | {
3954
- data: string;
3955
4025
  type: "image";
4026
+ data: string;
3956
4027
  mimeType: string;
3957
4028
  annotations?: {
3958
4029
  priority?: number | null | undefined;
@@ -3960,8 +4031,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3960
4031
  lastModified?: string | null | undefined;
3961
4032
  } | null | undefined;
3962
4033
  } | {
3963
- data: string;
3964
4034
  type: "audio";
4035
+ data: string;
3965
4036
  mimeType: string;
3966
4037
  annotations?: {
3967
4038
  priority?: number | null | undefined;
@@ -3998,7 +4069,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3998
4069
  lastModified?: string | null | undefined;
3999
4070
  } | null | undefined;
4000
4071
  };
4001
- type: "content";
4002
4072
  } | {
4003
4073
  type: "diff";
4004
4074
  path: string;
@@ -4017,6 +4087,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4017
4087
  toolCallId: string;
4018
4088
  sessionUpdate: "tool_call_update";
4019
4089
  content?: ({
4090
+ type: "content";
4020
4091
  content: {
4021
4092
  text: string;
4022
4093
  type: "text";
@@ -4026,8 +4097,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4026
4097
  lastModified?: string | null | undefined;
4027
4098
  } | null | undefined;
4028
4099
  } | {
4029
- data: string;
4030
4100
  type: "image";
4101
+ data: string;
4031
4102
  mimeType: string;
4032
4103
  annotations?: {
4033
4104
  priority?: number | null | undefined;
@@ -4035,8 +4106,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4035
4106
  lastModified?: string | null | undefined;
4036
4107
  } | null | undefined;
4037
4108
  } | {
4038
- data: string;
4039
4109
  type: "audio";
4110
+ data: string;
4040
4111
  mimeType: string;
4041
4112
  annotations?: {
4042
4113
  priority?: number | null | undefined;
@@ -4073,7 +4144,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4073
4144
  lastModified?: string | null | undefined;
4074
4145
  } | null | undefined;
4075
4146
  };
4076
- type: "content";
4077
4147
  } | {
4078
4148
  type: "diff";
4079
4149
  path: string;
@@ -4120,11 +4190,34 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4120
4190
  }>]>;
4121
4191
  export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
4122
4192
  agentCapabilities: z.ZodObject<{
4123
- loadSession: z.ZodBoolean;
4193
+ loadSession: z.ZodOptional<z.ZodBoolean>;
4194
+ promptCapabilities: z.ZodOptional<z.ZodObject<{
4195
+ audio: z.ZodOptional<z.ZodBoolean>;
4196
+ embeddedContext: z.ZodOptional<z.ZodBoolean>;
4197
+ image: z.ZodOptional<z.ZodBoolean>;
4198
+ }, "strip", z.ZodTypeAny, {
4199
+ audio?: boolean | undefined;
4200
+ image?: boolean | undefined;
4201
+ embeddedContext?: boolean | undefined;
4202
+ }, {
4203
+ audio?: boolean | undefined;
4204
+ image?: boolean | undefined;
4205
+ embeddedContext?: boolean | undefined;
4206
+ }>>;
4124
4207
  }, "strip", z.ZodTypeAny, {
4125
- loadSession: boolean;
4208
+ loadSession?: boolean | undefined;
4209
+ promptCapabilities?: {
4210
+ audio?: boolean | undefined;
4211
+ image?: boolean | undefined;
4212
+ embeddedContext?: boolean | undefined;
4213
+ } | undefined;
4126
4214
  }, {
4127
- loadSession: boolean;
4215
+ loadSession?: boolean | undefined;
4216
+ promptCapabilities?: {
4217
+ audio?: boolean | undefined;
4218
+ image?: boolean | undefined;
4219
+ embeddedContext?: boolean | undefined;
4220
+ } | undefined;
4128
4221
  }>;
4129
4222
  authMethods: z.ZodArray<z.ZodObject<{
4130
4223
  description: z.ZodNullable<z.ZodString>;
@@ -4142,7 +4235,12 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
4142
4235
  protocolVersion: z.ZodNumber;
4143
4236
  }, "strip", z.ZodTypeAny, {
4144
4237
  agentCapabilities: {
4145
- loadSession: boolean;
4238
+ loadSession?: boolean | undefined;
4239
+ promptCapabilities?: {
4240
+ audio?: boolean | undefined;
4241
+ image?: boolean | undefined;
4242
+ embeddedContext?: boolean | undefined;
4243
+ } | undefined;
4146
4244
  };
4147
4245
  authMethods: {
4148
4246
  id: string;
@@ -4152,7 +4250,12 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
4152
4250
  protocolVersion: number;
4153
4251
  }, {
4154
4252
  agentCapabilities: {
4155
- loadSession: boolean;
4253
+ loadSession?: boolean | undefined;
4254
+ promptCapabilities?: {
4255
+ audio?: boolean | undefined;
4256
+ image?: boolean | undefined;
4257
+ embeddedContext?: boolean | undefined;
4258
+ } | undefined;
4156
4259
  };
4157
4260
  authMethods: {
4158
4261
  id: string;
@@ -4240,8 +4343,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4240
4343
  mimeType: z.ZodString;
4241
4344
  type: z.ZodLiteral<"image">;
4242
4345
  }, "strip", z.ZodTypeAny, {
4243
- data: string;
4244
4346
  type: "image";
4347
+ data: string;
4245
4348
  mimeType: string;
4246
4349
  annotations?: {
4247
4350
  priority?: number | null | undefined;
@@ -4249,8 +4352,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4249
4352
  lastModified?: string | null | undefined;
4250
4353
  } | null | undefined;
4251
4354
  }, {
4252
- data: string;
4253
4355
  type: "image";
4356
+ data: string;
4254
4357
  mimeType: string;
4255
4358
  annotations?: {
4256
4359
  priority?: number | null | undefined;
@@ -4275,8 +4378,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4275
4378
  mimeType: z.ZodString;
4276
4379
  type: z.ZodLiteral<"audio">;
4277
4380
  }, "strip", z.ZodTypeAny, {
4278
- data: string;
4279
4381
  type: "audio";
4382
+ data: string;
4280
4383
  mimeType: string;
4281
4384
  annotations?: {
4282
4385
  priority?: number | null | undefined;
@@ -4284,8 +4387,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4284
4387
  lastModified?: string | null | undefined;
4285
4388
  } | null | undefined;
4286
4389
  }, {
4287
- data: string;
4288
4390
  type: "audio";
4391
+ data: string;
4289
4392
  mimeType: string;
4290
4393
  annotations?: {
4291
4394
  priority?: number | null | undefined;
@@ -4414,6 +4517,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4414
4517
  }>]>;
4415
4518
  type: z.ZodLiteral<"content">;
4416
4519
  }, "strip", z.ZodTypeAny, {
4520
+ type: "content";
4417
4521
  content: {
4418
4522
  text: string;
4419
4523
  type: "text";
@@ -4423,8 +4527,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4423
4527
  lastModified?: string | null | undefined;
4424
4528
  } | null | undefined;
4425
4529
  } | {
4426
- data: string;
4427
4530
  type: "image";
4531
+ data: string;
4428
4532
  mimeType: string;
4429
4533
  annotations?: {
4430
4534
  priority?: number | null | undefined;
@@ -4432,8 +4536,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4432
4536
  lastModified?: string | null | undefined;
4433
4537
  } | null | undefined;
4434
4538
  } | {
4435
- data: string;
4436
4539
  type: "audio";
4540
+ data: string;
4437
4541
  mimeType: string;
4438
4542
  annotations?: {
4439
4543
  priority?: number | null | undefined;
@@ -4470,8 +4574,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4470
4574
  lastModified?: string | null | undefined;
4471
4575
  } | null | undefined;
4472
4576
  };
4473
- type: "content";
4474
4577
  }, {
4578
+ type: "content";
4475
4579
  content: {
4476
4580
  text: string;
4477
4581
  type: "text";
@@ -4481,8 +4585,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4481
4585
  lastModified?: string | null | undefined;
4482
4586
  } | null | undefined;
4483
4587
  } | {
4484
- data: string;
4485
4588
  type: "image";
4589
+ data: string;
4486
4590
  mimeType: string;
4487
4591
  annotations?: {
4488
4592
  priority?: number | null | undefined;
@@ -4490,8 +4594,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4490
4594
  lastModified?: string | null | undefined;
4491
4595
  } | null | undefined;
4492
4596
  } | {
4493
- data: string;
4494
4597
  type: "audio";
4598
+ data: string;
4495
4599
  mimeType: string;
4496
4600
  annotations?: {
4497
4601
  priority?: number | null | undefined;
@@ -4528,7 +4632,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4528
4632
  lastModified?: string | null | undefined;
4529
4633
  } | null | undefined;
4530
4634
  };
4531
- type: "content";
4532
4635
  }>, z.ZodObject<{
4533
4636
  newText: z.ZodString;
4534
4637
  oldText: z.ZodNullable<z.ZodString>;
@@ -4566,6 +4669,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4566
4669
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4567
4670
  toolCallId: string;
4568
4671
  content?: ({
4672
+ type: "content";
4569
4673
  content: {
4570
4674
  text: string;
4571
4675
  type: "text";
@@ -4575,8 +4679,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4575
4679
  lastModified?: string | null | undefined;
4576
4680
  } | null | undefined;
4577
4681
  } | {
4578
- data: string;
4579
4682
  type: "image";
4683
+ data: string;
4580
4684
  mimeType: string;
4581
4685
  annotations?: {
4582
4686
  priority?: number | null | undefined;
@@ -4584,8 +4688,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4584
4688
  lastModified?: string | null | undefined;
4585
4689
  } | null | undefined;
4586
4690
  } | {
4587
- data: string;
4588
4691
  type: "audio";
4692
+ data: string;
4589
4693
  mimeType: string;
4590
4694
  annotations?: {
4591
4695
  priority?: number | null | undefined;
@@ -4622,7 +4726,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4622
4726
  lastModified?: string | null | undefined;
4623
4727
  } | null | undefined;
4624
4728
  };
4625
- type: "content";
4626
4729
  } | {
4627
4730
  type: "diff";
4628
4731
  path: string;
@@ -4640,6 +4743,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4640
4743
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4641
4744
  toolCallId: string;
4642
4745
  content?: ({
4746
+ type: "content";
4643
4747
  content: {
4644
4748
  text: string;
4645
4749
  type: "text";
@@ -4649,8 +4753,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4649
4753
  lastModified?: string | null | undefined;
4650
4754
  } | null | undefined;
4651
4755
  } | {
4652
- data: string;
4653
4756
  type: "image";
4757
+ data: string;
4654
4758
  mimeType: string;
4655
4759
  annotations?: {
4656
4760
  priority?: number | null | undefined;
@@ -4658,8 +4762,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4658
4762
  lastModified?: string | null | undefined;
4659
4763
  } | null | undefined;
4660
4764
  } | {
4661
- data: string;
4662
4765
  type: "audio";
4766
+ data: string;
4663
4767
  mimeType: string;
4664
4768
  annotations?: {
4665
4769
  priority?: number | null | undefined;
@@ -4696,7 +4800,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4696
4800
  lastModified?: string | null | undefined;
4697
4801
  } | null | undefined;
4698
4802
  };
4699
- type: "content";
4700
4803
  } | {
4701
4804
  type: "diff";
4702
4805
  path: string;
@@ -4722,6 +4825,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4722
4825
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4723
4826
  toolCallId: string;
4724
4827
  content?: ({
4828
+ type: "content";
4725
4829
  content: {
4726
4830
  text: string;
4727
4831
  type: "text";
@@ -4731,8 +4835,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4731
4835
  lastModified?: string | null | undefined;
4732
4836
  } | null | undefined;
4733
4837
  } | {
4734
- data: string;
4735
4838
  type: "image";
4839
+ data: string;
4736
4840
  mimeType: string;
4737
4841
  annotations?: {
4738
4842
  priority?: number | null | undefined;
@@ -4740,8 +4844,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4740
4844
  lastModified?: string | null | undefined;
4741
4845
  } | null | undefined;
4742
4846
  } | {
4743
- data: string;
4744
4847
  type: "audio";
4848
+ data: string;
4745
4849
  mimeType: string;
4746
4850
  annotations?: {
4747
4851
  priority?: number | null | undefined;
@@ -4778,7 +4882,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4778
4882
  lastModified?: string | null | undefined;
4779
4883
  } | null | undefined;
4780
4884
  };
4781
- type: "content";
4782
4885
  } | {
4783
4886
  type: "diff";
4784
4887
  path: string;
@@ -4804,6 +4907,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4804
4907
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4805
4908
  toolCallId: string;
4806
4909
  content?: ({
4910
+ type: "content";
4807
4911
  content: {
4808
4912
  text: string;
4809
4913
  type: "text";
@@ -4813,8 +4917,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4813
4917
  lastModified?: string | null | undefined;
4814
4918
  } | null | undefined;
4815
4919
  } | {
4816
- data: string;
4817
4920
  type: "image";
4921
+ data: string;
4818
4922
  mimeType: string;
4819
4923
  annotations?: {
4820
4924
  priority?: number | null | undefined;
@@ -4822,8 +4926,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4822
4926
  lastModified?: string | null | undefined;
4823
4927
  } | null | undefined;
4824
4928
  } | {
4825
- data: string;
4826
4929
  type: "audio";
4930
+ data: string;
4827
4931
  mimeType: string;
4828
4932
  annotations?: {
4829
4933
  priority?: number | null | undefined;
@@ -4860,7 +4964,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4860
4964
  lastModified?: string | null | undefined;
4861
4965
  } | null | undefined;
4862
4966
  };
4863
- type: "content";
4864
4967
  } | {
4865
4968
  type: "diff";
4866
4969
  path: string;
@@ -4968,8 +5071,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
4968
5071
  mimeType: z.ZodString;
4969
5072
  type: z.ZodLiteral<"image">;
4970
5073
  }, "strip", z.ZodTypeAny, {
4971
- data: string;
4972
5074
  type: "image";
5075
+ data: string;
4973
5076
  mimeType: string;
4974
5077
  annotations?: {
4975
5078
  priority?: number | null | undefined;
@@ -4977,8 +5080,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
4977
5080
  lastModified?: string | null | undefined;
4978
5081
  } | null | undefined;
4979
5082
  }, {
4980
- data: string;
4981
5083
  type: "image";
5084
+ data: string;
4982
5085
  mimeType: string;
4983
5086
  annotations?: {
4984
5087
  priority?: number | null | undefined;
@@ -5003,8 +5106,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5003
5106
  mimeType: z.ZodString;
5004
5107
  type: z.ZodLiteral<"audio">;
5005
5108
  }, "strip", z.ZodTypeAny, {
5006
- data: string;
5007
5109
  type: "audio";
5110
+ data: string;
5008
5111
  mimeType: string;
5009
5112
  annotations?: {
5010
5113
  priority?: number | null | undefined;
@@ -5012,8 +5115,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5012
5115
  lastModified?: string | null | undefined;
5013
5116
  } | null | undefined;
5014
5117
  }, {
5015
- data: string;
5016
5118
  type: "audio";
5119
+ data: string;
5017
5120
  mimeType: string;
5018
5121
  annotations?: {
5019
5122
  priority?: number | null | undefined;
@@ -5151,8 +5254,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5151
5254
  lastModified?: string | null | undefined;
5152
5255
  } | null | undefined;
5153
5256
  } | {
5154
- data: string;
5155
5257
  type: "image";
5258
+ data: string;
5156
5259
  mimeType: string;
5157
5260
  annotations?: {
5158
5261
  priority?: number | null | undefined;
@@ -5160,8 +5263,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5160
5263
  lastModified?: string | null | undefined;
5161
5264
  } | null | undefined;
5162
5265
  } | {
5163
- data: string;
5164
5266
  type: "audio";
5267
+ data: string;
5165
5268
  mimeType: string;
5166
5269
  annotations?: {
5167
5270
  priority?: number | null | undefined;
@@ -5209,8 +5312,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5209
5312
  lastModified?: string | null | undefined;
5210
5313
  } | null | undefined;
5211
5314
  } | {
5212
- data: string;
5213
5315
  type: "image";
5316
+ data: string;
5214
5317
  mimeType: string;
5215
5318
  annotations?: {
5216
5319
  priority?: number | null | undefined;
@@ -5218,8 +5321,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5218
5321
  lastModified?: string | null | undefined;
5219
5322
  } | null | undefined;
5220
5323
  } | {
5221
- data: string;
5222
5324
  type: "audio";
5325
+ data: string;
5223
5326
  mimeType: string;
5224
5327
  annotations?: {
5225
5328
  priority?: number | null | undefined;
@@ -5308,8 +5411,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5308
5411
  mimeType: z.ZodString;
5309
5412
  type: z.ZodLiteral<"image">;
5310
5413
  }, "strip", z.ZodTypeAny, {
5311
- data: string;
5312
5414
  type: "image";
5415
+ data: string;
5313
5416
  mimeType: string;
5314
5417
  annotations?: {
5315
5418
  priority?: number | null | undefined;
@@ -5317,8 +5420,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5317
5420
  lastModified?: string | null | undefined;
5318
5421
  } | null | undefined;
5319
5422
  }, {
5320
- data: string;
5321
5423
  type: "image";
5424
+ data: string;
5322
5425
  mimeType: string;
5323
5426
  annotations?: {
5324
5427
  priority?: number | null | undefined;
@@ -5343,8 +5446,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5343
5446
  mimeType: z.ZodString;
5344
5447
  type: z.ZodLiteral<"audio">;
5345
5448
  }, "strip", z.ZodTypeAny, {
5346
- data: string;
5347
5449
  type: "audio";
5450
+ data: string;
5348
5451
  mimeType: string;
5349
5452
  annotations?: {
5350
5453
  priority?: number | null | undefined;
@@ -5352,8 +5455,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5352
5455
  lastModified?: string | null | undefined;
5353
5456
  } | null | undefined;
5354
5457
  }, {
5355
- data: string;
5356
5458
  type: "audio";
5459
+ data: string;
5357
5460
  mimeType: string;
5358
5461
  annotations?: {
5359
5462
  priority?: number | null | undefined;
@@ -5491,8 +5594,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5491
5594
  lastModified?: string | null | undefined;
5492
5595
  } | null | undefined;
5493
5596
  } | {
5494
- data: string;
5495
5597
  type: "image";
5598
+ data: string;
5496
5599
  mimeType: string;
5497
5600
  annotations?: {
5498
5601
  priority?: number | null | undefined;
@@ -5500,8 +5603,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5500
5603
  lastModified?: string | null | undefined;
5501
5604
  } | null | undefined;
5502
5605
  } | {
5503
- data: string;
5504
5606
  type: "audio";
5607
+ data: string;
5505
5608
  mimeType: string;
5506
5609
  annotations?: {
5507
5610
  priority?: number | null | undefined;
@@ -5549,8 +5652,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5549
5652
  lastModified?: string | null | undefined;
5550
5653
  } | null | undefined;
5551
5654
  } | {
5552
- data: string;
5553
5655
  type: "image";
5656
+ data: string;
5554
5657
  mimeType: string;
5555
5658
  annotations?: {
5556
5659
  priority?: number | null | undefined;
@@ -5558,8 +5661,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5558
5661
  lastModified?: string | null | undefined;
5559
5662
  } | null | undefined;
5560
5663
  } | {
5561
- data: string;
5562
5664
  type: "audio";
5665
+ data: string;
5563
5666
  mimeType: string;
5564
5667
  annotations?: {
5565
5668
  priority?: number | null | undefined;
@@ -5648,8 +5751,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5648
5751
  mimeType: z.ZodString;
5649
5752
  type: z.ZodLiteral<"image">;
5650
5753
  }, "strip", z.ZodTypeAny, {
5651
- data: string;
5652
5754
  type: "image";
5755
+ data: string;
5653
5756
  mimeType: string;
5654
5757
  annotations?: {
5655
5758
  priority?: number | null | undefined;
@@ -5657,8 +5760,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5657
5760
  lastModified?: string | null | undefined;
5658
5761
  } | null | undefined;
5659
5762
  }, {
5660
- data: string;
5661
5763
  type: "image";
5764
+ data: string;
5662
5765
  mimeType: string;
5663
5766
  annotations?: {
5664
5767
  priority?: number | null | undefined;
@@ -5683,8 +5786,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5683
5786
  mimeType: z.ZodString;
5684
5787
  type: z.ZodLiteral<"audio">;
5685
5788
  }, "strip", z.ZodTypeAny, {
5686
- data: string;
5687
5789
  type: "audio";
5790
+ data: string;
5688
5791
  mimeType: string;
5689
5792
  annotations?: {
5690
5793
  priority?: number | null | undefined;
@@ -5692,8 +5795,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5692
5795
  lastModified?: string | null | undefined;
5693
5796
  } | null | undefined;
5694
5797
  }, {
5695
- data: string;
5696
5798
  type: "audio";
5799
+ data: string;
5697
5800
  mimeType: string;
5698
5801
  annotations?: {
5699
5802
  priority?: number | null | undefined;
@@ -5831,8 +5934,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5831
5934
  lastModified?: string | null | undefined;
5832
5935
  } | null | undefined;
5833
5936
  } | {
5834
- data: string;
5835
5937
  type: "image";
5938
+ data: string;
5836
5939
  mimeType: string;
5837
5940
  annotations?: {
5838
5941
  priority?: number | null | undefined;
@@ -5840,8 +5943,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5840
5943
  lastModified?: string | null | undefined;
5841
5944
  } | null | undefined;
5842
5945
  } | {
5843
- data: string;
5844
5946
  type: "audio";
5947
+ data: string;
5845
5948
  mimeType: string;
5846
5949
  annotations?: {
5847
5950
  priority?: number | null | undefined;
@@ -5889,8 +5992,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5889
5992
  lastModified?: string | null | undefined;
5890
5993
  } | null | undefined;
5891
5994
  } | {
5892
- data: string;
5893
5995
  type: "image";
5996
+ data: string;
5894
5997
  mimeType: string;
5895
5998
  annotations?: {
5896
5999
  priority?: number | null | undefined;
@@ -5898,8 +6001,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5898
6001
  lastModified?: string | null | undefined;
5899
6002
  } | null | undefined;
5900
6003
  } | {
5901
- data: string;
5902
6004
  type: "audio";
6005
+ data: string;
5903
6006
  mimeType: string;
5904
6007
  annotations?: {
5905
6008
  priority?: number | null | undefined;
@@ -5989,8 +6092,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5989
6092
  mimeType: z.ZodString;
5990
6093
  type: z.ZodLiteral<"image">;
5991
6094
  }, "strip", z.ZodTypeAny, {
5992
- data: string;
5993
6095
  type: "image";
6096
+ data: string;
5994
6097
  mimeType: string;
5995
6098
  annotations?: {
5996
6099
  priority?: number | null | undefined;
@@ -5998,8 +6101,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5998
6101
  lastModified?: string | null | undefined;
5999
6102
  } | null | undefined;
6000
6103
  }, {
6001
- data: string;
6002
6104
  type: "image";
6105
+ data: string;
6003
6106
  mimeType: string;
6004
6107
  annotations?: {
6005
6108
  priority?: number | null | undefined;
@@ -6024,8 +6127,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6024
6127
  mimeType: z.ZodString;
6025
6128
  type: z.ZodLiteral<"audio">;
6026
6129
  }, "strip", z.ZodTypeAny, {
6027
- data: string;
6028
6130
  type: "audio";
6131
+ data: string;
6029
6132
  mimeType: string;
6030
6133
  annotations?: {
6031
6134
  priority?: number | null | undefined;
@@ -6033,8 +6136,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6033
6136
  lastModified?: string | null | undefined;
6034
6137
  } | null | undefined;
6035
6138
  }, {
6036
- data: string;
6037
6139
  type: "audio";
6140
+ data: string;
6038
6141
  mimeType: string;
6039
6142
  annotations?: {
6040
6143
  priority?: number | null | undefined;
@@ -6163,6 +6266,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6163
6266
  }>]>;
6164
6267
  type: z.ZodLiteral<"content">;
6165
6268
  }, "strip", z.ZodTypeAny, {
6269
+ type: "content";
6166
6270
  content: {
6167
6271
  text: string;
6168
6272
  type: "text";
@@ -6172,8 +6276,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6172
6276
  lastModified?: string | null | undefined;
6173
6277
  } | null | undefined;
6174
6278
  } | {
6175
- data: string;
6176
6279
  type: "image";
6280
+ data: string;
6177
6281
  mimeType: string;
6178
6282
  annotations?: {
6179
6283
  priority?: number | null | undefined;
@@ -6181,8 +6285,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6181
6285
  lastModified?: string | null | undefined;
6182
6286
  } | null | undefined;
6183
6287
  } | {
6184
- data: string;
6185
6288
  type: "audio";
6289
+ data: string;
6186
6290
  mimeType: string;
6187
6291
  annotations?: {
6188
6292
  priority?: number | null | undefined;
@@ -6219,8 +6323,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6219
6323
  lastModified?: string | null | undefined;
6220
6324
  } | null | undefined;
6221
6325
  };
6222
- type: "content";
6223
6326
  }, {
6327
+ type: "content";
6224
6328
  content: {
6225
6329
  text: string;
6226
6330
  type: "text";
@@ -6230,8 +6334,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6230
6334
  lastModified?: string | null | undefined;
6231
6335
  } | null | undefined;
6232
6336
  } | {
6233
- data: string;
6234
6337
  type: "image";
6338
+ data: string;
6235
6339
  mimeType: string;
6236
6340
  annotations?: {
6237
6341
  priority?: number | null | undefined;
@@ -6239,8 +6343,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6239
6343
  lastModified?: string | null | undefined;
6240
6344
  } | null | undefined;
6241
6345
  } | {
6242
- data: string;
6243
6346
  type: "audio";
6347
+ data: string;
6244
6348
  mimeType: string;
6245
6349
  annotations?: {
6246
6350
  priority?: number | null | undefined;
@@ -6277,7 +6381,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6277
6381
  lastModified?: string | null | undefined;
6278
6382
  } | null | undefined;
6279
6383
  };
6280
- type: "content";
6281
6384
  }>, z.ZodObject<{
6282
6385
  newText: z.ZodString;
6283
6386
  oldText: z.ZodNullable<z.ZodString>;
@@ -6317,6 +6420,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6317
6420
  toolCallId: string;
6318
6421
  sessionUpdate: "tool_call";
6319
6422
  content?: ({
6423
+ type: "content";
6320
6424
  content: {
6321
6425
  text: string;
6322
6426
  type: "text";
@@ -6326,8 +6430,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6326
6430
  lastModified?: string | null | undefined;
6327
6431
  } | null | undefined;
6328
6432
  } | {
6329
- data: string;
6330
6433
  type: "image";
6434
+ data: string;
6331
6435
  mimeType: string;
6332
6436
  annotations?: {
6333
6437
  priority?: number | null | undefined;
@@ -6335,8 +6439,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6335
6439
  lastModified?: string | null | undefined;
6336
6440
  } | null | undefined;
6337
6441
  } | {
6338
- data: string;
6339
6442
  type: "audio";
6443
+ data: string;
6340
6444
  mimeType: string;
6341
6445
  annotations?: {
6342
6446
  priority?: number | null | undefined;
@@ -6373,7 +6477,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6373
6477
  lastModified?: string | null | undefined;
6374
6478
  } | null | undefined;
6375
6479
  };
6376
- type: "content";
6377
6480
  } | {
6378
6481
  type: "diff";
6379
6482
  path: string;
@@ -6392,6 +6495,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6392
6495
  toolCallId: string;
6393
6496
  sessionUpdate: "tool_call";
6394
6497
  content?: ({
6498
+ type: "content";
6395
6499
  content: {
6396
6500
  text: string;
6397
6501
  type: "text";
@@ -6401,8 +6505,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6401
6505
  lastModified?: string | null | undefined;
6402
6506
  } | null | undefined;
6403
6507
  } | {
6404
- data: string;
6405
6508
  type: "image";
6509
+ data: string;
6406
6510
  mimeType: string;
6407
6511
  annotations?: {
6408
6512
  priority?: number | null | undefined;
@@ -6410,8 +6514,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6410
6514
  lastModified?: string | null | undefined;
6411
6515
  } | null | undefined;
6412
6516
  } | {
6413
- data: string;
6414
6517
  type: "audio";
6518
+ data: string;
6415
6519
  mimeType: string;
6416
6520
  annotations?: {
6417
6521
  priority?: number | null | undefined;
@@ -6448,7 +6552,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6448
6552
  lastModified?: string | null | undefined;
6449
6553
  } | null | undefined;
6450
6554
  };
6451
- type: "content";
6452
6555
  } | {
6453
6556
  type: "diff";
6454
6557
  path: string;
@@ -6512,8 +6615,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6512
6615
  mimeType: z.ZodString;
6513
6616
  type: z.ZodLiteral<"image">;
6514
6617
  }, "strip", z.ZodTypeAny, {
6515
- data: string;
6516
6618
  type: "image";
6619
+ data: string;
6517
6620
  mimeType: string;
6518
6621
  annotations?: {
6519
6622
  priority?: number | null | undefined;
@@ -6521,8 +6624,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6521
6624
  lastModified?: string | null | undefined;
6522
6625
  } | null | undefined;
6523
6626
  }, {
6524
- data: string;
6525
6627
  type: "image";
6628
+ data: string;
6526
6629
  mimeType: string;
6527
6630
  annotations?: {
6528
6631
  priority?: number | null | undefined;
@@ -6547,8 +6650,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6547
6650
  mimeType: z.ZodString;
6548
6651
  type: z.ZodLiteral<"audio">;
6549
6652
  }, "strip", z.ZodTypeAny, {
6550
- data: string;
6551
6653
  type: "audio";
6654
+ data: string;
6552
6655
  mimeType: string;
6553
6656
  annotations?: {
6554
6657
  priority?: number | null | undefined;
@@ -6556,8 +6659,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6556
6659
  lastModified?: string | null | undefined;
6557
6660
  } | null | undefined;
6558
6661
  }, {
6559
- data: string;
6560
6662
  type: "audio";
6663
+ data: string;
6561
6664
  mimeType: string;
6562
6665
  annotations?: {
6563
6666
  priority?: number | null | undefined;
@@ -6686,6 +6789,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6686
6789
  }>]>;
6687
6790
  type: z.ZodLiteral<"content">;
6688
6791
  }, "strip", z.ZodTypeAny, {
6792
+ type: "content";
6689
6793
  content: {
6690
6794
  text: string;
6691
6795
  type: "text";
@@ -6695,8 +6799,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6695
6799
  lastModified?: string | null | undefined;
6696
6800
  } | null | undefined;
6697
6801
  } | {
6698
- data: string;
6699
6802
  type: "image";
6803
+ data: string;
6700
6804
  mimeType: string;
6701
6805
  annotations?: {
6702
6806
  priority?: number | null | undefined;
@@ -6704,8 +6808,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6704
6808
  lastModified?: string | null | undefined;
6705
6809
  } | null | undefined;
6706
6810
  } | {
6707
- data: string;
6708
6811
  type: "audio";
6812
+ data: string;
6709
6813
  mimeType: string;
6710
6814
  annotations?: {
6711
6815
  priority?: number | null | undefined;
@@ -6742,8 +6846,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6742
6846
  lastModified?: string | null | undefined;
6743
6847
  } | null | undefined;
6744
6848
  };
6745
- type: "content";
6746
6849
  }, {
6850
+ type: "content";
6747
6851
  content: {
6748
6852
  text: string;
6749
6853
  type: "text";
@@ -6753,8 +6857,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6753
6857
  lastModified?: string | null | undefined;
6754
6858
  } | null | undefined;
6755
6859
  } | {
6756
- data: string;
6757
6860
  type: "image";
6861
+ data: string;
6758
6862
  mimeType: string;
6759
6863
  annotations?: {
6760
6864
  priority?: number | null | undefined;
@@ -6762,8 +6866,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6762
6866
  lastModified?: string | null | undefined;
6763
6867
  } | null | undefined;
6764
6868
  } | {
6765
- data: string;
6766
6869
  type: "audio";
6870
+ data: string;
6767
6871
  mimeType: string;
6768
6872
  annotations?: {
6769
6873
  priority?: number | null | undefined;
@@ -6800,7 +6904,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6800
6904
  lastModified?: string | null | undefined;
6801
6905
  } | null | undefined;
6802
6906
  };
6803
- type: "content";
6804
6907
  }>, z.ZodObject<{
6805
6908
  newText: z.ZodString;
6806
6909
  oldText: z.ZodNullable<z.ZodString>;
@@ -6837,6 +6940,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6837
6940
  toolCallId: string;
6838
6941
  sessionUpdate: "tool_call_update";
6839
6942
  content?: ({
6943
+ type: "content";
6840
6944
  content: {
6841
6945
  text: string;
6842
6946
  type: "text";
@@ -6846,8 +6950,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6846
6950
  lastModified?: string | null | undefined;
6847
6951
  } | null | undefined;
6848
6952
  } | {
6849
- data: string;
6850
6953
  type: "image";
6954
+ data: string;
6851
6955
  mimeType: string;
6852
6956
  annotations?: {
6853
6957
  priority?: number | null | undefined;
@@ -6855,8 +6959,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6855
6959
  lastModified?: string | null | undefined;
6856
6960
  } | null | undefined;
6857
6961
  } | {
6858
- data: string;
6859
6962
  type: "audio";
6963
+ data: string;
6860
6964
  mimeType: string;
6861
6965
  annotations?: {
6862
6966
  priority?: number | null | undefined;
@@ -6893,7 +6997,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6893
6997
  lastModified?: string | null | undefined;
6894
6998
  } | null | undefined;
6895
6999
  };
6896
- type: "content";
6897
7000
  } | {
6898
7001
  type: "diff";
6899
7002
  path: string;
@@ -6912,6 +7015,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6912
7015
  toolCallId: string;
6913
7016
  sessionUpdate: "tool_call_update";
6914
7017
  content?: ({
7018
+ type: "content";
6915
7019
  content: {
6916
7020
  text: string;
6917
7021
  type: "text";
@@ -6921,8 +7025,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6921
7025
  lastModified?: string | null | undefined;
6922
7026
  } | null | undefined;
6923
7027
  } | {
6924
- data: string;
6925
7028
  type: "image";
7029
+ data: string;
6926
7030
  mimeType: string;
6927
7031
  annotations?: {
6928
7032
  priority?: number | null | undefined;
@@ -6930,8 +7034,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6930
7034
  lastModified?: string | null | undefined;
6931
7035
  } | null | undefined;
6932
7036
  } | {
6933
- data: string;
6934
7037
  type: "audio";
7038
+ data: string;
6935
7039
  mimeType: string;
6936
7040
  annotations?: {
6937
7041
  priority?: number | null | undefined;
@@ -6968,7 +7072,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6968
7072
  lastModified?: string | null | undefined;
6969
7073
  } | null | undefined;
6970
7074
  };
6971
- type: "content";
6972
7075
  } | {
6973
7076
  type: "diff";
6974
7077
  path: string;
@@ -7025,8 +7128,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7025
7128
  lastModified?: string | null | undefined;
7026
7129
  } | null | undefined;
7027
7130
  } | {
7028
- data: string;
7029
7131
  type: "image";
7132
+ data: string;
7030
7133
  mimeType: string;
7031
7134
  annotations?: {
7032
7135
  priority?: number | null | undefined;
@@ -7034,8 +7137,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7034
7137
  lastModified?: string | null | undefined;
7035
7138
  } | null | undefined;
7036
7139
  } | {
7037
- data: string;
7038
7140
  type: "audio";
7141
+ data: string;
7039
7142
  mimeType: string;
7040
7143
  annotations?: {
7041
7144
  priority?: number | null | undefined;
@@ -7083,8 +7186,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7083
7186
  lastModified?: string | null | undefined;
7084
7187
  } | null | undefined;
7085
7188
  } | {
7086
- data: string;
7087
7189
  type: "image";
7190
+ data: string;
7088
7191
  mimeType: string;
7089
7192
  annotations?: {
7090
7193
  priority?: number | null | undefined;
@@ -7092,8 +7195,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7092
7195
  lastModified?: string | null | undefined;
7093
7196
  } | null | undefined;
7094
7197
  } | {
7095
- data: string;
7096
7198
  type: "audio";
7199
+ data: string;
7097
7200
  mimeType: string;
7098
7201
  annotations?: {
7099
7202
  priority?: number | null | undefined;
@@ -7141,8 +7244,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7141
7244
  lastModified?: string | null | undefined;
7142
7245
  } | null | undefined;
7143
7246
  } | {
7144
- data: string;
7145
7247
  type: "image";
7248
+ data: string;
7146
7249
  mimeType: string;
7147
7250
  annotations?: {
7148
7251
  priority?: number | null | undefined;
@@ -7150,8 +7253,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7150
7253
  lastModified?: string | null | undefined;
7151
7254
  } | null | undefined;
7152
7255
  } | {
7153
- data: string;
7154
7256
  type: "audio";
7257
+ data: string;
7155
7258
  mimeType: string;
7156
7259
  annotations?: {
7157
7260
  priority?: number | null | undefined;
@@ -7196,6 +7299,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7196
7299
  toolCallId: string;
7197
7300
  sessionUpdate: "tool_call";
7198
7301
  content?: ({
7302
+ type: "content";
7199
7303
  content: {
7200
7304
  text: string;
7201
7305
  type: "text";
@@ -7205,8 +7309,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7205
7309
  lastModified?: string | null | undefined;
7206
7310
  } | null | undefined;
7207
7311
  } | {
7208
- data: string;
7209
7312
  type: "image";
7313
+ data: string;
7210
7314
  mimeType: string;
7211
7315
  annotations?: {
7212
7316
  priority?: number | null | undefined;
@@ -7214,8 +7318,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7214
7318
  lastModified?: string | null | undefined;
7215
7319
  } | null | undefined;
7216
7320
  } | {
7217
- data: string;
7218
7321
  type: "audio";
7322
+ data: string;
7219
7323
  mimeType: string;
7220
7324
  annotations?: {
7221
7325
  priority?: number | null | undefined;
@@ -7252,7 +7356,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7252
7356
  lastModified?: string | null | undefined;
7253
7357
  } | null | undefined;
7254
7358
  };
7255
- type: "content";
7256
7359
  } | {
7257
7360
  type: "diff";
7258
7361
  path: string;
@@ -7268,6 +7371,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7268
7371
  toolCallId: string;
7269
7372
  sessionUpdate: "tool_call_update";
7270
7373
  content?: ({
7374
+ type: "content";
7271
7375
  content: {
7272
7376
  text: string;
7273
7377
  type: "text";
@@ -7277,8 +7381,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7277
7381
  lastModified?: string | null | undefined;
7278
7382
  } | null | undefined;
7279
7383
  } | {
7280
- data: string;
7281
7384
  type: "image";
7385
+ data: string;
7282
7386
  mimeType: string;
7283
7387
  annotations?: {
7284
7388
  priority?: number | null | undefined;
@@ -7286,8 +7390,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7286
7390
  lastModified?: string | null | undefined;
7287
7391
  } | null | undefined;
7288
7392
  } | {
7289
- data: string;
7290
7393
  type: "audio";
7394
+ data: string;
7291
7395
  mimeType: string;
7292
7396
  annotations?: {
7293
7397
  priority?: number | null | undefined;
@@ -7324,7 +7428,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7324
7428
  lastModified?: string | null | undefined;
7325
7429
  } | null | undefined;
7326
7430
  };
7327
- type: "content";
7328
7431
  } | {
7329
7432
  type: "diff";
7330
7433
  path: string;
@@ -7359,8 +7462,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7359
7462
  lastModified?: string | null | undefined;
7360
7463
  } | null | undefined;
7361
7464
  } | {
7362
- data: string;
7363
7465
  type: "image";
7466
+ data: string;
7364
7467
  mimeType: string;
7365
7468
  annotations?: {
7366
7469
  priority?: number | null | undefined;
@@ -7368,8 +7471,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7368
7471
  lastModified?: string | null | undefined;
7369
7472
  } | null | undefined;
7370
7473
  } | {
7371
- data: string;
7372
7474
  type: "audio";
7475
+ data: string;
7373
7476
  mimeType: string;
7374
7477
  annotations?: {
7375
7478
  priority?: number | null | undefined;
@@ -7417,8 +7520,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7417
7520
  lastModified?: string | null | undefined;
7418
7521
  } | null | undefined;
7419
7522
  } | {
7420
- data: string;
7421
7523
  type: "image";
7524
+ data: string;
7422
7525
  mimeType: string;
7423
7526
  annotations?: {
7424
7527
  priority?: number | null | undefined;
@@ -7426,8 +7529,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7426
7529
  lastModified?: string | null | undefined;
7427
7530
  } | null | undefined;
7428
7531
  } | {
7429
- data: string;
7430
7532
  type: "audio";
7533
+ data: string;
7431
7534
  mimeType: string;
7432
7535
  annotations?: {
7433
7536
  priority?: number | null | undefined;
@@ -7475,8 +7578,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7475
7578
  lastModified?: string | null | undefined;
7476
7579
  } | null | undefined;
7477
7580
  } | {
7478
- data: string;
7479
7581
  type: "image";
7582
+ data: string;
7480
7583
  mimeType: string;
7481
7584
  annotations?: {
7482
7585
  priority?: number | null | undefined;
@@ -7484,8 +7587,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7484
7587
  lastModified?: string | null | undefined;
7485
7588
  } | null | undefined;
7486
7589
  } | {
7487
- data: string;
7488
7590
  type: "audio";
7591
+ data: string;
7489
7592
  mimeType: string;
7490
7593
  annotations?: {
7491
7594
  priority?: number | null | undefined;
@@ -7530,6 +7633,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7530
7633
  toolCallId: string;
7531
7634
  sessionUpdate: "tool_call";
7532
7635
  content?: ({
7636
+ type: "content";
7533
7637
  content: {
7534
7638
  text: string;
7535
7639
  type: "text";
@@ -7539,8 +7643,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7539
7643
  lastModified?: string | null | undefined;
7540
7644
  } | null | undefined;
7541
7645
  } | {
7542
- data: string;
7543
7646
  type: "image";
7647
+ data: string;
7544
7648
  mimeType: string;
7545
7649
  annotations?: {
7546
7650
  priority?: number | null | undefined;
@@ -7548,8 +7652,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7548
7652
  lastModified?: string | null | undefined;
7549
7653
  } | null | undefined;
7550
7654
  } | {
7551
- data: string;
7552
7655
  type: "audio";
7656
+ data: string;
7553
7657
  mimeType: string;
7554
7658
  annotations?: {
7555
7659
  priority?: number | null | undefined;
@@ -7586,7 +7690,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7586
7690
  lastModified?: string | null | undefined;
7587
7691
  } | null | undefined;
7588
7692
  };
7589
- type: "content";
7590
7693
  } | {
7591
7694
  type: "diff";
7592
7695
  path: string;
@@ -7602,6 +7705,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7602
7705
  toolCallId: string;
7603
7706
  sessionUpdate: "tool_call_update";
7604
7707
  content?: ({
7708
+ type: "content";
7605
7709
  content: {
7606
7710
  text: string;
7607
7711
  type: "text";
@@ -7611,8 +7715,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7611
7715
  lastModified?: string | null | undefined;
7612
7716
  } | null | undefined;
7613
7717
  } | {
7614
- data: string;
7615
7718
  type: "image";
7719
+ data: string;
7616
7720
  mimeType: string;
7617
7721
  annotations?: {
7618
7722
  priority?: number | null | undefined;
@@ -7620,8 +7724,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7620
7724
  lastModified?: string | null | undefined;
7621
7725
  } | null | undefined;
7622
7726
  } | {
7623
- data: string;
7624
7727
  type: "audio";
7728
+ data: string;
7625
7729
  mimeType: string;
7626
7730
  annotations?: {
7627
7731
  priority?: number | null | undefined;
@@ -7658,7 +7762,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7658
7762
  lastModified?: string | null | undefined;
7659
7763
  } | null | undefined;
7660
7764
  };
7661
- type: "content";
7662
7765
  } | {
7663
7766
  type: "diff";
7664
7767
  path: string;
@@ -7776,8 +7879,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7776
7879
  mimeType: z.ZodString;
7777
7880
  type: z.ZodLiteral<"image">;
7778
7881
  }, "strip", z.ZodTypeAny, {
7779
- data: string;
7780
7882
  type: "image";
7883
+ data: string;
7781
7884
  mimeType: string;
7782
7885
  annotations?: {
7783
7886
  priority?: number | null | undefined;
@@ -7785,8 +7888,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7785
7888
  lastModified?: string | null | undefined;
7786
7889
  } | null | undefined;
7787
7890
  }, {
7788
- data: string;
7789
7891
  type: "image";
7892
+ data: string;
7790
7893
  mimeType: string;
7791
7894
  annotations?: {
7792
7895
  priority?: number | null | undefined;
@@ -7811,8 +7914,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7811
7914
  mimeType: z.ZodString;
7812
7915
  type: z.ZodLiteral<"audio">;
7813
7916
  }, "strip", z.ZodTypeAny, {
7814
- data: string;
7815
7917
  type: "audio";
7918
+ data: string;
7816
7919
  mimeType: string;
7817
7920
  annotations?: {
7818
7921
  priority?: number | null | undefined;
@@ -7820,8 +7923,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7820
7923
  lastModified?: string | null | undefined;
7821
7924
  } | null | undefined;
7822
7925
  }, {
7823
- data: string;
7824
7926
  type: "audio";
7927
+ data: string;
7825
7928
  mimeType: string;
7826
7929
  annotations?: {
7827
7930
  priority?: number | null | undefined;
@@ -7950,6 +8053,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7950
8053
  }>]>;
7951
8054
  type: z.ZodLiteral<"content">;
7952
8055
  }, "strip", z.ZodTypeAny, {
8056
+ type: "content";
7953
8057
  content: {
7954
8058
  text: string;
7955
8059
  type: "text";
@@ -7959,8 +8063,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7959
8063
  lastModified?: string | null | undefined;
7960
8064
  } | null | undefined;
7961
8065
  } | {
7962
- data: string;
7963
8066
  type: "image";
8067
+ data: string;
7964
8068
  mimeType: string;
7965
8069
  annotations?: {
7966
8070
  priority?: number | null | undefined;
@@ -7968,8 +8072,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7968
8072
  lastModified?: string | null | undefined;
7969
8073
  } | null | undefined;
7970
8074
  } | {
7971
- data: string;
7972
8075
  type: "audio";
8076
+ data: string;
7973
8077
  mimeType: string;
7974
8078
  annotations?: {
7975
8079
  priority?: number | null | undefined;
@@ -8006,8 +8110,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8006
8110
  lastModified?: string | null | undefined;
8007
8111
  } | null | undefined;
8008
8112
  };
8009
- type: "content";
8010
8113
  }, {
8114
+ type: "content";
8011
8115
  content: {
8012
8116
  text: string;
8013
8117
  type: "text";
@@ -8017,8 +8121,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8017
8121
  lastModified?: string | null | undefined;
8018
8122
  } | null | undefined;
8019
8123
  } | {
8020
- data: string;
8021
8124
  type: "image";
8125
+ data: string;
8022
8126
  mimeType: string;
8023
8127
  annotations?: {
8024
8128
  priority?: number | null | undefined;
@@ -8026,8 +8130,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8026
8130
  lastModified?: string | null | undefined;
8027
8131
  } | null | undefined;
8028
8132
  } | {
8029
- data: string;
8030
8133
  type: "audio";
8134
+ data: string;
8031
8135
  mimeType: string;
8032
8136
  annotations?: {
8033
8137
  priority?: number | null | undefined;
@@ -8064,7 +8168,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8064
8168
  lastModified?: string | null | undefined;
8065
8169
  } | null | undefined;
8066
8170
  };
8067
- type: "content";
8068
8171
  }>, z.ZodObject<{
8069
8172
  newText: z.ZodString;
8070
8173
  oldText: z.ZodNullable<z.ZodString>;
@@ -8102,6 +8205,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8102
8205
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8103
8206
  toolCallId: string;
8104
8207
  content?: ({
8208
+ type: "content";
8105
8209
  content: {
8106
8210
  text: string;
8107
8211
  type: "text";
@@ -8111,8 +8215,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8111
8215
  lastModified?: string | null | undefined;
8112
8216
  } | null | undefined;
8113
8217
  } | {
8114
- data: string;
8115
8218
  type: "image";
8219
+ data: string;
8116
8220
  mimeType: string;
8117
8221
  annotations?: {
8118
8222
  priority?: number | null | undefined;
@@ -8120,8 +8224,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8120
8224
  lastModified?: string | null | undefined;
8121
8225
  } | null | undefined;
8122
8226
  } | {
8123
- data: string;
8124
8227
  type: "audio";
8228
+ data: string;
8125
8229
  mimeType: string;
8126
8230
  annotations?: {
8127
8231
  priority?: number | null | undefined;
@@ -8158,7 +8262,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8158
8262
  lastModified?: string | null | undefined;
8159
8263
  } | null | undefined;
8160
8264
  };
8161
- type: "content";
8162
8265
  } | {
8163
8266
  type: "diff";
8164
8267
  path: string;
@@ -8176,6 +8279,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8176
8279
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8177
8280
  toolCallId: string;
8178
8281
  content?: ({
8282
+ type: "content";
8179
8283
  content: {
8180
8284
  text: string;
8181
8285
  type: "text";
@@ -8185,8 +8289,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8185
8289
  lastModified?: string | null | undefined;
8186
8290
  } | null | undefined;
8187
8291
  } | {
8188
- data: string;
8189
8292
  type: "image";
8293
+ data: string;
8190
8294
  mimeType: string;
8191
8295
  annotations?: {
8192
8296
  priority?: number | null | undefined;
@@ -8194,8 +8298,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8194
8298
  lastModified?: string | null | undefined;
8195
8299
  } | null | undefined;
8196
8300
  } | {
8197
- data: string;
8198
8301
  type: "audio";
8302
+ data: string;
8199
8303
  mimeType: string;
8200
8304
  annotations?: {
8201
8305
  priority?: number | null | undefined;
@@ -8232,7 +8336,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8232
8336
  lastModified?: string | null | undefined;
8233
8337
  } | null | undefined;
8234
8338
  };
8235
- type: "content";
8236
8339
  } | {
8237
8340
  type: "diff";
8238
8341
  path: string;
@@ -8258,6 +8361,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8258
8361
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8259
8362
  toolCallId: string;
8260
8363
  content?: ({
8364
+ type: "content";
8261
8365
  content: {
8262
8366
  text: string;
8263
8367
  type: "text";
@@ -8267,8 +8371,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8267
8371
  lastModified?: string | null | undefined;
8268
8372
  } | null | undefined;
8269
8373
  } | {
8270
- data: string;
8271
8374
  type: "image";
8375
+ data: string;
8272
8376
  mimeType: string;
8273
8377
  annotations?: {
8274
8378
  priority?: number | null | undefined;
@@ -8276,8 +8380,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8276
8380
  lastModified?: string | null | undefined;
8277
8381
  } | null | undefined;
8278
8382
  } | {
8279
- data: string;
8280
8383
  type: "audio";
8384
+ data: string;
8281
8385
  mimeType: string;
8282
8386
  annotations?: {
8283
8387
  priority?: number | null | undefined;
@@ -8314,7 +8418,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8314
8418
  lastModified?: string | null | undefined;
8315
8419
  } | null | undefined;
8316
8420
  };
8317
- type: "content";
8318
8421
  } | {
8319
8422
  type: "diff";
8320
8423
  path: string;
@@ -8340,6 +8443,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8340
8443
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8341
8444
  toolCallId: string;
8342
8445
  content?: ({
8446
+ type: "content";
8343
8447
  content: {
8344
8448
  text: string;
8345
8449
  type: "text";
@@ -8349,8 +8453,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8349
8453
  lastModified?: string | null | undefined;
8350
8454
  } | null | undefined;
8351
8455
  } | {
8352
- data: string;
8353
8456
  type: "image";
8457
+ data: string;
8354
8458
  mimeType: string;
8355
8459
  annotations?: {
8356
8460
  priority?: number | null | undefined;
@@ -8358,8 +8462,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8358
8462
  lastModified?: string | null | undefined;
8359
8463
  } | null | undefined;
8360
8464
  } | {
8361
- data: string;
8362
8465
  type: "audio";
8466
+ data: string;
8363
8467
  mimeType: string;
8364
8468
  annotations?: {
8365
8469
  priority?: number | null | undefined;
@@ -8396,7 +8500,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8396
8500
  lastModified?: string | null | undefined;
8397
8501
  } | null | undefined;
8398
8502
  };
8399
- type: "content";
8400
8503
  } | {
8401
8504
  type: "diff";
8402
8505
  path: string;
@@ -8620,8 +8723,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8620
8723
  mimeType: z.ZodString;
8621
8724
  type: z.ZodLiteral<"image">;
8622
8725
  }, "strip", z.ZodTypeAny, {
8623
- data: string;
8624
8726
  type: "image";
8727
+ data: string;
8625
8728
  mimeType: string;
8626
8729
  annotations?: {
8627
8730
  priority?: number | null | undefined;
@@ -8629,8 +8732,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8629
8732
  lastModified?: string | null | undefined;
8630
8733
  } | null | undefined;
8631
8734
  }, {
8632
- data: string;
8633
8735
  type: "image";
8736
+ data: string;
8634
8737
  mimeType: string;
8635
8738
  annotations?: {
8636
8739
  priority?: number | null | undefined;
@@ -8655,8 +8758,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8655
8758
  mimeType: z.ZodString;
8656
8759
  type: z.ZodLiteral<"audio">;
8657
8760
  }, "strip", z.ZodTypeAny, {
8658
- data: string;
8659
8761
  type: "audio";
8762
+ data: string;
8660
8763
  mimeType: string;
8661
8764
  annotations?: {
8662
8765
  priority?: number | null | undefined;
@@ -8664,8 +8767,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8664
8767
  lastModified?: string | null | undefined;
8665
8768
  } | null | undefined;
8666
8769
  }, {
8667
- data: string;
8668
8770
  type: "audio";
8771
+ data: string;
8669
8772
  mimeType: string;
8670
8773
  annotations?: {
8671
8774
  priority?: number | null | undefined;
@@ -8804,8 +8907,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8804
8907
  lastModified?: string | null | undefined;
8805
8908
  } | null | undefined;
8806
8909
  } | {
8807
- data: string;
8808
8910
  type: "image";
8911
+ data: string;
8809
8912
  mimeType: string;
8810
8913
  annotations?: {
8811
8914
  priority?: number | null | undefined;
@@ -8813,8 +8916,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8813
8916
  lastModified?: string | null | undefined;
8814
8917
  } | null | undefined;
8815
8918
  } | {
8816
- data: string;
8817
8919
  type: "audio";
8920
+ data: string;
8818
8921
  mimeType: string;
8819
8922
  annotations?: {
8820
8923
  priority?: number | null | undefined;
@@ -8862,8 +8965,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8862
8965
  lastModified?: string | null | undefined;
8863
8966
  } | null | undefined;
8864
8967
  } | {
8865
- data: string;
8866
8968
  type: "image";
8969
+ data: string;
8867
8970
  mimeType: string;
8868
8971
  annotations?: {
8869
8972
  priority?: number | null | undefined;
@@ -8871,8 +8974,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8871
8974
  lastModified?: string | null | undefined;
8872
8975
  } | null | undefined;
8873
8976
  } | {
8874
- data: string;
8875
8977
  type: "audio";
8978
+ data: string;
8876
8979
  mimeType: string;
8877
8980
  annotations?: {
8878
8981
  priority?: number | null | undefined;
@@ -8963,8 +9066,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
8963
9066
  mimeType: z.ZodString;
8964
9067
  type: z.ZodLiteral<"image">;
8965
9068
  }, "strip", z.ZodTypeAny, {
8966
- data: string;
8967
9069
  type: "image";
9070
+ data: string;
8968
9071
  mimeType: string;
8969
9072
  annotations?: {
8970
9073
  priority?: number | null | undefined;
@@ -8972,8 +9075,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
8972
9075
  lastModified?: string | null | undefined;
8973
9076
  } | null | undefined;
8974
9077
  }, {
8975
- data: string;
8976
9078
  type: "image";
9079
+ data: string;
8977
9080
  mimeType: string;
8978
9081
  annotations?: {
8979
9082
  priority?: number | null | undefined;
@@ -8998,8 +9101,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
8998
9101
  mimeType: z.ZodString;
8999
9102
  type: z.ZodLiteral<"audio">;
9000
9103
  }, "strip", z.ZodTypeAny, {
9001
- data: string;
9002
9104
  type: "audio";
9105
+ data: string;
9003
9106
  mimeType: string;
9004
9107
  annotations?: {
9005
9108
  priority?: number | null | undefined;
@@ -9007,8 +9110,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9007
9110
  lastModified?: string | null | undefined;
9008
9111
  } | null | undefined;
9009
9112
  }, {
9010
- data: string;
9011
9113
  type: "audio";
9114
+ data: string;
9012
9115
  mimeType: string;
9013
9116
  annotations?: {
9014
9117
  priority?: number | null | undefined;
@@ -9146,8 +9249,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9146
9249
  lastModified?: string | null | undefined;
9147
9250
  } | null | undefined;
9148
9251
  } | {
9149
- data: string;
9150
9252
  type: "image";
9253
+ data: string;
9151
9254
  mimeType: string;
9152
9255
  annotations?: {
9153
9256
  priority?: number | null | undefined;
@@ -9155,8 +9258,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9155
9258
  lastModified?: string | null | undefined;
9156
9259
  } | null | undefined;
9157
9260
  } | {
9158
- data: string;
9159
9261
  type: "audio";
9262
+ data: string;
9160
9263
  mimeType: string;
9161
9264
  annotations?: {
9162
9265
  priority?: number | null | undefined;
@@ -9204,8 +9307,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9204
9307
  lastModified?: string | null | undefined;
9205
9308
  } | null | undefined;
9206
9309
  } | {
9207
- data: string;
9208
9310
  type: "image";
9311
+ data: string;
9209
9312
  mimeType: string;
9210
9313
  annotations?: {
9211
9314
  priority?: number | null | undefined;
@@ -9213,8 +9316,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9213
9316
  lastModified?: string | null | undefined;
9214
9317
  } | null | undefined;
9215
9318
  } | {
9216
- data: string;
9217
9319
  type: "audio";
9320
+ data: string;
9218
9321
  mimeType: string;
9219
9322
  annotations?: {
9220
9323
  priority?: number | null | undefined;
@@ -9303,8 +9406,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9303
9406
  mimeType: z.ZodString;
9304
9407
  type: z.ZodLiteral<"image">;
9305
9408
  }, "strip", z.ZodTypeAny, {
9306
- data: string;
9307
9409
  type: "image";
9410
+ data: string;
9308
9411
  mimeType: string;
9309
9412
  annotations?: {
9310
9413
  priority?: number | null | undefined;
@@ -9312,8 +9415,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9312
9415
  lastModified?: string | null | undefined;
9313
9416
  } | null | undefined;
9314
9417
  }, {
9315
- data: string;
9316
9418
  type: "image";
9419
+ data: string;
9317
9420
  mimeType: string;
9318
9421
  annotations?: {
9319
9422
  priority?: number | null | undefined;
@@ -9338,8 +9441,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9338
9441
  mimeType: z.ZodString;
9339
9442
  type: z.ZodLiteral<"audio">;
9340
9443
  }, "strip", z.ZodTypeAny, {
9341
- data: string;
9342
9444
  type: "audio";
9445
+ data: string;
9343
9446
  mimeType: string;
9344
9447
  annotations?: {
9345
9448
  priority?: number | null | undefined;
@@ -9347,8 +9450,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9347
9450
  lastModified?: string | null | undefined;
9348
9451
  } | null | undefined;
9349
9452
  }, {
9350
- data: string;
9351
9453
  type: "audio";
9454
+ data: string;
9352
9455
  mimeType: string;
9353
9456
  annotations?: {
9354
9457
  priority?: number | null | undefined;
@@ -9486,8 +9589,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9486
9589
  lastModified?: string | null | undefined;
9487
9590
  } | null | undefined;
9488
9591
  } | {
9489
- data: string;
9490
9592
  type: "image";
9593
+ data: string;
9491
9594
  mimeType: string;
9492
9595
  annotations?: {
9493
9596
  priority?: number | null | undefined;
@@ -9495,8 +9598,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9495
9598
  lastModified?: string | null | undefined;
9496
9599
  } | null | undefined;
9497
9600
  } | {
9498
- data: string;
9499
9601
  type: "audio";
9602
+ data: string;
9500
9603
  mimeType: string;
9501
9604
  annotations?: {
9502
9605
  priority?: number | null | undefined;
@@ -9544,8 +9647,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9544
9647
  lastModified?: string | null | undefined;
9545
9648
  } | null | undefined;
9546
9649
  } | {
9547
- data: string;
9548
9650
  type: "image";
9651
+ data: string;
9549
9652
  mimeType: string;
9550
9653
  annotations?: {
9551
9654
  priority?: number | null | undefined;
@@ -9553,8 +9656,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9553
9656
  lastModified?: string | null | undefined;
9554
9657
  } | null | undefined;
9555
9658
  } | {
9556
- data: string;
9557
9659
  type: "audio";
9660
+ data: string;
9558
9661
  mimeType: string;
9559
9662
  annotations?: {
9560
9663
  priority?: number | null | undefined;
@@ -9643,8 +9746,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9643
9746
  mimeType: z.ZodString;
9644
9747
  type: z.ZodLiteral<"image">;
9645
9748
  }, "strip", z.ZodTypeAny, {
9646
- data: string;
9647
9749
  type: "image";
9750
+ data: string;
9648
9751
  mimeType: string;
9649
9752
  annotations?: {
9650
9753
  priority?: number | null | undefined;
@@ -9652,8 +9755,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9652
9755
  lastModified?: string | null | undefined;
9653
9756
  } | null | undefined;
9654
9757
  }, {
9655
- data: string;
9656
9758
  type: "image";
9759
+ data: string;
9657
9760
  mimeType: string;
9658
9761
  annotations?: {
9659
9762
  priority?: number | null | undefined;
@@ -9678,8 +9781,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9678
9781
  mimeType: z.ZodString;
9679
9782
  type: z.ZodLiteral<"audio">;
9680
9783
  }, "strip", z.ZodTypeAny, {
9681
- data: string;
9682
9784
  type: "audio";
9785
+ data: string;
9683
9786
  mimeType: string;
9684
9787
  annotations?: {
9685
9788
  priority?: number | null | undefined;
@@ -9687,8 +9790,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9687
9790
  lastModified?: string | null | undefined;
9688
9791
  } | null | undefined;
9689
9792
  }, {
9690
- data: string;
9691
9793
  type: "audio";
9794
+ data: string;
9692
9795
  mimeType: string;
9693
9796
  annotations?: {
9694
9797
  priority?: number | null | undefined;
@@ -9826,8 +9929,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9826
9929
  lastModified?: string | null | undefined;
9827
9930
  } | null | undefined;
9828
9931
  } | {
9829
- data: string;
9830
9932
  type: "image";
9933
+ data: string;
9831
9934
  mimeType: string;
9832
9935
  annotations?: {
9833
9936
  priority?: number | null | undefined;
@@ -9835,8 +9938,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9835
9938
  lastModified?: string | null | undefined;
9836
9939
  } | null | undefined;
9837
9940
  } | {
9838
- data: string;
9839
9941
  type: "audio";
9942
+ data: string;
9840
9943
  mimeType: string;
9841
9944
  annotations?: {
9842
9945
  priority?: number | null | undefined;
@@ -9884,8 +9987,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9884
9987
  lastModified?: string | null | undefined;
9885
9988
  } | null | undefined;
9886
9989
  } | {
9887
- data: string;
9888
9990
  type: "image";
9991
+ data: string;
9889
9992
  mimeType: string;
9890
9993
  annotations?: {
9891
9994
  priority?: number | null | undefined;
@@ -9893,8 +9996,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9893
9996
  lastModified?: string | null | undefined;
9894
9997
  } | null | undefined;
9895
9998
  } | {
9896
- data: string;
9897
9999
  type: "audio";
10000
+ data: string;
9898
10001
  mimeType: string;
9899
10002
  annotations?: {
9900
10003
  priority?: number | null | undefined;
@@ -9984,8 +10087,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9984
10087
  mimeType: z.ZodString;
9985
10088
  type: z.ZodLiteral<"image">;
9986
10089
  }, "strip", z.ZodTypeAny, {
9987
- data: string;
9988
10090
  type: "image";
10091
+ data: string;
9989
10092
  mimeType: string;
9990
10093
  annotations?: {
9991
10094
  priority?: number | null | undefined;
@@ -9993,8 +10096,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9993
10096
  lastModified?: string | null | undefined;
9994
10097
  } | null | undefined;
9995
10098
  }, {
9996
- data: string;
9997
10099
  type: "image";
10100
+ data: string;
9998
10101
  mimeType: string;
9999
10102
  annotations?: {
10000
10103
  priority?: number | null | undefined;
@@ -10019,8 +10122,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10019
10122
  mimeType: z.ZodString;
10020
10123
  type: z.ZodLiteral<"audio">;
10021
10124
  }, "strip", z.ZodTypeAny, {
10022
- data: string;
10023
10125
  type: "audio";
10126
+ data: string;
10024
10127
  mimeType: string;
10025
10128
  annotations?: {
10026
10129
  priority?: number | null | undefined;
@@ -10028,8 +10131,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10028
10131
  lastModified?: string | null | undefined;
10029
10132
  } | null | undefined;
10030
10133
  }, {
10031
- data: string;
10032
10134
  type: "audio";
10135
+ data: string;
10033
10136
  mimeType: string;
10034
10137
  annotations?: {
10035
10138
  priority?: number | null | undefined;
@@ -10158,6 +10261,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10158
10261
  }>]>;
10159
10262
  type: z.ZodLiteral<"content">;
10160
10263
  }, "strip", z.ZodTypeAny, {
10264
+ type: "content";
10161
10265
  content: {
10162
10266
  text: string;
10163
10267
  type: "text";
@@ -10167,8 +10271,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10167
10271
  lastModified?: string | null | undefined;
10168
10272
  } | null | undefined;
10169
10273
  } | {
10170
- data: string;
10171
10274
  type: "image";
10275
+ data: string;
10172
10276
  mimeType: string;
10173
10277
  annotations?: {
10174
10278
  priority?: number | null | undefined;
@@ -10176,8 +10280,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10176
10280
  lastModified?: string | null | undefined;
10177
10281
  } | null | undefined;
10178
10282
  } | {
10179
- data: string;
10180
10283
  type: "audio";
10284
+ data: string;
10181
10285
  mimeType: string;
10182
10286
  annotations?: {
10183
10287
  priority?: number | null | undefined;
@@ -10214,8 +10318,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10214
10318
  lastModified?: string | null | undefined;
10215
10319
  } | null | undefined;
10216
10320
  };
10217
- type: "content";
10218
10321
  }, {
10322
+ type: "content";
10219
10323
  content: {
10220
10324
  text: string;
10221
10325
  type: "text";
@@ -10225,8 +10329,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10225
10329
  lastModified?: string | null | undefined;
10226
10330
  } | null | undefined;
10227
10331
  } | {
10228
- data: string;
10229
10332
  type: "image";
10333
+ data: string;
10230
10334
  mimeType: string;
10231
10335
  annotations?: {
10232
10336
  priority?: number | null | undefined;
@@ -10234,8 +10338,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10234
10338
  lastModified?: string | null | undefined;
10235
10339
  } | null | undefined;
10236
10340
  } | {
10237
- data: string;
10238
10341
  type: "audio";
10342
+ data: string;
10239
10343
  mimeType: string;
10240
10344
  annotations?: {
10241
10345
  priority?: number | null | undefined;
@@ -10272,7 +10376,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10272
10376
  lastModified?: string | null | undefined;
10273
10377
  } | null | undefined;
10274
10378
  };
10275
- type: "content";
10276
10379
  }>, z.ZodObject<{
10277
10380
  newText: z.ZodString;
10278
10381
  oldText: z.ZodNullable<z.ZodString>;
@@ -10312,6 +10415,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10312
10415
  toolCallId: string;
10313
10416
  sessionUpdate: "tool_call";
10314
10417
  content?: ({
10418
+ type: "content";
10315
10419
  content: {
10316
10420
  text: string;
10317
10421
  type: "text";
@@ -10321,8 +10425,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10321
10425
  lastModified?: string | null | undefined;
10322
10426
  } | null | undefined;
10323
10427
  } | {
10324
- data: string;
10325
10428
  type: "image";
10429
+ data: string;
10326
10430
  mimeType: string;
10327
10431
  annotations?: {
10328
10432
  priority?: number | null | undefined;
@@ -10330,8 +10434,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10330
10434
  lastModified?: string | null | undefined;
10331
10435
  } | null | undefined;
10332
10436
  } | {
10333
- data: string;
10334
10437
  type: "audio";
10438
+ data: string;
10335
10439
  mimeType: string;
10336
10440
  annotations?: {
10337
10441
  priority?: number | null | undefined;
@@ -10368,7 +10472,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10368
10472
  lastModified?: string | null | undefined;
10369
10473
  } | null | undefined;
10370
10474
  };
10371
- type: "content";
10372
10475
  } | {
10373
10476
  type: "diff";
10374
10477
  path: string;
@@ -10387,6 +10490,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10387
10490
  toolCallId: string;
10388
10491
  sessionUpdate: "tool_call";
10389
10492
  content?: ({
10493
+ type: "content";
10390
10494
  content: {
10391
10495
  text: string;
10392
10496
  type: "text";
@@ -10396,8 +10500,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10396
10500
  lastModified?: string | null | undefined;
10397
10501
  } | null | undefined;
10398
10502
  } | {
10399
- data: string;
10400
10503
  type: "image";
10504
+ data: string;
10401
10505
  mimeType: string;
10402
10506
  annotations?: {
10403
10507
  priority?: number | null | undefined;
@@ -10405,8 +10509,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10405
10509
  lastModified?: string | null | undefined;
10406
10510
  } | null | undefined;
10407
10511
  } | {
10408
- data: string;
10409
10512
  type: "audio";
10513
+ data: string;
10410
10514
  mimeType: string;
10411
10515
  annotations?: {
10412
10516
  priority?: number | null | undefined;
@@ -10443,7 +10547,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10443
10547
  lastModified?: string | null | undefined;
10444
10548
  } | null | undefined;
10445
10549
  };
10446
- type: "content";
10447
10550
  } | {
10448
10551
  type: "diff";
10449
10552
  path: string;
@@ -10507,8 +10610,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10507
10610
  mimeType: z.ZodString;
10508
10611
  type: z.ZodLiteral<"image">;
10509
10612
  }, "strip", z.ZodTypeAny, {
10510
- data: string;
10511
10613
  type: "image";
10614
+ data: string;
10512
10615
  mimeType: string;
10513
10616
  annotations?: {
10514
10617
  priority?: number | null | undefined;
@@ -10516,8 +10619,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10516
10619
  lastModified?: string | null | undefined;
10517
10620
  } | null | undefined;
10518
10621
  }, {
10519
- data: string;
10520
10622
  type: "image";
10623
+ data: string;
10521
10624
  mimeType: string;
10522
10625
  annotations?: {
10523
10626
  priority?: number | null | undefined;
@@ -10542,8 +10645,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10542
10645
  mimeType: z.ZodString;
10543
10646
  type: z.ZodLiteral<"audio">;
10544
10647
  }, "strip", z.ZodTypeAny, {
10545
- data: string;
10546
10648
  type: "audio";
10649
+ data: string;
10547
10650
  mimeType: string;
10548
10651
  annotations?: {
10549
10652
  priority?: number | null | undefined;
@@ -10551,8 +10654,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10551
10654
  lastModified?: string | null | undefined;
10552
10655
  } | null | undefined;
10553
10656
  }, {
10554
- data: string;
10555
10657
  type: "audio";
10658
+ data: string;
10556
10659
  mimeType: string;
10557
10660
  annotations?: {
10558
10661
  priority?: number | null | undefined;
@@ -10681,6 +10784,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10681
10784
  }>]>;
10682
10785
  type: z.ZodLiteral<"content">;
10683
10786
  }, "strip", z.ZodTypeAny, {
10787
+ type: "content";
10684
10788
  content: {
10685
10789
  text: string;
10686
10790
  type: "text";
@@ -10690,8 +10794,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10690
10794
  lastModified?: string | null | undefined;
10691
10795
  } | null | undefined;
10692
10796
  } | {
10693
- data: string;
10694
10797
  type: "image";
10798
+ data: string;
10695
10799
  mimeType: string;
10696
10800
  annotations?: {
10697
10801
  priority?: number | null | undefined;
@@ -10699,8 +10803,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10699
10803
  lastModified?: string | null | undefined;
10700
10804
  } | null | undefined;
10701
10805
  } | {
10702
- data: string;
10703
10806
  type: "audio";
10807
+ data: string;
10704
10808
  mimeType: string;
10705
10809
  annotations?: {
10706
10810
  priority?: number | null | undefined;
@@ -10737,8 +10841,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10737
10841
  lastModified?: string | null | undefined;
10738
10842
  } | null | undefined;
10739
10843
  };
10740
- type: "content";
10741
10844
  }, {
10845
+ type: "content";
10742
10846
  content: {
10743
10847
  text: string;
10744
10848
  type: "text";
@@ -10748,8 +10852,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10748
10852
  lastModified?: string | null | undefined;
10749
10853
  } | null | undefined;
10750
10854
  } | {
10751
- data: string;
10752
10855
  type: "image";
10856
+ data: string;
10753
10857
  mimeType: string;
10754
10858
  annotations?: {
10755
10859
  priority?: number | null | undefined;
@@ -10757,8 +10861,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10757
10861
  lastModified?: string | null | undefined;
10758
10862
  } | null | undefined;
10759
10863
  } | {
10760
- data: string;
10761
10864
  type: "audio";
10865
+ data: string;
10762
10866
  mimeType: string;
10763
10867
  annotations?: {
10764
10868
  priority?: number | null | undefined;
@@ -10795,7 +10899,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10795
10899
  lastModified?: string | null | undefined;
10796
10900
  } | null | undefined;
10797
10901
  };
10798
- type: "content";
10799
10902
  }>, z.ZodObject<{
10800
10903
  newText: z.ZodString;
10801
10904
  oldText: z.ZodNullable<z.ZodString>;
@@ -10832,6 +10935,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10832
10935
  toolCallId: string;
10833
10936
  sessionUpdate: "tool_call_update";
10834
10937
  content?: ({
10938
+ type: "content";
10835
10939
  content: {
10836
10940
  text: string;
10837
10941
  type: "text";
@@ -10841,8 +10945,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10841
10945
  lastModified?: string | null | undefined;
10842
10946
  } | null | undefined;
10843
10947
  } | {
10844
- data: string;
10845
10948
  type: "image";
10949
+ data: string;
10846
10950
  mimeType: string;
10847
10951
  annotations?: {
10848
10952
  priority?: number | null | undefined;
@@ -10850,8 +10954,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10850
10954
  lastModified?: string | null | undefined;
10851
10955
  } | null | undefined;
10852
10956
  } | {
10853
- data: string;
10854
10957
  type: "audio";
10958
+ data: string;
10855
10959
  mimeType: string;
10856
10960
  annotations?: {
10857
10961
  priority?: number | null | undefined;
@@ -10888,7 +10992,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10888
10992
  lastModified?: string | null | undefined;
10889
10993
  } | null | undefined;
10890
10994
  };
10891
- type: "content";
10892
10995
  } | {
10893
10996
  type: "diff";
10894
10997
  path: string;
@@ -10907,6 +11010,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10907
11010
  toolCallId: string;
10908
11011
  sessionUpdate: "tool_call_update";
10909
11012
  content?: ({
11013
+ type: "content";
10910
11014
  content: {
10911
11015
  text: string;
10912
11016
  type: "text";
@@ -10916,8 +11020,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10916
11020
  lastModified?: string | null | undefined;
10917
11021
  } | null | undefined;
10918
11022
  } | {
10919
- data: string;
10920
11023
  type: "image";
11024
+ data: string;
10921
11025
  mimeType: string;
10922
11026
  annotations?: {
10923
11027
  priority?: number | null | undefined;
@@ -10925,8 +11029,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10925
11029
  lastModified?: string | null | undefined;
10926
11030
  } | null | undefined;
10927
11031
  } | {
10928
- data: string;
10929
11032
  type: "audio";
11033
+ data: string;
10930
11034
  mimeType: string;
10931
11035
  annotations?: {
10932
11036
  priority?: number | null | undefined;
@@ -10963,7 +11067,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10963
11067
  lastModified?: string | null | undefined;
10964
11068
  } | null | undefined;
10965
11069
  };
10966
- type: "content";
10967
11070
  } | {
10968
11071
  type: "diff";
10969
11072
  path: string;
@@ -11020,8 +11123,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11020
11123
  lastModified?: string | null | undefined;
11021
11124
  } | null | undefined;
11022
11125
  } | {
11023
- data: string;
11024
11126
  type: "image";
11127
+ data: string;
11025
11128
  mimeType: string;
11026
11129
  annotations?: {
11027
11130
  priority?: number | null | undefined;
@@ -11029,8 +11132,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11029
11132
  lastModified?: string | null | undefined;
11030
11133
  } | null | undefined;
11031
11134
  } | {
11032
- data: string;
11033
11135
  type: "audio";
11136
+ data: string;
11034
11137
  mimeType: string;
11035
11138
  annotations?: {
11036
11139
  priority?: number | null | undefined;
@@ -11078,8 +11181,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11078
11181
  lastModified?: string | null | undefined;
11079
11182
  } | null | undefined;
11080
11183
  } | {
11081
- data: string;
11082
11184
  type: "image";
11185
+ data: string;
11083
11186
  mimeType: string;
11084
11187
  annotations?: {
11085
11188
  priority?: number | null | undefined;
@@ -11087,8 +11190,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11087
11190
  lastModified?: string | null | undefined;
11088
11191
  } | null | undefined;
11089
11192
  } | {
11090
- data: string;
11091
11193
  type: "audio";
11194
+ data: string;
11092
11195
  mimeType: string;
11093
11196
  annotations?: {
11094
11197
  priority?: number | null | undefined;
@@ -11136,8 +11239,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11136
11239
  lastModified?: string | null | undefined;
11137
11240
  } | null | undefined;
11138
11241
  } | {
11139
- data: string;
11140
11242
  type: "image";
11243
+ data: string;
11141
11244
  mimeType: string;
11142
11245
  annotations?: {
11143
11246
  priority?: number | null | undefined;
@@ -11145,8 +11248,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11145
11248
  lastModified?: string | null | undefined;
11146
11249
  } | null | undefined;
11147
11250
  } | {
11148
- data: string;
11149
11251
  type: "audio";
11252
+ data: string;
11150
11253
  mimeType: string;
11151
11254
  annotations?: {
11152
11255
  priority?: number | null | undefined;
@@ -11191,6 +11294,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11191
11294
  toolCallId: string;
11192
11295
  sessionUpdate: "tool_call";
11193
11296
  content?: ({
11297
+ type: "content";
11194
11298
  content: {
11195
11299
  text: string;
11196
11300
  type: "text";
@@ -11200,8 +11304,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11200
11304
  lastModified?: string | null | undefined;
11201
11305
  } | null | undefined;
11202
11306
  } | {
11203
- data: string;
11204
11307
  type: "image";
11308
+ data: string;
11205
11309
  mimeType: string;
11206
11310
  annotations?: {
11207
11311
  priority?: number | null | undefined;
@@ -11209,8 +11313,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11209
11313
  lastModified?: string | null | undefined;
11210
11314
  } | null | undefined;
11211
11315
  } | {
11212
- data: string;
11213
11316
  type: "audio";
11317
+ data: string;
11214
11318
  mimeType: string;
11215
11319
  annotations?: {
11216
11320
  priority?: number | null | undefined;
@@ -11247,7 +11351,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11247
11351
  lastModified?: string | null | undefined;
11248
11352
  } | null | undefined;
11249
11353
  };
11250
- type: "content";
11251
11354
  } | {
11252
11355
  type: "diff";
11253
11356
  path: string;
@@ -11263,6 +11366,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11263
11366
  toolCallId: string;
11264
11367
  sessionUpdate: "tool_call_update";
11265
11368
  content?: ({
11369
+ type: "content";
11266
11370
  content: {
11267
11371
  text: string;
11268
11372
  type: "text";
@@ -11272,8 +11376,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11272
11376
  lastModified?: string | null | undefined;
11273
11377
  } | null | undefined;
11274
11378
  } | {
11275
- data: string;
11276
11379
  type: "image";
11380
+ data: string;
11277
11381
  mimeType: string;
11278
11382
  annotations?: {
11279
11383
  priority?: number | null | undefined;
@@ -11281,8 +11385,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11281
11385
  lastModified?: string | null | undefined;
11282
11386
  } | null | undefined;
11283
11387
  } | {
11284
- data: string;
11285
11388
  type: "audio";
11389
+ data: string;
11286
11390
  mimeType: string;
11287
11391
  annotations?: {
11288
11392
  priority?: number | null | undefined;
@@ -11319,7 +11423,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11319
11423
  lastModified?: string | null | undefined;
11320
11424
  } | null | undefined;
11321
11425
  };
11322
- type: "content";
11323
11426
  } | {
11324
11427
  type: "diff";
11325
11428
  path: string;
@@ -11354,8 +11457,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11354
11457
  lastModified?: string | null | undefined;
11355
11458
  } | null | undefined;
11356
11459
  } | {
11357
- data: string;
11358
11460
  type: "image";
11461
+ data: string;
11359
11462
  mimeType: string;
11360
11463
  annotations?: {
11361
11464
  priority?: number | null | undefined;
@@ -11363,8 +11466,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11363
11466
  lastModified?: string | null | undefined;
11364
11467
  } | null | undefined;
11365
11468
  } | {
11366
- data: string;
11367
11469
  type: "audio";
11470
+ data: string;
11368
11471
  mimeType: string;
11369
11472
  annotations?: {
11370
11473
  priority?: number | null | undefined;
@@ -11412,8 +11515,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11412
11515
  lastModified?: string | null | undefined;
11413
11516
  } | null | undefined;
11414
11517
  } | {
11415
- data: string;
11416
11518
  type: "image";
11519
+ data: string;
11417
11520
  mimeType: string;
11418
11521
  annotations?: {
11419
11522
  priority?: number | null | undefined;
@@ -11421,8 +11524,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11421
11524
  lastModified?: string | null | undefined;
11422
11525
  } | null | undefined;
11423
11526
  } | {
11424
- data: string;
11425
11527
  type: "audio";
11528
+ data: string;
11426
11529
  mimeType: string;
11427
11530
  annotations?: {
11428
11531
  priority?: number | null | undefined;
@@ -11470,8 +11573,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11470
11573
  lastModified?: string | null | undefined;
11471
11574
  } | null | undefined;
11472
11575
  } | {
11473
- data: string;
11474
11576
  type: "image";
11577
+ data: string;
11475
11578
  mimeType: string;
11476
11579
  annotations?: {
11477
11580
  priority?: number | null | undefined;
@@ -11479,8 +11582,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11479
11582
  lastModified?: string | null | undefined;
11480
11583
  } | null | undefined;
11481
11584
  } | {
11482
- data: string;
11483
11585
  type: "audio";
11586
+ data: string;
11484
11587
  mimeType: string;
11485
11588
  annotations?: {
11486
11589
  priority?: number | null | undefined;
@@ -11525,6 +11628,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11525
11628
  toolCallId: string;
11526
11629
  sessionUpdate: "tool_call";
11527
11630
  content?: ({
11631
+ type: "content";
11528
11632
  content: {
11529
11633
  text: string;
11530
11634
  type: "text";
@@ -11534,8 +11638,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11534
11638
  lastModified?: string | null | undefined;
11535
11639
  } | null | undefined;
11536
11640
  } | {
11537
- data: string;
11538
11641
  type: "image";
11642
+ data: string;
11539
11643
  mimeType: string;
11540
11644
  annotations?: {
11541
11645
  priority?: number | null | undefined;
@@ -11543,8 +11647,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11543
11647
  lastModified?: string | null | undefined;
11544
11648
  } | null | undefined;
11545
11649
  } | {
11546
- data: string;
11547
11650
  type: "audio";
11651
+ data: string;
11548
11652
  mimeType: string;
11549
11653
  annotations?: {
11550
11654
  priority?: number | null | undefined;
@@ -11581,7 +11685,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11581
11685
  lastModified?: string | null | undefined;
11582
11686
  } | null | undefined;
11583
11687
  };
11584
- type: "content";
11585
11688
  } | {
11586
11689
  type: "diff";
11587
11690
  path: string;
@@ -11597,6 +11700,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11597
11700
  toolCallId: string;
11598
11701
  sessionUpdate: "tool_call_update";
11599
11702
  content?: ({
11703
+ type: "content";
11600
11704
  content: {
11601
11705
  text: string;
11602
11706
  type: "text";
@@ -11606,8 +11710,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11606
11710
  lastModified?: string | null | undefined;
11607
11711
  } | null | undefined;
11608
11712
  } | {
11609
- data: string;
11610
11713
  type: "image";
11714
+ data: string;
11611
11715
  mimeType: string;
11612
11716
  annotations?: {
11613
11717
  priority?: number | null | undefined;
@@ -11615,8 +11719,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11615
11719
  lastModified?: string | null | undefined;
11616
11720
  } | null | undefined;
11617
11721
  } | {
11618
- data: string;
11619
11722
  type: "audio";
11723
+ data: string;
11620
11724
  mimeType: string;
11621
11725
  annotations?: {
11622
11726
  priority?: number | null | undefined;
@@ -11653,7 +11757,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11653
11757
  lastModified?: string | null | undefined;
11654
11758
  } | null | undefined;
11655
11759
  };
11656
- type: "content";
11657
11760
  } | {
11658
11761
  type: "diff";
11659
11762
  path: string;