@google/gemini-cli 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -680,8 +680,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
680
680
  mimeType: z.ZodString;
681
681
  type: z.ZodLiteral<"image">;
682
682
  }, "strip", z.ZodTypeAny, {
683
- type: "image";
684
683
  data: string;
684
+ type: "image";
685
685
  mimeType: string;
686
686
  annotations?: {
687
687
  priority?: number | null | undefined;
@@ -689,8 +689,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
689
689
  lastModified?: string | null | undefined;
690
690
  } | null | undefined;
691
691
  }, {
692
- type: "image";
693
692
  data: string;
693
+ type: "image";
694
694
  mimeType: string;
695
695
  annotations?: {
696
696
  priority?: number | null | undefined;
@@ -715,8 +715,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
715
715
  mimeType: z.ZodString;
716
716
  type: z.ZodLiteral<"audio">;
717
717
  }, "strip", z.ZodTypeAny, {
718
- type: "audio";
719
718
  data: string;
719
+ type: "audio";
720
720
  mimeType: string;
721
721
  annotations?: {
722
722
  priority?: number | null | undefined;
@@ -724,8 +724,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
724
724
  lastModified?: string | null | undefined;
725
725
  } | null | undefined;
726
726
  }, {
727
- type: "audio";
728
727
  data: string;
728
+ type: "audio";
729
729
  mimeType: string;
730
730
  annotations?: {
731
731
  priority?: number | null | undefined;
@@ -903,8 +903,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
903
903
  mimeType: z.ZodString;
904
904
  type: z.ZodLiteral<"image">;
905
905
  }, "strip", z.ZodTypeAny, {
906
- type: "image";
907
906
  data: string;
907
+ type: "image";
908
908
  mimeType: string;
909
909
  annotations?: {
910
910
  priority?: number | null | undefined;
@@ -912,8 +912,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
912
912
  lastModified?: string | null | undefined;
913
913
  } | null | undefined;
914
914
  }, {
915
- type: "image";
916
915
  data: string;
916
+ type: "image";
917
917
  mimeType: string;
918
918
  annotations?: {
919
919
  priority?: number | null | undefined;
@@ -938,8 +938,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
938
938
  mimeType: z.ZodString;
939
939
  type: z.ZodLiteral<"audio">;
940
940
  }, "strip", z.ZodTypeAny, {
941
- type: "audio";
942
941
  data: string;
942
+ type: "audio";
943
943
  mimeType: string;
944
944
  annotations?: {
945
945
  priority?: number | null | undefined;
@@ -947,8 +947,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
947
947
  lastModified?: string | null | undefined;
948
948
  } | null | undefined;
949
949
  }, {
950
- type: "audio";
951
950
  data: string;
951
+ type: "audio";
952
952
  mimeType: string;
953
953
  annotations?: {
954
954
  priority?: number | null | undefined;
@@ -1077,7 +1077,6 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1077
1077
  }>]>;
1078
1078
  type: z.ZodLiteral<"content">;
1079
1079
  }, "strip", z.ZodTypeAny, {
1080
- type: "content";
1081
1080
  content: {
1082
1081
  text: string;
1083
1082
  type: "text";
@@ -1087,8 +1086,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1087
1086
  lastModified?: string | null | undefined;
1088
1087
  } | null | undefined;
1089
1088
  } | {
1090
- type: "image";
1091
1089
  data: string;
1090
+ type: "image";
1092
1091
  mimeType: string;
1093
1092
  annotations?: {
1094
1093
  priority?: number | null | undefined;
@@ -1096,8 +1095,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1096
1095
  lastModified?: string | null | undefined;
1097
1096
  } | null | undefined;
1098
1097
  } | {
1099
- type: "audio";
1100
1098
  data: string;
1099
+ type: "audio";
1101
1100
  mimeType: string;
1102
1101
  annotations?: {
1103
1102
  priority?: number | null | undefined;
@@ -1134,8 +1133,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1134
1133
  lastModified?: string | null | undefined;
1135
1134
  } | null | undefined;
1136
1135
  };
1137
- }, {
1138
1136
  type: "content";
1137
+ }, {
1139
1138
  content: {
1140
1139
  text: string;
1141
1140
  type: "text";
@@ -1145,8 +1144,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1145
1144
  lastModified?: string | null | undefined;
1146
1145
  } | null | undefined;
1147
1146
  } | {
1148
- type: "image";
1149
1147
  data: string;
1148
+ type: "image";
1150
1149
  mimeType: string;
1151
1150
  annotations?: {
1152
1151
  priority?: number | null | undefined;
@@ -1154,8 +1153,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1154
1153
  lastModified?: string | null | undefined;
1155
1154
  } | null | undefined;
1156
1155
  } | {
1157
- type: "audio";
1158
1156
  data: string;
1157
+ type: "audio";
1159
1158
  mimeType: string;
1160
1159
  annotations?: {
1161
1160
  priority?: number | null | undefined;
@@ -1192,6 +1191,7 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1192
1191
  lastModified?: string | null | undefined;
1193
1192
  } | null | undefined;
1194
1193
  };
1194
+ type: "content";
1195
1195
  }>, z.ZodObject<{
1196
1196
  newText: z.ZodString;
1197
1197
  oldText: z.ZodNullable<z.ZodString>;
@@ -1260,8 +1260,8 @@ export declare const toolCallSchema: z.ZodObject<{
1260
1260
  mimeType: z.ZodString;
1261
1261
  type: z.ZodLiteral<"image">;
1262
1262
  }, "strip", z.ZodTypeAny, {
1263
- type: "image";
1264
1263
  data: string;
1264
+ type: "image";
1265
1265
  mimeType: string;
1266
1266
  annotations?: {
1267
1267
  priority?: number | null | undefined;
@@ -1269,8 +1269,8 @@ export declare const toolCallSchema: z.ZodObject<{
1269
1269
  lastModified?: string | null | undefined;
1270
1270
  } | null | undefined;
1271
1271
  }, {
1272
- type: "image";
1273
1272
  data: string;
1273
+ type: "image";
1274
1274
  mimeType: string;
1275
1275
  annotations?: {
1276
1276
  priority?: number | null | undefined;
@@ -1295,8 +1295,8 @@ export declare const toolCallSchema: z.ZodObject<{
1295
1295
  mimeType: z.ZodString;
1296
1296
  type: z.ZodLiteral<"audio">;
1297
1297
  }, "strip", z.ZodTypeAny, {
1298
- type: "audio";
1299
1298
  data: string;
1299
+ type: "audio";
1300
1300
  mimeType: string;
1301
1301
  annotations?: {
1302
1302
  priority?: number | null | undefined;
@@ -1304,8 +1304,8 @@ export declare const toolCallSchema: z.ZodObject<{
1304
1304
  lastModified?: string | null | undefined;
1305
1305
  } | null | undefined;
1306
1306
  }, {
1307
- type: "audio";
1308
1307
  data: string;
1308
+ type: "audio";
1309
1309
  mimeType: string;
1310
1310
  annotations?: {
1311
1311
  priority?: number | null | undefined;
@@ -1434,7 +1434,6 @@ export declare const toolCallSchema: z.ZodObject<{
1434
1434
  }>]>;
1435
1435
  type: z.ZodLiteral<"content">;
1436
1436
  }, "strip", z.ZodTypeAny, {
1437
- type: "content";
1438
1437
  content: {
1439
1438
  text: string;
1440
1439
  type: "text";
@@ -1444,8 +1443,8 @@ export declare const toolCallSchema: z.ZodObject<{
1444
1443
  lastModified?: string | null | undefined;
1445
1444
  } | null | undefined;
1446
1445
  } | {
1447
- type: "image";
1448
1446
  data: string;
1447
+ type: "image";
1449
1448
  mimeType: string;
1450
1449
  annotations?: {
1451
1450
  priority?: number | null | undefined;
@@ -1453,8 +1452,8 @@ export declare const toolCallSchema: z.ZodObject<{
1453
1452
  lastModified?: string | null | undefined;
1454
1453
  } | null | undefined;
1455
1454
  } | {
1456
- type: "audio";
1457
1455
  data: string;
1456
+ type: "audio";
1458
1457
  mimeType: string;
1459
1458
  annotations?: {
1460
1459
  priority?: number | null | undefined;
@@ -1491,8 +1490,8 @@ export declare const toolCallSchema: z.ZodObject<{
1491
1490
  lastModified?: string | null | undefined;
1492
1491
  } | null | undefined;
1493
1492
  };
1494
- }, {
1495
1493
  type: "content";
1494
+ }, {
1496
1495
  content: {
1497
1496
  text: string;
1498
1497
  type: "text";
@@ -1502,8 +1501,8 @@ export declare const toolCallSchema: z.ZodObject<{
1502
1501
  lastModified?: string | null | undefined;
1503
1502
  } | null | undefined;
1504
1503
  } | {
1505
- type: "image";
1506
1504
  data: string;
1505
+ type: "image";
1507
1506
  mimeType: string;
1508
1507
  annotations?: {
1509
1508
  priority?: number | null | undefined;
@@ -1511,8 +1510,8 @@ export declare const toolCallSchema: z.ZodObject<{
1511
1510
  lastModified?: string | null | undefined;
1512
1511
  } | null | undefined;
1513
1512
  } | {
1514
- type: "audio";
1515
1513
  data: string;
1514
+ type: "audio";
1516
1515
  mimeType: string;
1517
1516
  annotations?: {
1518
1517
  priority?: number | null | undefined;
@@ -1549,6 +1548,7 @@ export declare const toolCallSchema: z.ZodObject<{
1549
1548
  lastModified?: string | null | undefined;
1550
1549
  } | null | undefined;
1551
1550
  };
1551
+ type: "content";
1552
1552
  }>, z.ZodObject<{
1553
1553
  newText: z.ZodString;
1554
1554
  oldText: z.ZodNullable<z.ZodString>;
@@ -1586,7 +1586,6 @@ export declare const toolCallSchema: z.ZodObject<{
1586
1586
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
1587
1587
  toolCallId: string;
1588
1588
  content?: ({
1589
- type: "content";
1590
1589
  content: {
1591
1590
  text: string;
1592
1591
  type: "text";
@@ -1596,8 +1595,8 @@ export declare const toolCallSchema: z.ZodObject<{
1596
1595
  lastModified?: string | null | undefined;
1597
1596
  } | null | undefined;
1598
1597
  } | {
1599
- type: "image";
1600
1598
  data: string;
1599
+ type: "image";
1601
1600
  mimeType: string;
1602
1601
  annotations?: {
1603
1602
  priority?: number | null | undefined;
@@ -1605,8 +1604,8 @@ export declare const toolCallSchema: z.ZodObject<{
1605
1604
  lastModified?: string | null | undefined;
1606
1605
  } | null | undefined;
1607
1606
  } | {
1608
- type: "audio";
1609
1607
  data: string;
1608
+ type: "audio";
1610
1609
  mimeType: string;
1611
1610
  annotations?: {
1612
1611
  priority?: number | null | undefined;
@@ -1643,6 +1642,7 @@ export declare const toolCallSchema: z.ZodObject<{
1643
1642
  lastModified?: string | null | undefined;
1644
1643
  } | null | undefined;
1645
1644
  };
1645
+ type: "content";
1646
1646
  } | {
1647
1647
  type: "diff";
1648
1648
  path: string;
@@ -1660,7 +1660,6 @@ export declare const toolCallSchema: z.ZodObject<{
1660
1660
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
1661
1661
  toolCallId: string;
1662
1662
  content?: ({
1663
- type: "content";
1664
1663
  content: {
1665
1664
  text: string;
1666
1665
  type: "text";
@@ -1670,8 +1669,8 @@ export declare const toolCallSchema: z.ZodObject<{
1670
1669
  lastModified?: string | null | undefined;
1671
1670
  } | null | undefined;
1672
1671
  } | {
1673
- type: "image";
1674
1672
  data: string;
1673
+ type: "image";
1675
1674
  mimeType: string;
1676
1675
  annotations?: {
1677
1676
  priority?: number | null | undefined;
@@ -1679,8 +1678,8 @@ export declare const toolCallSchema: z.ZodObject<{
1679
1678
  lastModified?: string | null | undefined;
1680
1679
  } | null | undefined;
1681
1680
  } | {
1682
- type: "audio";
1683
1681
  data: string;
1682
+ type: "audio";
1684
1683
  mimeType: string;
1685
1684
  annotations?: {
1686
1685
  priority?: number | null | undefined;
@@ -1717,6 +1716,7 @@ export declare const toolCallSchema: z.ZodObject<{
1717
1716
  lastModified?: string | null | undefined;
1718
1717
  } | null | undefined;
1719
1718
  };
1719
+ type: "content";
1720
1720
  } | {
1721
1721
  type: "diff";
1722
1722
  path: string;
@@ -1802,8 +1802,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1802
1802
  mimeType: z.ZodString;
1803
1803
  type: z.ZodLiteral<"image">;
1804
1804
  }, "strip", z.ZodTypeAny, {
1805
- type: "image";
1806
1805
  data: string;
1806
+ type: "image";
1807
1807
  mimeType: string;
1808
1808
  annotations?: {
1809
1809
  priority?: number | null | undefined;
@@ -1811,8 +1811,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1811
1811
  lastModified?: string | null | undefined;
1812
1812
  } | null | undefined;
1813
1813
  }, {
1814
- type: "image";
1815
1814
  data: string;
1815
+ type: "image";
1816
1816
  mimeType: string;
1817
1817
  annotations?: {
1818
1818
  priority?: number | null | undefined;
@@ -1837,8 +1837,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1837
1837
  mimeType: z.ZodString;
1838
1838
  type: z.ZodLiteral<"audio">;
1839
1839
  }, "strip", z.ZodTypeAny, {
1840
- type: "audio";
1841
1840
  data: string;
1841
+ type: "audio";
1842
1842
  mimeType: string;
1843
1843
  annotations?: {
1844
1844
  priority?: number | null | undefined;
@@ -1846,8 +1846,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1846
1846
  lastModified?: string | null | undefined;
1847
1847
  } | null | undefined;
1848
1848
  }, {
1849
- type: "audio";
1850
1849
  data: string;
1850
+ type: "audio";
1851
1851
  mimeType: string;
1852
1852
  annotations?: {
1853
1853
  priority?: number | null | undefined;
@@ -1986,8 +1986,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1986
1986
  lastModified?: string | null | undefined;
1987
1987
  } | null | undefined;
1988
1988
  } | {
1989
- type: "image";
1990
1989
  data: string;
1990
+ type: "image";
1991
1991
  mimeType: string;
1992
1992
  annotations?: {
1993
1993
  priority?: number | null | undefined;
@@ -1995,8 +1995,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1995
1995
  lastModified?: string | null | undefined;
1996
1996
  } | null | undefined;
1997
1997
  } | {
1998
- type: "audio";
1999
1998
  data: string;
1999
+ type: "audio";
2000
2000
  mimeType: string;
2001
2001
  annotations?: {
2002
2002
  priority?: number | null | undefined;
@@ -2044,8 +2044,8 @@ export declare const promptRequestSchema: z.ZodObject<{
2044
2044
  lastModified?: string | null | undefined;
2045
2045
  } | null | undefined;
2046
2046
  } | {
2047
- type: "image";
2048
2047
  data: string;
2048
+ type: "image";
2049
2049
  mimeType: string;
2050
2050
  annotations?: {
2051
2051
  priority?: number | null | undefined;
@@ -2053,8 +2053,8 @@ export declare const promptRequestSchema: z.ZodObject<{
2053
2053
  lastModified?: string | null | undefined;
2054
2054
  } | null | undefined;
2055
2055
  } | {
2056
- type: "audio";
2057
2056
  data: string;
2057
+ type: "audio";
2058
2058
  mimeType: string;
2059
2059
  annotations?: {
2060
2060
  priority?: number | null | undefined;
@@ -2143,8 +2143,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2143
2143
  mimeType: z.ZodString;
2144
2144
  type: z.ZodLiteral<"image">;
2145
2145
  }, "strip", z.ZodTypeAny, {
2146
- type: "image";
2147
2146
  data: string;
2147
+ type: "image";
2148
2148
  mimeType: string;
2149
2149
  annotations?: {
2150
2150
  priority?: number | null | undefined;
@@ -2152,8 +2152,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2152
2152
  lastModified?: string | null | undefined;
2153
2153
  } | null | undefined;
2154
2154
  }, {
2155
- type: "image";
2156
2155
  data: string;
2156
+ type: "image";
2157
2157
  mimeType: string;
2158
2158
  annotations?: {
2159
2159
  priority?: number | null | undefined;
@@ -2178,8 +2178,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2178
2178
  mimeType: z.ZodString;
2179
2179
  type: z.ZodLiteral<"audio">;
2180
2180
  }, "strip", z.ZodTypeAny, {
2181
- type: "audio";
2182
2181
  data: string;
2182
+ type: "audio";
2183
2183
  mimeType: string;
2184
2184
  annotations?: {
2185
2185
  priority?: number | null | undefined;
@@ -2187,8 +2187,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2187
2187
  lastModified?: string | null | undefined;
2188
2188
  } | null | undefined;
2189
2189
  }, {
2190
- type: "audio";
2191
2190
  data: string;
2191
+ type: "audio";
2192
2192
  mimeType: string;
2193
2193
  annotations?: {
2194
2194
  priority?: number | null | undefined;
@@ -2326,8 +2326,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2326
2326
  lastModified?: string | null | undefined;
2327
2327
  } | null | undefined;
2328
2328
  } | {
2329
- type: "image";
2330
2329
  data: string;
2330
+ type: "image";
2331
2331
  mimeType: string;
2332
2332
  annotations?: {
2333
2333
  priority?: number | null | undefined;
@@ -2335,8 +2335,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2335
2335
  lastModified?: string | null | undefined;
2336
2336
  } | null | undefined;
2337
2337
  } | {
2338
- type: "audio";
2339
2338
  data: string;
2339
+ type: "audio";
2340
2340
  mimeType: string;
2341
2341
  annotations?: {
2342
2342
  priority?: number | null | undefined;
@@ -2384,8 +2384,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2384
2384
  lastModified?: string | null | undefined;
2385
2385
  } | null | undefined;
2386
2386
  } | {
2387
- type: "image";
2388
2387
  data: string;
2388
+ type: "image";
2389
2389
  mimeType: string;
2390
2390
  annotations?: {
2391
2391
  priority?: number | null | undefined;
@@ -2393,8 +2393,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2393
2393
  lastModified?: string | null | undefined;
2394
2394
  } | null | undefined;
2395
2395
  } | {
2396
- type: "audio";
2397
2396
  data: string;
2397
+ type: "audio";
2398
2398
  mimeType: string;
2399
2399
  annotations?: {
2400
2400
  priority?: number | null | undefined;
@@ -2483,8 +2483,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2483
2483
  mimeType: z.ZodString;
2484
2484
  type: z.ZodLiteral<"image">;
2485
2485
  }, "strip", z.ZodTypeAny, {
2486
- type: "image";
2487
2486
  data: string;
2487
+ type: "image";
2488
2488
  mimeType: string;
2489
2489
  annotations?: {
2490
2490
  priority?: number | null | undefined;
@@ -2492,8 +2492,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2492
2492
  lastModified?: string | null | undefined;
2493
2493
  } | null | undefined;
2494
2494
  }, {
2495
- type: "image";
2496
2495
  data: string;
2496
+ type: "image";
2497
2497
  mimeType: string;
2498
2498
  annotations?: {
2499
2499
  priority?: number | null | undefined;
@@ -2518,8 +2518,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2518
2518
  mimeType: z.ZodString;
2519
2519
  type: z.ZodLiteral<"audio">;
2520
2520
  }, "strip", z.ZodTypeAny, {
2521
- type: "audio";
2522
2521
  data: string;
2522
+ type: "audio";
2523
2523
  mimeType: string;
2524
2524
  annotations?: {
2525
2525
  priority?: number | null | undefined;
@@ -2527,8 +2527,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2527
2527
  lastModified?: string | null | undefined;
2528
2528
  } | null | undefined;
2529
2529
  }, {
2530
- type: "audio";
2531
2530
  data: string;
2531
+ type: "audio";
2532
2532
  mimeType: string;
2533
2533
  annotations?: {
2534
2534
  priority?: number | null | undefined;
@@ -2666,8 +2666,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2666
2666
  lastModified?: string | null | undefined;
2667
2667
  } | null | undefined;
2668
2668
  } | {
2669
- type: "image";
2670
2669
  data: string;
2670
+ type: "image";
2671
2671
  mimeType: string;
2672
2672
  annotations?: {
2673
2673
  priority?: number | null | undefined;
@@ -2675,8 +2675,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2675
2675
  lastModified?: string | null | undefined;
2676
2676
  } | null | undefined;
2677
2677
  } | {
2678
- type: "audio";
2679
2678
  data: string;
2679
+ type: "audio";
2680
2680
  mimeType: string;
2681
2681
  annotations?: {
2682
2682
  priority?: number | null | undefined;
@@ -2724,8 +2724,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2724
2724
  lastModified?: string | null | undefined;
2725
2725
  } | null | undefined;
2726
2726
  } | {
2727
- type: "image";
2728
2727
  data: string;
2728
+ type: "image";
2729
2729
  mimeType: string;
2730
2730
  annotations?: {
2731
2731
  priority?: number | null | undefined;
@@ -2733,8 +2733,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2733
2733
  lastModified?: string | null | undefined;
2734
2734
  } | null | undefined;
2735
2735
  } | {
2736
- type: "audio";
2737
2736
  data: string;
2737
+ type: "audio";
2738
2738
  mimeType: string;
2739
2739
  annotations?: {
2740
2740
  priority?: number | null | undefined;
@@ -2823,8 +2823,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2823
2823
  mimeType: z.ZodString;
2824
2824
  type: z.ZodLiteral<"image">;
2825
2825
  }, "strip", z.ZodTypeAny, {
2826
- type: "image";
2827
2826
  data: string;
2827
+ type: "image";
2828
2828
  mimeType: string;
2829
2829
  annotations?: {
2830
2830
  priority?: number | null | undefined;
@@ -2832,8 +2832,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2832
2832
  lastModified?: string | null | undefined;
2833
2833
  } | null | undefined;
2834
2834
  }, {
2835
- type: "image";
2836
2835
  data: string;
2836
+ type: "image";
2837
2837
  mimeType: string;
2838
2838
  annotations?: {
2839
2839
  priority?: number | null | undefined;
@@ -2858,8 +2858,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2858
2858
  mimeType: z.ZodString;
2859
2859
  type: z.ZodLiteral<"audio">;
2860
2860
  }, "strip", z.ZodTypeAny, {
2861
- type: "audio";
2862
2861
  data: string;
2862
+ type: "audio";
2863
2863
  mimeType: string;
2864
2864
  annotations?: {
2865
2865
  priority?: number | null | undefined;
@@ -2867,8 +2867,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2867
2867
  lastModified?: string | null | undefined;
2868
2868
  } | null | undefined;
2869
2869
  }, {
2870
- type: "audio";
2871
2870
  data: string;
2871
+ type: "audio";
2872
2872
  mimeType: string;
2873
2873
  annotations?: {
2874
2874
  priority?: number | null | undefined;
@@ -3006,8 +3006,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3006
3006
  lastModified?: string | null | undefined;
3007
3007
  } | null | undefined;
3008
3008
  } | {
3009
- type: "image";
3010
3009
  data: string;
3010
+ type: "image";
3011
3011
  mimeType: string;
3012
3012
  annotations?: {
3013
3013
  priority?: number | null | undefined;
@@ -3015,8 +3015,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3015
3015
  lastModified?: string | null | undefined;
3016
3016
  } | null | undefined;
3017
3017
  } | {
3018
- type: "audio";
3019
3018
  data: string;
3019
+ type: "audio";
3020
3020
  mimeType: string;
3021
3021
  annotations?: {
3022
3022
  priority?: number | null | undefined;
@@ -3064,8 +3064,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3064
3064
  lastModified?: string | null | undefined;
3065
3065
  } | null | undefined;
3066
3066
  } | {
3067
- type: "image";
3068
3067
  data: string;
3068
+ type: "image";
3069
3069
  mimeType: string;
3070
3070
  annotations?: {
3071
3071
  priority?: number | null | undefined;
@@ -3073,8 +3073,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3073
3073
  lastModified?: string | null | undefined;
3074
3074
  } | null | undefined;
3075
3075
  } | {
3076
- type: "audio";
3077
3076
  data: string;
3077
+ type: "audio";
3078
3078
  mimeType: string;
3079
3079
  annotations?: {
3080
3080
  priority?: number | null | undefined;
@@ -3164,8 +3164,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3164
3164
  mimeType: z.ZodString;
3165
3165
  type: z.ZodLiteral<"image">;
3166
3166
  }, "strip", z.ZodTypeAny, {
3167
- type: "image";
3168
3167
  data: string;
3168
+ type: "image";
3169
3169
  mimeType: string;
3170
3170
  annotations?: {
3171
3171
  priority?: number | null | undefined;
@@ -3173,8 +3173,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3173
3173
  lastModified?: string | null | undefined;
3174
3174
  } | null | undefined;
3175
3175
  }, {
3176
- type: "image";
3177
3176
  data: string;
3177
+ type: "image";
3178
3178
  mimeType: string;
3179
3179
  annotations?: {
3180
3180
  priority?: number | null | undefined;
@@ -3199,8 +3199,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3199
3199
  mimeType: z.ZodString;
3200
3200
  type: z.ZodLiteral<"audio">;
3201
3201
  }, "strip", z.ZodTypeAny, {
3202
- type: "audio";
3203
3202
  data: string;
3203
+ type: "audio";
3204
3204
  mimeType: string;
3205
3205
  annotations?: {
3206
3206
  priority?: number | null | undefined;
@@ -3208,8 +3208,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3208
3208
  lastModified?: string | null | undefined;
3209
3209
  } | null | undefined;
3210
3210
  }, {
3211
- type: "audio";
3212
3211
  data: string;
3212
+ type: "audio";
3213
3213
  mimeType: string;
3214
3214
  annotations?: {
3215
3215
  priority?: number | null | undefined;
@@ -3338,7 +3338,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3338
3338
  }>]>;
3339
3339
  type: z.ZodLiteral<"content">;
3340
3340
  }, "strip", z.ZodTypeAny, {
3341
- type: "content";
3342
3341
  content: {
3343
3342
  text: string;
3344
3343
  type: "text";
@@ -3348,8 +3347,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3348
3347
  lastModified?: string | null | undefined;
3349
3348
  } | null | undefined;
3350
3349
  } | {
3351
- type: "image";
3352
3350
  data: string;
3351
+ type: "image";
3353
3352
  mimeType: string;
3354
3353
  annotations?: {
3355
3354
  priority?: number | null | undefined;
@@ -3357,8 +3356,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3357
3356
  lastModified?: string | null | undefined;
3358
3357
  } | null | undefined;
3359
3358
  } | {
3360
- type: "audio";
3361
3359
  data: string;
3360
+ type: "audio";
3362
3361
  mimeType: string;
3363
3362
  annotations?: {
3364
3363
  priority?: number | null | undefined;
@@ -3395,8 +3394,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3395
3394
  lastModified?: string | null | undefined;
3396
3395
  } | null | undefined;
3397
3396
  };
3398
- }, {
3399
3397
  type: "content";
3398
+ }, {
3400
3399
  content: {
3401
3400
  text: string;
3402
3401
  type: "text";
@@ -3406,8 +3405,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3406
3405
  lastModified?: string | null | undefined;
3407
3406
  } | null | undefined;
3408
3407
  } | {
3409
- type: "image";
3410
3408
  data: string;
3409
+ type: "image";
3411
3410
  mimeType: string;
3412
3411
  annotations?: {
3413
3412
  priority?: number | null | undefined;
@@ -3415,8 +3414,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3415
3414
  lastModified?: string | null | undefined;
3416
3415
  } | null | undefined;
3417
3416
  } | {
3418
- type: "audio";
3419
3417
  data: string;
3418
+ type: "audio";
3420
3419
  mimeType: string;
3421
3420
  annotations?: {
3422
3421
  priority?: number | null | undefined;
@@ -3453,6 +3452,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3453
3452
  lastModified?: string | null | undefined;
3454
3453
  } | null | undefined;
3455
3454
  };
3455
+ type: "content";
3456
3456
  }>, z.ZodObject<{
3457
3457
  newText: z.ZodString;
3458
3458
  oldText: z.ZodNullable<z.ZodString>;
@@ -3492,7 +3492,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3492
3492
  toolCallId: string;
3493
3493
  sessionUpdate: "tool_call";
3494
3494
  content?: ({
3495
- type: "content";
3496
3495
  content: {
3497
3496
  text: string;
3498
3497
  type: "text";
@@ -3502,8 +3501,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3502
3501
  lastModified?: string | null | undefined;
3503
3502
  } | null | undefined;
3504
3503
  } | {
3505
- type: "image";
3506
3504
  data: string;
3505
+ type: "image";
3507
3506
  mimeType: string;
3508
3507
  annotations?: {
3509
3508
  priority?: number | null | undefined;
@@ -3511,8 +3510,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3511
3510
  lastModified?: string | null | undefined;
3512
3511
  } | null | undefined;
3513
3512
  } | {
3514
- type: "audio";
3515
3513
  data: string;
3514
+ type: "audio";
3516
3515
  mimeType: string;
3517
3516
  annotations?: {
3518
3517
  priority?: number | null | undefined;
@@ -3549,6 +3548,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3549
3548
  lastModified?: string | null | undefined;
3550
3549
  } | null | undefined;
3551
3550
  };
3551
+ type: "content";
3552
3552
  } | {
3553
3553
  type: "diff";
3554
3554
  path: string;
@@ -3567,7 +3567,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3567
3567
  toolCallId: string;
3568
3568
  sessionUpdate: "tool_call";
3569
3569
  content?: ({
3570
- type: "content";
3571
3570
  content: {
3572
3571
  text: string;
3573
3572
  type: "text";
@@ -3577,8 +3576,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3577
3576
  lastModified?: string | null | undefined;
3578
3577
  } | null | undefined;
3579
3578
  } | {
3580
- type: "image";
3581
3579
  data: string;
3580
+ type: "image";
3582
3581
  mimeType: string;
3583
3582
  annotations?: {
3584
3583
  priority?: number | null | undefined;
@@ -3586,8 +3585,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3586
3585
  lastModified?: string | null | undefined;
3587
3586
  } | null | undefined;
3588
3587
  } | {
3589
- type: "audio";
3590
3588
  data: string;
3589
+ type: "audio";
3591
3590
  mimeType: string;
3592
3591
  annotations?: {
3593
3592
  priority?: number | null | undefined;
@@ -3624,6 +3623,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3624
3623
  lastModified?: string | null | undefined;
3625
3624
  } | null | undefined;
3626
3625
  };
3626
+ type: "content";
3627
3627
  } | {
3628
3628
  type: "diff";
3629
3629
  path: string;
@@ -3687,8 +3687,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3687
3687
  mimeType: z.ZodString;
3688
3688
  type: z.ZodLiteral<"image">;
3689
3689
  }, "strip", z.ZodTypeAny, {
3690
- type: "image";
3691
3690
  data: string;
3691
+ type: "image";
3692
3692
  mimeType: string;
3693
3693
  annotations?: {
3694
3694
  priority?: number | null | undefined;
@@ -3696,8 +3696,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3696
3696
  lastModified?: string | null | undefined;
3697
3697
  } | null | undefined;
3698
3698
  }, {
3699
- type: "image";
3700
3699
  data: string;
3700
+ type: "image";
3701
3701
  mimeType: string;
3702
3702
  annotations?: {
3703
3703
  priority?: number | null | undefined;
@@ -3722,8 +3722,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3722
3722
  mimeType: z.ZodString;
3723
3723
  type: z.ZodLiteral<"audio">;
3724
3724
  }, "strip", z.ZodTypeAny, {
3725
- type: "audio";
3726
3725
  data: string;
3726
+ type: "audio";
3727
3727
  mimeType: string;
3728
3728
  annotations?: {
3729
3729
  priority?: number | null | undefined;
@@ -3731,8 +3731,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3731
3731
  lastModified?: string | null | undefined;
3732
3732
  } | null | undefined;
3733
3733
  }, {
3734
- type: "audio";
3735
3734
  data: string;
3735
+ type: "audio";
3736
3736
  mimeType: string;
3737
3737
  annotations?: {
3738
3738
  priority?: number | null | undefined;
@@ -3861,7 +3861,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3861
3861
  }>]>;
3862
3862
  type: z.ZodLiteral<"content">;
3863
3863
  }, "strip", z.ZodTypeAny, {
3864
- type: "content";
3865
3864
  content: {
3866
3865
  text: string;
3867
3866
  type: "text";
@@ -3871,8 +3870,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3871
3870
  lastModified?: string | null | undefined;
3872
3871
  } | null | undefined;
3873
3872
  } | {
3874
- type: "image";
3875
3873
  data: string;
3874
+ type: "image";
3876
3875
  mimeType: string;
3877
3876
  annotations?: {
3878
3877
  priority?: number | null | undefined;
@@ -3880,8 +3879,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3880
3879
  lastModified?: string | null | undefined;
3881
3880
  } | null | undefined;
3882
3881
  } | {
3883
- type: "audio";
3884
3882
  data: string;
3883
+ type: "audio";
3885
3884
  mimeType: string;
3886
3885
  annotations?: {
3887
3886
  priority?: number | null | undefined;
@@ -3918,8 +3917,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3918
3917
  lastModified?: string | null | undefined;
3919
3918
  } | null | undefined;
3920
3919
  };
3921
- }, {
3922
3920
  type: "content";
3921
+ }, {
3923
3922
  content: {
3924
3923
  text: string;
3925
3924
  type: "text";
@@ -3929,8 +3928,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3929
3928
  lastModified?: string | null | undefined;
3930
3929
  } | null | undefined;
3931
3930
  } | {
3932
- type: "image";
3933
3931
  data: string;
3932
+ type: "image";
3934
3933
  mimeType: string;
3935
3934
  annotations?: {
3936
3935
  priority?: number | null | undefined;
@@ -3938,8 +3937,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3938
3937
  lastModified?: string | null | undefined;
3939
3938
  } | null | undefined;
3940
3939
  } | {
3941
- type: "audio";
3942
3940
  data: string;
3941
+ type: "audio";
3943
3942
  mimeType: string;
3944
3943
  annotations?: {
3945
3944
  priority?: number | null | undefined;
@@ -3976,6 +3975,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3976
3975
  lastModified?: string | null | undefined;
3977
3976
  } | null | undefined;
3978
3977
  };
3978
+ type: "content";
3979
3979
  }>, z.ZodObject<{
3980
3980
  newText: z.ZodString;
3981
3981
  oldText: z.ZodNullable<z.ZodString>;
@@ -4012,7 +4012,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4012
4012
  toolCallId: string;
4013
4013
  sessionUpdate: "tool_call_update";
4014
4014
  content?: ({
4015
- type: "content";
4016
4015
  content: {
4017
4016
  text: string;
4018
4017
  type: "text";
@@ -4022,8 +4021,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4022
4021
  lastModified?: string | null | undefined;
4023
4022
  } | null | undefined;
4024
4023
  } | {
4025
- type: "image";
4026
4024
  data: string;
4025
+ type: "image";
4027
4026
  mimeType: string;
4028
4027
  annotations?: {
4029
4028
  priority?: number | null | undefined;
@@ -4031,8 +4030,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4031
4030
  lastModified?: string | null | undefined;
4032
4031
  } | null | undefined;
4033
4032
  } | {
4034
- type: "audio";
4035
4033
  data: string;
4034
+ type: "audio";
4036
4035
  mimeType: string;
4037
4036
  annotations?: {
4038
4037
  priority?: number | null | undefined;
@@ -4069,6 +4068,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4069
4068
  lastModified?: string | null | undefined;
4070
4069
  } | null | undefined;
4071
4070
  };
4071
+ type: "content";
4072
4072
  } | {
4073
4073
  type: "diff";
4074
4074
  path: string;
@@ -4087,7 +4087,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4087
4087
  toolCallId: string;
4088
4088
  sessionUpdate: "tool_call_update";
4089
4089
  content?: ({
4090
- type: "content";
4091
4090
  content: {
4092
4091
  text: string;
4093
4092
  type: "text";
@@ -4097,8 +4096,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4097
4096
  lastModified?: string | null | undefined;
4098
4097
  } | null | undefined;
4099
4098
  } | {
4100
- type: "image";
4101
4099
  data: string;
4100
+ type: "image";
4102
4101
  mimeType: string;
4103
4102
  annotations?: {
4104
4103
  priority?: number | null | undefined;
@@ -4106,8 +4105,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4106
4105
  lastModified?: string | null | undefined;
4107
4106
  } | null | undefined;
4108
4107
  } | {
4109
- type: "audio";
4110
4108
  data: string;
4109
+ type: "audio";
4111
4110
  mimeType: string;
4112
4111
  annotations?: {
4113
4112
  priority?: number | null | undefined;
@@ -4144,6 +4143,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4144
4143
  lastModified?: string | null | undefined;
4145
4144
  } | null | undefined;
4146
4145
  };
4146
+ type: "content";
4147
4147
  } | {
4148
4148
  type: "diff";
4149
4149
  path: string;
@@ -4343,8 +4343,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4343
4343
  mimeType: z.ZodString;
4344
4344
  type: z.ZodLiteral<"image">;
4345
4345
  }, "strip", z.ZodTypeAny, {
4346
- type: "image";
4347
4346
  data: string;
4347
+ type: "image";
4348
4348
  mimeType: string;
4349
4349
  annotations?: {
4350
4350
  priority?: number | null | undefined;
@@ -4352,8 +4352,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4352
4352
  lastModified?: string | null | undefined;
4353
4353
  } | null | undefined;
4354
4354
  }, {
4355
- type: "image";
4356
4355
  data: string;
4356
+ type: "image";
4357
4357
  mimeType: string;
4358
4358
  annotations?: {
4359
4359
  priority?: number | null | undefined;
@@ -4378,8 +4378,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4378
4378
  mimeType: z.ZodString;
4379
4379
  type: z.ZodLiteral<"audio">;
4380
4380
  }, "strip", z.ZodTypeAny, {
4381
- type: "audio";
4382
4381
  data: string;
4382
+ type: "audio";
4383
4383
  mimeType: string;
4384
4384
  annotations?: {
4385
4385
  priority?: number | null | undefined;
@@ -4387,8 +4387,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4387
4387
  lastModified?: string | null | undefined;
4388
4388
  } | null | undefined;
4389
4389
  }, {
4390
- type: "audio";
4391
4390
  data: string;
4391
+ type: "audio";
4392
4392
  mimeType: string;
4393
4393
  annotations?: {
4394
4394
  priority?: number | null | undefined;
@@ -4517,7 +4517,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4517
4517
  }>]>;
4518
4518
  type: z.ZodLiteral<"content">;
4519
4519
  }, "strip", z.ZodTypeAny, {
4520
- type: "content";
4521
4520
  content: {
4522
4521
  text: string;
4523
4522
  type: "text";
@@ -4527,8 +4526,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4527
4526
  lastModified?: string | null | undefined;
4528
4527
  } | null | undefined;
4529
4528
  } | {
4530
- type: "image";
4531
4529
  data: string;
4530
+ type: "image";
4532
4531
  mimeType: string;
4533
4532
  annotations?: {
4534
4533
  priority?: number | null | undefined;
@@ -4536,8 +4535,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4536
4535
  lastModified?: string | null | undefined;
4537
4536
  } | null | undefined;
4538
4537
  } | {
4539
- type: "audio";
4540
4538
  data: string;
4539
+ type: "audio";
4541
4540
  mimeType: string;
4542
4541
  annotations?: {
4543
4542
  priority?: number | null | undefined;
@@ -4574,8 +4573,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4574
4573
  lastModified?: string | null | undefined;
4575
4574
  } | null | undefined;
4576
4575
  };
4577
- }, {
4578
4576
  type: "content";
4577
+ }, {
4579
4578
  content: {
4580
4579
  text: string;
4581
4580
  type: "text";
@@ -4585,8 +4584,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4585
4584
  lastModified?: string | null | undefined;
4586
4585
  } | null | undefined;
4587
4586
  } | {
4588
- type: "image";
4589
4587
  data: string;
4588
+ type: "image";
4590
4589
  mimeType: string;
4591
4590
  annotations?: {
4592
4591
  priority?: number | null | undefined;
@@ -4594,8 +4593,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4594
4593
  lastModified?: string | null | undefined;
4595
4594
  } | null | undefined;
4596
4595
  } | {
4597
- type: "audio";
4598
4596
  data: string;
4597
+ type: "audio";
4599
4598
  mimeType: string;
4600
4599
  annotations?: {
4601
4600
  priority?: number | null | undefined;
@@ -4632,6 +4631,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4632
4631
  lastModified?: string | null | undefined;
4633
4632
  } | null | undefined;
4634
4633
  };
4634
+ type: "content";
4635
4635
  }>, z.ZodObject<{
4636
4636
  newText: z.ZodString;
4637
4637
  oldText: z.ZodNullable<z.ZodString>;
@@ -4669,7 +4669,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4669
4669
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4670
4670
  toolCallId: string;
4671
4671
  content?: ({
4672
- type: "content";
4673
4672
  content: {
4674
4673
  text: string;
4675
4674
  type: "text";
@@ -4679,8 +4678,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4679
4678
  lastModified?: string | null | undefined;
4680
4679
  } | null | undefined;
4681
4680
  } | {
4682
- type: "image";
4683
4681
  data: string;
4682
+ type: "image";
4684
4683
  mimeType: string;
4685
4684
  annotations?: {
4686
4685
  priority?: number | null | undefined;
@@ -4688,8 +4687,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4688
4687
  lastModified?: string | null | undefined;
4689
4688
  } | null | undefined;
4690
4689
  } | {
4691
- type: "audio";
4692
4690
  data: string;
4691
+ type: "audio";
4693
4692
  mimeType: string;
4694
4693
  annotations?: {
4695
4694
  priority?: number | null | undefined;
@@ -4726,6 +4725,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4726
4725
  lastModified?: string | null | undefined;
4727
4726
  } | null | undefined;
4728
4727
  };
4728
+ type: "content";
4729
4729
  } | {
4730
4730
  type: "diff";
4731
4731
  path: string;
@@ -4743,7 +4743,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4743
4743
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4744
4744
  toolCallId: string;
4745
4745
  content?: ({
4746
- type: "content";
4747
4746
  content: {
4748
4747
  text: string;
4749
4748
  type: "text";
@@ -4753,8 +4752,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4753
4752
  lastModified?: string | null | undefined;
4754
4753
  } | null | undefined;
4755
4754
  } | {
4756
- type: "image";
4757
4755
  data: string;
4756
+ type: "image";
4758
4757
  mimeType: string;
4759
4758
  annotations?: {
4760
4759
  priority?: number | null | undefined;
@@ -4762,8 +4761,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4762
4761
  lastModified?: string | null | undefined;
4763
4762
  } | null | undefined;
4764
4763
  } | {
4765
- type: "audio";
4766
4764
  data: string;
4765
+ type: "audio";
4767
4766
  mimeType: string;
4768
4767
  annotations?: {
4769
4768
  priority?: number | null | undefined;
@@ -4800,6 +4799,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4800
4799
  lastModified?: string | null | undefined;
4801
4800
  } | null | undefined;
4802
4801
  };
4802
+ type: "content";
4803
4803
  } | {
4804
4804
  type: "diff";
4805
4805
  path: string;
@@ -4825,7 +4825,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4825
4825
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4826
4826
  toolCallId: string;
4827
4827
  content?: ({
4828
- type: "content";
4829
4828
  content: {
4830
4829
  text: string;
4831
4830
  type: "text";
@@ -4835,8 +4834,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4835
4834
  lastModified?: string | null | undefined;
4836
4835
  } | null | undefined;
4837
4836
  } | {
4838
- type: "image";
4839
4837
  data: string;
4838
+ type: "image";
4840
4839
  mimeType: string;
4841
4840
  annotations?: {
4842
4841
  priority?: number | null | undefined;
@@ -4844,8 +4843,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4844
4843
  lastModified?: string | null | undefined;
4845
4844
  } | null | undefined;
4846
4845
  } | {
4847
- type: "audio";
4848
4846
  data: string;
4847
+ type: "audio";
4849
4848
  mimeType: string;
4850
4849
  annotations?: {
4851
4850
  priority?: number | null | undefined;
@@ -4882,6 +4881,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4882
4881
  lastModified?: string | null | undefined;
4883
4882
  } | null | undefined;
4884
4883
  };
4884
+ type: "content";
4885
4885
  } | {
4886
4886
  type: "diff";
4887
4887
  path: string;
@@ -4907,7 +4907,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4907
4907
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4908
4908
  toolCallId: string;
4909
4909
  content?: ({
4910
- type: "content";
4911
4910
  content: {
4912
4911
  text: string;
4913
4912
  type: "text";
@@ -4917,8 +4916,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4917
4916
  lastModified?: string | null | undefined;
4918
4917
  } | null | undefined;
4919
4918
  } | {
4920
- type: "image";
4921
4919
  data: string;
4920
+ type: "image";
4922
4921
  mimeType: string;
4923
4922
  annotations?: {
4924
4923
  priority?: number | null | undefined;
@@ -4926,8 +4925,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4926
4925
  lastModified?: string | null | undefined;
4927
4926
  } | null | undefined;
4928
4927
  } | {
4929
- type: "audio";
4930
4928
  data: string;
4929
+ type: "audio";
4931
4930
  mimeType: string;
4932
4931
  annotations?: {
4933
4932
  priority?: number | null | undefined;
@@ -4964,6 +4963,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4964
4963
  lastModified?: string | null | undefined;
4965
4964
  } | null | undefined;
4966
4965
  };
4966
+ type: "content";
4967
4967
  } | {
4968
4968
  type: "diff";
4969
4969
  path: string;
@@ -5071,8 +5071,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5071
5071
  mimeType: z.ZodString;
5072
5072
  type: z.ZodLiteral<"image">;
5073
5073
  }, "strip", z.ZodTypeAny, {
5074
- type: "image";
5075
5074
  data: string;
5075
+ type: "image";
5076
5076
  mimeType: string;
5077
5077
  annotations?: {
5078
5078
  priority?: number | null | undefined;
@@ -5080,8 +5080,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5080
5080
  lastModified?: string | null | undefined;
5081
5081
  } | null | undefined;
5082
5082
  }, {
5083
- type: "image";
5084
5083
  data: string;
5084
+ type: "image";
5085
5085
  mimeType: string;
5086
5086
  annotations?: {
5087
5087
  priority?: number | null | undefined;
@@ -5106,8 +5106,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5106
5106
  mimeType: z.ZodString;
5107
5107
  type: z.ZodLiteral<"audio">;
5108
5108
  }, "strip", z.ZodTypeAny, {
5109
- type: "audio";
5110
5109
  data: string;
5110
+ type: "audio";
5111
5111
  mimeType: string;
5112
5112
  annotations?: {
5113
5113
  priority?: number | null | undefined;
@@ -5115,8 +5115,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5115
5115
  lastModified?: string | null | undefined;
5116
5116
  } | null | undefined;
5117
5117
  }, {
5118
- type: "audio";
5119
5118
  data: string;
5119
+ type: "audio";
5120
5120
  mimeType: string;
5121
5121
  annotations?: {
5122
5122
  priority?: number | null | undefined;
@@ -5254,8 +5254,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5254
5254
  lastModified?: string | null | undefined;
5255
5255
  } | null | undefined;
5256
5256
  } | {
5257
- type: "image";
5258
5257
  data: string;
5258
+ type: "image";
5259
5259
  mimeType: string;
5260
5260
  annotations?: {
5261
5261
  priority?: number | null | undefined;
@@ -5263,8 +5263,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5263
5263
  lastModified?: string | null | undefined;
5264
5264
  } | null | undefined;
5265
5265
  } | {
5266
- type: "audio";
5267
5266
  data: string;
5267
+ type: "audio";
5268
5268
  mimeType: string;
5269
5269
  annotations?: {
5270
5270
  priority?: number | null | undefined;
@@ -5312,8 +5312,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5312
5312
  lastModified?: string | null | undefined;
5313
5313
  } | null | undefined;
5314
5314
  } | {
5315
- type: "image";
5316
5315
  data: string;
5316
+ type: "image";
5317
5317
  mimeType: string;
5318
5318
  annotations?: {
5319
5319
  priority?: number | null | undefined;
@@ -5321,8 +5321,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5321
5321
  lastModified?: string | null | undefined;
5322
5322
  } | null | undefined;
5323
5323
  } | {
5324
- type: "audio";
5325
5324
  data: string;
5325
+ type: "audio";
5326
5326
  mimeType: string;
5327
5327
  annotations?: {
5328
5328
  priority?: number | null | undefined;
@@ -5411,8 +5411,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5411
5411
  mimeType: z.ZodString;
5412
5412
  type: z.ZodLiteral<"image">;
5413
5413
  }, "strip", z.ZodTypeAny, {
5414
- type: "image";
5415
5414
  data: string;
5415
+ type: "image";
5416
5416
  mimeType: string;
5417
5417
  annotations?: {
5418
5418
  priority?: number | null | undefined;
@@ -5420,8 +5420,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5420
5420
  lastModified?: string | null | undefined;
5421
5421
  } | null | undefined;
5422
5422
  }, {
5423
- type: "image";
5424
5423
  data: string;
5424
+ type: "image";
5425
5425
  mimeType: string;
5426
5426
  annotations?: {
5427
5427
  priority?: number | null | undefined;
@@ -5446,8 +5446,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5446
5446
  mimeType: z.ZodString;
5447
5447
  type: z.ZodLiteral<"audio">;
5448
5448
  }, "strip", z.ZodTypeAny, {
5449
- type: "audio";
5450
5449
  data: string;
5450
+ type: "audio";
5451
5451
  mimeType: string;
5452
5452
  annotations?: {
5453
5453
  priority?: number | null | undefined;
@@ -5455,8 +5455,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5455
5455
  lastModified?: string | null | undefined;
5456
5456
  } | null | undefined;
5457
5457
  }, {
5458
- type: "audio";
5459
5458
  data: string;
5459
+ type: "audio";
5460
5460
  mimeType: string;
5461
5461
  annotations?: {
5462
5462
  priority?: number | null | undefined;
@@ -5594,8 +5594,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5594
5594
  lastModified?: string | null | undefined;
5595
5595
  } | null | undefined;
5596
5596
  } | {
5597
- type: "image";
5598
5597
  data: string;
5598
+ type: "image";
5599
5599
  mimeType: string;
5600
5600
  annotations?: {
5601
5601
  priority?: number | null | undefined;
@@ -5603,8 +5603,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5603
5603
  lastModified?: string | null | undefined;
5604
5604
  } | null | undefined;
5605
5605
  } | {
5606
- type: "audio";
5607
5606
  data: string;
5607
+ type: "audio";
5608
5608
  mimeType: string;
5609
5609
  annotations?: {
5610
5610
  priority?: number | null | undefined;
@@ -5652,8 +5652,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5652
5652
  lastModified?: string | null | undefined;
5653
5653
  } | null | undefined;
5654
5654
  } | {
5655
- type: "image";
5656
5655
  data: string;
5656
+ type: "image";
5657
5657
  mimeType: string;
5658
5658
  annotations?: {
5659
5659
  priority?: number | null | undefined;
@@ -5661,8 +5661,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5661
5661
  lastModified?: string | null | undefined;
5662
5662
  } | null | undefined;
5663
5663
  } | {
5664
- type: "audio";
5665
5664
  data: string;
5665
+ type: "audio";
5666
5666
  mimeType: string;
5667
5667
  annotations?: {
5668
5668
  priority?: number | null | undefined;
@@ -5751,8 +5751,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5751
5751
  mimeType: z.ZodString;
5752
5752
  type: z.ZodLiteral<"image">;
5753
5753
  }, "strip", z.ZodTypeAny, {
5754
- type: "image";
5755
5754
  data: string;
5755
+ type: "image";
5756
5756
  mimeType: string;
5757
5757
  annotations?: {
5758
5758
  priority?: number | null | undefined;
@@ -5760,8 +5760,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5760
5760
  lastModified?: string | null | undefined;
5761
5761
  } | null | undefined;
5762
5762
  }, {
5763
- type: "image";
5764
5763
  data: string;
5764
+ type: "image";
5765
5765
  mimeType: string;
5766
5766
  annotations?: {
5767
5767
  priority?: number | null | undefined;
@@ -5786,8 +5786,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5786
5786
  mimeType: z.ZodString;
5787
5787
  type: z.ZodLiteral<"audio">;
5788
5788
  }, "strip", z.ZodTypeAny, {
5789
- type: "audio";
5790
5789
  data: string;
5790
+ type: "audio";
5791
5791
  mimeType: string;
5792
5792
  annotations?: {
5793
5793
  priority?: number | null | undefined;
@@ -5795,8 +5795,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5795
5795
  lastModified?: string | null | undefined;
5796
5796
  } | null | undefined;
5797
5797
  }, {
5798
- type: "audio";
5799
5798
  data: string;
5799
+ type: "audio";
5800
5800
  mimeType: string;
5801
5801
  annotations?: {
5802
5802
  priority?: number | null | undefined;
@@ -5934,8 +5934,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5934
5934
  lastModified?: string | null | undefined;
5935
5935
  } | null | undefined;
5936
5936
  } | {
5937
- type: "image";
5938
5937
  data: string;
5938
+ type: "image";
5939
5939
  mimeType: string;
5940
5940
  annotations?: {
5941
5941
  priority?: number | null | undefined;
@@ -5943,8 +5943,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5943
5943
  lastModified?: string | null | undefined;
5944
5944
  } | null | undefined;
5945
5945
  } | {
5946
- type: "audio";
5947
5946
  data: string;
5947
+ type: "audio";
5948
5948
  mimeType: string;
5949
5949
  annotations?: {
5950
5950
  priority?: number | null | undefined;
@@ -5992,8 +5992,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5992
5992
  lastModified?: string | null | undefined;
5993
5993
  } | null | undefined;
5994
5994
  } | {
5995
- type: "image";
5996
5995
  data: string;
5996
+ type: "image";
5997
5997
  mimeType: string;
5998
5998
  annotations?: {
5999
5999
  priority?: number | null | undefined;
@@ -6001,8 +6001,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6001
6001
  lastModified?: string | null | undefined;
6002
6002
  } | null | undefined;
6003
6003
  } | {
6004
- type: "audio";
6005
6004
  data: string;
6005
+ type: "audio";
6006
6006
  mimeType: string;
6007
6007
  annotations?: {
6008
6008
  priority?: number | null | undefined;
@@ -6092,8 +6092,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6092
6092
  mimeType: z.ZodString;
6093
6093
  type: z.ZodLiteral<"image">;
6094
6094
  }, "strip", z.ZodTypeAny, {
6095
- type: "image";
6096
6095
  data: string;
6096
+ type: "image";
6097
6097
  mimeType: string;
6098
6098
  annotations?: {
6099
6099
  priority?: number | null | undefined;
@@ -6101,8 +6101,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6101
6101
  lastModified?: string | null | undefined;
6102
6102
  } | null | undefined;
6103
6103
  }, {
6104
- type: "image";
6105
6104
  data: string;
6105
+ type: "image";
6106
6106
  mimeType: string;
6107
6107
  annotations?: {
6108
6108
  priority?: number | null | undefined;
@@ -6127,8 +6127,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6127
6127
  mimeType: z.ZodString;
6128
6128
  type: z.ZodLiteral<"audio">;
6129
6129
  }, "strip", z.ZodTypeAny, {
6130
- type: "audio";
6131
6130
  data: string;
6131
+ type: "audio";
6132
6132
  mimeType: string;
6133
6133
  annotations?: {
6134
6134
  priority?: number | null | undefined;
@@ -6136,8 +6136,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6136
6136
  lastModified?: string | null | undefined;
6137
6137
  } | null | undefined;
6138
6138
  }, {
6139
- type: "audio";
6140
6139
  data: string;
6140
+ type: "audio";
6141
6141
  mimeType: string;
6142
6142
  annotations?: {
6143
6143
  priority?: number | null | undefined;
@@ -6266,7 +6266,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6266
6266
  }>]>;
6267
6267
  type: z.ZodLiteral<"content">;
6268
6268
  }, "strip", z.ZodTypeAny, {
6269
- type: "content";
6270
6269
  content: {
6271
6270
  text: string;
6272
6271
  type: "text";
@@ -6276,8 +6275,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6276
6275
  lastModified?: string | null | undefined;
6277
6276
  } | null | undefined;
6278
6277
  } | {
6279
- type: "image";
6280
6278
  data: string;
6279
+ type: "image";
6281
6280
  mimeType: string;
6282
6281
  annotations?: {
6283
6282
  priority?: number | null | undefined;
@@ -6285,8 +6284,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6285
6284
  lastModified?: string | null | undefined;
6286
6285
  } | null | undefined;
6287
6286
  } | {
6288
- type: "audio";
6289
6287
  data: string;
6288
+ type: "audio";
6290
6289
  mimeType: string;
6291
6290
  annotations?: {
6292
6291
  priority?: number | null | undefined;
@@ -6323,8 +6322,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6323
6322
  lastModified?: string | null | undefined;
6324
6323
  } | null | undefined;
6325
6324
  };
6326
- }, {
6327
6325
  type: "content";
6326
+ }, {
6328
6327
  content: {
6329
6328
  text: string;
6330
6329
  type: "text";
@@ -6334,8 +6333,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6334
6333
  lastModified?: string | null | undefined;
6335
6334
  } | null | undefined;
6336
6335
  } | {
6337
- type: "image";
6338
6336
  data: string;
6337
+ type: "image";
6339
6338
  mimeType: string;
6340
6339
  annotations?: {
6341
6340
  priority?: number | null | undefined;
@@ -6343,8 +6342,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6343
6342
  lastModified?: string | null | undefined;
6344
6343
  } | null | undefined;
6345
6344
  } | {
6346
- type: "audio";
6347
6345
  data: string;
6346
+ type: "audio";
6348
6347
  mimeType: string;
6349
6348
  annotations?: {
6350
6349
  priority?: number | null | undefined;
@@ -6381,6 +6380,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6381
6380
  lastModified?: string | null | undefined;
6382
6381
  } | null | undefined;
6383
6382
  };
6383
+ type: "content";
6384
6384
  }>, z.ZodObject<{
6385
6385
  newText: z.ZodString;
6386
6386
  oldText: z.ZodNullable<z.ZodString>;
@@ -6420,7 +6420,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6420
6420
  toolCallId: string;
6421
6421
  sessionUpdate: "tool_call";
6422
6422
  content?: ({
6423
- type: "content";
6424
6423
  content: {
6425
6424
  text: string;
6426
6425
  type: "text";
@@ -6430,8 +6429,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6430
6429
  lastModified?: string | null | undefined;
6431
6430
  } | null | undefined;
6432
6431
  } | {
6433
- type: "image";
6434
6432
  data: string;
6433
+ type: "image";
6435
6434
  mimeType: string;
6436
6435
  annotations?: {
6437
6436
  priority?: number | null | undefined;
@@ -6439,8 +6438,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6439
6438
  lastModified?: string | null | undefined;
6440
6439
  } | null | undefined;
6441
6440
  } | {
6442
- type: "audio";
6443
6441
  data: string;
6442
+ type: "audio";
6444
6443
  mimeType: string;
6445
6444
  annotations?: {
6446
6445
  priority?: number | null | undefined;
@@ -6477,6 +6476,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6477
6476
  lastModified?: string | null | undefined;
6478
6477
  } | null | undefined;
6479
6478
  };
6479
+ type: "content";
6480
6480
  } | {
6481
6481
  type: "diff";
6482
6482
  path: string;
@@ -6495,7 +6495,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6495
6495
  toolCallId: string;
6496
6496
  sessionUpdate: "tool_call";
6497
6497
  content?: ({
6498
- type: "content";
6499
6498
  content: {
6500
6499
  text: string;
6501
6500
  type: "text";
@@ -6505,8 +6504,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6505
6504
  lastModified?: string | null | undefined;
6506
6505
  } | null | undefined;
6507
6506
  } | {
6508
- type: "image";
6509
6507
  data: string;
6508
+ type: "image";
6510
6509
  mimeType: string;
6511
6510
  annotations?: {
6512
6511
  priority?: number | null | undefined;
@@ -6514,8 +6513,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6514
6513
  lastModified?: string | null | undefined;
6515
6514
  } | null | undefined;
6516
6515
  } | {
6517
- type: "audio";
6518
6516
  data: string;
6517
+ type: "audio";
6519
6518
  mimeType: string;
6520
6519
  annotations?: {
6521
6520
  priority?: number | null | undefined;
@@ -6552,6 +6551,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6552
6551
  lastModified?: string | null | undefined;
6553
6552
  } | null | undefined;
6554
6553
  };
6554
+ type: "content";
6555
6555
  } | {
6556
6556
  type: "diff";
6557
6557
  path: string;
@@ -6615,8 +6615,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6615
6615
  mimeType: z.ZodString;
6616
6616
  type: z.ZodLiteral<"image">;
6617
6617
  }, "strip", z.ZodTypeAny, {
6618
- type: "image";
6619
6618
  data: string;
6619
+ type: "image";
6620
6620
  mimeType: string;
6621
6621
  annotations?: {
6622
6622
  priority?: number | null | undefined;
@@ -6624,8 +6624,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6624
6624
  lastModified?: string | null | undefined;
6625
6625
  } | null | undefined;
6626
6626
  }, {
6627
- type: "image";
6628
6627
  data: string;
6628
+ type: "image";
6629
6629
  mimeType: string;
6630
6630
  annotations?: {
6631
6631
  priority?: number | null | undefined;
@@ -6650,8 +6650,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6650
6650
  mimeType: z.ZodString;
6651
6651
  type: z.ZodLiteral<"audio">;
6652
6652
  }, "strip", z.ZodTypeAny, {
6653
- type: "audio";
6654
6653
  data: string;
6654
+ type: "audio";
6655
6655
  mimeType: string;
6656
6656
  annotations?: {
6657
6657
  priority?: number | null | undefined;
@@ -6659,8 +6659,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6659
6659
  lastModified?: string | null | undefined;
6660
6660
  } | null | undefined;
6661
6661
  }, {
6662
- type: "audio";
6663
6662
  data: string;
6663
+ type: "audio";
6664
6664
  mimeType: string;
6665
6665
  annotations?: {
6666
6666
  priority?: number | null | undefined;
@@ -6789,7 +6789,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6789
6789
  }>]>;
6790
6790
  type: z.ZodLiteral<"content">;
6791
6791
  }, "strip", z.ZodTypeAny, {
6792
- type: "content";
6793
6792
  content: {
6794
6793
  text: string;
6795
6794
  type: "text";
@@ -6799,8 +6798,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6799
6798
  lastModified?: string | null | undefined;
6800
6799
  } | null | undefined;
6801
6800
  } | {
6802
- type: "image";
6803
6801
  data: string;
6802
+ type: "image";
6804
6803
  mimeType: string;
6805
6804
  annotations?: {
6806
6805
  priority?: number | null | undefined;
@@ -6808,8 +6807,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6808
6807
  lastModified?: string | null | undefined;
6809
6808
  } | null | undefined;
6810
6809
  } | {
6811
- type: "audio";
6812
6810
  data: string;
6811
+ type: "audio";
6813
6812
  mimeType: string;
6814
6813
  annotations?: {
6815
6814
  priority?: number | null | undefined;
@@ -6846,8 +6845,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6846
6845
  lastModified?: string | null | undefined;
6847
6846
  } | null | undefined;
6848
6847
  };
6849
- }, {
6850
6848
  type: "content";
6849
+ }, {
6851
6850
  content: {
6852
6851
  text: string;
6853
6852
  type: "text";
@@ -6857,8 +6856,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6857
6856
  lastModified?: string | null | undefined;
6858
6857
  } | null | undefined;
6859
6858
  } | {
6860
- type: "image";
6861
6859
  data: string;
6860
+ type: "image";
6862
6861
  mimeType: string;
6863
6862
  annotations?: {
6864
6863
  priority?: number | null | undefined;
@@ -6866,8 +6865,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6866
6865
  lastModified?: string | null | undefined;
6867
6866
  } | null | undefined;
6868
6867
  } | {
6869
- type: "audio";
6870
6868
  data: string;
6869
+ type: "audio";
6871
6870
  mimeType: string;
6872
6871
  annotations?: {
6873
6872
  priority?: number | null | undefined;
@@ -6904,6 +6903,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6904
6903
  lastModified?: string | null | undefined;
6905
6904
  } | null | undefined;
6906
6905
  };
6906
+ type: "content";
6907
6907
  }>, z.ZodObject<{
6908
6908
  newText: z.ZodString;
6909
6909
  oldText: z.ZodNullable<z.ZodString>;
@@ -6940,7 +6940,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6940
6940
  toolCallId: string;
6941
6941
  sessionUpdate: "tool_call_update";
6942
6942
  content?: ({
6943
- type: "content";
6944
6943
  content: {
6945
6944
  text: string;
6946
6945
  type: "text";
@@ -6950,8 +6949,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6950
6949
  lastModified?: string | null | undefined;
6951
6950
  } | null | undefined;
6952
6951
  } | {
6953
- type: "image";
6954
6952
  data: string;
6953
+ type: "image";
6955
6954
  mimeType: string;
6956
6955
  annotations?: {
6957
6956
  priority?: number | null | undefined;
@@ -6959,8 +6958,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6959
6958
  lastModified?: string | null | undefined;
6960
6959
  } | null | undefined;
6961
6960
  } | {
6962
- type: "audio";
6963
6961
  data: string;
6962
+ type: "audio";
6964
6963
  mimeType: string;
6965
6964
  annotations?: {
6966
6965
  priority?: number | null | undefined;
@@ -6997,6 +6996,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6997
6996
  lastModified?: string | null | undefined;
6998
6997
  } | null | undefined;
6999
6998
  };
6999
+ type: "content";
7000
7000
  } | {
7001
7001
  type: "diff";
7002
7002
  path: string;
@@ -7015,7 +7015,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7015
7015
  toolCallId: string;
7016
7016
  sessionUpdate: "tool_call_update";
7017
7017
  content?: ({
7018
- type: "content";
7019
7018
  content: {
7020
7019
  text: string;
7021
7020
  type: "text";
@@ -7025,8 +7024,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7025
7024
  lastModified?: string | null | undefined;
7026
7025
  } | null | undefined;
7027
7026
  } | {
7028
- type: "image";
7029
7027
  data: string;
7028
+ type: "image";
7030
7029
  mimeType: string;
7031
7030
  annotations?: {
7032
7031
  priority?: number | null | undefined;
@@ -7034,8 +7033,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7034
7033
  lastModified?: string | null | undefined;
7035
7034
  } | null | undefined;
7036
7035
  } | {
7037
- type: "audio";
7038
7036
  data: string;
7037
+ type: "audio";
7039
7038
  mimeType: string;
7040
7039
  annotations?: {
7041
7040
  priority?: number | null | undefined;
@@ -7072,6 +7071,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7072
7071
  lastModified?: string | null | undefined;
7073
7072
  } | null | undefined;
7074
7073
  };
7074
+ type: "content";
7075
7075
  } | {
7076
7076
  type: "diff";
7077
7077
  path: string;
@@ -7128,8 +7128,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7128
7128
  lastModified?: string | null | undefined;
7129
7129
  } | null | undefined;
7130
7130
  } | {
7131
- type: "image";
7132
7131
  data: string;
7132
+ type: "image";
7133
7133
  mimeType: string;
7134
7134
  annotations?: {
7135
7135
  priority?: number | null | undefined;
@@ -7137,8 +7137,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7137
7137
  lastModified?: string | null | undefined;
7138
7138
  } | null | undefined;
7139
7139
  } | {
7140
- type: "audio";
7141
7140
  data: string;
7141
+ type: "audio";
7142
7142
  mimeType: string;
7143
7143
  annotations?: {
7144
7144
  priority?: number | null | undefined;
@@ -7186,8 +7186,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7186
7186
  lastModified?: string | null | undefined;
7187
7187
  } | null | undefined;
7188
7188
  } | {
7189
- type: "image";
7190
7189
  data: string;
7190
+ type: "image";
7191
7191
  mimeType: string;
7192
7192
  annotations?: {
7193
7193
  priority?: number | null | undefined;
@@ -7195,8 +7195,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7195
7195
  lastModified?: string | null | undefined;
7196
7196
  } | null | undefined;
7197
7197
  } | {
7198
- type: "audio";
7199
7198
  data: string;
7199
+ type: "audio";
7200
7200
  mimeType: string;
7201
7201
  annotations?: {
7202
7202
  priority?: number | null | undefined;
@@ -7244,8 +7244,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7244
7244
  lastModified?: string | null | undefined;
7245
7245
  } | null | undefined;
7246
7246
  } | {
7247
- type: "image";
7248
7247
  data: string;
7248
+ type: "image";
7249
7249
  mimeType: string;
7250
7250
  annotations?: {
7251
7251
  priority?: number | null | undefined;
@@ -7253,8 +7253,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7253
7253
  lastModified?: string | null | undefined;
7254
7254
  } | null | undefined;
7255
7255
  } | {
7256
- type: "audio";
7257
7256
  data: string;
7257
+ type: "audio";
7258
7258
  mimeType: string;
7259
7259
  annotations?: {
7260
7260
  priority?: number | null | undefined;
@@ -7299,7 +7299,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7299
7299
  toolCallId: string;
7300
7300
  sessionUpdate: "tool_call";
7301
7301
  content?: ({
7302
- type: "content";
7303
7302
  content: {
7304
7303
  text: string;
7305
7304
  type: "text";
@@ -7309,8 +7308,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7309
7308
  lastModified?: string | null | undefined;
7310
7309
  } | null | undefined;
7311
7310
  } | {
7312
- type: "image";
7313
7311
  data: string;
7312
+ type: "image";
7314
7313
  mimeType: string;
7315
7314
  annotations?: {
7316
7315
  priority?: number | null | undefined;
@@ -7318,8 +7317,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7318
7317
  lastModified?: string | null | undefined;
7319
7318
  } | null | undefined;
7320
7319
  } | {
7321
- type: "audio";
7322
7320
  data: string;
7321
+ type: "audio";
7323
7322
  mimeType: string;
7324
7323
  annotations?: {
7325
7324
  priority?: number | null | undefined;
@@ -7356,6 +7355,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7356
7355
  lastModified?: string | null | undefined;
7357
7356
  } | null | undefined;
7358
7357
  };
7358
+ type: "content";
7359
7359
  } | {
7360
7360
  type: "diff";
7361
7361
  path: string;
@@ -7371,7 +7371,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7371
7371
  toolCallId: string;
7372
7372
  sessionUpdate: "tool_call_update";
7373
7373
  content?: ({
7374
- type: "content";
7375
7374
  content: {
7376
7375
  text: string;
7377
7376
  type: "text";
@@ -7381,8 +7380,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7381
7380
  lastModified?: string | null | undefined;
7382
7381
  } | null | undefined;
7383
7382
  } | {
7384
- type: "image";
7385
7383
  data: string;
7384
+ type: "image";
7386
7385
  mimeType: string;
7387
7386
  annotations?: {
7388
7387
  priority?: number | null | undefined;
@@ -7390,8 +7389,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7390
7389
  lastModified?: string | null | undefined;
7391
7390
  } | null | undefined;
7392
7391
  } | {
7393
- type: "audio";
7394
7392
  data: string;
7393
+ type: "audio";
7395
7394
  mimeType: string;
7396
7395
  annotations?: {
7397
7396
  priority?: number | null | undefined;
@@ -7428,6 +7427,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7428
7427
  lastModified?: string | null | undefined;
7429
7428
  } | null | undefined;
7430
7429
  };
7430
+ type: "content";
7431
7431
  } | {
7432
7432
  type: "diff";
7433
7433
  path: string;
@@ -7462,8 +7462,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7462
7462
  lastModified?: string | null | undefined;
7463
7463
  } | null | undefined;
7464
7464
  } | {
7465
- type: "image";
7466
7465
  data: string;
7466
+ type: "image";
7467
7467
  mimeType: string;
7468
7468
  annotations?: {
7469
7469
  priority?: number | null | undefined;
@@ -7471,8 +7471,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7471
7471
  lastModified?: string | null | undefined;
7472
7472
  } | null | undefined;
7473
7473
  } | {
7474
- type: "audio";
7475
7474
  data: string;
7475
+ type: "audio";
7476
7476
  mimeType: string;
7477
7477
  annotations?: {
7478
7478
  priority?: number | null | undefined;
@@ -7520,8 +7520,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7520
7520
  lastModified?: string | null | undefined;
7521
7521
  } | null | undefined;
7522
7522
  } | {
7523
- type: "image";
7524
7523
  data: string;
7524
+ type: "image";
7525
7525
  mimeType: string;
7526
7526
  annotations?: {
7527
7527
  priority?: number | null | undefined;
@@ -7529,8 +7529,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7529
7529
  lastModified?: string | null | undefined;
7530
7530
  } | null | undefined;
7531
7531
  } | {
7532
- type: "audio";
7533
7532
  data: string;
7533
+ type: "audio";
7534
7534
  mimeType: string;
7535
7535
  annotations?: {
7536
7536
  priority?: number | null | undefined;
@@ -7578,8 +7578,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7578
7578
  lastModified?: string | null | undefined;
7579
7579
  } | null | undefined;
7580
7580
  } | {
7581
- type: "image";
7582
7581
  data: string;
7582
+ type: "image";
7583
7583
  mimeType: string;
7584
7584
  annotations?: {
7585
7585
  priority?: number | null | undefined;
@@ -7587,8 +7587,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7587
7587
  lastModified?: string | null | undefined;
7588
7588
  } | null | undefined;
7589
7589
  } | {
7590
- type: "audio";
7591
7590
  data: string;
7591
+ type: "audio";
7592
7592
  mimeType: string;
7593
7593
  annotations?: {
7594
7594
  priority?: number | null | undefined;
@@ -7633,7 +7633,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7633
7633
  toolCallId: string;
7634
7634
  sessionUpdate: "tool_call";
7635
7635
  content?: ({
7636
- type: "content";
7637
7636
  content: {
7638
7637
  text: string;
7639
7638
  type: "text";
@@ -7643,8 +7642,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7643
7642
  lastModified?: string | null | undefined;
7644
7643
  } | null | undefined;
7645
7644
  } | {
7646
- type: "image";
7647
7645
  data: string;
7646
+ type: "image";
7648
7647
  mimeType: string;
7649
7648
  annotations?: {
7650
7649
  priority?: number | null | undefined;
@@ -7652,8 +7651,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7652
7651
  lastModified?: string | null | undefined;
7653
7652
  } | null | undefined;
7654
7653
  } | {
7655
- type: "audio";
7656
7654
  data: string;
7655
+ type: "audio";
7657
7656
  mimeType: string;
7658
7657
  annotations?: {
7659
7658
  priority?: number | null | undefined;
@@ -7690,6 +7689,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7690
7689
  lastModified?: string | null | undefined;
7691
7690
  } | null | undefined;
7692
7691
  };
7692
+ type: "content";
7693
7693
  } | {
7694
7694
  type: "diff";
7695
7695
  path: string;
@@ -7705,7 +7705,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7705
7705
  toolCallId: string;
7706
7706
  sessionUpdate: "tool_call_update";
7707
7707
  content?: ({
7708
- type: "content";
7709
7708
  content: {
7710
7709
  text: string;
7711
7710
  type: "text";
@@ -7715,8 +7714,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7715
7714
  lastModified?: string | null | undefined;
7716
7715
  } | null | undefined;
7717
7716
  } | {
7718
- type: "image";
7719
7717
  data: string;
7718
+ type: "image";
7720
7719
  mimeType: string;
7721
7720
  annotations?: {
7722
7721
  priority?: number | null | undefined;
@@ -7724,8 +7723,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7724
7723
  lastModified?: string | null | undefined;
7725
7724
  } | null | undefined;
7726
7725
  } | {
7727
- type: "audio";
7728
7726
  data: string;
7727
+ type: "audio";
7729
7728
  mimeType: string;
7730
7729
  annotations?: {
7731
7730
  priority?: number | null | undefined;
@@ -7762,6 +7761,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7762
7761
  lastModified?: string | null | undefined;
7763
7762
  } | null | undefined;
7764
7763
  };
7764
+ type: "content";
7765
7765
  } | {
7766
7766
  type: "diff";
7767
7767
  path: string;
@@ -7879,8 +7879,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7879
7879
  mimeType: z.ZodString;
7880
7880
  type: z.ZodLiteral<"image">;
7881
7881
  }, "strip", z.ZodTypeAny, {
7882
- type: "image";
7883
7882
  data: string;
7883
+ type: "image";
7884
7884
  mimeType: string;
7885
7885
  annotations?: {
7886
7886
  priority?: number | null | undefined;
@@ -7888,8 +7888,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7888
7888
  lastModified?: string | null | undefined;
7889
7889
  } | null | undefined;
7890
7890
  }, {
7891
- type: "image";
7892
7891
  data: string;
7892
+ type: "image";
7893
7893
  mimeType: string;
7894
7894
  annotations?: {
7895
7895
  priority?: number | null | undefined;
@@ -7914,8 +7914,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7914
7914
  mimeType: z.ZodString;
7915
7915
  type: z.ZodLiteral<"audio">;
7916
7916
  }, "strip", z.ZodTypeAny, {
7917
- type: "audio";
7918
7917
  data: string;
7918
+ type: "audio";
7919
7919
  mimeType: string;
7920
7920
  annotations?: {
7921
7921
  priority?: number | null | undefined;
@@ -7923,8 +7923,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7923
7923
  lastModified?: string | null | undefined;
7924
7924
  } | null | undefined;
7925
7925
  }, {
7926
- type: "audio";
7927
7926
  data: string;
7927
+ type: "audio";
7928
7928
  mimeType: string;
7929
7929
  annotations?: {
7930
7930
  priority?: number | null | undefined;
@@ -8053,7 +8053,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8053
8053
  }>]>;
8054
8054
  type: z.ZodLiteral<"content">;
8055
8055
  }, "strip", z.ZodTypeAny, {
8056
- type: "content";
8057
8056
  content: {
8058
8057
  text: string;
8059
8058
  type: "text";
@@ -8063,8 +8062,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8063
8062
  lastModified?: string | null | undefined;
8064
8063
  } | null | undefined;
8065
8064
  } | {
8066
- type: "image";
8067
8065
  data: string;
8066
+ type: "image";
8068
8067
  mimeType: string;
8069
8068
  annotations?: {
8070
8069
  priority?: number | null | undefined;
@@ -8072,8 +8071,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8072
8071
  lastModified?: string | null | undefined;
8073
8072
  } | null | undefined;
8074
8073
  } | {
8075
- type: "audio";
8076
8074
  data: string;
8075
+ type: "audio";
8077
8076
  mimeType: string;
8078
8077
  annotations?: {
8079
8078
  priority?: number | null | undefined;
@@ -8110,8 +8109,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8110
8109
  lastModified?: string | null | undefined;
8111
8110
  } | null | undefined;
8112
8111
  };
8113
- }, {
8114
8112
  type: "content";
8113
+ }, {
8115
8114
  content: {
8116
8115
  text: string;
8117
8116
  type: "text";
@@ -8121,8 +8120,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8121
8120
  lastModified?: string | null | undefined;
8122
8121
  } | null | undefined;
8123
8122
  } | {
8124
- type: "image";
8125
8123
  data: string;
8124
+ type: "image";
8126
8125
  mimeType: string;
8127
8126
  annotations?: {
8128
8127
  priority?: number | null | undefined;
@@ -8130,8 +8129,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8130
8129
  lastModified?: string | null | undefined;
8131
8130
  } | null | undefined;
8132
8131
  } | {
8133
- type: "audio";
8134
8132
  data: string;
8133
+ type: "audio";
8135
8134
  mimeType: string;
8136
8135
  annotations?: {
8137
8136
  priority?: number | null | undefined;
@@ -8168,6 +8167,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8168
8167
  lastModified?: string | null | undefined;
8169
8168
  } | null | undefined;
8170
8169
  };
8170
+ type: "content";
8171
8171
  }>, z.ZodObject<{
8172
8172
  newText: z.ZodString;
8173
8173
  oldText: z.ZodNullable<z.ZodString>;
@@ -8205,7 +8205,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8205
8205
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8206
8206
  toolCallId: string;
8207
8207
  content?: ({
8208
- type: "content";
8209
8208
  content: {
8210
8209
  text: string;
8211
8210
  type: "text";
@@ -8215,8 +8214,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8215
8214
  lastModified?: string | null | undefined;
8216
8215
  } | null | undefined;
8217
8216
  } | {
8218
- type: "image";
8219
8217
  data: string;
8218
+ type: "image";
8220
8219
  mimeType: string;
8221
8220
  annotations?: {
8222
8221
  priority?: number | null | undefined;
@@ -8224,8 +8223,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8224
8223
  lastModified?: string | null | undefined;
8225
8224
  } | null | undefined;
8226
8225
  } | {
8227
- type: "audio";
8228
8226
  data: string;
8227
+ type: "audio";
8229
8228
  mimeType: string;
8230
8229
  annotations?: {
8231
8230
  priority?: number | null | undefined;
@@ -8262,6 +8261,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8262
8261
  lastModified?: string | null | undefined;
8263
8262
  } | null | undefined;
8264
8263
  };
8264
+ type: "content";
8265
8265
  } | {
8266
8266
  type: "diff";
8267
8267
  path: string;
@@ -8279,7 +8279,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8279
8279
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8280
8280
  toolCallId: string;
8281
8281
  content?: ({
8282
- type: "content";
8283
8282
  content: {
8284
8283
  text: string;
8285
8284
  type: "text";
@@ -8289,8 +8288,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8289
8288
  lastModified?: string | null | undefined;
8290
8289
  } | null | undefined;
8291
8290
  } | {
8292
- type: "image";
8293
8291
  data: string;
8292
+ type: "image";
8294
8293
  mimeType: string;
8295
8294
  annotations?: {
8296
8295
  priority?: number | null | undefined;
@@ -8298,8 +8297,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8298
8297
  lastModified?: string | null | undefined;
8299
8298
  } | null | undefined;
8300
8299
  } | {
8301
- type: "audio";
8302
8300
  data: string;
8301
+ type: "audio";
8303
8302
  mimeType: string;
8304
8303
  annotations?: {
8305
8304
  priority?: number | null | undefined;
@@ -8336,6 +8335,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8336
8335
  lastModified?: string | null | undefined;
8337
8336
  } | null | undefined;
8338
8337
  };
8338
+ type: "content";
8339
8339
  } | {
8340
8340
  type: "diff";
8341
8341
  path: string;
@@ -8361,7 +8361,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8361
8361
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8362
8362
  toolCallId: string;
8363
8363
  content?: ({
8364
- type: "content";
8365
8364
  content: {
8366
8365
  text: string;
8367
8366
  type: "text";
@@ -8371,8 +8370,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8371
8370
  lastModified?: string | null | undefined;
8372
8371
  } | null | undefined;
8373
8372
  } | {
8374
- type: "image";
8375
8373
  data: string;
8374
+ type: "image";
8376
8375
  mimeType: string;
8377
8376
  annotations?: {
8378
8377
  priority?: number | null | undefined;
@@ -8380,8 +8379,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8380
8379
  lastModified?: string | null | undefined;
8381
8380
  } | null | undefined;
8382
8381
  } | {
8383
- type: "audio";
8384
8382
  data: string;
8383
+ type: "audio";
8385
8384
  mimeType: string;
8386
8385
  annotations?: {
8387
8386
  priority?: number | null | undefined;
@@ -8418,6 +8417,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8418
8417
  lastModified?: string | null | undefined;
8419
8418
  } | null | undefined;
8420
8419
  };
8420
+ type: "content";
8421
8421
  } | {
8422
8422
  type: "diff";
8423
8423
  path: string;
@@ -8443,7 +8443,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8443
8443
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8444
8444
  toolCallId: string;
8445
8445
  content?: ({
8446
- type: "content";
8447
8446
  content: {
8448
8447
  text: string;
8449
8448
  type: "text";
@@ -8453,8 +8452,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8453
8452
  lastModified?: string | null | undefined;
8454
8453
  } | null | undefined;
8455
8454
  } | {
8456
- type: "image";
8457
8455
  data: string;
8456
+ type: "image";
8458
8457
  mimeType: string;
8459
8458
  annotations?: {
8460
8459
  priority?: number | null | undefined;
@@ -8462,8 +8461,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8462
8461
  lastModified?: string | null | undefined;
8463
8462
  } | null | undefined;
8464
8463
  } | {
8465
- type: "audio";
8466
8464
  data: string;
8465
+ type: "audio";
8467
8466
  mimeType: string;
8468
8467
  annotations?: {
8469
8468
  priority?: number | null | undefined;
@@ -8500,6 +8499,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8500
8499
  lastModified?: string | null | undefined;
8501
8500
  } | null | undefined;
8502
8501
  };
8502
+ type: "content";
8503
8503
  } | {
8504
8504
  type: "diff";
8505
8505
  path: string;
@@ -8723,8 +8723,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8723
8723
  mimeType: z.ZodString;
8724
8724
  type: z.ZodLiteral<"image">;
8725
8725
  }, "strip", z.ZodTypeAny, {
8726
- type: "image";
8727
8726
  data: string;
8727
+ type: "image";
8728
8728
  mimeType: string;
8729
8729
  annotations?: {
8730
8730
  priority?: number | null | undefined;
@@ -8732,8 +8732,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8732
8732
  lastModified?: string | null | undefined;
8733
8733
  } | null | undefined;
8734
8734
  }, {
8735
- type: "image";
8736
8735
  data: string;
8736
+ type: "image";
8737
8737
  mimeType: string;
8738
8738
  annotations?: {
8739
8739
  priority?: number | null | undefined;
@@ -8758,8 +8758,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8758
8758
  mimeType: z.ZodString;
8759
8759
  type: z.ZodLiteral<"audio">;
8760
8760
  }, "strip", z.ZodTypeAny, {
8761
- type: "audio";
8762
8761
  data: string;
8762
+ type: "audio";
8763
8763
  mimeType: string;
8764
8764
  annotations?: {
8765
8765
  priority?: number | null | undefined;
@@ -8767,8 +8767,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8767
8767
  lastModified?: string | null | undefined;
8768
8768
  } | null | undefined;
8769
8769
  }, {
8770
- type: "audio";
8771
8770
  data: string;
8771
+ type: "audio";
8772
8772
  mimeType: string;
8773
8773
  annotations?: {
8774
8774
  priority?: number | null | undefined;
@@ -8907,8 +8907,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8907
8907
  lastModified?: string | null | undefined;
8908
8908
  } | null | undefined;
8909
8909
  } | {
8910
- type: "image";
8911
8910
  data: string;
8911
+ type: "image";
8912
8912
  mimeType: string;
8913
8913
  annotations?: {
8914
8914
  priority?: number | null | undefined;
@@ -8916,8 +8916,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8916
8916
  lastModified?: string | null | undefined;
8917
8917
  } | null | undefined;
8918
8918
  } | {
8919
- type: "audio";
8920
8919
  data: string;
8920
+ type: "audio";
8921
8921
  mimeType: string;
8922
8922
  annotations?: {
8923
8923
  priority?: number | null | undefined;
@@ -8965,8 +8965,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8965
8965
  lastModified?: string | null | undefined;
8966
8966
  } | null | undefined;
8967
8967
  } | {
8968
- type: "image";
8969
8968
  data: string;
8969
+ type: "image";
8970
8970
  mimeType: string;
8971
8971
  annotations?: {
8972
8972
  priority?: number | null | undefined;
@@ -8974,8 +8974,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8974
8974
  lastModified?: string | null | undefined;
8975
8975
  } | null | undefined;
8976
8976
  } | {
8977
- type: "audio";
8978
8977
  data: string;
8978
+ type: "audio";
8979
8979
  mimeType: string;
8980
8980
  annotations?: {
8981
8981
  priority?: number | null | undefined;
@@ -9066,8 +9066,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9066
9066
  mimeType: z.ZodString;
9067
9067
  type: z.ZodLiteral<"image">;
9068
9068
  }, "strip", z.ZodTypeAny, {
9069
- type: "image";
9070
9069
  data: string;
9070
+ type: "image";
9071
9071
  mimeType: string;
9072
9072
  annotations?: {
9073
9073
  priority?: number | null | undefined;
@@ -9075,8 +9075,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9075
9075
  lastModified?: string | null | undefined;
9076
9076
  } | null | undefined;
9077
9077
  }, {
9078
- type: "image";
9079
9078
  data: string;
9079
+ type: "image";
9080
9080
  mimeType: string;
9081
9081
  annotations?: {
9082
9082
  priority?: number | null | undefined;
@@ -9101,8 +9101,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9101
9101
  mimeType: z.ZodString;
9102
9102
  type: z.ZodLiteral<"audio">;
9103
9103
  }, "strip", z.ZodTypeAny, {
9104
- type: "audio";
9105
9104
  data: string;
9105
+ type: "audio";
9106
9106
  mimeType: string;
9107
9107
  annotations?: {
9108
9108
  priority?: number | null | undefined;
@@ -9110,8 +9110,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9110
9110
  lastModified?: string | null | undefined;
9111
9111
  } | null | undefined;
9112
9112
  }, {
9113
- type: "audio";
9114
9113
  data: string;
9114
+ type: "audio";
9115
9115
  mimeType: string;
9116
9116
  annotations?: {
9117
9117
  priority?: number | null | undefined;
@@ -9249,8 +9249,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9249
9249
  lastModified?: string | null | undefined;
9250
9250
  } | null | undefined;
9251
9251
  } | {
9252
- type: "image";
9253
9252
  data: string;
9253
+ type: "image";
9254
9254
  mimeType: string;
9255
9255
  annotations?: {
9256
9256
  priority?: number | null | undefined;
@@ -9258,8 +9258,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9258
9258
  lastModified?: string | null | undefined;
9259
9259
  } | null | undefined;
9260
9260
  } | {
9261
- type: "audio";
9262
9261
  data: string;
9262
+ type: "audio";
9263
9263
  mimeType: string;
9264
9264
  annotations?: {
9265
9265
  priority?: number | null | undefined;
@@ -9307,8 +9307,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9307
9307
  lastModified?: string | null | undefined;
9308
9308
  } | null | undefined;
9309
9309
  } | {
9310
- type: "image";
9311
9310
  data: string;
9311
+ type: "image";
9312
9312
  mimeType: string;
9313
9313
  annotations?: {
9314
9314
  priority?: number | null | undefined;
@@ -9316,8 +9316,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9316
9316
  lastModified?: string | null | undefined;
9317
9317
  } | null | undefined;
9318
9318
  } | {
9319
- type: "audio";
9320
9319
  data: string;
9320
+ type: "audio";
9321
9321
  mimeType: string;
9322
9322
  annotations?: {
9323
9323
  priority?: number | null | undefined;
@@ -9406,8 +9406,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9406
9406
  mimeType: z.ZodString;
9407
9407
  type: z.ZodLiteral<"image">;
9408
9408
  }, "strip", z.ZodTypeAny, {
9409
- type: "image";
9410
9409
  data: string;
9410
+ type: "image";
9411
9411
  mimeType: string;
9412
9412
  annotations?: {
9413
9413
  priority?: number | null | undefined;
@@ -9415,8 +9415,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9415
9415
  lastModified?: string | null | undefined;
9416
9416
  } | null | undefined;
9417
9417
  }, {
9418
- type: "image";
9419
9418
  data: string;
9419
+ type: "image";
9420
9420
  mimeType: string;
9421
9421
  annotations?: {
9422
9422
  priority?: number | null | undefined;
@@ -9441,8 +9441,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9441
9441
  mimeType: z.ZodString;
9442
9442
  type: z.ZodLiteral<"audio">;
9443
9443
  }, "strip", z.ZodTypeAny, {
9444
- type: "audio";
9445
9444
  data: string;
9445
+ type: "audio";
9446
9446
  mimeType: string;
9447
9447
  annotations?: {
9448
9448
  priority?: number | null | undefined;
@@ -9450,8 +9450,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9450
9450
  lastModified?: string | null | undefined;
9451
9451
  } | null | undefined;
9452
9452
  }, {
9453
- type: "audio";
9454
9453
  data: string;
9454
+ type: "audio";
9455
9455
  mimeType: string;
9456
9456
  annotations?: {
9457
9457
  priority?: number | null | undefined;
@@ -9589,8 +9589,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9589
9589
  lastModified?: string | null | undefined;
9590
9590
  } | null | undefined;
9591
9591
  } | {
9592
- type: "image";
9593
9592
  data: string;
9593
+ type: "image";
9594
9594
  mimeType: string;
9595
9595
  annotations?: {
9596
9596
  priority?: number | null | undefined;
@@ -9598,8 +9598,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9598
9598
  lastModified?: string | null | undefined;
9599
9599
  } | null | undefined;
9600
9600
  } | {
9601
- type: "audio";
9602
9601
  data: string;
9602
+ type: "audio";
9603
9603
  mimeType: string;
9604
9604
  annotations?: {
9605
9605
  priority?: number | null | undefined;
@@ -9647,8 +9647,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9647
9647
  lastModified?: string | null | undefined;
9648
9648
  } | null | undefined;
9649
9649
  } | {
9650
- type: "image";
9651
9650
  data: string;
9651
+ type: "image";
9652
9652
  mimeType: string;
9653
9653
  annotations?: {
9654
9654
  priority?: number | null | undefined;
@@ -9656,8 +9656,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9656
9656
  lastModified?: string | null | undefined;
9657
9657
  } | null | undefined;
9658
9658
  } | {
9659
- type: "audio";
9660
9659
  data: string;
9660
+ type: "audio";
9661
9661
  mimeType: string;
9662
9662
  annotations?: {
9663
9663
  priority?: number | null | undefined;
@@ -9746,8 +9746,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9746
9746
  mimeType: z.ZodString;
9747
9747
  type: z.ZodLiteral<"image">;
9748
9748
  }, "strip", z.ZodTypeAny, {
9749
- type: "image";
9750
9749
  data: string;
9750
+ type: "image";
9751
9751
  mimeType: string;
9752
9752
  annotations?: {
9753
9753
  priority?: number | null | undefined;
@@ -9755,8 +9755,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9755
9755
  lastModified?: string | null | undefined;
9756
9756
  } | null | undefined;
9757
9757
  }, {
9758
- type: "image";
9759
9758
  data: string;
9759
+ type: "image";
9760
9760
  mimeType: string;
9761
9761
  annotations?: {
9762
9762
  priority?: number | null | undefined;
@@ -9781,8 +9781,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9781
9781
  mimeType: z.ZodString;
9782
9782
  type: z.ZodLiteral<"audio">;
9783
9783
  }, "strip", z.ZodTypeAny, {
9784
- type: "audio";
9785
9784
  data: string;
9785
+ type: "audio";
9786
9786
  mimeType: string;
9787
9787
  annotations?: {
9788
9788
  priority?: number | null | undefined;
@@ -9790,8 +9790,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9790
9790
  lastModified?: string | null | undefined;
9791
9791
  } | null | undefined;
9792
9792
  }, {
9793
- type: "audio";
9794
9793
  data: string;
9794
+ type: "audio";
9795
9795
  mimeType: string;
9796
9796
  annotations?: {
9797
9797
  priority?: number | null | undefined;
@@ -9929,8 +9929,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9929
9929
  lastModified?: string | null | undefined;
9930
9930
  } | null | undefined;
9931
9931
  } | {
9932
- type: "image";
9933
9932
  data: string;
9933
+ type: "image";
9934
9934
  mimeType: string;
9935
9935
  annotations?: {
9936
9936
  priority?: number | null | undefined;
@@ -9938,8 +9938,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9938
9938
  lastModified?: string | null | undefined;
9939
9939
  } | null | undefined;
9940
9940
  } | {
9941
- type: "audio";
9942
9941
  data: string;
9942
+ type: "audio";
9943
9943
  mimeType: string;
9944
9944
  annotations?: {
9945
9945
  priority?: number | null | undefined;
@@ -9987,8 +9987,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9987
9987
  lastModified?: string | null | undefined;
9988
9988
  } | null | undefined;
9989
9989
  } | {
9990
- type: "image";
9991
9990
  data: string;
9991
+ type: "image";
9992
9992
  mimeType: string;
9993
9993
  annotations?: {
9994
9994
  priority?: number | null | undefined;
@@ -9996,8 +9996,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9996
9996
  lastModified?: string | null | undefined;
9997
9997
  } | null | undefined;
9998
9998
  } | {
9999
- type: "audio";
10000
9999
  data: string;
10000
+ type: "audio";
10001
10001
  mimeType: string;
10002
10002
  annotations?: {
10003
10003
  priority?: number | null | undefined;
@@ -10087,8 +10087,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10087
10087
  mimeType: z.ZodString;
10088
10088
  type: z.ZodLiteral<"image">;
10089
10089
  }, "strip", z.ZodTypeAny, {
10090
- type: "image";
10091
10090
  data: string;
10091
+ type: "image";
10092
10092
  mimeType: string;
10093
10093
  annotations?: {
10094
10094
  priority?: number | null | undefined;
@@ -10096,8 +10096,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10096
10096
  lastModified?: string | null | undefined;
10097
10097
  } | null | undefined;
10098
10098
  }, {
10099
- type: "image";
10100
10099
  data: string;
10100
+ type: "image";
10101
10101
  mimeType: string;
10102
10102
  annotations?: {
10103
10103
  priority?: number | null | undefined;
@@ -10122,8 +10122,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10122
10122
  mimeType: z.ZodString;
10123
10123
  type: z.ZodLiteral<"audio">;
10124
10124
  }, "strip", z.ZodTypeAny, {
10125
- type: "audio";
10126
10125
  data: string;
10126
+ type: "audio";
10127
10127
  mimeType: string;
10128
10128
  annotations?: {
10129
10129
  priority?: number | null | undefined;
@@ -10131,8 +10131,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10131
10131
  lastModified?: string | null | undefined;
10132
10132
  } | null | undefined;
10133
10133
  }, {
10134
- type: "audio";
10135
10134
  data: string;
10135
+ type: "audio";
10136
10136
  mimeType: string;
10137
10137
  annotations?: {
10138
10138
  priority?: number | null | undefined;
@@ -10261,7 +10261,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10261
10261
  }>]>;
10262
10262
  type: z.ZodLiteral<"content">;
10263
10263
  }, "strip", z.ZodTypeAny, {
10264
- type: "content";
10265
10264
  content: {
10266
10265
  text: string;
10267
10266
  type: "text";
@@ -10271,8 +10270,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10271
10270
  lastModified?: string | null | undefined;
10272
10271
  } | null | undefined;
10273
10272
  } | {
10274
- type: "image";
10275
10273
  data: string;
10274
+ type: "image";
10276
10275
  mimeType: string;
10277
10276
  annotations?: {
10278
10277
  priority?: number | null | undefined;
@@ -10280,8 +10279,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10280
10279
  lastModified?: string | null | undefined;
10281
10280
  } | null | undefined;
10282
10281
  } | {
10283
- type: "audio";
10284
10282
  data: string;
10283
+ type: "audio";
10285
10284
  mimeType: string;
10286
10285
  annotations?: {
10287
10286
  priority?: number | null | undefined;
@@ -10318,8 +10317,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10318
10317
  lastModified?: string | null | undefined;
10319
10318
  } | null | undefined;
10320
10319
  };
10321
- }, {
10322
10320
  type: "content";
10321
+ }, {
10323
10322
  content: {
10324
10323
  text: string;
10325
10324
  type: "text";
@@ -10329,8 +10328,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10329
10328
  lastModified?: string | null | undefined;
10330
10329
  } | null | undefined;
10331
10330
  } | {
10332
- type: "image";
10333
10331
  data: string;
10332
+ type: "image";
10334
10333
  mimeType: string;
10335
10334
  annotations?: {
10336
10335
  priority?: number | null | undefined;
@@ -10338,8 +10337,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10338
10337
  lastModified?: string | null | undefined;
10339
10338
  } | null | undefined;
10340
10339
  } | {
10341
- type: "audio";
10342
10340
  data: string;
10341
+ type: "audio";
10343
10342
  mimeType: string;
10344
10343
  annotations?: {
10345
10344
  priority?: number | null | undefined;
@@ -10376,6 +10375,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10376
10375
  lastModified?: string | null | undefined;
10377
10376
  } | null | undefined;
10378
10377
  };
10378
+ type: "content";
10379
10379
  }>, z.ZodObject<{
10380
10380
  newText: z.ZodString;
10381
10381
  oldText: z.ZodNullable<z.ZodString>;
@@ -10415,7 +10415,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10415
10415
  toolCallId: string;
10416
10416
  sessionUpdate: "tool_call";
10417
10417
  content?: ({
10418
- type: "content";
10419
10418
  content: {
10420
10419
  text: string;
10421
10420
  type: "text";
@@ -10425,8 +10424,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10425
10424
  lastModified?: string | null | undefined;
10426
10425
  } | null | undefined;
10427
10426
  } | {
10428
- type: "image";
10429
10427
  data: string;
10428
+ type: "image";
10430
10429
  mimeType: string;
10431
10430
  annotations?: {
10432
10431
  priority?: number | null | undefined;
@@ -10434,8 +10433,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10434
10433
  lastModified?: string | null | undefined;
10435
10434
  } | null | undefined;
10436
10435
  } | {
10437
- type: "audio";
10438
10436
  data: string;
10437
+ type: "audio";
10439
10438
  mimeType: string;
10440
10439
  annotations?: {
10441
10440
  priority?: number | null | undefined;
@@ -10472,6 +10471,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10472
10471
  lastModified?: string | null | undefined;
10473
10472
  } | null | undefined;
10474
10473
  };
10474
+ type: "content";
10475
10475
  } | {
10476
10476
  type: "diff";
10477
10477
  path: string;
@@ -10490,7 +10490,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10490
10490
  toolCallId: string;
10491
10491
  sessionUpdate: "tool_call";
10492
10492
  content?: ({
10493
- type: "content";
10494
10493
  content: {
10495
10494
  text: string;
10496
10495
  type: "text";
@@ -10500,8 +10499,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10500
10499
  lastModified?: string | null | undefined;
10501
10500
  } | null | undefined;
10502
10501
  } | {
10503
- type: "image";
10504
10502
  data: string;
10503
+ type: "image";
10505
10504
  mimeType: string;
10506
10505
  annotations?: {
10507
10506
  priority?: number | null | undefined;
@@ -10509,8 +10508,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10509
10508
  lastModified?: string | null | undefined;
10510
10509
  } | null | undefined;
10511
10510
  } | {
10512
- type: "audio";
10513
10511
  data: string;
10512
+ type: "audio";
10514
10513
  mimeType: string;
10515
10514
  annotations?: {
10516
10515
  priority?: number | null | undefined;
@@ -10547,6 +10546,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10547
10546
  lastModified?: string | null | undefined;
10548
10547
  } | null | undefined;
10549
10548
  };
10549
+ type: "content";
10550
10550
  } | {
10551
10551
  type: "diff";
10552
10552
  path: string;
@@ -10610,8 +10610,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10610
10610
  mimeType: z.ZodString;
10611
10611
  type: z.ZodLiteral<"image">;
10612
10612
  }, "strip", z.ZodTypeAny, {
10613
- type: "image";
10614
10613
  data: string;
10614
+ type: "image";
10615
10615
  mimeType: string;
10616
10616
  annotations?: {
10617
10617
  priority?: number | null | undefined;
@@ -10619,8 +10619,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10619
10619
  lastModified?: string | null | undefined;
10620
10620
  } | null | undefined;
10621
10621
  }, {
10622
- type: "image";
10623
10622
  data: string;
10623
+ type: "image";
10624
10624
  mimeType: string;
10625
10625
  annotations?: {
10626
10626
  priority?: number | null | undefined;
@@ -10645,8 +10645,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10645
10645
  mimeType: z.ZodString;
10646
10646
  type: z.ZodLiteral<"audio">;
10647
10647
  }, "strip", z.ZodTypeAny, {
10648
- type: "audio";
10649
10648
  data: string;
10649
+ type: "audio";
10650
10650
  mimeType: string;
10651
10651
  annotations?: {
10652
10652
  priority?: number | null | undefined;
@@ -10654,8 +10654,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10654
10654
  lastModified?: string | null | undefined;
10655
10655
  } | null | undefined;
10656
10656
  }, {
10657
- type: "audio";
10658
10657
  data: string;
10658
+ type: "audio";
10659
10659
  mimeType: string;
10660
10660
  annotations?: {
10661
10661
  priority?: number | null | undefined;
@@ -10784,7 +10784,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10784
10784
  }>]>;
10785
10785
  type: z.ZodLiteral<"content">;
10786
10786
  }, "strip", z.ZodTypeAny, {
10787
- type: "content";
10788
10787
  content: {
10789
10788
  text: string;
10790
10789
  type: "text";
@@ -10794,8 +10793,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10794
10793
  lastModified?: string | null | undefined;
10795
10794
  } | null | undefined;
10796
10795
  } | {
10797
- type: "image";
10798
10796
  data: string;
10797
+ type: "image";
10799
10798
  mimeType: string;
10800
10799
  annotations?: {
10801
10800
  priority?: number | null | undefined;
@@ -10803,8 +10802,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10803
10802
  lastModified?: string | null | undefined;
10804
10803
  } | null | undefined;
10805
10804
  } | {
10806
- type: "audio";
10807
10805
  data: string;
10806
+ type: "audio";
10808
10807
  mimeType: string;
10809
10808
  annotations?: {
10810
10809
  priority?: number | null | undefined;
@@ -10841,8 +10840,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10841
10840
  lastModified?: string | null | undefined;
10842
10841
  } | null | undefined;
10843
10842
  };
10844
- }, {
10845
10843
  type: "content";
10844
+ }, {
10846
10845
  content: {
10847
10846
  text: string;
10848
10847
  type: "text";
@@ -10852,8 +10851,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10852
10851
  lastModified?: string | null | undefined;
10853
10852
  } | null | undefined;
10854
10853
  } | {
10855
- type: "image";
10856
10854
  data: string;
10855
+ type: "image";
10857
10856
  mimeType: string;
10858
10857
  annotations?: {
10859
10858
  priority?: number | null | undefined;
@@ -10861,8 +10860,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10861
10860
  lastModified?: string | null | undefined;
10862
10861
  } | null | undefined;
10863
10862
  } | {
10864
- type: "audio";
10865
10863
  data: string;
10864
+ type: "audio";
10866
10865
  mimeType: string;
10867
10866
  annotations?: {
10868
10867
  priority?: number | null | undefined;
@@ -10899,6 +10898,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10899
10898
  lastModified?: string | null | undefined;
10900
10899
  } | null | undefined;
10901
10900
  };
10901
+ type: "content";
10902
10902
  }>, z.ZodObject<{
10903
10903
  newText: z.ZodString;
10904
10904
  oldText: z.ZodNullable<z.ZodString>;
@@ -10935,7 +10935,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10935
10935
  toolCallId: string;
10936
10936
  sessionUpdate: "tool_call_update";
10937
10937
  content?: ({
10938
- type: "content";
10939
10938
  content: {
10940
10939
  text: string;
10941
10940
  type: "text";
@@ -10945,8 +10944,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10945
10944
  lastModified?: string | null | undefined;
10946
10945
  } | null | undefined;
10947
10946
  } | {
10948
- type: "image";
10949
10947
  data: string;
10948
+ type: "image";
10950
10949
  mimeType: string;
10951
10950
  annotations?: {
10952
10951
  priority?: number | null | undefined;
@@ -10954,8 +10953,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10954
10953
  lastModified?: string | null | undefined;
10955
10954
  } | null | undefined;
10956
10955
  } | {
10957
- type: "audio";
10958
10956
  data: string;
10957
+ type: "audio";
10959
10958
  mimeType: string;
10960
10959
  annotations?: {
10961
10960
  priority?: number | null | undefined;
@@ -10992,6 +10991,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10992
10991
  lastModified?: string | null | undefined;
10993
10992
  } | null | undefined;
10994
10993
  };
10994
+ type: "content";
10995
10995
  } | {
10996
10996
  type: "diff";
10997
10997
  path: string;
@@ -11010,7 +11010,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11010
11010
  toolCallId: string;
11011
11011
  sessionUpdate: "tool_call_update";
11012
11012
  content?: ({
11013
- type: "content";
11014
11013
  content: {
11015
11014
  text: string;
11016
11015
  type: "text";
@@ -11020,8 +11019,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11020
11019
  lastModified?: string | null | undefined;
11021
11020
  } | null | undefined;
11022
11021
  } | {
11023
- type: "image";
11024
11022
  data: string;
11023
+ type: "image";
11025
11024
  mimeType: string;
11026
11025
  annotations?: {
11027
11026
  priority?: number | null | undefined;
@@ -11029,8 +11028,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11029
11028
  lastModified?: string | null | undefined;
11030
11029
  } | null | undefined;
11031
11030
  } | {
11032
- type: "audio";
11033
11031
  data: string;
11032
+ type: "audio";
11034
11033
  mimeType: string;
11035
11034
  annotations?: {
11036
11035
  priority?: number | null | undefined;
@@ -11067,6 +11066,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11067
11066
  lastModified?: string | null | undefined;
11068
11067
  } | null | undefined;
11069
11068
  };
11069
+ type: "content";
11070
11070
  } | {
11071
11071
  type: "diff";
11072
11072
  path: string;
@@ -11123,8 +11123,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11123
11123
  lastModified?: string | null | undefined;
11124
11124
  } | null | undefined;
11125
11125
  } | {
11126
- type: "image";
11127
11126
  data: string;
11127
+ type: "image";
11128
11128
  mimeType: string;
11129
11129
  annotations?: {
11130
11130
  priority?: number | null | undefined;
@@ -11132,8 +11132,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11132
11132
  lastModified?: string | null | undefined;
11133
11133
  } | null | undefined;
11134
11134
  } | {
11135
- type: "audio";
11136
11135
  data: string;
11136
+ type: "audio";
11137
11137
  mimeType: string;
11138
11138
  annotations?: {
11139
11139
  priority?: number | null | undefined;
@@ -11181,8 +11181,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11181
11181
  lastModified?: string | null | undefined;
11182
11182
  } | null | undefined;
11183
11183
  } | {
11184
- type: "image";
11185
11184
  data: string;
11185
+ type: "image";
11186
11186
  mimeType: string;
11187
11187
  annotations?: {
11188
11188
  priority?: number | null | undefined;
@@ -11190,8 +11190,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11190
11190
  lastModified?: string | null | undefined;
11191
11191
  } | null | undefined;
11192
11192
  } | {
11193
- type: "audio";
11194
11193
  data: string;
11194
+ type: "audio";
11195
11195
  mimeType: string;
11196
11196
  annotations?: {
11197
11197
  priority?: number | null | undefined;
@@ -11239,8 +11239,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11239
11239
  lastModified?: string | null | undefined;
11240
11240
  } | null | undefined;
11241
11241
  } | {
11242
- type: "image";
11243
11242
  data: string;
11243
+ type: "image";
11244
11244
  mimeType: string;
11245
11245
  annotations?: {
11246
11246
  priority?: number | null | undefined;
@@ -11248,8 +11248,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11248
11248
  lastModified?: string | null | undefined;
11249
11249
  } | null | undefined;
11250
11250
  } | {
11251
- type: "audio";
11252
11251
  data: string;
11252
+ type: "audio";
11253
11253
  mimeType: string;
11254
11254
  annotations?: {
11255
11255
  priority?: number | null | undefined;
@@ -11294,7 +11294,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11294
11294
  toolCallId: string;
11295
11295
  sessionUpdate: "tool_call";
11296
11296
  content?: ({
11297
- type: "content";
11298
11297
  content: {
11299
11298
  text: string;
11300
11299
  type: "text";
@@ -11304,8 +11303,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11304
11303
  lastModified?: string | null | undefined;
11305
11304
  } | null | undefined;
11306
11305
  } | {
11307
- type: "image";
11308
11306
  data: string;
11307
+ type: "image";
11309
11308
  mimeType: string;
11310
11309
  annotations?: {
11311
11310
  priority?: number | null | undefined;
@@ -11313,8 +11312,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11313
11312
  lastModified?: string | null | undefined;
11314
11313
  } | null | undefined;
11315
11314
  } | {
11316
- type: "audio";
11317
11315
  data: string;
11316
+ type: "audio";
11318
11317
  mimeType: string;
11319
11318
  annotations?: {
11320
11319
  priority?: number | null | undefined;
@@ -11351,6 +11350,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11351
11350
  lastModified?: string | null | undefined;
11352
11351
  } | null | undefined;
11353
11352
  };
11353
+ type: "content";
11354
11354
  } | {
11355
11355
  type: "diff";
11356
11356
  path: string;
@@ -11366,7 +11366,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11366
11366
  toolCallId: string;
11367
11367
  sessionUpdate: "tool_call_update";
11368
11368
  content?: ({
11369
- type: "content";
11370
11369
  content: {
11371
11370
  text: string;
11372
11371
  type: "text";
@@ -11376,8 +11375,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11376
11375
  lastModified?: string | null | undefined;
11377
11376
  } | null | undefined;
11378
11377
  } | {
11379
- type: "image";
11380
11378
  data: string;
11379
+ type: "image";
11381
11380
  mimeType: string;
11382
11381
  annotations?: {
11383
11382
  priority?: number | null | undefined;
@@ -11385,8 +11384,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11385
11384
  lastModified?: string | null | undefined;
11386
11385
  } | null | undefined;
11387
11386
  } | {
11388
- type: "audio";
11389
11387
  data: string;
11388
+ type: "audio";
11390
11389
  mimeType: string;
11391
11390
  annotations?: {
11392
11391
  priority?: number | null | undefined;
@@ -11423,6 +11422,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11423
11422
  lastModified?: string | null | undefined;
11424
11423
  } | null | undefined;
11425
11424
  };
11425
+ type: "content";
11426
11426
  } | {
11427
11427
  type: "diff";
11428
11428
  path: string;
@@ -11457,8 +11457,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11457
11457
  lastModified?: string | null | undefined;
11458
11458
  } | null | undefined;
11459
11459
  } | {
11460
- type: "image";
11461
11460
  data: string;
11461
+ type: "image";
11462
11462
  mimeType: string;
11463
11463
  annotations?: {
11464
11464
  priority?: number | null | undefined;
@@ -11466,8 +11466,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11466
11466
  lastModified?: string | null | undefined;
11467
11467
  } | null | undefined;
11468
11468
  } | {
11469
- type: "audio";
11470
11469
  data: string;
11470
+ type: "audio";
11471
11471
  mimeType: string;
11472
11472
  annotations?: {
11473
11473
  priority?: number | null | undefined;
@@ -11515,8 +11515,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11515
11515
  lastModified?: string | null | undefined;
11516
11516
  } | null | undefined;
11517
11517
  } | {
11518
- type: "image";
11519
11518
  data: string;
11519
+ type: "image";
11520
11520
  mimeType: string;
11521
11521
  annotations?: {
11522
11522
  priority?: number | null | undefined;
@@ -11524,8 +11524,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11524
11524
  lastModified?: string | null | undefined;
11525
11525
  } | null | undefined;
11526
11526
  } | {
11527
- type: "audio";
11528
11527
  data: string;
11528
+ type: "audio";
11529
11529
  mimeType: string;
11530
11530
  annotations?: {
11531
11531
  priority?: number | null | undefined;
@@ -11573,8 +11573,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11573
11573
  lastModified?: string | null | undefined;
11574
11574
  } | null | undefined;
11575
11575
  } | {
11576
- type: "image";
11577
11576
  data: string;
11577
+ type: "image";
11578
11578
  mimeType: string;
11579
11579
  annotations?: {
11580
11580
  priority?: number | null | undefined;
@@ -11582,8 +11582,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11582
11582
  lastModified?: string | null | undefined;
11583
11583
  } | null | undefined;
11584
11584
  } | {
11585
- type: "audio";
11586
11585
  data: string;
11586
+ type: "audio";
11587
11587
  mimeType: string;
11588
11588
  annotations?: {
11589
11589
  priority?: number | null | undefined;
@@ -11628,7 +11628,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11628
11628
  toolCallId: string;
11629
11629
  sessionUpdate: "tool_call";
11630
11630
  content?: ({
11631
- type: "content";
11632
11631
  content: {
11633
11632
  text: string;
11634
11633
  type: "text";
@@ -11638,8 +11637,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11638
11637
  lastModified?: string | null | undefined;
11639
11638
  } | null | undefined;
11640
11639
  } | {
11641
- type: "image";
11642
11640
  data: string;
11641
+ type: "image";
11643
11642
  mimeType: string;
11644
11643
  annotations?: {
11645
11644
  priority?: number | null | undefined;
@@ -11647,8 +11646,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11647
11646
  lastModified?: string | null | undefined;
11648
11647
  } | null | undefined;
11649
11648
  } | {
11650
- type: "audio";
11651
11649
  data: string;
11650
+ type: "audio";
11652
11651
  mimeType: string;
11653
11652
  annotations?: {
11654
11653
  priority?: number | null | undefined;
@@ -11685,6 +11684,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11685
11684
  lastModified?: string | null | undefined;
11686
11685
  } | null | undefined;
11687
11686
  };
11687
+ type: "content";
11688
11688
  } | {
11689
11689
  type: "diff";
11690
11690
  path: string;
@@ -11700,7 +11700,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11700
11700
  toolCallId: string;
11701
11701
  sessionUpdate: "tool_call_update";
11702
11702
  content?: ({
11703
- type: "content";
11704
11703
  content: {
11705
11704
  text: string;
11706
11705
  type: "text";
@@ -11710,8 +11709,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11710
11709
  lastModified?: string | null | undefined;
11711
11710
  } | null | undefined;
11712
11711
  } | {
11713
- type: "image";
11714
11712
  data: string;
11713
+ type: "image";
11715
11714
  mimeType: string;
11716
11715
  annotations?: {
11717
11716
  priority?: number | null | undefined;
@@ -11719,8 +11718,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11719
11718
  lastModified?: string | null | undefined;
11720
11719
  } | null | undefined;
11721
11720
  } | {
11722
- type: "audio";
11723
11721
  data: string;
11722
+ type: "audio";
11724
11723
  mimeType: string;
11725
11724
  annotations?: {
11726
11725
  priority?: number | null | undefined;
@@ -11757,6 +11756,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11757
11756
  lastModified?: string | null | undefined;
11758
11757
  } | null | undefined;
11759
11758
  };
11759
+ type: "content";
11760
11760
  } | {
11761
11761
  type: "diff";
11762
11762
  path: string;