@google/gemini-cli 0.2.0-preview.0 → 0.2.0-preview.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.
@@ -610,8 +610,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
610
610
  mimeType: z.ZodString;
611
611
  type: z.ZodLiteral<"image">;
612
612
  }, "strip", z.ZodTypeAny, {
613
- type: "image";
614
613
  data: string;
614
+ type: "image";
615
615
  mimeType: string;
616
616
  annotations?: {
617
617
  priority?: number | null | undefined;
@@ -619,8 +619,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
619
619
  lastModified?: string | null | undefined;
620
620
  } | null | undefined;
621
621
  }, {
622
- type: "image";
623
622
  data: string;
623
+ type: "image";
624
624
  mimeType: string;
625
625
  annotations?: {
626
626
  priority?: number | null | undefined;
@@ -645,8 +645,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
645
645
  mimeType: z.ZodString;
646
646
  type: z.ZodLiteral<"audio">;
647
647
  }, "strip", z.ZodTypeAny, {
648
- type: "audio";
649
648
  data: string;
649
+ type: "audio";
650
650
  mimeType: string;
651
651
  annotations?: {
652
652
  priority?: number | null | undefined;
@@ -654,8 +654,8 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
654
654
  lastModified?: string | null | undefined;
655
655
  } | null | undefined;
656
656
  }, {
657
- type: "audio";
658
657
  data: string;
658
+ type: "audio";
659
659
  mimeType: string;
660
660
  annotations?: {
661
661
  priority?: number | null | undefined;
@@ -833,8 +833,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
833
833
  mimeType: z.ZodString;
834
834
  type: z.ZodLiteral<"image">;
835
835
  }, "strip", z.ZodTypeAny, {
836
- type: "image";
837
836
  data: string;
837
+ type: "image";
838
838
  mimeType: string;
839
839
  annotations?: {
840
840
  priority?: number | null | undefined;
@@ -842,8 +842,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
842
842
  lastModified?: string | null | undefined;
843
843
  } | null | undefined;
844
844
  }, {
845
- type: "image";
846
845
  data: string;
846
+ type: "image";
847
847
  mimeType: string;
848
848
  annotations?: {
849
849
  priority?: number | null | undefined;
@@ -868,8 +868,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
868
868
  mimeType: z.ZodString;
869
869
  type: z.ZodLiteral<"audio">;
870
870
  }, "strip", z.ZodTypeAny, {
871
- type: "audio";
872
871
  data: string;
872
+ type: "audio";
873
873
  mimeType: string;
874
874
  annotations?: {
875
875
  priority?: number | null | undefined;
@@ -877,8 +877,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
877
877
  lastModified?: string | null | undefined;
878
878
  } | null | undefined;
879
879
  }, {
880
- type: "audio";
881
880
  data: string;
881
+ type: "audio";
882
882
  mimeType: string;
883
883
  annotations?: {
884
884
  priority?: number | null | undefined;
@@ -1007,7 +1007,6 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1007
1007
  }>]>;
1008
1008
  type: z.ZodLiteral<"content">;
1009
1009
  }, "strip", z.ZodTypeAny, {
1010
- type: "content";
1011
1010
  content: {
1012
1011
  text: string;
1013
1012
  type: "text";
@@ -1017,8 +1016,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1017
1016
  lastModified?: string | null | undefined;
1018
1017
  } | null | undefined;
1019
1018
  } | {
1020
- type: "image";
1021
1019
  data: string;
1020
+ type: "image";
1022
1021
  mimeType: string;
1023
1022
  annotations?: {
1024
1023
  priority?: number | null | undefined;
@@ -1026,8 +1025,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1026
1025
  lastModified?: string | null | undefined;
1027
1026
  } | null | undefined;
1028
1027
  } | {
1029
- type: "audio";
1030
1028
  data: string;
1029
+ type: "audio";
1031
1030
  mimeType: string;
1032
1031
  annotations?: {
1033
1032
  priority?: number | null | undefined;
@@ -1064,8 +1063,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1064
1063
  lastModified?: string | null | undefined;
1065
1064
  } | null | undefined;
1066
1065
  };
1067
- }, {
1068
1066
  type: "content";
1067
+ }, {
1069
1068
  content: {
1070
1069
  text: string;
1071
1070
  type: "text";
@@ -1075,8 +1074,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1075
1074
  lastModified?: string | null | undefined;
1076
1075
  } | null | undefined;
1077
1076
  } | {
1078
- type: "image";
1079
1077
  data: string;
1078
+ type: "image";
1080
1079
  mimeType: string;
1081
1080
  annotations?: {
1082
1081
  priority?: number | null | undefined;
@@ -1084,8 +1083,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1084
1083
  lastModified?: string | null | undefined;
1085
1084
  } | null | undefined;
1086
1085
  } | {
1087
- type: "audio";
1088
1086
  data: string;
1087
+ type: "audio";
1089
1088
  mimeType: string;
1090
1089
  annotations?: {
1091
1090
  priority?: number | null | undefined;
@@ -1122,6 +1121,7 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1122
1121
  lastModified?: string | null | undefined;
1123
1122
  } | null | undefined;
1124
1123
  };
1124
+ type: "content";
1125
1125
  }>, z.ZodObject<{
1126
1126
  newText: z.ZodString;
1127
1127
  oldText: z.ZodNullable<z.ZodString>;
@@ -1190,8 +1190,8 @@ export declare const toolCallSchema: z.ZodObject<{
1190
1190
  mimeType: z.ZodString;
1191
1191
  type: z.ZodLiteral<"image">;
1192
1192
  }, "strip", z.ZodTypeAny, {
1193
- type: "image";
1194
1193
  data: string;
1194
+ type: "image";
1195
1195
  mimeType: string;
1196
1196
  annotations?: {
1197
1197
  priority?: number | null | undefined;
@@ -1199,8 +1199,8 @@ export declare const toolCallSchema: z.ZodObject<{
1199
1199
  lastModified?: string | null | undefined;
1200
1200
  } | null | undefined;
1201
1201
  }, {
1202
- type: "image";
1203
1202
  data: string;
1203
+ type: "image";
1204
1204
  mimeType: string;
1205
1205
  annotations?: {
1206
1206
  priority?: number | null | undefined;
@@ -1225,8 +1225,8 @@ export declare const toolCallSchema: z.ZodObject<{
1225
1225
  mimeType: z.ZodString;
1226
1226
  type: z.ZodLiteral<"audio">;
1227
1227
  }, "strip", z.ZodTypeAny, {
1228
- type: "audio";
1229
1228
  data: string;
1229
+ type: "audio";
1230
1230
  mimeType: string;
1231
1231
  annotations?: {
1232
1232
  priority?: number | null | undefined;
@@ -1234,8 +1234,8 @@ export declare const toolCallSchema: z.ZodObject<{
1234
1234
  lastModified?: string | null | undefined;
1235
1235
  } | null | undefined;
1236
1236
  }, {
1237
- type: "audio";
1238
1237
  data: string;
1238
+ type: "audio";
1239
1239
  mimeType: string;
1240
1240
  annotations?: {
1241
1241
  priority?: number | null | undefined;
@@ -1364,7 +1364,6 @@ export declare const toolCallSchema: z.ZodObject<{
1364
1364
  }>]>;
1365
1365
  type: z.ZodLiteral<"content">;
1366
1366
  }, "strip", z.ZodTypeAny, {
1367
- type: "content";
1368
1367
  content: {
1369
1368
  text: string;
1370
1369
  type: "text";
@@ -1374,8 +1373,8 @@ export declare const toolCallSchema: z.ZodObject<{
1374
1373
  lastModified?: string | null | undefined;
1375
1374
  } | null | undefined;
1376
1375
  } | {
1377
- type: "image";
1378
1376
  data: string;
1377
+ type: "image";
1379
1378
  mimeType: string;
1380
1379
  annotations?: {
1381
1380
  priority?: number | null | undefined;
@@ -1383,8 +1382,8 @@ export declare const toolCallSchema: z.ZodObject<{
1383
1382
  lastModified?: string | null | undefined;
1384
1383
  } | null | undefined;
1385
1384
  } | {
1386
- type: "audio";
1387
1385
  data: string;
1386
+ type: "audio";
1388
1387
  mimeType: string;
1389
1388
  annotations?: {
1390
1389
  priority?: number | null | undefined;
@@ -1421,8 +1420,8 @@ export declare const toolCallSchema: z.ZodObject<{
1421
1420
  lastModified?: string | null | undefined;
1422
1421
  } | null | undefined;
1423
1422
  };
1424
- }, {
1425
1423
  type: "content";
1424
+ }, {
1426
1425
  content: {
1427
1426
  text: string;
1428
1427
  type: "text";
@@ -1432,8 +1431,8 @@ export declare const toolCallSchema: z.ZodObject<{
1432
1431
  lastModified?: string | null | undefined;
1433
1432
  } | null | undefined;
1434
1433
  } | {
1435
- type: "image";
1436
1434
  data: string;
1435
+ type: "image";
1437
1436
  mimeType: string;
1438
1437
  annotations?: {
1439
1438
  priority?: number | null | undefined;
@@ -1441,8 +1440,8 @@ export declare const toolCallSchema: z.ZodObject<{
1441
1440
  lastModified?: string | null | undefined;
1442
1441
  } | null | undefined;
1443
1442
  } | {
1444
- type: "audio";
1445
1443
  data: string;
1444
+ type: "audio";
1446
1445
  mimeType: string;
1447
1446
  annotations?: {
1448
1447
  priority?: number | null | undefined;
@@ -1479,6 +1478,7 @@ export declare const toolCallSchema: z.ZodObject<{
1479
1478
  lastModified?: string | null | undefined;
1480
1479
  } | null | undefined;
1481
1480
  };
1481
+ type: "content";
1482
1482
  }>, z.ZodObject<{
1483
1483
  newText: z.ZodString;
1484
1484
  oldText: z.ZodNullable<z.ZodString>;
@@ -1516,7 +1516,6 @@ export declare const toolCallSchema: z.ZodObject<{
1516
1516
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
1517
1517
  toolCallId: string;
1518
1518
  content?: ({
1519
- type: "content";
1520
1519
  content: {
1521
1520
  text: string;
1522
1521
  type: "text";
@@ -1526,8 +1525,8 @@ export declare const toolCallSchema: z.ZodObject<{
1526
1525
  lastModified?: string | null | undefined;
1527
1526
  } | null | undefined;
1528
1527
  } | {
1529
- type: "image";
1530
1528
  data: string;
1529
+ type: "image";
1531
1530
  mimeType: string;
1532
1531
  annotations?: {
1533
1532
  priority?: number | null | undefined;
@@ -1535,8 +1534,8 @@ export declare const toolCallSchema: z.ZodObject<{
1535
1534
  lastModified?: string | null | undefined;
1536
1535
  } | null | undefined;
1537
1536
  } | {
1538
- type: "audio";
1539
1537
  data: string;
1538
+ type: "audio";
1540
1539
  mimeType: string;
1541
1540
  annotations?: {
1542
1541
  priority?: number | null | undefined;
@@ -1573,6 +1572,7 @@ export declare const toolCallSchema: z.ZodObject<{
1573
1572
  lastModified?: string | null | undefined;
1574
1573
  } | null | undefined;
1575
1574
  };
1575
+ type: "content";
1576
1576
  } | {
1577
1577
  type: "diff";
1578
1578
  path: string;
@@ -1590,7 +1590,6 @@ export declare const toolCallSchema: z.ZodObject<{
1590
1590
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
1591
1591
  toolCallId: string;
1592
1592
  content?: ({
1593
- type: "content";
1594
1593
  content: {
1595
1594
  text: string;
1596
1595
  type: "text";
@@ -1600,8 +1599,8 @@ export declare const toolCallSchema: z.ZodObject<{
1600
1599
  lastModified?: string | null | undefined;
1601
1600
  } | null | undefined;
1602
1601
  } | {
1603
- type: "image";
1604
1602
  data: string;
1603
+ type: "image";
1605
1604
  mimeType: string;
1606
1605
  annotations?: {
1607
1606
  priority?: number | null | undefined;
@@ -1609,8 +1608,8 @@ export declare const toolCallSchema: z.ZodObject<{
1609
1608
  lastModified?: string | null | undefined;
1610
1609
  } | null | undefined;
1611
1610
  } | {
1612
- type: "audio";
1613
1611
  data: string;
1612
+ type: "audio";
1614
1613
  mimeType: string;
1615
1614
  annotations?: {
1616
1615
  priority?: number | null | undefined;
@@ -1647,6 +1646,7 @@ export declare const toolCallSchema: z.ZodObject<{
1647
1646
  lastModified?: string | null | undefined;
1648
1647
  } | null | undefined;
1649
1648
  };
1649
+ type: "content";
1650
1650
  } | {
1651
1651
  type: "diff";
1652
1652
  path: string;
@@ -1732,8 +1732,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1732
1732
  mimeType: z.ZodString;
1733
1733
  type: z.ZodLiteral<"image">;
1734
1734
  }, "strip", z.ZodTypeAny, {
1735
- type: "image";
1736
1735
  data: string;
1736
+ type: "image";
1737
1737
  mimeType: string;
1738
1738
  annotations?: {
1739
1739
  priority?: number | null | undefined;
@@ -1741,8 +1741,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1741
1741
  lastModified?: string | null | undefined;
1742
1742
  } | null | undefined;
1743
1743
  }, {
1744
- type: "image";
1745
1744
  data: string;
1745
+ type: "image";
1746
1746
  mimeType: string;
1747
1747
  annotations?: {
1748
1748
  priority?: number | null | undefined;
@@ -1767,8 +1767,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1767
1767
  mimeType: z.ZodString;
1768
1768
  type: z.ZodLiteral<"audio">;
1769
1769
  }, "strip", z.ZodTypeAny, {
1770
- type: "audio";
1771
1770
  data: string;
1771
+ type: "audio";
1772
1772
  mimeType: string;
1773
1773
  annotations?: {
1774
1774
  priority?: number | null | undefined;
@@ -1776,8 +1776,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1776
1776
  lastModified?: string | null | undefined;
1777
1777
  } | null | undefined;
1778
1778
  }, {
1779
- type: "audio";
1780
1779
  data: string;
1780
+ type: "audio";
1781
1781
  mimeType: string;
1782
1782
  annotations?: {
1783
1783
  priority?: number | null | undefined;
@@ -1916,8 +1916,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1916
1916
  lastModified?: string | null | undefined;
1917
1917
  } | null | undefined;
1918
1918
  } | {
1919
- type: "image";
1920
1919
  data: string;
1920
+ type: "image";
1921
1921
  mimeType: string;
1922
1922
  annotations?: {
1923
1923
  priority?: number | null | undefined;
@@ -1925,8 +1925,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1925
1925
  lastModified?: string | null | undefined;
1926
1926
  } | null | undefined;
1927
1927
  } | {
1928
- type: "audio";
1929
1928
  data: string;
1929
+ type: "audio";
1930
1930
  mimeType: string;
1931
1931
  annotations?: {
1932
1932
  priority?: number | null | undefined;
@@ -1974,8 +1974,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1974
1974
  lastModified?: string | null | undefined;
1975
1975
  } | null | undefined;
1976
1976
  } | {
1977
- type: "image";
1978
1977
  data: string;
1978
+ type: "image";
1979
1979
  mimeType: string;
1980
1980
  annotations?: {
1981
1981
  priority?: number | null | undefined;
@@ -1983,8 +1983,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1983
1983
  lastModified?: string | null | undefined;
1984
1984
  } | null | undefined;
1985
1985
  } | {
1986
- type: "audio";
1987
1986
  data: string;
1987
+ type: "audio";
1988
1988
  mimeType: string;
1989
1989
  annotations?: {
1990
1990
  priority?: number | null | undefined;
@@ -2073,8 +2073,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2073
2073
  mimeType: z.ZodString;
2074
2074
  type: z.ZodLiteral<"image">;
2075
2075
  }, "strip", z.ZodTypeAny, {
2076
- type: "image";
2077
2076
  data: string;
2077
+ type: "image";
2078
2078
  mimeType: string;
2079
2079
  annotations?: {
2080
2080
  priority?: number | null | undefined;
@@ -2082,8 +2082,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2082
2082
  lastModified?: string | null | undefined;
2083
2083
  } | null | undefined;
2084
2084
  }, {
2085
- type: "image";
2086
2085
  data: string;
2086
+ type: "image";
2087
2087
  mimeType: string;
2088
2088
  annotations?: {
2089
2089
  priority?: number | null | undefined;
@@ -2108,8 +2108,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2108
2108
  mimeType: z.ZodString;
2109
2109
  type: z.ZodLiteral<"audio">;
2110
2110
  }, "strip", z.ZodTypeAny, {
2111
- type: "audio";
2112
2111
  data: string;
2112
+ type: "audio";
2113
2113
  mimeType: string;
2114
2114
  annotations?: {
2115
2115
  priority?: number | null | undefined;
@@ -2117,8 +2117,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2117
2117
  lastModified?: string | null | undefined;
2118
2118
  } | null | undefined;
2119
2119
  }, {
2120
- type: "audio";
2121
2120
  data: string;
2121
+ type: "audio";
2122
2122
  mimeType: string;
2123
2123
  annotations?: {
2124
2124
  priority?: number | null | undefined;
@@ -2256,8 +2256,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2256
2256
  lastModified?: string | null | undefined;
2257
2257
  } | null | undefined;
2258
2258
  } | {
2259
- type: "image";
2260
2259
  data: string;
2260
+ type: "image";
2261
2261
  mimeType: string;
2262
2262
  annotations?: {
2263
2263
  priority?: number | null | undefined;
@@ -2265,8 +2265,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2265
2265
  lastModified?: string | null | undefined;
2266
2266
  } | null | undefined;
2267
2267
  } | {
2268
- type: "audio";
2269
2268
  data: string;
2269
+ type: "audio";
2270
2270
  mimeType: string;
2271
2271
  annotations?: {
2272
2272
  priority?: number | null | undefined;
@@ -2314,8 +2314,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2314
2314
  lastModified?: string | null | undefined;
2315
2315
  } | null | undefined;
2316
2316
  } | {
2317
- type: "image";
2318
2317
  data: string;
2318
+ type: "image";
2319
2319
  mimeType: string;
2320
2320
  annotations?: {
2321
2321
  priority?: number | null | undefined;
@@ -2323,8 +2323,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2323
2323
  lastModified?: string | null | undefined;
2324
2324
  } | null | undefined;
2325
2325
  } | {
2326
- type: "audio";
2327
2326
  data: string;
2327
+ type: "audio";
2328
2328
  mimeType: string;
2329
2329
  annotations?: {
2330
2330
  priority?: number | null | undefined;
@@ -2413,8 +2413,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2413
2413
  mimeType: z.ZodString;
2414
2414
  type: z.ZodLiteral<"image">;
2415
2415
  }, "strip", z.ZodTypeAny, {
2416
- type: "image";
2417
2416
  data: string;
2417
+ type: "image";
2418
2418
  mimeType: string;
2419
2419
  annotations?: {
2420
2420
  priority?: number | null | undefined;
@@ -2422,8 +2422,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2422
2422
  lastModified?: string | null | undefined;
2423
2423
  } | null | undefined;
2424
2424
  }, {
2425
- type: "image";
2426
2425
  data: string;
2426
+ type: "image";
2427
2427
  mimeType: string;
2428
2428
  annotations?: {
2429
2429
  priority?: number | null | undefined;
@@ -2448,8 +2448,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2448
2448
  mimeType: z.ZodString;
2449
2449
  type: z.ZodLiteral<"audio">;
2450
2450
  }, "strip", z.ZodTypeAny, {
2451
- type: "audio";
2452
2451
  data: string;
2452
+ type: "audio";
2453
2453
  mimeType: string;
2454
2454
  annotations?: {
2455
2455
  priority?: number | null | undefined;
@@ -2457,8 +2457,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2457
2457
  lastModified?: string | null | undefined;
2458
2458
  } | null | undefined;
2459
2459
  }, {
2460
- type: "audio";
2461
2460
  data: string;
2461
+ type: "audio";
2462
2462
  mimeType: string;
2463
2463
  annotations?: {
2464
2464
  priority?: number | null | undefined;
@@ -2596,8 +2596,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2596
2596
  lastModified?: string | null | undefined;
2597
2597
  } | null | undefined;
2598
2598
  } | {
2599
- type: "image";
2600
2599
  data: string;
2600
+ type: "image";
2601
2601
  mimeType: string;
2602
2602
  annotations?: {
2603
2603
  priority?: number | null | undefined;
@@ -2605,8 +2605,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2605
2605
  lastModified?: string | null | undefined;
2606
2606
  } | null | undefined;
2607
2607
  } | {
2608
- type: "audio";
2609
2608
  data: string;
2609
+ type: "audio";
2610
2610
  mimeType: string;
2611
2611
  annotations?: {
2612
2612
  priority?: number | null | undefined;
@@ -2654,8 +2654,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2654
2654
  lastModified?: string | null | undefined;
2655
2655
  } | null | undefined;
2656
2656
  } | {
2657
- type: "image";
2658
2657
  data: string;
2658
+ type: "image";
2659
2659
  mimeType: string;
2660
2660
  annotations?: {
2661
2661
  priority?: number | null | undefined;
@@ -2663,8 +2663,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2663
2663
  lastModified?: string | null | undefined;
2664
2664
  } | null | undefined;
2665
2665
  } | {
2666
- type: "audio";
2667
2666
  data: string;
2667
+ type: "audio";
2668
2668
  mimeType: string;
2669
2669
  annotations?: {
2670
2670
  priority?: number | null | undefined;
@@ -2753,8 +2753,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2753
2753
  mimeType: z.ZodString;
2754
2754
  type: z.ZodLiteral<"image">;
2755
2755
  }, "strip", z.ZodTypeAny, {
2756
- type: "image";
2757
2756
  data: string;
2757
+ type: "image";
2758
2758
  mimeType: string;
2759
2759
  annotations?: {
2760
2760
  priority?: number | null | undefined;
@@ -2762,8 +2762,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2762
2762
  lastModified?: string | null | undefined;
2763
2763
  } | null | undefined;
2764
2764
  }, {
2765
- type: "image";
2766
2765
  data: string;
2766
+ type: "image";
2767
2767
  mimeType: string;
2768
2768
  annotations?: {
2769
2769
  priority?: number | null | undefined;
@@ -2788,8 +2788,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2788
2788
  mimeType: z.ZodString;
2789
2789
  type: z.ZodLiteral<"audio">;
2790
2790
  }, "strip", z.ZodTypeAny, {
2791
- type: "audio";
2792
2791
  data: string;
2792
+ type: "audio";
2793
2793
  mimeType: string;
2794
2794
  annotations?: {
2795
2795
  priority?: number | null | undefined;
@@ -2797,8 +2797,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2797
2797
  lastModified?: string | null | undefined;
2798
2798
  } | null | undefined;
2799
2799
  }, {
2800
- type: "audio";
2801
2800
  data: string;
2801
+ type: "audio";
2802
2802
  mimeType: string;
2803
2803
  annotations?: {
2804
2804
  priority?: number | null | undefined;
@@ -2936,8 +2936,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2936
2936
  lastModified?: string | null | undefined;
2937
2937
  } | null | undefined;
2938
2938
  } | {
2939
- type: "image";
2940
2939
  data: string;
2940
+ type: "image";
2941
2941
  mimeType: string;
2942
2942
  annotations?: {
2943
2943
  priority?: number | null | undefined;
@@ -2945,8 +2945,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2945
2945
  lastModified?: string | null | undefined;
2946
2946
  } | null | undefined;
2947
2947
  } | {
2948
- type: "audio";
2949
2948
  data: string;
2949
+ type: "audio";
2950
2950
  mimeType: string;
2951
2951
  annotations?: {
2952
2952
  priority?: number | null | undefined;
@@ -2994,8 +2994,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2994
2994
  lastModified?: string | null | undefined;
2995
2995
  } | null | undefined;
2996
2996
  } | {
2997
- type: "image";
2998
2997
  data: string;
2998
+ type: "image";
2999
2999
  mimeType: string;
3000
3000
  annotations?: {
3001
3001
  priority?: number | null | undefined;
@@ -3003,8 +3003,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3003
3003
  lastModified?: string | null | undefined;
3004
3004
  } | null | undefined;
3005
3005
  } | {
3006
- type: "audio";
3007
3006
  data: string;
3007
+ type: "audio";
3008
3008
  mimeType: string;
3009
3009
  annotations?: {
3010
3010
  priority?: number | null | undefined;
@@ -3094,8 +3094,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3094
3094
  mimeType: z.ZodString;
3095
3095
  type: z.ZodLiteral<"image">;
3096
3096
  }, "strip", z.ZodTypeAny, {
3097
- type: "image";
3098
3097
  data: string;
3098
+ type: "image";
3099
3099
  mimeType: string;
3100
3100
  annotations?: {
3101
3101
  priority?: number | null | undefined;
@@ -3103,8 +3103,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3103
3103
  lastModified?: string | null | undefined;
3104
3104
  } | null | undefined;
3105
3105
  }, {
3106
- type: "image";
3107
3106
  data: string;
3107
+ type: "image";
3108
3108
  mimeType: string;
3109
3109
  annotations?: {
3110
3110
  priority?: number | null | undefined;
@@ -3129,8 +3129,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3129
3129
  mimeType: z.ZodString;
3130
3130
  type: z.ZodLiteral<"audio">;
3131
3131
  }, "strip", z.ZodTypeAny, {
3132
- type: "audio";
3133
3132
  data: string;
3133
+ type: "audio";
3134
3134
  mimeType: string;
3135
3135
  annotations?: {
3136
3136
  priority?: number | null | undefined;
@@ -3138,8 +3138,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3138
3138
  lastModified?: string | null | undefined;
3139
3139
  } | null | undefined;
3140
3140
  }, {
3141
- type: "audio";
3142
3141
  data: string;
3142
+ type: "audio";
3143
3143
  mimeType: string;
3144
3144
  annotations?: {
3145
3145
  priority?: number | null | undefined;
@@ -3268,7 +3268,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3268
3268
  }>]>;
3269
3269
  type: z.ZodLiteral<"content">;
3270
3270
  }, "strip", z.ZodTypeAny, {
3271
- type: "content";
3272
3271
  content: {
3273
3272
  text: string;
3274
3273
  type: "text";
@@ -3278,8 +3277,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3278
3277
  lastModified?: string | null | undefined;
3279
3278
  } | null | undefined;
3280
3279
  } | {
3281
- type: "image";
3282
3280
  data: string;
3281
+ type: "image";
3283
3282
  mimeType: string;
3284
3283
  annotations?: {
3285
3284
  priority?: number | null | undefined;
@@ -3287,8 +3286,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3287
3286
  lastModified?: string | null | undefined;
3288
3287
  } | null | undefined;
3289
3288
  } | {
3290
- type: "audio";
3291
3289
  data: string;
3290
+ type: "audio";
3292
3291
  mimeType: string;
3293
3292
  annotations?: {
3294
3293
  priority?: number | null | undefined;
@@ -3325,8 +3324,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3325
3324
  lastModified?: string | null | undefined;
3326
3325
  } | null | undefined;
3327
3326
  };
3328
- }, {
3329
3327
  type: "content";
3328
+ }, {
3330
3329
  content: {
3331
3330
  text: string;
3332
3331
  type: "text";
@@ -3336,8 +3335,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3336
3335
  lastModified?: string | null | undefined;
3337
3336
  } | null | undefined;
3338
3337
  } | {
3339
- type: "image";
3340
3338
  data: string;
3339
+ type: "image";
3341
3340
  mimeType: string;
3342
3341
  annotations?: {
3343
3342
  priority?: number | null | undefined;
@@ -3345,8 +3344,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3345
3344
  lastModified?: string | null | undefined;
3346
3345
  } | null | undefined;
3347
3346
  } | {
3348
- type: "audio";
3349
3347
  data: string;
3348
+ type: "audio";
3350
3349
  mimeType: string;
3351
3350
  annotations?: {
3352
3351
  priority?: number | null | undefined;
@@ -3383,6 +3382,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3383
3382
  lastModified?: string | null | undefined;
3384
3383
  } | null | undefined;
3385
3384
  };
3385
+ type: "content";
3386
3386
  }>, z.ZodObject<{
3387
3387
  newText: z.ZodString;
3388
3388
  oldText: z.ZodNullable<z.ZodString>;
@@ -3422,7 +3422,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3422
3422
  toolCallId: string;
3423
3423
  sessionUpdate: "tool_call";
3424
3424
  content?: ({
3425
- type: "content";
3426
3425
  content: {
3427
3426
  text: string;
3428
3427
  type: "text";
@@ -3432,8 +3431,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3432
3431
  lastModified?: string | null | undefined;
3433
3432
  } | null | undefined;
3434
3433
  } | {
3435
- type: "image";
3436
3434
  data: string;
3435
+ type: "image";
3437
3436
  mimeType: string;
3438
3437
  annotations?: {
3439
3438
  priority?: number | null | undefined;
@@ -3441,8 +3440,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3441
3440
  lastModified?: string | null | undefined;
3442
3441
  } | null | undefined;
3443
3442
  } | {
3444
- type: "audio";
3445
3443
  data: string;
3444
+ type: "audio";
3446
3445
  mimeType: string;
3447
3446
  annotations?: {
3448
3447
  priority?: number | null | undefined;
@@ -3479,6 +3478,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3479
3478
  lastModified?: string | null | undefined;
3480
3479
  } | null | undefined;
3481
3480
  };
3481
+ type: "content";
3482
3482
  } | {
3483
3483
  type: "diff";
3484
3484
  path: string;
@@ -3497,7 +3497,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3497
3497
  toolCallId: string;
3498
3498
  sessionUpdate: "tool_call";
3499
3499
  content?: ({
3500
- type: "content";
3501
3500
  content: {
3502
3501
  text: string;
3503
3502
  type: "text";
@@ -3507,8 +3506,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3507
3506
  lastModified?: string | null | undefined;
3508
3507
  } | null | undefined;
3509
3508
  } | {
3510
- type: "image";
3511
3509
  data: string;
3510
+ type: "image";
3512
3511
  mimeType: string;
3513
3512
  annotations?: {
3514
3513
  priority?: number | null | undefined;
@@ -3516,8 +3515,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3516
3515
  lastModified?: string | null | undefined;
3517
3516
  } | null | undefined;
3518
3517
  } | {
3519
- type: "audio";
3520
3518
  data: string;
3519
+ type: "audio";
3521
3520
  mimeType: string;
3522
3521
  annotations?: {
3523
3522
  priority?: number | null | undefined;
@@ -3554,6 +3553,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3554
3553
  lastModified?: string | null | undefined;
3555
3554
  } | null | undefined;
3556
3555
  };
3556
+ type: "content";
3557
3557
  } | {
3558
3558
  type: "diff";
3559
3559
  path: string;
@@ -3617,8 +3617,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3617
3617
  mimeType: z.ZodString;
3618
3618
  type: z.ZodLiteral<"image">;
3619
3619
  }, "strip", z.ZodTypeAny, {
3620
- type: "image";
3621
3620
  data: string;
3621
+ type: "image";
3622
3622
  mimeType: string;
3623
3623
  annotations?: {
3624
3624
  priority?: number | null | undefined;
@@ -3626,8 +3626,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3626
3626
  lastModified?: string | null | undefined;
3627
3627
  } | null | undefined;
3628
3628
  }, {
3629
- type: "image";
3630
3629
  data: string;
3630
+ type: "image";
3631
3631
  mimeType: string;
3632
3632
  annotations?: {
3633
3633
  priority?: number | null | undefined;
@@ -3652,8 +3652,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3652
3652
  mimeType: z.ZodString;
3653
3653
  type: z.ZodLiteral<"audio">;
3654
3654
  }, "strip", z.ZodTypeAny, {
3655
- type: "audio";
3656
3655
  data: string;
3656
+ type: "audio";
3657
3657
  mimeType: string;
3658
3658
  annotations?: {
3659
3659
  priority?: number | null | undefined;
@@ -3661,8 +3661,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3661
3661
  lastModified?: string | null | undefined;
3662
3662
  } | null | undefined;
3663
3663
  }, {
3664
- type: "audio";
3665
3664
  data: string;
3665
+ type: "audio";
3666
3666
  mimeType: string;
3667
3667
  annotations?: {
3668
3668
  priority?: number | null | undefined;
@@ -3791,7 +3791,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3791
3791
  }>]>;
3792
3792
  type: z.ZodLiteral<"content">;
3793
3793
  }, "strip", z.ZodTypeAny, {
3794
- type: "content";
3795
3794
  content: {
3796
3795
  text: string;
3797
3796
  type: "text";
@@ -3801,8 +3800,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3801
3800
  lastModified?: string | null | undefined;
3802
3801
  } | null | undefined;
3803
3802
  } | {
3804
- type: "image";
3805
3803
  data: string;
3804
+ type: "image";
3806
3805
  mimeType: string;
3807
3806
  annotations?: {
3808
3807
  priority?: number | null | undefined;
@@ -3810,8 +3809,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3810
3809
  lastModified?: string | null | undefined;
3811
3810
  } | null | undefined;
3812
3811
  } | {
3813
- type: "audio";
3814
3812
  data: string;
3813
+ type: "audio";
3815
3814
  mimeType: string;
3816
3815
  annotations?: {
3817
3816
  priority?: number | null | undefined;
@@ -3848,8 +3847,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3848
3847
  lastModified?: string | null | undefined;
3849
3848
  } | null | undefined;
3850
3849
  };
3851
- }, {
3852
3850
  type: "content";
3851
+ }, {
3853
3852
  content: {
3854
3853
  text: string;
3855
3854
  type: "text";
@@ -3859,8 +3858,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3859
3858
  lastModified?: string | null | undefined;
3860
3859
  } | null | undefined;
3861
3860
  } | {
3862
- type: "image";
3863
3861
  data: string;
3862
+ type: "image";
3864
3863
  mimeType: string;
3865
3864
  annotations?: {
3866
3865
  priority?: number | null | undefined;
@@ -3868,8 +3867,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3868
3867
  lastModified?: string | null | undefined;
3869
3868
  } | null | undefined;
3870
3869
  } | {
3871
- type: "audio";
3872
3870
  data: string;
3871
+ type: "audio";
3873
3872
  mimeType: string;
3874
3873
  annotations?: {
3875
3874
  priority?: number | null | undefined;
@@ -3906,6 +3905,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3906
3905
  lastModified?: string | null | undefined;
3907
3906
  } | null | undefined;
3908
3907
  };
3908
+ type: "content";
3909
3909
  }>, z.ZodObject<{
3910
3910
  newText: z.ZodString;
3911
3911
  oldText: z.ZodNullable<z.ZodString>;
@@ -3942,7 +3942,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3942
3942
  toolCallId: string;
3943
3943
  sessionUpdate: "tool_call_update";
3944
3944
  content?: ({
3945
- type: "content";
3946
3945
  content: {
3947
3946
  text: string;
3948
3947
  type: "text";
@@ -3952,8 +3951,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3952
3951
  lastModified?: string | null | undefined;
3953
3952
  } | null | undefined;
3954
3953
  } | {
3955
- type: "image";
3956
3954
  data: string;
3955
+ type: "image";
3957
3956
  mimeType: string;
3958
3957
  annotations?: {
3959
3958
  priority?: number | null | undefined;
@@ -3961,8 +3960,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3961
3960
  lastModified?: string | null | undefined;
3962
3961
  } | null | undefined;
3963
3962
  } | {
3964
- type: "audio";
3965
3963
  data: string;
3964
+ type: "audio";
3966
3965
  mimeType: string;
3967
3966
  annotations?: {
3968
3967
  priority?: number | null | undefined;
@@ -3999,6 +3998,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3999
3998
  lastModified?: string | null | undefined;
4000
3999
  } | null | undefined;
4001
4000
  };
4001
+ type: "content";
4002
4002
  } | {
4003
4003
  type: "diff";
4004
4004
  path: string;
@@ -4017,7 +4017,6 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4017
4017
  toolCallId: string;
4018
4018
  sessionUpdate: "tool_call_update";
4019
4019
  content?: ({
4020
- type: "content";
4021
4020
  content: {
4022
4021
  text: string;
4023
4022
  type: "text";
@@ -4027,8 +4026,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4027
4026
  lastModified?: string | null | undefined;
4028
4027
  } | null | undefined;
4029
4028
  } | {
4030
- type: "image";
4031
4029
  data: string;
4030
+ type: "image";
4032
4031
  mimeType: string;
4033
4032
  annotations?: {
4034
4033
  priority?: number | null | undefined;
@@ -4036,8 +4035,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4036
4035
  lastModified?: string | null | undefined;
4037
4036
  } | null | undefined;
4038
4037
  } | {
4039
- type: "audio";
4040
4038
  data: string;
4039
+ type: "audio";
4041
4040
  mimeType: string;
4042
4041
  annotations?: {
4043
4042
  priority?: number | null | undefined;
@@ -4074,6 +4073,7 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4074
4073
  lastModified?: string | null | undefined;
4075
4074
  } | null | undefined;
4076
4075
  };
4076
+ type: "content";
4077
4077
  } | {
4078
4078
  type: "diff";
4079
4079
  path: string;
@@ -4240,8 +4240,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4240
4240
  mimeType: z.ZodString;
4241
4241
  type: z.ZodLiteral<"image">;
4242
4242
  }, "strip", z.ZodTypeAny, {
4243
- type: "image";
4244
4243
  data: string;
4244
+ type: "image";
4245
4245
  mimeType: string;
4246
4246
  annotations?: {
4247
4247
  priority?: number | null | undefined;
@@ -4249,8 +4249,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4249
4249
  lastModified?: string | null | undefined;
4250
4250
  } | null | undefined;
4251
4251
  }, {
4252
- type: "image";
4253
4252
  data: string;
4253
+ type: "image";
4254
4254
  mimeType: string;
4255
4255
  annotations?: {
4256
4256
  priority?: number | null | undefined;
@@ -4275,8 +4275,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4275
4275
  mimeType: z.ZodString;
4276
4276
  type: z.ZodLiteral<"audio">;
4277
4277
  }, "strip", z.ZodTypeAny, {
4278
- type: "audio";
4279
4278
  data: string;
4279
+ type: "audio";
4280
4280
  mimeType: string;
4281
4281
  annotations?: {
4282
4282
  priority?: number | null | undefined;
@@ -4284,8 +4284,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4284
4284
  lastModified?: string | null | undefined;
4285
4285
  } | null | undefined;
4286
4286
  }, {
4287
- type: "audio";
4288
4287
  data: string;
4288
+ type: "audio";
4289
4289
  mimeType: string;
4290
4290
  annotations?: {
4291
4291
  priority?: number | null | undefined;
@@ -4414,7 +4414,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4414
4414
  }>]>;
4415
4415
  type: z.ZodLiteral<"content">;
4416
4416
  }, "strip", z.ZodTypeAny, {
4417
- type: "content";
4418
4417
  content: {
4419
4418
  text: string;
4420
4419
  type: "text";
@@ -4424,8 +4423,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4424
4423
  lastModified?: string | null | undefined;
4425
4424
  } | null | undefined;
4426
4425
  } | {
4427
- type: "image";
4428
4426
  data: string;
4427
+ type: "image";
4429
4428
  mimeType: string;
4430
4429
  annotations?: {
4431
4430
  priority?: number | null | undefined;
@@ -4433,8 +4432,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4433
4432
  lastModified?: string | null | undefined;
4434
4433
  } | null | undefined;
4435
4434
  } | {
4436
- type: "audio";
4437
4435
  data: string;
4436
+ type: "audio";
4438
4437
  mimeType: string;
4439
4438
  annotations?: {
4440
4439
  priority?: number | null | undefined;
@@ -4471,8 +4470,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4471
4470
  lastModified?: string | null | undefined;
4472
4471
  } | null | undefined;
4473
4472
  };
4474
- }, {
4475
4473
  type: "content";
4474
+ }, {
4476
4475
  content: {
4477
4476
  text: string;
4478
4477
  type: "text";
@@ -4482,8 +4481,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4482
4481
  lastModified?: string | null | undefined;
4483
4482
  } | null | undefined;
4484
4483
  } | {
4485
- type: "image";
4486
4484
  data: string;
4485
+ type: "image";
4487
4486
  mimeType: string;
4488
4487
  annotations?: {
4489
4488
  priority?: number | null | undefined;
@@ -4491,8 +4490,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4491
4490
  lastModified?: string | null | undefined;
4492
4491
  } | null | undefined;
4493
4492
  } | {
4494
- type: "audio";
4495
4493
  data: string;
4494
+ type: "audio";
4496
4495
  mimeType: string;
4497
4496
  annotations?: {
4498
4497
  priority?: number | null | undefined;
@@ -4529,6 +4528,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4529
4528
  lastModified?: string | null | undefined;
4530
4529
  } | null | undefined;
4531
4530
  };
4531
+ type: "content";
4532
4532
  }>, z.ZodObject<{
4533
4533
  newText: z.ZodString;
4534
4534
  oldText: z.ZodNullable<z.ZodString>;
@@ -4566,7 +4566,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4566
4566
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4567
4567
  toolCallId: string;
4568
4568
  content?: ({
4569
- type: "content";
4570
4569
  content: {
4571
4570
  text: string;
4572
4571
  type: "text";
@@ -4576,8 +4575,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4576
4575
  lastModified?: string | null | undefined;
4577
4576
  } | null | undefined;
4578
4577
  } | {
4579
- type: "image";
4580
4578
  data: string;
4579
+ type: "image";
4581
4580
  mimeType: string;
4582
4581
  annotations?: {
4583
4582
  priority?: number | null | undefined;
@@ -4585,8 +4584,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4585
4584
  lastModified?: string | null | undefined;
4586
4585
  } | null | undefined;
4587
4586
  } | {
4588
- type: "audio";
4589
4587
  data: string;
4588
+ type: "audio";
4590
4589
  mimeType: string;
4591
4590
  annotations?: {
4592
4591
  priority?: number | null | undefined;
@@ -4623,6 +4622,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4623
4622
  lastModified?: string | null | undefined;
4624
4623
  } | null | undefined;
4625
4624
  };
4625
+ type: "content";
4626
4626
  } | {
4627
4627
  type: "diff";
4628
4628
  path: string;
@@ -4640,7 +4640,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4640
4640
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4641
4641
  toolCallId: string;
4642
4642
  content?: ({
4643
- type: "content";
4644
4643
  content: {
4645
4644
  text: string;
4646
4645
  type: "text";
@@ -4650,8 +4649,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4650
4649
  lastModified?: string | null | undefined;
4651
4650
  } | null | undefined;
4652
4651
  } | {
4653
- type: "image";
4654
4652
  data: string;
4653
+ type: "image";
4655
4654
  mimeType: string;
4656
4655
  annotations?: {
4657
4656
  priority?: number | null | undefined;
@@ -4659,8 +4658,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4659
4658
  lastModified?: string | null | undefined;
4660
4659
  } | null | undefined;
4661
4660
  } | {
4662
- type: "audio";
4663
4661
  data: string;
4662
+ type: "audio";
4664
4663
  mimeType: string;
4665
4664
  annotations?: {
4666
4665
  priority?: number | null | undefined;
@@ -4697,6 +4696,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4697
4696
  lastModified?: string | null | undefined;
4698
4697
  } | null | undefined;
4699
4698
  };
4699
+ type: "content";
4700
4700
  } | {
4701
4701
  type: "diff";
4702
4702
  path: string;
@@ -4722,7 +4722,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4722
4722
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4723
4723
  toolCallId: string;
4724
4724
  content?: ({
4725
- type: "content";
4726
4725
  content: {
4727
4726
  text: string;
4728
4727
  type: "text";
@@ -4732,8 +4731,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4732
4731
  lastModified?: string | null | undefined;
4733
4732
  } | null | undefined;
4734
4733
  } | {
4735
- type: "image";
4736
4734
  data: string;
4735
+ type: "image";
4737
4736
  mimeType: string;
4738
4737
  annotations?: {
4739
4738
  priority?: number | null | undefined;
@@ -4741,8 +4740,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4741
4740
  lastModified?: string | null | undefined;
4742
4741
  } | null | undefined;
4743
4742
  } | {
4744
- type: "audio";
4745
4743
  data: string;
4744
+ type: "audio";
4746
4745
  mimeType: string;
4747
4746
  annotations?: {
4748
4747
  priority?: number | null | undefined;
@@ -4779,6 +4778,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4779
4778
  lastModified?: string | null | undefined;
4780
4779
  } | null | undefined;
4781
4780
  };
4781
+ type: "content";
4782
4782
  } | {
4783
4783
  type: "diff";
4784
4784
  path: string;
@@ -4804,7 +4804,6 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4804
4804
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
4805
4805
  toolCallId: string;
4806
4806
  content?: ({
4807
- type: "content";
4808
4807
  content: {
4809
4808
  text: string;
4810
4809
  type: "text";
@@ -4814,8 +4813,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4814
4813
  lastModified?: string | null | undefined;
4815
4814
  } | null | undefined;
4816
4815
  } | {
4817
- type: "image";
4818
4816
  data: string;
4817
+ type: "image";
4819
4818
  mimeType: string;
4820
4819
  annotations?: {
4821
4820
  priority?: number | null | undefined;
@@ -4823,8 +4822,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4823
4822
  lastModified?: string | null | undefined;
4824
4823
  } | null | undefined;
4825
4824
  } | {
4826
- type: "audio";
4827
4825
  data: string;
4826
+ type: "audio";
4828
4827
  mimeType: string;
4829
4828
  annotations?: {
4830
4829
  priority?: number | null | undefined;
@@ -4861,6 +4860,7 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4861
4860
  lastModified?: string | null | undefined;
4862
4861
  } | null | undefined;
4863
4862
  };
4863
+ type: "content";
4864
4864
  } | {
4865
4865
  type: "diff";
4866
4866
  path: string;
@@ -4968,8 +4968,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
4968
4968
  mimeType: z.ZodString;
4969
4969
  type: z.ZodLiteral<"image">;
4970
4970
  }, "strip", z.ZodTypeAny, {
4971
- type: "image";
4972
4971
  data: string;
4972
+ type: "image";
4973
4973
  mimeType: string;
4974
4974
  annotations?: {
4975
4975
  priority?: number | null | undefined;
@@ -4977,8 +4977,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
4977
4977
  lastModified?: string | null | undefined;
4978
4978
  } | null | undefined;
4979
4979
  }, {
4980
- type: "image";
4981
4980
  data: string;
4981
+ type: "image";
4982
4982
  mimeType: string;
4983
4983
  annotations?: {
4984
4984
  priority?: number | null | undefined;
@@ -5003,8 +5003,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5003
5003
  mimeType: z.ZodString;
5004
5004
  type: z.ZodLiteral<"audio">;
5005
5005
  }, "strip", z.ZodTypeAny, {
5006
- type: "audio";
5007
5006
  data: string;
5007
+ type: "audio";
5008
5008
  mimeType: string;
5009
5009
  annotations?: {
5010
5010
  priority?: number | null | undefined;
@@ -5012,8 +5012,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5012
5012
  lastModified?: string | null | undefined;
5013
5013
  } | null | undefined;
5014
5014
  }, {
5015
- type: "audio";
5016
5015
  data: string;
5016
+ type: "audio";
5017
5017
  mimeType: string;
5018
5018
  annotations?: {
5019
5019
  priority?: number | null | undefined;
@@ -5151,8 +5151,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5151
5151
  lastModified?: string | null | undefined;
5152
5152
  } | null | undefined;
5153
5153
  } | {
5154
- type: "image";
5155
5154
  data: string;
5155
+ type: "image";
5156
5156
  mimeType: string;
5157
5157
  annotations?: {
5158
5158
  priority?: number | null | undefined;
@@ -5160,8 +5160,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5160
5160
  lastModified?: string | null | undefined;
5161
5161
  } | null | undefined;
5162
5162
  } | {
5163
- type: "audio";
5164
5163
  data: string;
5164
+ type: "audio";
5165
5165
  mimeType: string;
5166
5166
  annotations?: {
5167
5167
  priority?: number | null | undefined;
@@ -5209,8 +5209,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5209
5209
  lastModified?: string | null | undefined;
5210
5210
  } | null | undefined;
5211
5211
  } | {
5212
- type: "image";
5213
5212
  data: string;
5213
+ type: "image";
5214
5214
  mimeType: string;
5215
5215
  annotations?: {
5216
5216
  priority?: number | null | undefined;
@@ -5218,8 +5218,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5218
5218
  lastModified?: string | null | undefined;
5219
5219
  } | null | undefined;
5220
5220
  } | {
5221
- type: "audio";
5222
5221
  data: string;
5222
+ type: "audio";
5223
5223
  mimeType: string;
5224
5224
  annotations?: {
5225
5225
  priority?: number | null | undefined;
@@ -5308,8 +5308,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5308
5308
  mimeType: z.ZodString;
5309
5309
  type: z.ZodLiteral<"image">;
5310
5310
  }, "strip", z.ZodTypeAny, {
5311
- type: "image";
5312
5311
  data: string;
5312
+ type: "image";
5313
5313
  mimeType: string;
5314
5314
  annotations?: {
5315
5315
  priority?: number | null | undefined;
@@ -5317,8 +5317,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5317
5317
  lastModified?: string | null | undefined;
5318
5318
  } | null | undefined;
5319
5319
  }, {
5320
- type: "image";
5321
5320
  data: string;
5321
+ type: "image";
5322
5322
  mimeType: string;
5323
5323
  annotations?: {
5324
5324
  priority?: number | null | undefined;
@@ -5343,8 +5343,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5343
5343
  mimeType: z.ZodString;
5344
5344
  type: z.ZodLiteral<"audio">;
5345
5345
  }, "strip", z.ZodTypeAny, {
5346
- type: "audio";
5347
5346
  data: string;
5347
+ type: "audio";
5348
5348
  mimeType: string;
5349
5349
  annotations?: {
5350
5350
  priority?: number | null | undefined;
@@ -5352,8 +5352,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5352
5352
  lastModified?: string | null | undefined;
5353
5353
  } | null | undefined;
5354
5354
  }, {
5355
- type: "audio";
5356
5355
  data: string;
5356
+ type: "audio";
5357
5357
  mimeType: string;
5358
5358
  annotations?: {
5359
5359
  priority?: number | null | undefined;
@@ -5491,8 +5491,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5491
5491
  lastModified?: string | null | undefined;
5492
5492
  } | null | undefined;
5493
5493
  } | {
5494
- type: "image";
5495
5494
  data: string;
5495
+ type: "image";
5496
5496
  mimeType: string;
5497
5497
  annotations?: {
5498
5498
  priority?: number | null | undefined;
@@ -5500,8 +5500,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5500
5500
  lastModified?: string | null | undefined;
5501
5501
  } | null | undefined;
5502
5502
  } | {
5503
- type: "audio";
5504
5503
  data: string;
5504
+ type: "audio";
5505
5505
  mimeType: string;
5506
5506
  annotations?: {
5507
5507
  priority?: number | null | undefined;
@@ -5549,8 +5549,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5549
5549
  lastModified?: string | null | undefined;
5550
5550
  } | null | undefined;
5551
5551
  } | {
5552
- type: "image";
5553
5552
  data: string;
5553
+ type: "image";
5554
5554
  mimeType: string;
5555
5555
  annotations?: {
5556
5556
  priority?: number | null | undefined;
@@ -5558,8 +5558,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5558
5558
  lastModified?: string | null | undefined;
5559
5559
  } | null | undefined;
5560
5560
  } | {
5561
- type: "audio";
5562
5561
  data: string;
5562
+ type: "audio";
5563
5563
  mimeType: string;
5564
5564
  annotations?: {
5565
5565
  priority?: number | null | undefined;
@@ -5648,8 +5648,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5648
5648
  mimeType: z.ZodString;
5649
5649
  type: z.ZodLiteral<"image">;
5650
5650
  }, "strip", z.ZodTypeAny, {
5651
- type: "image";
5652
5651
  data: string;
5652
+ type: "image";
5653
5653
  mimeType: string;
5654
5654
  annotations?: {
5655
5655
  priority?: number | null | undefined;
@@ -5657,8 +5657,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5657
5657
  lastModified?: string | null | undefined;
5658
5658
  } | null | undefined;
5659
5659
  }, {
5660
- type: "image";
5661
5660
  data: string;
5661
+ type: "image";
5662
5662
  mimeType: string;
5663
5663
  annotations?: {
5664
5664
  priority?: number | null | undefined;
@@ -5683,8 +5683,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5683
5683
  mimeType: z.ZodString;
5684
5684
  type: z.ZodLiteral<"audio">;
5685
5685
  }, "strip", z.ZodTypeAny, {
5686
- type: "audio";
5687
5686
  data: string;
5687
+ type: "audio";
5688
5688
  mimeType: string;
5689
5689
  annotations?: {
5690
5690
  priority?: number | null | undefined;
@@ -5692,8 +5692,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5692
5692
  lastModified?: string | null | undefined;
5693
5693
  } | null | undefined;
5694
5694
  }, {
5695
- type: "audio";
5696
5695
  data: string;
5696
+ type: "audio";
5697
5697
  mimeType: string;
5698
5698
  annotations?: {
5699
5699
  priority?: number | null | undefined;
@@ -5831,8 +5831,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5831
5831
  lastModified?: string | null | undefined;
5832
5832
  } | null | undefined;
5833
5833
  } | {
5834
- type: "image";
5835
5834
  data: string;
5835
+ type: "image";
5836
5836
  mimeType: string;
5837
5837
  annotations?: {
5838
5838
  priority?: number | null | undefined;
@@ -5840,8 +5840,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5840
5840
  lastModified?: string | null | undefined;
5841
5841
  } | null | undefined;
5842
5842
  } | {
5843
- type: "audio";
5844
5843
  data: string;
5844
+ type: "audio";
5845
5845
  mimeType: string;
5846
5846
  annotations?: {
5847
5847
  priority?: number | null | undefined;
@@ -5889,8 +5889,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5889
5889
  lastModified?: string | null | undefined;
5890
5890
  } | null | undefined;
5891
5891
  } | {
5892
- type: "image";
5893
5892
  data: string;
5893
+ type: "image";
5894
5894
  mimeType: string;
5895
5895
  annotations?: {
5896
5896
  priority?: number | null | undefined;
@@ -5898,8 +5898,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5898
5898
  lastModified?: string | null | undefined;
5899
5899
  } | null | undefined;
5900
5900
  } | {
5901
- type: "audio";
5902
5901
  data: string;
5902
+ type: "audio";
5903
5903
  mimeType: string;
5904
5904
  annotations?: {
5905
5905
  priority?: number | null | undefined;
@@ -5989,8 +5989,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5989
5989
  mimeType: z.ZodString;
5990
5990
  type: z.ZodLiteral<"image">;
5991
5991
  }, "strip", z.ZodTypeAny, {
5992
- type: "image";
5993
5992
  data: string;
5993
+ type: "image";
5994
5994
  mimeType: string;
5995
5995
  annotations?: {
5996
5996
  priority?: number | null | undefined;
@@ -5998,8 +5998,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5998
5998
  lastModified?: string | null | undefined;
5999
5999
  } | null | undefined;
6000
6000
  }, {
6001
- type: "image";
6002
6001
  data: string;
6002
+ type: "image";
6003
6003
  mimeType: string;
6004
6004
  annotations?: {
6005
6005
  priority?: number | null | undefined;
@@ -6024,8 +6024,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6024
6024
  mimeType: z.ZodString;
6025
6025
  type: z.ZodLiteral<"audio">;
6026
6026
  }, "strip", z.ZodTypeAny, {
6027
- type: "audio";
6028
6027
  data: string;
6028
+ type: "audio";
6029
6029
  mimeType: string;
6030
6030
  annotations?: {
6031
6031
  priority?: number | null | undefined;
@@ -6033,8 +6033,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6033
6033
  lastModified?: string | null | undefined;
6034
6034
  } | null | undefined;
6035
6035
  }, {
6036
- type: "audio";
6037
6036
  data: string;
6037
+ type: "audio";
6038
6038
  mimeType: string;
6039
6039
  annotations?: {
6040
6040
  priority?: number | null | undefined;
@@ -6163,7 +6163,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6163
6163
  }>]>;
6164
6164
  type: z.ZodLiteral<"content">;
6165
6165
  }, "strip", z.ZodTypeAny, {
6166
- type: "content";
6167
6166
  content: {
6168
6167
  text: string;
6169
6168
  type: "text";
@@ -6173,8 +6172,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6173
6172
  lastModified?: string | null | undefined;
6174
6173
  } | null | undefined;
6175
6174
  } | {
6176
- type: "image";
6177
6175
  data: string;
6176
+ type: "image";
6178
6177
  mimeType: string;
6179
6178
  annotations?: {
6180
6179
  priority?: number | null | undefined;
@@ -6182,8 +6181,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6182
6181
  lastModified?: string | null | undefined;
6183
6182
  } | null | undefined;
6184
6183
  } | {
6185
- type: "audio";
6186
6184
  data: string;
6185
+ type: "audio";
6187
6186
  mimeType: string;
6188
6187
  annotations?: {
6189
6188
  priority?: number | null | undefined;
@@ -6220,8 +6219,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6220
6219
  lastModified?: string | null | undefined;
6221
6220
  } | null | undefined;
6222
6221
  };
6223
- }, {
6224
6222
  type: "content";
6223
+ }, {
6225
6224
  content: {
6226
6225
  text: string;
6227
6226
  type: "text";
@@ -6231,8 +6230,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6231
6230
  lastModified?: string | null | undefined;
6232
6231
  } | null | undefined;
6233
6232
  } | {
6234
- type: "image";
6235
6233
  data: string;
6234
+ type: "image";
6236
6235
  mimeType: string;
6237
6236
  annotations?: {
6238
6237
  priority?: number | null | undefined;
@@ -6240,8 +6239,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6240
6239
  lastModified?: string | null | undefined;
6241
6240
  } | null | undefined;
6242
6241
  } | {
6243
- type: "audio";
6244
6242
  data: string;
6243
+ type: "audio";
6245
6244
  mimeType: string;
6246
6245
  annotations?: {
6247
6246
  priority?: number | null | undefined;
@@ -6278,6 +6277,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6278
6277
  lastModified?: string | null | undefined;
6279
6278
  } | null | undefined;
6280
6279
  };
6280
+ type: "content";
6281
6281
  }>, z.ZodObject<{
6282
6282
  newText: z.ZodString;
6283
6283
  oldText: z.ZodNullable<z.ZodString>;
@@ -6317,7 +6317,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6317
6317
  toolCallId: string;
6318
6318
  sessionUpdate: "tool_call";
6319
6319
  content?: ({
6320
- type: "content";
6321
6320
  content: {
6322
6321
  text: string;
6323
6322
  type: "text";
@@ -6327,8 +6326,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6327
6326
  lastModified?: string | null | undefined;
6328
6327
  } | null | undefined;
6329
6328
  } | {
6330
- type: "image";
6331
6329
  data: string;
6330
+ type: "image";
6332
6331
  mimeType: string;
6333
6332
  annotations?: {
6334
6333
  priority?: number | null | undefined;
@@ -6336,8 +6335,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6336
6335
  lastModified?: string | null | undefined;
6337
6336
  } | null | undefined;
6338
6337
  } | {
6339
- type: "audio";
6340
6338
  data: string;
6339
+ type: "audio";
6341
6340
  mimeType: string;
6342
6341
  annotations?: {
6343
6342
  priority?: number | null | undefined;
@@ -6374,6 +6373,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6374
6373
  lastModified?: string | null | undefined;
6375
6374
  } | null | undefined;
6376
6375
  };
6376
+ type: "content";
6377
6377
  } | {
6378
6378
  type: "diff";
6379
6379
  path: string;
@@ -6392,7 +6392,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6392
6392
  toolCallId: string;
6393
6393
  sessionUpdate: "tool_call";
6394
6394
  content?: ({
6395
- type: "content";
6396
6395
  content: {
6397
6396
  text: string;
6398
6397
  type: "text";
@@ -6402,8 +6401,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6402
6401
  lastModified?: string | null | undefined;
6403
6402
  } | null | undefined;
6404
6403
  } | {
6405
- type: "image";
6406
6404
  data: string;
6405
+ type: "image";
6407
6406
  mimeType: string;
6408
6407
  annotations?: {
6409
6408
  priority?: number | null | undefined;
@@ -6411,8 +6410,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6411
6410
  lastModified?: string | null | undefined;
6412
6411
  } | null | undefined;
6413
6412
  } | {
6414
- type: "audio";
6415
6413
  data: string;
6414
+ type: "audio";
6416
6415
  mimeType: string;
6417
6416
  annotations?: {
6418
6417
  priority?: number | null | undefined;
@@ -6449,6 +6448,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6449
6448
  lastModified?: string | null | undefined;
6450
6449
  } | null | undefined;
6451
6450
  };
6451
+ type: "content";
6452
6452
  } | {
6453
6453
  type: "diff";
6454
6454
  path: string;
@@ -6512,8 +6512,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6512
6512
  mimeType: z.ZodString;
6513
6513
  type: z.ZodLiteral<"image">;
6514
6514
  }, "strip", z.ZodTypeAny, {
6515
- type: "image";
6516
6515
  data: string;
6516
+ type: "image";
6517
6517
  mimeType: string;
6518
6518
  annotations?: {
6519
6519
  priority?: number | null | undefined;
@@ -6521,8 +6521,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6521
6521
  lastModified?: string | null | undefined;
6522
6522
  } | null | undefined;
6523
6523
  }, {
6524
- type: "image";
6525
6524
  data: string;
6525
+ type: "image";
6526
6526
  mimeType: string;
6527
6527
  annotations?: {
6528
6528
  priority?: number | null | undefined;
@@ -6547,8 +6547,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6547
6547
  mimeType: z.ZodString;
6548
6548
  type: z.ZodLiteral<"audio">;
6549
6549
  }, "strip", z.ZodTypeAny, {
6550
- type: "audio";
6551
6550
  data: string;
6551
+ type: "audio";
6552
6552
  mimeType: string;
6553
6553
  annotations?: {
6554
6554
  priority?: number | null | undefined;
@@ -6556,8 +6556,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6556
6556
  lastModified?: string | null | undefined;
6557
6557
  } | null | undefined;
6558
6558
  }, {
6559
- type: "audio";
6560
6559
  data: string;
6560
+ type: "audio";
6561
6561
  mimeType: string;
6562
6562
  annotations?: {
6563
6563
  priority?: number | null | undefined;
@@ -6686,7 +6686,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6686
6686
  }>]>;
6687
6687
  type: z.ZodLiteral<"content">;
6688
6688
  }, "strip", z.ZodTypeAny, {
6689
- type: "content";
6690
6689
  content: {
6691
6690
  text: string;
6692
6691
  type: "text";
@@ -6696,8 +6695,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6696
6695
  lastModified?: string | null | undefined;
6697
6696
  } | null | undefined;
6698
6697
  } | {
6699
- type: "image";
6700
6698
  data: string;
6699
+ type: "image";
6701
6700
  mimeType: string;
6702
6701
  annotations?: {
6703
6702
  priority?: number | null | undefined;
@@ -6705,8 +6704,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6705
6704
  lastModified?: string | null | undefined;
6706
6705
  } | null | undefined;
6707
6706
  } | {
6708
- type: "audio";
6709
6707
  data: string;
6708
+ type: "audio";
6710
6709
  mimeType: string;
6711
6710
  annotations?: {
6712
6711
  priority?: number | null | undefined;
@@ -6743,8 +6742,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6743
6742
  lastModified?: string | null | undefined;
6744
6743
  } | null | undefined;
6745
6744
  };
6746
- }, {
6747
6745
  type: "content";
6746
+ }, {
6748
6747
  content: {
6749
6748
  text: string;
6750
6749
  type: "text";
@@ -6754,8 +6753,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6754
6753
  lastModified?: string | null | undefined;
6755
6754
  } | null | undefined;
6756
6755
  } | {
6757
- type: "image";
6758
6756
  data: string;
6757
+ type: "image";
6759
6758
  mimeType: string;
6760
6759
  annotations?: {
6761
6760
  priority?: number | null | undefined;
@@ -6763,8 +6762,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6763
6762
  lastModified?: string | null | undefined;
6764
6763
  } | null | undefined;
6765
6764
  } | {
6766
- type: "audio";
6767
6765
  data: string;
6766
+ type: "audio";
6768
6767
  mimeType: string;
6769
6768
  annotations?: {
6770
6769
  priority?: number | null | undefined;
@@ -6801,6 +6800,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6801
6800
  lastModified?: string | null | undefined;
6802
6801
  } | null | undefined;
6803
6802
  };
6803
+ type: "content";
6804
6804
  }>, z.ZodObject<{
6805
6805
  newText: z.ZodString;
6806
6806
  oldText: z.ZodNullable<z.ZodString>;
@@ -6837,7 +6837,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6837
6837
  toolCallId: string;
6838
6838
  sessionUpdate: "tool_call_update";
6839
6839
  content?: ({
6840
- type: "content";
6841
6840
  content: {
6842
6841
  text: string;
6843
6842
  type: "text";
@@ -6847,8 +6846,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6847
6846
  lastModified?: string | null | undefined;
6848
6847
  } | null | undefined;
6849
6848
  } | {
6850
- type: "image";
6851
6849
  data: string;
6850
+ type: "image";
6852
6851
  mimeType: string;
6853
6852
  annotations?: {
6854
6853
  priority?: number | null | undefined;
@@ -6856,8 +6855,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6856
6855
  lastModified?: string | null | undefined;
6857
6856
  } | null | undefined;
6858
6857
  } | {
6859
- type: "audio";
6860
6858
  data: string;
6859
+ type: "audio";
6861
6860
  mimeType: string;
6862
6861
  annotations?: {
6863
6862
  priority?: number | null | undefined;
@@ -6894,6 +6893,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6894
6893
  lastModified?: string | null | undefined;
6895
6894
  } | null | undefined;
6896
6895
  };
6896
+ type: "content";
6897
6897
  } | {
6898
6898
  type: "diff";
6899
6899
  path: string;
@@ -6912,7 +6912,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6912
6912
  toolCallId: string;
6913
6913
  sessionUpdate: "tool_call_update";
6914
6914
  content?: ({
6915
- type: "content";
6916
6915
  content: {
6917
6916
  text: string;
6918
6917
  type: "text";
@@ -6922,8 +6921,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6922
6921
  lastModified?: string | null | undefined;
6923
6922
  } | null | undefined;
6924
6923
  } | {
6925
- type: "image";
6926
6924
  data: string;
6925
+ type: "image";
6927
6926
  mimeType: string;
6928
6927
  annotations?: {
6929
6928
  priority?: number | null | undefined;
@@ -6931,8 +6930,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6931
6930
  lastModified?: string | null | undefined;
6932
6931
  } | null | undefined;
6933
6932
  } | {
6934
- type: "audio";
6935
6933
  data: string;
6934
+ type: "audio";
6936
6935
  mimeType: string;
6937
6936
  annotations?: {
6938
6937
  priority?: number | null | undefined;
@@ -6969,6 +6968,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6969
6968
  lastModified?: string | null | undefined;
6970
6969
  } | null | undefined;
6971
6970
  };
6971
+ type: "content";
6972
6972
  } | {
6973
6973
  type: "diff";
6974
6974
  path: string;
@@ -7025,8 +7025,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7025
7025
  lastModified?: string | null | undefined;
7026
7026
  } | null | undefined;
7027
7027
  } | {
7028
- type: "image";
7029
7028
  data: string;
7029
+ type: "image";
7030
7030
  mimeType: string;
7031
7031
  annotations?: {
7032
7032
  priority?: number | null | undefined;
@@ -7034,8 +7034,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7034
7034
  lastModified?: string | null | undefined;
7035
7035
  } | null | undefined;
7036
7036
  } | {
7037
- type: "audio";
7038
7037
  data: string;
7038
+ type: "audio";
7039
7039
  mimeType: string;
7040
7040
  annotations?: {
7041
7041
  priority?: number | null | undefined;
@@ -7083,8 +7083,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7083
7083
  lastModified?: string | null | undefined;
7084
7084
  } | null | undefined;
7085
7085
  } | {
7086
- type: "image";
7087
7086
  data: string;
7087
+ type: "image";
7088
7088
  mimeType: string;
7089
7089
  annotations?: {
7090
7090
  priority?: number | null | undefined;
@@ -7092,8 +7092,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7092
7092
  lastModified?: string | null | undefined;
7093
7093
  } | null | undefined;
7094
7094
  } | {
7095
- type: "audio";
7096
7095
  data: string;
7096
+ type: "audio";
7097
7097
  mimeType: string;
7098
7098
  annotations?: {
7099
7099
  priority?: number | null | undefined;
@@ -7141,8 +7141,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7141
7141
  lastModified?: string | null | undefined;
7142
7142
  } | null | undefined;
7143
7143
  } | {
7144
- type: "image";
7145
7144
  data: string;
7145
+ type: "image";
7146
7146
  mimeType: string;
7147
7147
  annotations?: {
7148
7148
  priority?: number | null | undefined;
@@ -7150,8 +7150,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7150
7150
  lastModified?: string | null | undefined;
7151
7151
  } | null | undefined;
7152
7152
  } | {
7153
- type: "audio";
7154
7153
  data: string;
7154
+ type: "audio";
7155
7155
  mimeType: string;
7156
7156
  annotations?: {
7157
7157
  priority?: number | null | undefined;
@@ -7196,7 +7196,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7196
7196
  toolCallId: string;
7197
7197
  sessionUpdate: "tool_call";
7198
7198
  content?: ({
7199
- type: "content";
7200
7199
  content: {
7201
7200
  text: string;
7202
7201
  type: "text";
@@ -7206,8 +7205,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7206
7205
  lastModified?: string | null | undefined;
7207
7206
  } | null | undefined;
7208
7207
  } | {
7209
- type: "image";
7210
7208
  data: string;
7209
+ type: "image";
7211
7210
  mimeType: string;
7212
7211
  annotations?: {
7213
7212
  priority?: number | null | undefined;
@@ -7215,8 +7214,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7215
7214
  lastModified?: string | null | undefined;
7216
7215
  } | null | undefined;
7217
7216
  } | {
7218
- type: "audio";
7219
7217
  data: string;
7218
+ type: "audio";
7220
7219
  mimeType: string;
7221
7220
  annotations?: {
7222
7221
  priority?: number | null | undefined;
@@ -7253,6 +7252,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7253
7252
  lastModified?: string | null | undefined;
7254
7253
  } | null | undefined;
7255
7254
  };
7255
+ type: "content";
7256
7256
  } | {
7257
7257
  type: "diff";
7258
7258
  path: string;
@@ -7268,7 +7268,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7268
7268
  toolCallId: string;
7269
7269
  sessionUpdate: "tool_call_update";
7270
7270
  content?: ({
7271
- type: "content";
7272
7271
  content: {
7273
7272
  text: string;
7274
7273
  type: "text";
@@ -7278,8 +7277,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7278
7277
  lastModified?: string | null | undefined;
7279
7278
  } | null | undefined;
7280
7279
  } | {
7281
- type: "image";
7282
7280
  data: string;
7281
+ type: "image";
7283
7282
  mimeType: string;
7284
7283
  annotations?: {
7285
7284
  priority?: number | null | undefined;
@@ -7287,8 +7286,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7287
7286
  lastModified?: string | null | undefined;
7288
7287
  } | null | undefined;
7289
7288
  } | {
7290
- type: "audio";
7291
7289
  data: string;
7290
+ type: "audio";
7292
7291
  mimeType: string;
7293
7292
  annotations?: {
7294
7293
  priority?: number | null | undefined;
@@ -7325,6 +7324,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7325
7324
  lastModified?: string | null | undefined;
7326
7325
  } | null | undefined;
7327
7326
  };
7327
+ type: "content";
7328
7328
  } | {
7329
7329
  type: "diff";
7330
7330
  path: string;
@@ -7359,8 +7359,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7359
7359
  lastModified?: string | null | undefined;
7360
7360
  } | null | undefined;
7361
7361
  } | {
7362
- type: "image";
7363
7362
  data: string;
7363
+ type: "image";
7364
7364
  mimeType: string;
7365
7365
  annotations?: {
7366
7366
  priority?: number | null | undefined;
@@ -7368,8 +7368,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7368
7368
  lastModified?: string | null | undefined;
7369
7369
  } | null | undefined;
7370
7370
  } | {
7371
- type: "audio";
7372
7371
  data: string;
7372
+ type: "audio";
7373
7373
  mimeType: string;
7374
7374
  annotations?: {
7375
7375
  priority?: number | null | undefined;
@@ -7417,8 +7417,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7417
7417
  lastModified?: string | null | undefined;
7418
7418
  } | null | undefined;
7419
7419
  } | {
7420
- type: "image";
7421
7420
  data: string;
7421
+ type: "image";
7422
7422
  mimeType: string;
7423
7423
  annotations?: {
7424
7424
  priority?: number | null | undefined;
@@ -7426,8 +7426,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7426
7426
  lastModified?: string | null | undefined;
7427
7427
  } | null | undefined;
7428
7428
  } | {
7429
- type: "audio";
7430
7429
  data: string;
7430
+ type: "audio";
7431
7431
  mimeType: string;
7432
7432
  annotations?: {
7433
7433
  priority?: number | null | undefined;
@@ -7475,8 +7475,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7475
7475
  lastModified?: string | null | undefined;
7476
7476
  } | null | undefined;
7477
7477
  } | {
7478
- type: "image";
7479
7478
  data: string;
7479
+ type: "image";
7480
7480
  mimeType: string;
7481
7481
  annotations?: {
7482
7482
  priority?: number | null | undefined;
@@ -7484,8 +7484,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7484
7484
  lastModified?: string | null | undefined;
7485
7485
  } | null | undefined;
7486
7486
  } | {
7487
- type: "audio";
7488
7487
  data: string;
7488
+ type: "audio";
7489
7489
  mimeType: string;
7490
7490
  annotations?: {
7491
7491
  priority?: number | null | undefined;
@@ -7530,7 +7530,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7530
7530
  toolCallId: string;
7531
7531
  sessionUpdate: "tool_call";
7532
7532
  content?: ({
7533
- type: "content";
7534
7533
  content: {
7535
7534
  text: string;
7536
7535
  type: "text";
@@ -7540,8 +7539,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7540
7539
  lastModified?: string | null | undefined;
7541
7540
  } | null | undefined;
7542
7541
  } | {
7543
- type: "image";
7544
7542
  data: string;
7543
+ type: "image";
7545
7544
  mimeType: string;
7546
7545
  annotations?: {
7547
7546
  priority?: number | null | undefined;
@@ -7549,8 +7548,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7549
7548
  lastModified?: string | null | undefined;
7550
7549
  } | null | undefined;
7551
7550
  } | {
7552
- type: "audio";
7553
7551
  data: string;
7552
+ type: "audio";
7554
7553
  mimeType: string;
7555
7554
  annotations?: {
7556
7555
  priority?: number | null | undefined;
@@ -7587,6 +7586,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7587
7586
  lastModified?: string | null | undefined;
7588
7587
  } | null | undefined;
7589
7588
  };
7589
+ type: "content";
7590
7590
  } | {
7591
7591
  type: "diff";
7592
7592
  path: string;
@@ -7602,7 +7602,6 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7602
7602
  toolCallId: string;
7603
7603
  sessionUpdate: "tool_call_update";
7604
7604
  content?: ({
7605
- type: "content";
7606
7605
  content: {
7607
7606
  text: string;
7608
7607
  type: "text";
@@ -7612,8 +7611,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7612
7611
  lastModified?: string | null | undefined;
7613
7612
  } | null | undefined;
7614
7613
  } | {
7615
- type: "image";
7616
7614
  data: string;
7615
+ type: "image";
7617
7616
  mimeType: string;
7618
7617
  annotations?: {
7619
7618
  priority?: number | null | undefined;
@@ -7621,8 +7620,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7621
7620
  lastModified?: string | null | undefined;
7622
7621
  } | null | undefined;
7623
7622
  } | {
7624
- type: "audio";
7625
7623
  data: string;
7624
+ type: "audio";
7626
7625
  mimeType: string;
7627
7626
  annotations?: {
7628
7627
  priority?: number | null | undefined;
@@ -7659,6 +7658,7 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7659
7658
  lastModified?: string | null | undefined;
7660
7659
  } | null | undefined;
7661
7660
  };
7661
+ type: "content";
7662
7662
  } | {
7663
7663
  type: "diff";
7664
7664
  path: string;
@@ -7776,8 +7776,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7776
7776
  mimeType: z.ZodString;
7777
7777
  type: z.ZodLiteral<"image">;
7778
7778
  }, "strip", z.ZodTypeAny, {
7779
- type: "image";
7780
7779
  data: string;
7780
+ type: "image";
7781
7781
  mimeType: string;
7782
7782
  annotations?: {
7783
7783
  priority?: number | null | undefined;
@@ -7785,8 +7785,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7785
7785
  lastModified?: string | null | undefined;
7786
7786
  } | null | undefined;
7787
7787
  }, {
7788
- type: "image";
7789
7788
  data: string;
7789
+ type: "image";
7790
7790
  mimeType: string;
7791
7791
  annotations?: {
7792
7792
  priority?: number | null | undefined;
@@ -7811,8 +7811,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7811
7811
  mimeType: z.ZodString;
7812
7812
  type: z.ZodLiteral<"audio">;
7813
7813
  }, "strip", z.ZodTypeAny, {
7814
- type: "audio";
7815
7814
  data: string;
7815
+ type: "audio";
7816
7816
  mimeType: string;
7817
7817
  annotations?: {
7818
7818
  priority?: number | null | undefined;
@@ -7820,8 +7820,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7820
7820
  lastModified?: string | null | undefined;
7821
7821
  } | null | undefined;
7822
7822
  }, {
7823
- type: "audio";
7824
7823
  data: string;
7824
+ type: "audio";
7825
7825
  mimeType: string;
7826
7826
  annotations?: {
7827
7827
  priority?: number | null | undefined;
@@ -7950,7 +7950,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7950
7950
  }>]>;
7951
7951
  type: z.ZodLiteral<"content">;
7952
7952
  }, "strip", z.ZodTypeAny, {
7953
- type: "content";
7954
7953
  content: {
7955
7954
  text: string;
7956
7955
  type: "text";
@@ -7960,8 +7959,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7960
7959
  lastModified?: string | null | undefined;
7961
7960
  } | null | undefined;
7962
7961
  } | {
7963
- type: "image";
7964
7962
  data: string;
7963
+ type: "image";
7965
7964
  mimeType: string;
7966
7965
  annotations?: {
7967
7966
  priority?: number | null | undefined;
@@ -7969,8 +7968,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
7969
7968
  lastModified?: string | null | undefined;
7970
7969
  } | null | undefined;
7971
7970
  } | {
7972
- type: "audio";
7973
7971
  data: string;
7972
+ type: "audio";
7974
7973
  mimeType: string;
7975
7974
  annotations?: {
7976
7975
  priority?: number | null | undefined;
@@ -8007,8 +8006,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8007
8006
  lastModified?: string | null | undefined;
8008
8007
  } | null | undefined;
8009
8008
  };
8010
- }, {
8011
8009
  type: "content";
8010
+ }, {
8012
8011
  content: {
8013
8012
  text: string;
8014
8013
  type: "text";
@@ -8018,8 +8017,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8018
8017
  lastModified?: string | null | undefined;
8019
8018
  } | null | undefined;
8020
8019
  } | {
8021
- type: "image";
8022
8020
  data: string;
8021
+ type: "image";
8023
8022
  mimeType: string;
8024
8023
  annotations?: {
8025
8024
  priority?: number | null | undefined;
@@ -8027,8 +8026,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8027
8026
  lastModified?: string | null | undefined;
8028
8027
  } | null | undefined;
8029
8028
  } | {
8030
- type: "audio";
8031
8029
  data: string;
8030
+ type: "audio";
8032
8031
  mimeType: string;
8033
8032
  annotations?: {
8034
8033
  priority?: number | null | undefined;
@@ -8065,6 +8064,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8065
8064
  lastModified?: string | null | undefined;
8066
8065
  } | null | undefined;
8067
8066
  };
8067
+ type: "content";
8068
8068
  }>, z.ZodObject<{
8069
8069
  newText: z.ZodString;
8070
8070
  oldText: z.ZodNullable<z.ZodString>;
@@ -8102,7 +8102,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8102
8102
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8103
8103
  toolCallId: string;
8104
8104
  content?: ({
8105
- type: "content";
8106
8105
  content: {
8107
8106
  text: string;
8108
8107
  type: "text";
@@ -8112,8 +8111,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8112
8111
  lastModified?: string | null | undefined;
8113
8112
  } | null | undefined;
8114
8113
  } | {
8115
- type: "image";
8116
8114
  data: string;
8115
+ type: "image";
8117
8116
  mimeType: string;
8118
8117
  annotations?: {
8119
8118
  priority?: number | null | undefined;
@@ -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: "audio";
8125
8123
  data: string;
8124
+ type: "audio";
8126
8125
  mimeType: string;
8127
8126
  annotations?: {
8128
8127
  priority?: number | null | undefined;
@@ -8159,6 +8158,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8159
8158
  lastModified?: string | null | undefined;
8160
8159
  } | null | undefined;
8161
8160
  };
8161
+ type: "content";
8162
8162
  } | {
8163
8163
  type: "diff";
8164
8164
  path: string;
@@ -8176,7 +8176,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8176
8176
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8177
8177
  toolCallId: string;
8178
8178
  content?: ({
8179
- type: "content";
8180
8179
  content: {
8181
8180
  text: string;
8182
8181
  type: "text";
@@ -8186,8 +8185,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8186
8185
  lastModified?: string | null | undefined;
8187
8186
  } | null | undefined;
8188
8187
  } | {
8189
- type: "image";
8190
8188
  data: string;
8189
+ type: "image";
8191
8190
  mimeType: string;
8192
8191
  annotations?: {
8193
8192
  priority?: number | null | undefined;
@@ -8195,8 +8194,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8195
8194
  lastModified?: string | null | undefined;
8196
8195
  } | null | undefined;
8197
8196
  } | {
8198
- type: "audio";
8199
8197
  data: string;
8198
+ type: "audio";
8200
8199
  mimeType: string;
8201
8200
  annotations?: {
8202
8201
  priority?: number | null | undefined;
@@ -8233,6 +8232,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8233
8232
  lastModified?: string | null | undefined;
8234
8233
  } | null | undefined;
8235
8234
  };
8235
+ type: "content";
8236
8236
  } | {
8237
8237
  type: "diff";
8238
8238
  path: string;
@@ -8258,7 +8258,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8258
8258
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8259
8259
  toolCallId: string;
8260
8260
  content?: ({
8261
- type: "content";
8262
8261
  content: {
8263
8262
  text: string;
8264
8263
  type: "text";
@@ -8268,8 +8267,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8268
8267
  lastModified?: string | null | undefined;
8269
8268
  } | null | undefined;
8270
8269
  } | {
8271
- type: "image";
8272
8270
  data: string;
8271
+ type: "image";
8273
8272
  mimeType: string;
8274
8273
  annotations?: {
8275
8274
  priority?: number | null | undefined;
@@ -8277,8 +8276,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8277
8276
  lastModified?: string | null | undefined;
8278
8277
  } | null | undefined;
8279
8278
  } | {
8280
- type: "audio";
8281
8279
  data: string;
8280
+ type: "audio";
8282
8281
  mimeType: string;
8283
8282
  annotations?: {
8284
8283
  priority?: number | null | undefined;
@@ -8315,6 +8314,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8315
8314
  lastModified?: string | null | undefined;
8316
8315
  } | null | undefined;
8317
8316
  };
8317
+ type: "content";
8318
8318
  } | {
8319
8319
  type: "diff";
8320
8320
  path: string;
@@ -8340,7 +8340,6 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8340
8340
  kind: "search" | "delete" | "move" | "other" | "edit" | "read" | "execute" | "think" | "fetch";
8341
8341
  toolCallId: string;
8342
8342
  content?: ({
8343
- type: "content";
8344
8343
  content: {
8345
8344
  text: string;
8346
8345
  type: "text";
@@ -8350,8 +8349,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8350
8349
  lastModified?: string | null | undefined;
8351
8350
  } | null | undefined;
8352
8351
  } | {
8353
- type: "image";
8354
8352
  data: string;
8353
+ type: "image";
8355
8354
  mimeType: string;
8356
8355
  annotations?: {
8357
8356
  priority?: number | null | undefined;
@@ -8359,8 +8358,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8359
8358
  lastModified?: string | null | undefined;
8360
8359
  } | null | undefined;
8361
8360
  } | {
8362
- type: "audio";
8363
8361
  data: string;
8362
+ type: "audio";
8364
8363
  mimeType: string;
8365
8364
  annotations?: {
8366
8365
  priority?: number | null | undefined;
@@ -8397,6 +8396,7 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8397
8396
  lastModified?: string | null | undefined;
8398
8397
  } | null | undefined;
8399
8398
  };
8399
+ type: "content";
8400
8400
  } | {
8401
8401
  type: "diff";
8402
8402
  path: string;
@@ -8620,8 +8620,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8620
8620
  mimeType: z.ZodString;
8621
8621
  type: z.ZodLiteral<"image">;
8622
8622
  }, "strip", z.ZodTypeAny, {
8623
- type: "image";
8624
8623
  data: string;
8624
+ type: "image";
8625
8625
  mimeType: string;
8626
8626
  annotations?: {
8627
8627
  priority?: number | null | undefined;
@@ -8629,8 +8629,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8629
8629
  lastModified?: string | null | undefined;
8630
8630
  } | null | undefined;
8631
8631
  }, {
8632
- type: "image";
8633
8632
  data: string;
8633
+ type: "image";
8634
8634
  mimeType: string;
8635
8635
  annotations?: {
8636
8636
  priority?: number | null | undefined;
@@ -8655,8 +8655,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8655
8655
  mimeType: z.ZodString;
8656
8656
  type: z.ZodLiteral<"audio">;
8657
8657
  }, "strip", z.ZodTypeAny, {
8658
- type: "audio";
8659
8658
  data: string;
8659
+ type: "audio";
8660
8660
  mimeType: string;
8661
8661
  annotations?: {
8662
8662
  priority?: number | null | undefined;
@@ -8664,8 +8664,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8664
8664
  lastModified?: string | null | undefined;
8665
8665
  } | null | undefined;
8666
8666
  }, {
8667
- type: "audio";
8668
8667
  data: string;
8668
+ type: "audio";
8669
8669
  mimeType: string;
8670
8670
  annotations?: {
8671
8671
  priority?: number | null | undefined;
@@ -8804,8 +8804,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8804
8804
  lastModified?: string | null | undefined;
8805
8805
  } | null | undefined;
8806
8806
  } | {
8807
- type: "image";
8808
8807
  data: string;
8808
+ type: "image";
8809
8809
  mimeType: string;
8810
8810
  annotations?: {
8811
8811
  priority?: number | null | undefined;
@@ -8813,8 +8813,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8813
8813
  lastModified?: string | null | undefined;
8814
8814
  } | null | undefined;
8815
8815
  } | {
8816
- type: "audio";
8817
8816
  data: string;
8817
+ type: "audio";
8818
8818
  mimeType: string;
8819
8819
  annotations?: {
8820
8820
  priority?: number | null | undefined;
@@ -8862,8 +8862,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8862
8862
  lastModified?: string | null | undefined;
8863
8863
  } | null | undefined;
8864
8864
  } | {
8865
- type: "image";
8866
8865
  data: string;
8866
+ type: "image";
8867
8867
  mimeType: string;
8868
8868
  annotations?: {
8869
8869
  priority?: number | null | undefined;
@@ -8871,8 +8871,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8871
8871
  lastModified?: string | null | undefined;
8872
8872
  } | null | undefined;
8873
8873
  } | {
8874
- type: "audio";
8875
8874
  data: string;
8875
+ type: "audio";
8876
8876
  mimeType: string;
8877
8877
  annotations?: {
8878
8878
  priority?: number | null | undefined;
@@ -8963,8 +8963,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
8963
8963
  mimeType: z.ZodString;
8964
8964
  type: z.ZodLiteral<"image">;
8965
8965
  }, "strip", z.ZodTypeAny, {
8966
- type: "image";
8967
8966
  data: string;
8967
+ type: "image";
8968
8968
  mimeType: string;
8969
8969
  annotations?: {
8970
8970
  priority?: number | null | undefined;
@@ -8972,8 +8972,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
8972
8972
  lastModified?: string | null | undefined;
8973
8973
  } | null | undefined;
8974
8974
  }, {
8975
- type: "image";
8976
8975
  data: string;
8976
+ type: "image";
8977
8977
  mimeType: string;
8978
8978
  annotations?: {
8979
8979
  priority?: number | null | undefined;
@@ -8998,8 +8998,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
8998
8998
  mimeType: z.ZodString;
8999
8999
  type: z.ZodLiteral<"audio">;
9000
9000
  }, "strip", z.ZodTypeAny, {
9001
- type: "audio";
9002
9001
  data: string;
9002
+ type: "audio";
9003
9003
  mimeType: string;
9004
9004
  annotations?: {
9005
9005
  priority?: number | null | undefined;
@@ -9007,8 +9007,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9007
9007
  lastModified?: string | null | undefined;
9008
9008
  } | null | undefined;
9009
9009
  }, {
9010
- type: "audio";
9011
9010
  data: string;
9011
+ type: "audio";
9012
9012
  mimeType: string;
9013
9013
  annotations?: {
9014
9014
  priority?: number | null | undefined;
@@ -9146,8 +9146,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9146
9146
  lastModified?: string | null | undefined;
9147
9147
  } | null | undefined;
9148
9148
  } | {
9149
- type: "image";
9150
9149
  data: string;
9150
+ type: "image";
9151
9151
  mimeType: string;
9152
9152
  annotations?: {
9153
9153
  priority?: number | null | undefined;
@@ -9155,8 +9155,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9155
9155
  lastModified?: string | null | undefined;
9156
9156
  } | null | undefined;
9157
9157
  } | {
9158
- type: "audio";
9159
9158
  data: string;
9159
+ type: "audio";
9160
9160
  mimeType: string;
9161
9161
  annotations?: {
9162
9162
  priority?: number | null | undefined;
@@ -9204,8 +9204,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9204
9204
  lastModified?: string | null | undefined;
9205
9205
  } | null | undefined;
9206
9206
  } | {
9207
- type: "image";
9208
9207
  data: string;
9208
+ type: "image";
9209
9209
  mimeType: string;
9210
9210
  annotations?: {
9211
9211
  priority?: number | null | undefined;
@@ -9213,8 +9213,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9213
9213
  lastModified?: string | null | undefined;
9214
9214
  } | null | undefined;
9215
9215
  } | {
9216
- type: "audio";
9217
9216
  data: string;
9217
+ type: "audio";
9218
9218
  mimeType: string;
9219
9219
  annotations?: {
9220
9220
  priority?: number | null | undefined;
@@ -9303,8 +9303,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9303
9303
  mimeType: z.ZodString;
9304
9304
  type: z.ZodLiteral<"image">;
9305
9305
  }, "strip", z.ZodTypeAny, {
9306
- type: "image";
9307
9306
  data: string;
9307
+ type: "image";
9308
9308
  mimeType: string;
9309
9309
  annotations?: {
9310
9310
  priority?: number | null | undefined;
@@ -9312,8 +9312,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9312
9312
  lastModified?: string | null | undefined;
9313
9313
  } | null | undefined;
9314
9314
  }, {
9315
- type: "image";
9316
9315
  data: string;
9316
+ type: "image";
9317
9317
  mimeType: string;
9318
9318
  annotations?: {
9319
9319
  priority?: number | null | undefined;
@@ -9338,8 +9338,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9338
9338
  mimeType: z.ZodString;
9339
9339
  type: z.ZodLiteral<"audio">;
9340
9340
  }, "strip", z.ZodTypeAny, {
9341
- type: "audio";
9342
9341
  data: string;
9342
+ type: "audio";
9343
9343
  mimeType: string;
9344
9344
  annotations?: {
9345
9345
  priority?: number | null | undefined;
@@ -9347,8 +9347,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9347
9347
  lastModified?: string | null | undefined;
9348
9348
  } | null | undefined;
9349
9349
  }, {
9350
- type: "audio";
9351
9350
  data: string;
9351
+ type: "audio";
9352
9352
  mimeType: string;
9353
9353
  annotations?: {
9354
9354
  priority?: number | null | undefined;
@@ -9486,8 +9486,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9486
9486
  lastModified?: string | null | undefined;
9487
9487
  } | null | undefined;
9488
9488
  } | {
9489
- type: "image";
9490
9489
  data: string;
9490
+ type: "image";
9491
9491
  mimeType: string;
9492
9492
  annotations?: {
9493
9493
  priority?: number | null | undefined;
@@ -9495,8 +9495,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9495
9495
  lastModified?: string | null | undefined;
9496
9496
  } | null | undefined;
9497
9497
  } | {
9498
- type: "audio";
9499
9498
  data: string;
9499
+ type: "audio";
9500
9500
  mimeType: string;
9501
9501
  annotations?: {
9502
9502
  priority?: number | null | undefined;
@@ -9544,8 +9544,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9544
9544
  lastModified?: string | null | undefined;
9545
9545
  } | null | undefined;
9546
9546
  } | {
9547
- type: "image";
9548
9547
  data: string;
9548
+ type: "image";
9549
9549
  mimeType: string;
9550
9550
  annotations?: {
9551
9551
  priority?: number | null | undefined;
@@ -9553,8 +9553,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9553
9553
  lastModified?: string | null | undefined;
9554
9554
  } | null | undefined;
9555
9555
  } | {
9556
- type: "audio";
9557
9556
  data: string;
9557
+ type: "audio";
9558
9558
  mimeType: string;
9559
9559
  annotations?: {
9560
9560
  priority?: number | null | undefined;
@@ -9643,8 +9643,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9643
9643
  mimeType: z.ZodString;
9644
9644
  type: z.ZodLiteral<"image">;
9645
9645
  }, "strip", z.ZodTypeAny, {
9646
- type: "image";
9647
9646
  data: string;
9647
+ type: "image";
9648
9648
  mimeType: string;
9649
9649
  annotations?: {
9650
9650
  priority?: number | null | undefined;
@@ -9652,8 +9652,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9652
9652
  lastModified?: string | null | undefined;
9653
9653
  } | null | undefined;
9654
9654
  }, {
9655
- type: "image";
9656
9655
  data: string;
9656
+ type: "image";
9657
9657
  mimeType: string;
9658
9658
  annotations?: {
9659
9659
  priority?: number | null | undefined;
@@ -9678,8 +9678,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9678
9678
  mimeType: z.ZodString;
9679
9679
  type: z.ZodLiteral<"audio">;
9680
9680
  }, "strip", z.ZodTypeAny, {
9681
- type: "audio";
9682
9681
  data: string;
9682
+ type: "audio";
9683
9683
  mimeType: string;
9684
9684
  annotations?: {
9685
9685
  priority?: number | null | undefined;
@@ -9687,8 +9687,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9687
9687
  lastModified?: string | null | undefined;
9688
9688
  } | null | undefined;
9689
9689
  }, {
9690
- type: "audio";
9691
9690
  data: string;
9691
+ type: "audio";
9692
9692
  mimeType: string;
9693
9693
  annotations?: {
9694
9694
  priority?: number | null | undefined;
@@ -9826,8 +9826,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9826
9826
  lastModified?: string | null | undefined;
9827
9827
  } | null | undefined;
9828
9828
  } | {
9829
- type: "image";
9830
9829
  data: string;
9830
+ type: "image";
9831
9831
  mimeType: string;
9832
9832
  annotations?: {
9833
9833
  priority?: number | null | undefined;
@@ -9835,8 +9835,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9835
9835
  lastModified?: string | null | undefined;
9836
9836
  } | null | undefined;
9837
9837
  } | {
9838
- type: "audio";
9839
9838
  data: string;
9839
+ type: "audio";
9840
9840
  mimeType: string;
9841
9841
  annotations?: {
9842
9842
  priority?: number | null | undefined;
@@ -9884,8 +9884,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9884
9884
  lastModified?: string | null | undefined;
9885
9885
  } | null | undefined;
9886
9886
  } | {
9887
- type: "image";
9888
9887
  data: string;
9888
+ type: "image";
9889
9889
  mimeType: string;
9890
9890
  annotations?: {
9891
9891
  priority?: number | null | undefined;
@@ -9893,8 +9893,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9893
9893
  lastModified?: string | null | undefined;
9894
9894
  } | null | undefined;
9895
9895
  } | {
9896
- type: "audio";
9897
9896
  data: string;
9897
+ type: "audio";
9898
9898
  mimeType: string;
9899
9899
  annotations?: {
9900
9900
  priority?: number | null | undefined;
@@ -9984,8 +9984,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9984
9984
  mimeType: z.ZodString;
9985
9985
  type: z.ZodLiteral<"image">;
9986
9986
  }, "strip", z.ZodTypeAny, {
9987
- type: "image";
9988
9987
  data: string;
9988
+ type: "image";
9989
9989
  mimeType: string;
9990
9990
  annotations?: {
9991
9991
  priority?: number | null | undefined;
@@ -9993,8 +9993,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9993
9993
  lastModified?: string | null | undefined;
9994
9994
  } | null | undefined;
9995
9995
  }, {
9996
- type: "image";
9997
9996
  data: string;
9997
+ type: "image";
9998
9998
  mimeType: string;
9999
9999
  annotations?: {
10000
10000
  priority?: number | null | undefined;
@@ -10019,8 +10019,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10019
10019
  mimeType: z.ZodString;
10020
10020
  type: z.ZodLiteral<"audio">;
10021
10021
  }, "strip", z.ZodTypeAny, {
10022
- type: "audio";
10023
10022
  data: string;
10023
+ type: "audio";
10024
10024
  mimeType: string;
10025
10025
  annotations?: {
10026
10026
  priority?: number | null | undefined;
@@ -10028,8 +10028,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10028
10028
  lastModified?: string | null | undefined;
10029
10029
  } | null | undefined;
10030
10030
  }, {
10031
- type: "audio";
10032
10031
  data: string;
10032
+ type: "audio";
10033
10033
  mimeType: string;
10034
10034
  annotations?: {
10035
10035
  priority?: number | null | undefined;
@@ -10158,7 +10158,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10158
10158
  }>]>;
10159
10159
  type: z.ZodLiteral<"content">;
10160
10160
  }, "strip", z.ZodTypeAny, {
10161
- type: "content";
10162
10161
  content: {
10163
10162
  text: string;
10164
10163
  type: "text";
@@ -10168,8 +10167,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10168
10167
  lastModified?: string | null | undefined;
10169
10168
  } | null | undefined;
10170
10169
  } | {
10171
- type: "image";
10172
10170
  data: string;
10171
+ type: "image";
10173
10172
  mimeType: string;
10174
10173
  annotations?: {
10175
10174
  priority?: number | null | undefined;
@@ -10177,8 +10176,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10177
10176
  lastModified?: string | null | undefined;
10178
10177
  } | null | undefined;
10179
10178
  } | {
10180
- type: "audio";
10181
10179
  data: string;
10180
+ type: "audio";
10182
10181
  mimeType: string;
10183
10182
  annotations?: {
10184
10183
  priority?: number | null | undefined;
@@ -10215,8 +10214,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10215
10214
  lastModified?: string | null | undefined;
10216
10215
  } | null | undefined;
10217
10216
  };
10218
- }, {
10219
10217
  type: "content";
10218
+ }, {
10220
10219
  content: {
10221
10220
  text: string;
10222
10221
  type: "text";
@@ -10226,8 +10225,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10226
10225
  lastModified?: string | null | undefined;
10227
10226
  } | null | undefined;
10228
10227
  } | {
10229
- type: "image";
10230
10228
  data: string;
10229
+ type: "image";
10231
10230
  mimeType: string;
10232
10231
  annotations?: {
10233
10232
  priority?: number | null | undefined;
@@ -10235,8 +10234,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10235
10234
  lastModified?: string | null | undefined;
10236
10235
  } | null | undefined;
10237
10236
  } | {
10238
- type: "audio";
10239
10237
  data: string;
10238
+ type: "audio";
10240
10239
  mimeType: string;
10241
10240
  annotations?: {
10242
10241
  priority?: number | null | undefined;
@@ -10273,6 +10272,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10273
10272
  lastModified?: string | null | undefined;
10274
10273
  } | null | undefined;
10275
10274
  };
10275
+ type: "content";
10276
10276
  }>, z.ZodObject<{
10277
10277
  newText: z.ZodString;
10278
10278
  oldText: z.ZodNullable<z.ZodString>;
@@ -10312,7 +10312,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10312
10312
  toolCallId: string;
10313
10313
  sessionUpdate: "tool_call";
10314
10314
  content?: ({
10315
- type: "content";
10316
10315
  content: {
10317
10316
  text: string;
10318
10317
  type: "text";
@@ -10322,8 +10321,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10322
10321
  lastModified?: string | null | undefined;
10323
10322
  } | null | undefined;
10324
10323
  } | {
10325
- type: "image";
10326
10324
  data: string;
10325
+ type: "image";
10327
10326
  mimeType: string;
10328
10327
  annotations?: {
10329
10328
  priority?: number | null | undefined;
@@ -10331,8 +10330,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10331
10330
  lastModified?: string | null | undefined;
10332
10331
  } | null | undefined;
10333
10332
  } | {
10334
- type: "audio";
10335
10333
  data: string;
10334
+ type: "audio";
10336
10335
  mimeType: string;
10337
10336
  annotations?: {
10338
10337
  priority?: number | null | undefined;
@@ -10369,6 +10368,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10369
10368
  lastModified?: string | null | undefined;
10370
10369
  } | null | undefined;
10371
10370
  };
10371
+ type: "content";
10372
10372
  } | {
10373
10373
  type: "diff";
10374
10374
  path: string;
@@ -10387,7 +10387,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10387
10387
  toolCallId: string;
10388
10388
  sessionUpdate: "tool_call";
10389
10389
  content?: ({
10390
- type: "content";
10391
10390
  content: {
10392
10391
  text: string;
10393
10392
  type: "text";
@@ -10397,8 +10396,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10397
10396
  lastModified?: string | null | undefined;
10398
10397
  } | null | undefined;
10399
10398
  } | {
10400
- type: "image";
10401
10399
  data: string;
10400
+ type: "image";
10402
10401
  mimeType: string;
10403
10402
  annotations?: {
10404
10403
  priority?: number | null | undefined;
@@ -10406,8 +10405,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10406
10405
  lastModified?: string | null | undefined;
10407
10406
  } | null | undefined;
10408
10407
  } | {
10409
- type: "audio";
10410
10408
  data: string;
10409
+ type: "audio";
10411
10410
  mimeType: string;
10412
10411
  annotations?: {
10413
10412
  priority?: number | null | undefined;
@@ -10444,6 +10443,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10444
10443
  lastModified?: string | null | undefined;
10445
10444
  } | null | undefined;
10446
10445
  };
10446
+ type: "content";
10447
10447
  } | {
10448
10448
  type: "diff";
10449
10449
  path: string;
@@ -10507,8 +10507,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10507
10507
  mimeType: z.ZodString;
10508
10508
  type: z.ZodLiteral<"image">;
10509
10509
  }, "strip", z.ZodTypeAny, {
10510
- type: "image";
10511
10510
  data: string;
10511
+ type: "image";
10512
10512
  mimeType: string;
10513
10513
  annotations?: {
10514
10514
  priority?: number | null | undefined;
@@ -10516,8 +10516,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10516
10516
  lastModified?: string | null | undefined;
10517
10517
  } | null | undefined;
10518
10518
  }, {
10519
- type: "image";
10520
10519
  data: string;
10520
+ type: "image";
10521
10521
  mimeType: string;
10522
10522
  annotations?: {
10523
10523
  priority?: number | null | undefined;
@@ -10542,8 +10542,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10542
10542
  mimeType: z.ZodString;
10543
10543
  type: z.ZodLiteral<"audio">;
10544
10544
  }, "strip", z.ZodTypeAny, {
10545
- type: "audio";
10546
10545
  data: string;
10546
+ type: "audio";
10547
10547
  mimeType: string;
10548
10548
  annotations?: {
10549
10549
  priority?: number | null | undefined;
@@ -10551,8 +10551,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10551
10551
  lastModified?: string | null | undefined;
10552
10552
  } | null | undefined;
10553
10553
  }, {
10554
- type: "audio";
10555
10554
  data: string;
10555
+ type: "audio";
10556
10556
  mimeType: string;
10557
10557
  annotations?: {
10558
10558
  priority?: number | null | undefined;
@@ -10681,7 +10681,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10681
10681
  }>]>;
10682
10682
  type: z.ZodLiteral<"content">;
10683
10683
  }, "strip", z.ZodTypeAny, {
10684
- type: "content";
10685
10684
  content: {
10686
10685
  text: string;
10687
10686
  type: "text";
@@ -10691,8 +10690,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10691
10690
  lastModified?: string | null | undefined;
10692
10691
  } | null | undefined;
10693
10692
  } | {
10694
- type: "image";
10695
10693
  data: string;
10694
+ type: "image";
10696
10695
  mimeType: string;
10697
10696
  annotations?: {
10698
10697
  priority?: number | null | undefined;
@@ -10700,8 +10699,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10700
10699
  lastModified?: string | null | undefined;
10701
10700
  } | null | undefined;
10702
10701
  } | {
10703
- type: "audio";
10704
10702
  data: string;
10703
+ type: "audio";
10705
10704
  mimeType: string;
10706
10705
  annotations?: {
10707
10706
  priority?: number | null | undefined;
@@ -10738,8 +10737,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10738
10737
  lastModified?: string | null | undefined;
10739
10738
  } | null | undefined;
10740
10739
  };
10741
- }, {
10742
10740
  type: "content";
10741
+ }, {
10743
10742
  content: {
10744
10743
  text: string;
10745
10744
  type: "text";
@@ -10749,8 +10748,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10749
10748
  lastModified?: string | null | undefined;
10750
10749
  } | null | undefined;
10751
10750
  } | {
10752
- type: "image";
10753
10751
  data: string;
10752
+ type: "image";
10754
10753
  mimeType: string;
10755
10754
  annotations?: {
10756
10755
  priority?: number | null | undefined;
@@ -10758,8 +10757,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10758
10757
  lastModified?: string | null | undefined;
10759
10758
  } | null | undefined;
10760
10759
  } | {
10761
- type: "audio";
10762
10760
  data: string;
10761
+ type: "audio";
10763
10762
  mimeType: string;
10764
10763
  annotations?: {
10765
10764
  priority?: number | null | undefined;
@@ -10796,6 +10795,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10796
10795
  lastModified?: string | null | undefined;
10797
10796
  } | null | undefined;
10798
10797
  };
10798
+ type: "content";
10799
10799
  }>, z.ZodObject<{
10800
10800
  newText: z.ZodString;
10801
10801
  oldText: z.ZodNullable<z.ZodString>;
@@ -10832,7 +10832,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10832
10832
  toolCallId: string;
10833
10833
  sessionUpdate: "tool_call_update";
10834
10834
  content?: ({
10835
- type: "content";
10836
10835
  content: {
10837
10836
  text: string;
10838
10837
  type: "text";
@@ -10842,8 +10841,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10842
10841
  lastModified?: string | null | undefined;
10843
10842
  } | null | undefined;
10844
10843
  } | {
10845
- type: "image";
10846
10844
  data: string;
10845
+ type: "image";
10847
10846
  mimeType: string;
10848
10847
  annotations?: {
10849
10848
  priority?: number | null | undefined;
@@ -10851,8 +10850,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10851
10850
  lastModified?: string | null | undefined;
10852
10851
  } | null | undefined;
10853
10852
  } | {
10854
- type: "audio";
10855
10853
  data: string;
10854
+ type: "audio";
10856
10855
  mimeType: string;
10857
10856
  annotations?: {
10858
10857
  priority?: number | null | undefined;
@@ -10889,6 +10888,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10889
10888
  lastModified?: string | null | undefined;
10890
10889
  } | null | undefined;
10891
10890
  };
10891
+ type: "content";
10892
10892
  } | {
10893
10893
  type: "diff";
10894
10894
  path: string;
@@ -10907,7 +10907,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
10907
10907
  toolCallId: string;
10908
10908
  sessionUpdate: "tool_call_update";
10909
10909
  content?: ({
10910
- type: "content";
10911
10910
  content: {
10912
10911
  text: string;
10913
10912
  type: "text";
@@ -10917,8 +10916,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10917
10916
  lastModified?: string | null | undefined;
10918
10917
  } | null | undefined;
10919
10918
  } | {
10920
- type: "image";
10921
10919
  data: string;
10920
+ type: "image";
10922
10921
  mimeType: string;
10923
10922
  annotations?: {
10924
10923
  priority?: number | null | undefined;
@@ -10926,8 +10925,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10926
10925
  lastModified?: string | null | undefined;
10927
10926
  } | null | undefined;
10928
10927
  } | {
10929
- type: "audio";
10930
10928
  data: string;
10929
+ type: "audio";
10931
10930
  mimeType: string;
10932
10931
  annotations?: {
10933
10932
  priority?: number | null | undefined;
@@ -10964,6 +10963,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
10964
10963
  lastModified?: string | null | undefined;
10965
10964
  } | null | undefined;
10966
10965
  };
10966
+ type: "content";
10967
10967
  } | {
10968
10968
  type: "diff";
10969
10969
  path: string;
@@ -11020,8 +11020,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11020
11020
  lastModified?: string | null | undefined;
11021
11021
  } | null | undefined;
11022
11022
  } | {
11023
- type: "image";
11024
11023
  data: string;
11024
+ type: "image";
11025
11025
  mimeType: string;
11026
11026
  annotations?: {
11027
11027
  priority?: number | null | undefined;
@@ -11029,8 +11029,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11029
11029
  lastModified?: string | null | undefined;
11030
11030
  } | null | undefined;
11031
11031
  } | {
11032
- type: "audio";
11033
11032
  data: string;
11033
+ type: "audio";
11034
11034
  mimeType: string;
11035
11035
  annotations?: {
11036
11036
  priority?: number | null | undefined;
@@ -11078,8 +11078,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11078
11078
  lastModified?: string | null | undefined;
11079
11079
  } | null | undefined;
11080
11080
  } | {
11081
- type: "image";
11082
11081
  data: string;
11082
+ type: "image";
11083
11083
  mimeType: string;
11084
11084
  annotations?: {
11085
11085
  priority?: number | null | undefined;
@@ -11087,8 +11087,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11087
11087
  lastModified?: string | null | undefined;
11088
11088
  } | null | undefined;
11089
11089
  } | {
11090
- type: "audio";
11091
11090
  data: string;
11091
+ type: "audio";
11092
11092
  mimeType: string;
11093
11093
  annotations?: {
11094
11094
  priority?: number | null | undefined;
@@ -11136,8 +11136,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11136
11136
  lastModified?: string | null | undefined;
11137
11137
  } | null | undefined;
11138
11138
  } | {
11139
- type: "image";
11140
11139
  data: string;
11140
+ type: "image";
11141
11141
  mimeType: string;
11142
11142
  annotations?: {
11143
11143
  priority?: number | null | undefined;
@@ -11145,8 +11145,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11145
11145
  lastModified?: string | null | undefined;
11146
11146
  } | null | undefined;
11147
11147
  } | {
11148
- type: "audio";
11149
11148
  data: string;
11149
+ type: "audio";
11150
11150
  mimeType: string;
11151
11151
  annotations?: {
11152
11152
  priority?: number | null | undefined;
@@ -11191,7 +11191,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11191
11191
  toolCallId: string;
11192
11192
  sessionUpdate: "tool_call";
11193
11193
  content?: ({
11194
- type: "content";
11195
11194
  content: {
11196
11195
  text: string;
11197
11196
  type: "text";
@@ -11201,8 +11200,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11201
11200
  lastModified?: string | null | undefined;
11202
11201
  } | null | undefined;
11203
11202
  } | {
11204
- type: "image";
11205
11203
  data: string;
11204
+ type: "image";
11206
11205
  mimeType: string;
11207
11206
  annotations?: {
11208
11207
  priority?: number | null | undefined;
@@ -11210,8 +11209,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11210
11209
  lastModified?: string | null | undefined;
11211
11210
  } | null | undefined;
11212
11211
  } | {
11213
- type: "audio";
11214
11212
  data: string;
11213
+ type: "audio";
11215
11214
  mimeType: string;
11216
11215
  annotations?: {
11217
11216
  priority?: number | null | undefined;
@@ -11248,6 +11247,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11248
11247
  lastModified?: string | null | undefined;
11249
11248
  } | null | undefined;
11250
11249
  };
11250
+ type: "content";
11251
11251
  } | {
11252
11252
  type: "diff";
11253
11253
  path: string;
@@ -11263,7 +11263,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11263
11263
  toolCallId: string;
11264
11264
  sessionUpdate: "tool_call_update";
11265
11265
  content?: ({
11266
- type: "content";
11267
11266
  content: {
11268
11267
  text: string;
11269
11268
  type: "text";
@@ -11273,8 +11272,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11273
11272
  lastModified?: string | null | undefined;
11274
11273
  } | null | undefined;
11275
11274
  } | {
11276
- type: "image";
11277
11275
  data: string;
11276
+ type: "image";
11278
11277
  mimeType: string;
11279
11278
  annotations?: {
11280
11279
  priority?: number | null | undefined;
@@ -11282,8 +11281,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11282
11281
  lastModified?: string | null | undefined;
11283
11282
  } | null | undefined;
11284
11283
  } | {
11285
- type: "audio";
11286
11284
  data: string;
11285
+ type: "audio";
11287
11286
  mimeType: string;
11288
11287
  annotations?: {
11289
11288
  priority?: number | null | undefined;
@@ -11320,6 +11319,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11320
11319
  lastModified?: string | null | undefined;
11321
11320
  } | null | undefined;
11322
11321
  };
11322
+ type: "content";
11323
11323
  } | {
11324
11324
  type: "diff";
11325
11325
  path: string;
@@ -11354,8 +11354,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11354
11354
  lastModified?: string | null | undefined;
11355
11355
  } | null | undefined;
11356
11356
  } | {
11357
- type: "image";
11358
11357
  data: string;
11358
+ type: "image";
11359
11359
  mimeType: string;
11360
11360
  annotations?: {
11361
11361
  priority?: number | null | undefined;
@@ -11363,8 +11363,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11363
11363
  lastModified?: string | null | undefined;
11364
11364
  } | null | undefined;
11365
11365
  } | {
11366
- type: "audio";
11367
11366
  data: string;
11367
+ type: "audio";
11368
11368
  mimeType: string;
11369
11369
  annotations?: {
11370
11370
  priority?: number | null | undefined;
@@ -11412,8 +11412,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11412
11412
  lastModified?: string | null | undefined;
11413
11413
  } | null | undefined;
11414
11414
  } | {
11415
- type: "image";
11416
11415
  data: string;
11416
+ type: "image";
11417
11417
  mimeType: string;
11418
11418
  annotations?: {
11419
11419
  priority?: number | null | undefined;
@@ -11421,8 +11421,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11421
11421
  lastModified?: string | null | undefined;
11422
11422
  } | null | undefined;
11423
11423
  } | {
11424
- type: "audio";
11425
11424
  data: string;
11425
+ type: "audio";
11426
11426
  mimeType: string;
11427
11427
  annotations?: {
11428
11428
  priority?: number | null | undefined;
@@ -11470,8 +11470,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11470
11470
  lastModified?: string | null | undefined;
11471
11471
  } | null | undefined;
11472
11472
  } | {
11473
- type: "image";
11474
11473
  data: string;
11474
+ type: "image";
11475
11475
  mimeType: string;
11476
11476
  annotations?: {
11477
11477
  priority?: number | null | undefined;
@@ -11479,8 +11479,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11479
11479
  lastModified?: string | null | undefined;
11480
11480
  } | null | undefined;
11481
11481
  } | {
11482
- type: "audio";
11483
11482
  data: string;
11483
+ type: "audio";
11484
11484
  mimeType: string;
11485
11485
  annotations?: {
11486
11486
  priority?: number | null | undefined;
@@ -11525,7 +11525,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11525
11525
  toolCallId: string;
11526
11526
  sessionUpdate: "tool_call";
11527
11527
  content?: ({
11528
- type: "content";
11529
11528
  content: {
11530
11529
  text: string;
11531
11530
  type: "text";
@@ -11535,8 +11534,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11535
11534
  lastModified?: string | null | undefined;
11536
11535
  } | null | undefined;
11537
11536
  } | {
11538
- type: "image";
11539
11537
  data: string;
11538
+ type: "image";
11540
11539
  mimeType: string;
11541
11540
  annotations?: {
11542
11541
  priority?: number | null | undefined;
@@ -11544,8 +11543,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11544
11543
  lastModified?: string | null | undefined;
11545
11544
  } | null | undefined;
11546
11545
  } | {
11547
- type: "audio";
11548
11546
  data: string;
11547
+ type: "audio";
11549
11548
  mimeType: string;
11550
11549
  annotations?: {
11551
11550
  priority?: number | null | undefined;
@@ -11582,6 +11581,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11582
11581
  lastModified?: string | null | undefined;
11583
11582
  } | null | undefined;
11584
11583
  };
11584
+ type: "content";
11585
11585
  } | {
11586
11586
  type: "diff";
11587
11587
  path: string;
@@ -11597,7 +11597,6 @@ export declare const agentNotificationSchema: z.ZodObject<{
11597
11597
  toolCallId: string;
11598
11598
  sessionUpdate: "tool_call_update";
11599
11599
  content?: ({
11600
- type: "content";
11601
11600
  content: {
11602
11601
  text: string;
11603
11602
  type: "text";
@@ -11607,8 +11606,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11607
11606
  lastModified?: string | null | undefined;
11608
11607
  } | null | undefined;
11609
11608
  } | {
11610
- type: "image";
11611
11609
  data: string;
11610
+ type: "image";
11612
11611
  mimeType: string;
11613
11612
  annotations?: {
11614
11613
  priority?: number | null | undefined;
@@ -11616,8 +11615,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11616
11615
  lastModified?: string | null | undefined;
11617
11616
  } | null | undefined;
11618
11617
  } | {
11619
- type: "audio";
11620
11618
  data: string;
11619
+ type: "audio";
11621
11620
  mimeType: string;
11622
11621
  annotations?: {
11623
11622
  priority?: number | null | undefined;
@@ -11654,6 +11653,7 @@ export declare const agentNotificationSchema: z.ZodObject<{
11654
11653
  lastModified?: string | null | undefined;
11655
11654
  } | null | undefined;
11656
11655
  };
11656
+ type: "content";
11657
11657
  } | {
11658
11658
  type: "diff";
11659
11659
  path: string;