@hibanacloud/cli 0.3.18 → 0.3.19

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.
@@ -199,12 +199,12 @@ export declare const planEntrySchema: z.ZodObject<{
199
199
  priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
200
200
  status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
201
201
  }, "strip", z.ZodTypeAny, {
202
- status: "completed" | "pending" | "in_progress";
203
202
  content: string;
203
+ status: "completed" | "pending" | "in_progress";
204
204
  priority: "medium" | "high" | "low";
205
205
  }, {
206
- status: "completed" | "pending" | "in_progress";
207
206
  content: string;
207
+ status: "completed" | "pending" | "in_progress";
208
208
  priority: "medium" | "high" | "low";
209
209
  }>;
210
210
  export declare const permissionOptionSchema: z.ZodObject<{
@@ -321,12 +321,12 @@ export declare const promptCapabilitiesSchema: z.ZodObject<{
321
321
  embeddedContext: z.ZodOptional<z.ZodBoolean>;
322
322
  image: z.ZodOptional<z.ZodBoolean>;
323
323
  }, "strip", z.ZodTypeAny, {
324
- image?: boolean | undefined;
325
324
  audio?: boolean | undefined;
325
+ image?: boolean | undefined;
326
326
  embeddedContext?: boolean | undefined;
327
327
  }, {
328
- image?: boolean | undefined;
329
328
  audio?: boolean | undefined;
329
+ image?: boolean | undefined;
330
330
  embeddedContext?: boolean | undefined;
331
331
  }>;
332
332
  export declare const agentCapabilitiesSchema: z.ZodObject<{
@@ -336,26 +336,26 @@ export declare const agentCapabilitiesSchema: z.ZodObject<{
336
336
  embeddedContext: z.ZodOptional<z.ZodBoolean>;
337
337
  image: z.ZodOptional<z.ZodBoolean>;
338
338
  }, "strip", z.ZodTypeAny, {
339
- image?: boolean | undefined;
340
339
  audio?: boolean | undefined;
340
+ image?: boolean | undefined;
341
341
  embeddedContext?: boolean | undefined;
342
342
  }, {
343
- image?: boolean | undefined;
344
343
  audio?: boolean | undefined;
344
+ image?: boolean | undefined;
345
345
  embeddedContext?: boolean | undefined;
346
346
  }>>;
347
347
  }, "strip", z.ZodTypeAny, {
348
348
  loadSession?: boolean | undefined;
349
349
  promptCapabilities?: {
350
- image?: boolean | undefined;
351
350
  audio?: boolean | undefined;
351
+ image?: boolean | undefined;
352
352
  embeddedContext?: boolean | undefined;
353
353
  } | undefined;
354
354
  }, {
355
355
  loadSession?: boolean | undefined;
356
356
  promptCapabilities?: {
357
- image?: boolean | undefined;
358
357
  audio?: boolean | undefined;
358
+ image?: boolean | undefined;
359
359
  embeddedContext?: boolean | undefined;
360
360
  } | undefined;
361
361
  }>;
@@ -565,26 +565,26 @@ export declare const initializeResponseSchema: z.ZodObject<{
565
565
  embeddedContext: z.ZodOptional<z.ZodBoolean>;
566
566
  image: z.ZodOptional<z.ZodBoolean>;
567
567
  }, "strip", z.ZodTypeAny, {
568
- image?: boolean | undefined;
569
568
  audio?: boolean | undefined;
569
+ image?: boolean | undefined;
570
570
  embeddedContext?: boolean | undefined;
571
571
  }, {
572
- image?: boolean | undefined;
573
572
  audio?: boolean | undefined;
573
+ image?: boolean | undefined;
574
574
  embeddedContext?: boolean | undefined;
575
575
  }>>;
576
576
  }, "strip", z.ZodTypeAny, {
577
577
  loadSession?: boolean | undefined;
578
578
  promptCapabilities?: {
579
- image?: boolean | undefined;
580
579
  audio?: boolean | undefined;
580
+ image?: boolean | undefined;
581
581
  embeddedContext?: boolean | undefined;
582
582
  } | undefined;
583
583
  }, {
584
584
  loadSession?: boolean | undefined;
585
585
  promptCapabilities?: {
586
- image?: boolean | undefined;
587
586
  audio?: boolean | undefined;
587
+ image?: boolean | undefined;
588
588
  embeddedContext?: boolean | undefined;
589
589
  } | undefined;
590
590
  }>;
@@ -606,8 +606,8 @@ export declare const initializeResponseSchema: z.ZodObject<{
606
606
  agentCapabilities: {
607
607
  loadSession?: boolean | undefined;
608
608
  promptCapabilities?: {
609
- image?: boolean | undefined;
610
609
  audio?: boolean | undefined;
610
+ image?: boolean | undefined;
611
611
  embeddedContext?: boolean | undefined;
612
612
  } | undefined;
613
613
  };
@@ -621,8 +621,8 @@ export declare const initializeResponseSchema: z.ZodObject<{
621
621
  agentCapabilities: {
622
622
  loadSession?: boolean | undefined;
623
623
  promptCapabilities?: {
624
- image?: boolean | undefined;
625
624
  audio?: boolean | undefined;
625
+ image?: boolean | undefined;
626
626
  embeddedContext?: boolean | undefined;
627
627
  } | undefined;
628
628
  };
@@ -650,16 +650,16 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
650
650
  text: z.ZodString;
651
651
  type: z.ZodLiteral<"text">;
652
652
  }, "strip", z.ZodTypeAny, {
653
- type: "text";
654
653
  text: string;
654
+ type: "text";
655
655
  annotations?: {
656
656
  priority?: number | null | undefined;
657
657
  audience?: ("user" | "assistant")[] | null | undefined;
658
658
  lastModified?: string | null | undefined;
659
659
  } | null | undefined;
660
660
  }, {
661
- type: "text";
662
661
  text: string;
662
+ type: "text";
663
663
  annotations?: {
664
664
  priority?: number | null | undefined;
665
665
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -757,26 +757,26 @@ export declare const contentBlockSchema: z.ZodUnion<[z.ZodObject<{
757
757
  type: z.ZodLiteral<"resource_link">;
758
758
  uri: z.ZodString;
759
759
  }, "strip", z.ZodTypeAny, {
760
- type: "resource_link";
761
760
  name: string;
761
+ type: "resource_link";
762
762
  uri: string;
763
763
  description?: string | null | undefined;
764
764
  title?: string | null | undefined;
765
- mimeType?: string | null | undefined;
766
765
  size?: number | null | undefined;
766
+ mimeType?: string | null | undefined;
767
767
  annotations?: {
768
768
  priority?: number | null | undefined;
769
769
  audience?: ("user" | "assistant")[] | null | undefined;
770
770
  lastModified?: string | null | undefined;
771
771
  } | null | undefined;
772
772
  }, {
773
- type: "resource_link";
774
773
  name: string;
774
+ type: "resource_link";
775
775
  uri: string;
776
776
  description?: string | null | undefined;
777
777
  title?: string | null | undefined;
778
- mimeType?: string | null | undefined;
779
778
  size?: number | null | undefined;
779
+ mimeType?: string | null | undefined;
780
780
  annotations?: {
781
781
  priority?: number | null | undefined;
782
782
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -873,16 +873,16 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
873
873
  text: z.ZodString;
874
874
  type: z.ZodLiteral<"text">;
875
875
  }, "strip", z.ZodTypeAny, {
876
- type: "text";
877
876
  text: string;
877
+ type: "text";
878
878
  annotations?: {
879
879
  priority?: number | null | undefined;
880
880
  audience?: ("user" | "assistant")[] | null | undefined;
881
881
  lastModified?: string | null | undefined;
882
882
  } | null | undefined;
883
883
  }, {
884
- type: "text";
885
884
  text: string;
885
+ type: "text";
886
886
  annotations?: {
887
887
  priority?: number | null | undefined;
888
888
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -980,26 +980,26 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
980
980
  type: z.ZodLiteral<"resource_link">;
981
981
  uri: z.ZodString;
982
982
  }, "strip", z.ZodTypeAny, {
983
- type: "resource_link";
984
983
  name: string;
984
+ type: "resource_link";
985
985
  uri: string;
986
986
  description?: string | null | undefined;
987
987
  title?: string | null | undefined;
988
- mimeType?: string | null | undefined;
989
988
  size?: number | null | undefined;
989
+ mimeType?: string | null | undefined;
990
990
  annotations?: {
991
991
  priority?: number | null | undefined;
992
992
  audience?: ("user" | "assistant")[] | null | undefined;
993
993
  lastModified?: string | null | undefined;
994
994
  } | null | undefined;
995
995
  }, {
996
- type: "resource_link";
997
996
  name: string;
997
+ type: "resource_link";
998
998
  uri: string;
999
999
  description?: string | null | undefined;
1000
1000
  title?: string | null | undefined;
1001
- mimeType?: string | null | undefined;
1002
1001
  size?: number | null | undefined;
1002
+ mimeType?: string | null | undefined;
1003
1003
  annotations?: {
1004
1004
  priority?: number | null | undefined;
1005
1005
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1082,8 +1082,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1082
1082
  }, "strip", z.ZodTypeAny, {
1083
1083
  type: "content";
1084
1084
  content: {
1085
- type: "text";
1086
1085
  text: string;
1086
+ type: "text";
1087
1087
  annotations?: {
1088
1088
  priority?: number | null | undefined;
1089
1089
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1108,13 +1108,13 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1108
1108
  lastModified?: string | null | undefined;
1109
1109
  } | null | undefined;
1110
1110
  } | {
1111
- type: "resource_link";
1112
1111
  name: string;
1112
+ type: "resource_link";
1113
1113
  uri: string;
1114
1114
  description?: string | null | undefined;
1115
1115
  title?: string | null | undefined;
1116
- mimeType?: string | null | undefined;
1117
1116
  size?: number | null | undefined;
1117
+ mimeType?: string | null | undefined;
1118
1118
  annotations?: {
1119
1119
  priority?: number | null | undefined;
1120
1120
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1140,8 +1140,8 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1140
1140
  }, {
1141
1141
  type: "content";
1142
1142
  content: {
1143
- type: "text";
1144
1143
  text: string;
1144
+ type: "text";
1145
1145
  annotations?: {
1146
1146
  priority?: number | null | undefined;
1147
1147
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1166,13 +1166,13 @@ export declare const toolCallContentSchema: z.ZodUnion<[z.ZodObject<{
1166
1166
  lastModified?: string | null | undefined;
1167
1167
  } | null | undefined;
1168
1168
  } | {
1169
- type: "resource_link";
1170
1169
  name: string;
1170
+ type: "resource_link";
1171
1171
  uri: string;
1172
1172
  description?: string | null | undefined;
1173
1173
  title?: string | null | undefined;
1174
- mimeType?: string | null | undefined;
1175
1174
  size?: number | null | undefined;
1175
+ mimeType?: string | null | undefined;
1176
1176
  annotations?: {
1177
1177
  priority?: number | null | undefined;
1178
1178
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1230,16 +1230,16 @@ export declare const toolCallSchema: z.ZodObject<{
1230
1230
  text: z.ZodString;
1231
1231
  type: z.ZodLiteral<"text">;
1232
1232
  }, "strip", z.ZodTypeAny, {
1233
- type: "text";
1234
1233
  text: string;
1234
+ type: "text";
1235
1235
  annotations?: {
1236
1236
  priority?: number | null | undefined;
1237
1237
  audience?: ("user" | "assistant")[] | null | undefined;
1238
1238
  lastModified?: string | null | undefined;
1239
1239
  } | null | undefined;
1240
1240
  }, {
1241
- type: "text";
1242
1241
  text: string;
1242
+ type: "text";
1243
1243
  annotations?: {
1244
1244
  priority?: number | null | undefined;
1245
1245
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1337,26 +1337,26 @@ export declare const toolCallSchema: z.ZodObject<{
1337
1337
  type: z.ZodLiteral<"resource_link">;
1338
1338
  uri: z.ZodString;
1339
1339
  }, "strip", z.ZodTypeAny, {
1340
- type: "resource_link";
1341
1340
  name: string;
1341
+ type: "resource_link";
1342
1342
  uri: string;
1343
1343
  description?: string | null | undefined;
1344
1344
  title?: string | null | undefined;
1345
- mimeType?: string | null | undefined;
1346
1345
  size?: number | null | undefined;
1346
+ mimeType?: string | null | undefined;
1347
1347
  annotations?: {
1348
1348
  priority?: number | null | undefined;
1349
1349
  audience?: ("user" | "assistant")[] | null | undefined;
1350
1350
  lastModified?: string | null | undefined;
1351
1351
  } | null | undefined;
1352
1352
  }, {
1353
- type: "resource_link";
1354
1353
  name: string;
1354
+ type: "resource_link";
1355
1355
  uri: string;
1356
1356
  description?: string | null | undefined;
1357
1357
  title?: string | null | undefined;
1358
- mimeType?: string | null | undefined;
1359
1358
  size?: number | null | undefined;
1359
+ mimeType?: string | null | undefined;
1360
1360
  annotations?: {
1361
1361
  priority?: number | null | undefined;
1362
1362
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1439,8 +1439,8 @@ export declare const toolCallSchema: z.ZodObject<{
1439
1439
  }, "strip", z.ZodTypeAny, {
1440
1440
  type: "content";
1441
1441
  content: {
1442
- type: "text";
1443
1442
  text: string;
1443
+ type: "text";
1444
1444
  annotations?: {
1445
1445
  priority?: number | null | undefined;
1446
1446
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1465,13 +1465,13 @@ export declare const toolCallSchema: z.ZodObject<{
1465
1465
  lastModified?: string | null | undefined;
1466
1466
  } | null | undefined;
1467
1467
  } | {
1468
- type: "resource_link";
1469
1468
  name: string;
1469
+ type: "resource_link";
1470
1470
  uri: string;
1471
1471
  description?: string | null | undefined;
1472
1472
  title?: string | null | undefined;
1473
- mimeType?: string | null | undefined;
1474
1473
  size?: number | null | undefined;
1474
+ mimeType?: string | null | undefined;
1475
1475
  annotations?: {
1476
1476
  priority?: number | null | undefined;
1477
1477
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1497,8 +1497,8 @@ export declare const toolCallSchema: z.ZodObject<{
1497
1497
  }, {
1498
1498
  type: "content";
1499
1499
  content: {
1500
- type: "text";
1501
1500
  text: string;
1501
+ type: "text";
1502
1502
  annotations?: {
1503
1503
  priority?: number | null | undefined;
1504
1504
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1523,13 +1523,13 @@ export declare const toolCallSchema: z.ZodObject<{
1523
1523
  lastModified?: string | null | undefined;
1524
1524
  } | null | undefined;
1525
1525
  } | {
1526
- type: "resource_link";
1527
1526
  name: string;
1527
+ type: "resource_link";
1528
1528
  uri: string;
1529
1529
  description?: string | null | undefined;
1530
1530
  title?: string | null | undefined;
1531
- mimeType?: string | null | undefined;
1532
1531
  size?: number | null | undefined;
1532
+ mimeType?: string | null | undefined;
1533
1533
  annotations?: {
1534
1534
  priority?: number | null | undefined;
1535
1535
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1584,15 +1584,15 @@ export declare const toolCallSchema: z.ZodObject<{
1584
1584
  title: z.ZodString;
1585
1585
  toolCallId: z.ZodString;
1586
1586
  }, "strip", z.ZodTypeAny, {
1587
- status: "completed" | "failed" | "pending" | "in_progress";
1588
1587
  title: string;
1589
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
1588
+ status: "completed" | "failed" | "pending" | "in_progress";
1589
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
1590
1590
  toolCallId: string;
1591
1591
  content?: ({
1592
1592
  type: "content";
1593
1593
  content: {
1594
- type: "text";
1595
1594
  text: string;
1595
+ type: "text";
1596
1596
  annotations?: {
1597
1597
  priority?: number | null | undefined;
1598
1598
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1617,13 +1617,13 @@ export declare const toolCallSchema: z.ZodObject<{
1617
1617
  lastModified?: string | null | undefined;
1618
1618
  } | null | undefined;
1619
1619
  } | {
1620
- type: "resource_link";
1621
1620
  name: string;
1621
+ type: "resource_link";
1622
1622
  uri: string;
1623
1623
  description?: string | null | undefined;
1624
1624
  title?: string | null | undefined;
1625
- mimeType?: string | null | undefined;
1626
1625
  size?: number | null | undefined;
1626
+ mimeType?: string | null | undefined;
1627
1627
  annotations?: {
1628
1628
  priority?: number | null | undefined;
1629
1629
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1658,15 +1658,15 @@ export declare const toolCallSchema: z.ZodObject<{
1658
1658
  }[] | undefined;
1659
1659
  rawInput?: unknown;
1660
1660
  }, {
1661
- status: "completed" | "failed" | "pending" | "in_progress";
1662
1661
  title: string;
1663
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
1662
+ status: "completed" | "failed" | "pending" | "in_progress";
1663
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
1664
1664
  toolCallId: string;
1665
1665
  content?: ({
1666
1666
  type: "content";
1667
1667
  content: {
1668
- type: "text";
1669
1668
  text: string;
1669
+ type: "text";
1670
1670
  annotations?: {
1671
1671
  priority?: number | null | undefined;
1672
1672
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1691,13 +1691,13 @@ export declare const toolCallSchema: z.ZodObject<{
1691
1691
  lastModified?: string | null | undefined;
1692
1692
  } | null | undefined;
1693
1693
  } | {
1694
- type: "resource_link";
1695
1694
  name: string;
1695
+ type: "resource_link";
1696
1696
  uri: string;
1697
1697
  description?: string | null | undefined;
1698
1698
  title?: string | null | undefined;
1699
- mimeType?: string | null | undefined;
1700
1699
  size?: number | null | undefined;
1700
+ mimeType?: string | null | undefined;
1701
1701
  annotations?: {
1702
1702
  priority?: number | null | undefined;
1703
1703
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1772,16 +1772,16 @@ export declare const promptRequestSchema: z.ZodObject<{
1772
1772
  text: z.ZodString;
1773
1773
  type: z.ZodLiteral<"text">;
1774
1774
  }, "strip", z.ZodTypeAny, {
1775
- type: "text";
1776
1775
  text: string;
1776
+ type: "text";
1777
1777
  annotations?: {
1778
1778
  priority?: number | null | undefined;
1779
1779
  audience?: ("user" | "assistant")[] | null | undefined;
1780
1780
  lastModified?: string | null | undefined;
1781
1781
  } | null | undefined;
1782
1782
  }, {
1783
- type: "text";
1784
1783
  text: string;
1784
+ type: "text";
1785
1785
  annotations?: {
1786
1786
  priority?: number | null | undefined;
1787
1787
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1879,26 +1879,26 @@ export declare const promptRequestSchema: z.ZodObject<{
1879
1879
  type: z.ZodLiteral<"resource_link">;
1880
1880
  uri: z.ZodString;
1881
1881
  }, "strip", z.ZodTypeAny, {
1882
- type: "resource_link";
1883
1882
  name: string;
1883
+ type: "resource_link";
1884
1884
  uri: string;
1885
1885
  description?: string | null | undefined;
1886
1886
  title?: string | null | undefined;
1887
- mimeType?: string | null | undefined;
1888
1887
  size?: number | null | undefined;
1888
+ mimeType?: string | null | undefined;
1889
1889
  annotations?: {
1890
1890
  priority?: number | null | undefined;
1891
1891
  audience?: ("user" | "assistant")[] | null | undefined;
1892
1892
  lastModified?: string | null | undefined;
1893
1893
  } | null | undefined;
1894
1894
  }, {
1895
- type: "resource_link";
1896
1895
  name: string;
1896
+ type: "resource_link";
1897
1897
  uri: string;
1898
1898
  description?: string | null | undefined;
1899
1899
  title?: string | null | undefined;
1900
- mimeType?: string | null | undefined;
1901
1900
  size?: number | null | undefined;
1901
+ mimeType?: string | null | undefined;
1902
1902
  annotations?: {
1903
1903
  priority?: number | null | undefined;
1904
1904
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -1980,8 +1980,8 @@ export declare const promptRequestSchema: z.ZodObject<{
1980
1980
  sessionId: z.ZodString;
1981
1981
  }, "strip", z.ZodTypeAny, {
1982
1982
  prompt: ({
1983
- type: "text";
1984
1983
  text: string;
1984
+ type: "text";
1985
1985
  annotations?: {
1986
1986
  priority?: number | null | undefined;
1987
1987
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2006,13 +2006,13 @@ export declare const promptRequestSchema: z.ZodObject<{
2006
2006
  lastModified?: string | null | undefined;
2007
2007
  } | null | undefined;
2008
2008
  } | {
2009
- type: "resource_link";
2010
2009
  name: string;
2010
+ type: "resource_link";
2011
2011
  uri: string;
2012
2012
  description?: string | null | undefined;
2013
2013
  title?: string | null | undefined;
2014
- mimeType?: string | null | undefined;
2015
2014
  size?: number | null | undefined;
2015
+ mimeType?: string | null | undefined;
2016
2016
  annotations?: {
2017
2017
  priority?: number | null | undefined;
2018
2018
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2038,8 +2038,8 @@ export declare const promptRequestSchema: z.ZodObject<{
2038
2038
  sessionId: string;
2039
2039
  }, {
2040
2040
  prompt: ({
2041
- type: "text";
2042
2041
  text: string;
2042
+ type: "text";
2043
2043
  annotations?: {
2044
2044
  priority?: number | null | undefined;
2045
2045
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2064,13 +2064,13 @@ export declare const promptRequestSchema: z.ZodObject<{
2064
2064
  lastModified?: string | null | undefined;
2065
2065
  } | null | undefined;
2066
2066
  } | {
2067
- type: "resource_link";
2068
2067
  name: string;
2068
+ type: "resource_link";
2069
2069
  uri: string;
2070
2070
  description?: string | null | undefined;
2071
2071
  title?: string | null | undefined;
2072
- mimeType?: string | null | undefined;
2073
2072
  size?: number | null | undefined;
2073
+ mimeType?: string | null | undefined;
2074
2074
  annotations?: {
2075
2075
  priority?: number | null | undefined;
2076
2076
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2187,16 +2187,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2187
2187
  text: z.ZodString;
2188
2188
  type: z.ZodLiteral<"text">;
2189
2189
  }, "strip", z.ZodTypeAny, {
2190
- type: "text";
2191
2190
  text: string;
2191
+ type: "text";
2192
2192
  annotations?: {
2193
2193
  priority?: number | null | undefined;
2194
2194
  audience?: ("user" | "assistant")[] | null | undefined;
2195
2195
  lastModified?: string | null | undefined;
2196
2196
  } | null | undefined;
2197
2197
  }, {
2198
- type: "text";
2199
2198
  text: string;
2199
+ type: "text";
2200
2200
  annotations?: {
2201
2201
  priority?: number | null | undefined;
2202
2202
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2294,26 +2294,26 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2294
2294
  type: z.ZodLiteral<"resource_link">;
2295
2295
  uri: z.ZodString;
2296
2296
  }, "strip", z.ZodTypeAny, {
2297
- type: "resource_link";
2298
2297
  name: string;
2298
+ type: "resource_link";
2299
2299
  uri: string;
2300
2300
  description?: string | null | undefined;
2301
2301
  title?: string | null | undefined;
2302
- mimeType?: string | null | undefined;
2303
2302
  size?: number | null | undefined;
2303
+ mimeType?: string | null | undefined;
2304
2304
  annotations?: {
2305
2305
  priority?: number | null | undefined;
2306
2306
  audience?: ("user" | "assistant")[] | null | undefined;
2307
2307
  lastModified?: string | null | undefined;
2308
2308
  } | null | undefined;
2309
2309
  }, {
2310
- type: "resource_link";
2311
2310
  name: string;
2311
+ type: "resource_link";
2312
2312
  uri: string;
2313
2313
  description?: string | null | undefined;
2314
2314
  title?: string | null | undefined;
2315
- mimeType?: string | null | undefined;
2316
2315
  size?: number | null | undefined;
2316
+ mimeType?: string | null | undefined;
2317
2317
  annotations?: {
2318
2318
  priority?: number | null | undefined;
2319
2319
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2395,8 +2395,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2395
2395
  sessionUpdate: z.ZodLiteral<"user_message_chunk">;
2396
2396
  }, "strip", z.ZodTypeAny, {
2397
2397
  content: {
2398
- type: "text";
2399
2398
  text: string;
2399
+ type: "text";
2400
2400
  annotations?: {
2401
2401
  priority?: number | null | undefined;
2402
2402
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2421,13 +2421,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2421
2421
  lastModified?: string | null | undefined;
2422
2422
  } | null | undefined;
2423
2423
  } | {
2424
- type: "resource_link";
2425
2424
  name: string;
2425
+ type: "resource_link";
2426
2426
  uri: string;
2427
2427
  description?: string | null | undefined;
2428
2428
  title?: string | null | undefined;
2429
- mimeType?: string | null | undefined;
2430
2429
  size?: number | null | undefined;
2430
+ mimeType?: string | null | undefined;
2431
2431
  annotations?: {
2432
2432
  priority?: number | null | undefined;
2433
2433
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2453,8 +2453,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2453
2453
  sessionUpdate: "user_message_chunk";
2454
2454
  }, {
2455
2455
  content: {
2456
- type: "text";
2457
2456
  text: string;
2457
+ type: "text";
2458
2458
  annotations?: {
2459
2459
  priority?: number | null | undefined;
2460
2460
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2479,13 +2479,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2479
2479
  lastModified?: string | null | undefined;
2480
2480
  } | null | undefined;
2481
2481
  } | {
2482
- type: "resource_link";
2483
2482
  name: string;
2483
+ type: "resource_link";
2484
2484
  uri: string;
2485
2485
  description?: string | null | undefined;
2486
2486
  title?: string | null | undefined;
2487
- mimeType?: string | null | undefined;
2488
2487
  size?: number | null | undefined;
2488
+ mimeType?: string | null | undefined;
2489
2489
  annotations?: {
2490
2490
  priority?: number | null | undefined;
2491
2491
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2527,16 +2527,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2527
2527
  text: z.ZodString;
2528
2528
  type: z.ZodLiteral<"text">;
2529
2529
  }, "strip", z.ZodTypeAny, {
2530
- type: "text";
2531
2530
  text: string;
2531
+ type: "text";
2532
2532
  annotations?: {
2533
2533
  priority?: number | null | undefined;
2534
2534
  audience?: ("user" | "assistant")[] | null | undefined;
2535
2535
  lastModified?: string | null | undefined;
2536
2536
  } | null | undefined;
2537
2537
  }, {
2538
- type: "text";
2539
2538
  text: string;
2539
+ type: "text";
2540
2540
  annotations?: {
2541
2541
  priority?: number | null | undefined;
2542
2542
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2634,26 +2634,26 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2634
2634
  type: z.ZodLiteral<"resource_link">;
2635
2635
  uri: z.ZodString;
2636
2636
  }, "strip", z.ZodTypeAny, {
2637
- type: "resource_link";
2638
2637
  name: string;
2638
+ type: "resource_link";
2639
2639
  uri: string;
2640
2640
  description?: string | null | undefined;
2641
2641
  title?: string | null | undefined;
2642
- mimeType?: string | null | undefined;
2643
2642
  size?: number | null | undefined;
2643
+ mimeType?: string | null | undefined;
2644
2644
  annotations?: {
2645
2645
  priority?: number | null | undefined;
2646
2646
  audience?: ("user" | "assistant")[] | null | undefined;
2647
2647
  lastModified?: string | null | undefined;
2648
2648
  } | null | undefined;
2649
2649
  }, {
2650
- type: "resource_link";
2651
2650
  name: string;
2651
+ type: "resource_link";
2652
2652
  uri: string;
2653
2653
  description?: string | null | undefined;
2654
2654
  title?: string | null | undefined;
2655
- mimeType?: string | null | undefined;
2656
2655
  size?: number | null | undefined;
2656
+ mimeType?: string | null | undefined;
2657
2657
  annotations?: {
2658
2658
  priority?: number | null | undefined;
2659
2659
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2735,8 +2735,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2735
2735
  sessionUpdate: z.ZodLiteral<"agent_message_chunk">;
2736
2736
  }, "strip", z.ZodTypeAny, {
2737
2737
  content: {
2738
- type: "text";
2739
2738
  text: string;
2739
+ type: "text";
2740
2740
  annotations?: {
2741
2741
  priority?: number | null | undefined;
2742
2742
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2761,13 +2761,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2761
2761
  lastModified?: string | null | undefined;
2762
2762
  } | null | undefined;
2763
2763
  } | {
2764
- type: "resource_link";
2765
2764
  name: string;
2765
+ type: "resource_link";
2766
2766
  uri: string;
2767
2767
  description?: string | null | undefined;
2768
2768
  title?: string | null | undefined;
2769
- mimeType?: string | null | undefined;
2770
2769
  size?: number | null | undefined;
2770
+ mimeType?: string | null | undefined;
2771
2771
  annotations?: {
2772
2772
  priority?: number | null | undefined;
2773
2773
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2793,8 +2793,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2793
2793
  sessionUpdate: "agent_message_chunk";
2794
2794
  }, {
2795
2795
  content: {
2796
- type: "text";
2797
2796
  text: string;
2797
+ type: "text";
2798
2798
  annotations?: {
2799
2799
  priority?: number | null | undefined;
2800
2800
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2819,13 +2819,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2819
2819
  lastModified?: string | null | undefined;
2820
2820
  } | null | undefined;
2821
2821
  } | {
2822
- type: "resource_link";
2823
2822
  name: string;
2823
+ type: "resource_link";
2824
2824
  uri: string;
2825
2825
  description?: string | null | undefined;
2826
2826
  title?: string | null | undefined;
2827
- mimeType?: string | null | undefined;
2828
2827
  size?: number | null | undefined;
2828
+ mimeType?: string | null | undefined;
2829
2829
  annotations?: {
2830
2830
  priority?: number | null | undefined;
2831
2831
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2867,16 +2867,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2867
2867
  text: z.ZodString;
2868
2868
  type: z.ZodLiteral<"text">;
2869
2869
  }, "strip", z.ZodTypeAny, {
2870
- type: "text";
2871
2870
  text: string;
2871
+ type: "text";
2872
2872
  annotations?: {
2873
2873
  priority?: number | null | undefined;
2874
2874
  audience?: ("user" | "assistant")[] | null | undefined;
2875
2875
  lastModified?: string | null | undefined;
2876
2876
  } | null | undefined;
2877
2877
  }, {
2878
- type: "text";
2879
2878
  text: string;
2879
+ type: "text";
2880
2880
  annotations?: {
2881
2881
  priority?: number | null | undefined;
2882
2882
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -2974,26 +2974,26 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
2974
2974
  type: z.ZodLiteral<"resource_link">;
2975
2975
  uri: z.ZodString;
2976
2976
  }, "strip", z.ZodTypeAny, {
2977
- type: "resource_link";
2978
2977
  name: string;
2978
+ type: "resource_link";
2979
2979
  uri: string;
2980
2980
  description?: string | null | undefined;
2981
2981
  title?: string | null | undefined;
2982
- mimeType?: string | null | undefined;
2983
2982
  size?: number | null | undefined;
2983
+ mimeType?: string | null | undefined;
2984
2984
  annotations?: {
2985
2985
  priority?: number | null | undefined;
2986
2986
  audience?: ("user" | "assistant")[] | null | undefined;
2987
2987
  lastModified?: string | null | undefined;
2988
2988
  } | null | undefined;
2989
2989
  }, {
2990
- type: "resource_link";
2991
2990
  name: string;
2991
+ type: "resource_link";
2992
2992
  uri: string;
2993
2993
  description?: string | null | undefined;
2994
2994
  title?: string | null | undefined;
2995
- mimeType?: string | null | undefined;
2996
2995
  size?: number | null | undefined;
2996
+ mimeType?: string | null | undefined;
2997
2997
  annotations?: {
2998
2998
  priority?: number | null | undefined;
2999
2999
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3075,8 +3075,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3075
3075
  sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
3076
3076
  }, "strip", z.ZodTypeAny, {
3077
3077
  content: {
3078
- type: "text";
3079
3078
  text: string;
3079
+ type: "text";
3080
3080
  annotations?: {
3081
3081
  priority?: number | null | undefined;
3082
3082
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3101,13 +3101,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3101
3101
  lastModified?: string | null | undefined;
3102
3102
  } | null | undefined;
3103
3103
  } | {
3104
- type: "resource_link";
3105
3104
  name: string;
3105
+ type: "resource_link";
3106
3106
  uri: string;
3107
3107
  description?: string | null | undefined;
3108
3108
  title?: string | null | undefined;
3109
- mimeType?: string | null | undefined;
3110
3109
  size?: number | null | undefined;
3110
+ mimeType?: string | null | undefined;
3111
3111
  annotations?: {
3112
3112
  priority?: number | null | undefined;
3113
3113
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3133,8 +3133,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3133
3133
  sessionUpdate: "agent_thought_chunk";
3134
3134
  }, {
3135
3135
  content: {
3136
- type: "text";
3137
3136
  text: string;
3137
+ type: "text";
3138
3138
  annotations?: {
3139
3139
  priority?: number | null | undefined;
3140
3140
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3159,13 +3159,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3159
3159
  lastModified?: string | null | undefined;
3160
3160
  } | null | undefined;
3161
3161
  } | {
3162
- type: "resource_link";
3163
3162
  name: string;
3163
+ type: "resource_link";
3164
3164
  uri: string;
3165
3165
  description?: string | null | undefined;
3166
3166
  title?: string | null | undefined;
3167
- mimeType?: string | null | undefined;
3168
3167
  size?: number | null | undefined;
3168
+ mimeType?: string | null | undefined;
3169
3169
  annotations?: {
3170
3170
  priority?: number | null | undefined;
3171
3171
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3208,16 +3208,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3208
3208
  text: z.ZodString;
3209
3209
  type: z.ZodLiteral<"text">;
3210
3210
  }, "strip", z.ZodTypeAny, {
3211
- type: "text";
3212
3211
  text: string;
3212
+ type: "text";
3213
3213
  annotations?: {
3214
3214
  priority?: number | null | undefined;
3215
3215
  audience?: ("user" | "assistant")[] | null | undefined;
3216
3216
  lastModified?: string | null | undefined;
3217
3217
  } | null | undefined;
3218
3218
  }, {
3219
- type: "text";
3220
3219
  text: string;
3220
+ type: "text";
3221
3221
  annotations?: {
3222
3222
  priority?: number | null | undefined;
3223
3223
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3315,26 +3315,26 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3315
3315
  type: z.ZodLiteral<"resource_link">;
3316
3316
  uri: z.ZodString;
3317
3317
  }, "strip", z.ZodTypeAny, {
3318
- type: "resource_link";
3319
3318
  name: string;
3319
+ type: "resource_link";
3320
3320
  uri: string;
3321
3321
  description?: string | null | undefined;
3322
3322
  title?: string | null | undefined;
3323
- mimeType?: string | null | undefined;
3324
3323
  size?: number | null | undefined;
3324
+ mimeType?: string | null | undefined;
3325
3325
  annotations?: {
3326
3326
  priority?: number | null | undefined;
3327
3327
  audience?: ("user" | "assistant")[] | null | undefined;
3328
3328
  lastModified?: string | null | undefined;
3329
3329
  } | null | undefined;
3330
3330
  }, {
3331
- type: "resource_link";
3332
3331
  name: string;
3332
+ type: "resource_link";
3333
3333
  uri: string;
3334
3334
  description?: string | null | undefined;
3335
3335
  title?: string | null | undefined;
3336
- mimeType?: string | null | undefined;
3337
3336
  size?: number | null | undefined;
3337
+ mimeType?: string | null | undefined;
3338
3338
  annotations?: {
3339
3339
  priority?: number | null | undefined;
3340
3340
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3417,8 +3417,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3417
3417
  }, "strip", z.ZodTypeAny, {
3418
3418
  type: "content";
3419
3419
  content: {
3420
- type: "text";
3421
3420
  text: string;
3421
+ type: "text";
3422
3422
  annotations?: {
3423
3423
  priority?: number | null | undefined;
3424
3424
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3443,13 +3443,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3443
3443
  lastModified?: string | null | undefined;
3444
3444
  } | null | undefined;
3445
3445
  } | {
3446
- type: "resource_link";
3447
3446
  name: string;
3447
+ type: "resource_link";
3448
3448
  uri: string;
3449
3449
  description?: string | null | undefined;
3450
3450
  title?: string | null | undefined;
3451
- mimeType?: string | null | undefined;
3452
3451
  size?: number | null | undefined;
3452
+ mimeType?: string | null | undefined;
3453
3453
  annotations?: {
3454
3454
  priority?: number | null | undefined;
3455
3455
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3475,8 +3475,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3475
3475
  }, {
3476
3476
  type: "content";
3477
3477
  content: {
3478
- type: "text";
3479
3478
  text: string;
3479
+ type: "text";
3480
3480
  annotations?: {
3481
3481
  priority?: number | null | undefined;
3482
3482
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3501,13 +3501,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3501
3501
  lastModified?: string | null | undefined;
3502
3502
  } | null | undefined;
3503
3503
  } | {
3504
- type: "resource_link";
3505
3504
  name: string;
3505
+ type: "resource_link";
3506
3506
  uri: string;
3507
3507
  description?: string | null | undefined;
3508
3508
  title?: string | null | undefined;
3509
- mimeType?: string | null | undefined;
3510
3509
  size?: number | null | undefined;
3510
+ mimeType?: string | null | undefined;
3511
3511
  annotations?: {
3512
3512
  priority?: number | null | undefined;
3513
3513
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3563,16 +3563,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3563
3563
  title: z.ZodString;
3564
3564
  toolCallId: z.ZodString;
3565
3565
  }, "strip", z.ZodTypeAny, {
3566
- status: "completed" | "failed" | "pending" | "in_progress";
3567
3566
  title: string;
3568
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
3567
+ status: "completed" | "failed" | "pending" | "in_progress";
3568
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
3569
3569
  toolCallId: string;
3570
3570
  sessionUpdate: "tool_call";
3571
3571
  content?: ({
3572
3572
  type: "content";
3573
3573
  content: {
3574
- type: "text";
3575
3574
  text: string;
3575
+ type: "text";
3576
3576
  annotations?: {
3577
3577
  priority?: number | null | undefined;
3578
3578
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3597,13 +3597,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3597
3597
  lastModified?: string | null | undefined;
3598
3598
  } | null | undefined;
3599
3599
  } | {
3600
- type: "resource_link";
3601
3600
  name: string;
3601
+ type: "resource_link";
3602
3602
  uri: string;
3603
3603
  description?: string | null | undefined;
3604
3604
  title?: string | null | undefined;
3605
- mimeType?: string | null | undefined;
3606
3605
  size?: number | null | undefined;
3606
+ mimeType?: string | null | undefined;
3607
3607
  annotations?: {
3608
3608
  priority?: number | null | undefined;
3609
3609
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3638,16 +3638,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3638
3638
  }[] | undefined;
3639
3639
  rawInput?: unknown;
3640
3640
  }, {
3641
- status: "completed" | "failed" | "pending" | "in_progress";
3642
3641
  title: string;
3643
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
3642
+ status: "completed" | "failed" | "pending" | "in_progress";
3643
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
3644
3644
  toolCallId: string;
3645
3645
  sessionUpdate: "tool_call";
3646
3646
  content?: ({
3647
3647
  type: "content";
3648
3648
  content: {
3649
- type: "text";
3650
3649
  text: string;
3650
+ type: "text";
3651
3651
  annotations?: {
3652
3652
  priority?: number | null | undefined;
3653
3653
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3672,13 +3672,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3672
3672
  lastModified?: string | null | undefined;
3673
3673
  } | null | undefined;
3674
3674
  } | {
3675
- type: "resource_link";
3676
3675
  name: string;
3676
+ type: "resource_link";
3677
3677
  uri: string;
3678
3678
  description?: string | null | undefined;
3679
3679
  title?: string | null | undefined;
3680
- mimeType?: string | null | undefined;
3681
3680
  size?: number | null | undefined;
3681
+ mimeType?: string | null | undefined;
3682
3682
  annotations?: {
3683
3683
  priority?: number | null | undefined;
3684
3684
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3731,16 +3731,16 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3731
3731
  text: z.ZodString;
3732
3732
  type: z.ZodLiteral<"text">;
3733
3733
  }, "strip", z.ZodTypeAny, {
3734
- type: "text";
3735
3734
  text: string;
3735
+ type: "text";
3736
3736
  annotations?: {
3737
3737
  priority?: number | null | undefined;
3738
3738
  audience?: ("user" | "assistant")[] | null | undefined;
3739
3739
  lastModified?: string | null | undefined;
3740
3740
  } | null | undefined;
3741
3741
  }, {
3742
- type: "text";
3743
3742
  text: string;
3743
+ type: "text";
3744
3744
  annotations?: {
3745
3745
  priority?: number | null | undefined;
3746
3746
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3838,26 +3838,26 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3838
3838
  type: z.ZodLiteral<"resource_link">;
3839
3839
  uri: z.ZodString;
3840
3840
  }, "strip", z.ZodTypeAny, {
3841
- type: "resource_link";
3842
3841
  name: string;
3842
+ type: "resource_link";
3843
3843
  uri: string;
3844
3844
  description?: string | null | undefined;
3845
3845
  title?: string | null | undefined;
3846
- mimeType?: string | null | undefined;
3847
3846
  size?: number | null | undefined;
3847
+ mimeType?: string | null | undefined;
3848
3848
  annotations?: {
3849
3849
  priority?: number | null | undefined;
3850
3850
  audience?: ("user" | "assistant")[] | null | undefined;
3851
3851
  lastModified?: string | null | undefined;
3852
3852
  } | null | undefined;
3853
3853
  }, {
3854
- type: "resource_link";
3855
3854
  name: string;
3855
+ type: "resource_link";
3856
3856
  uri: string;
3857
3857
  description?: string | null | undefined;
3858
3858
  title?: string | null | undefined;
3859
- mimeType?: string | null | undefined;
3860
3859
  size?: number | null | undefined;
3860
+ mimeType?: string | null | undefined;
3861
3861
  annotations?: {
3862
3862
  priority?: number | null | undefined;
3863
3863
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3940,8 +3940,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3940
3940
  }, "strip", z.ZodTypeAny, {
3941
3941
  type: "content";
3942
3942
  content: {
3943
- type: "text";
3944
3943
  text: string;
3944
+ type: "text";
3945
3945
  annotations?: {
3946
3946
  priority?: number | null | undefined;
3947
3947
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3966,13 +3966,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3966
3966
  lastModified?: string | null | undefined;
3967
3967
  } | null | undefined;
3968
3968
  } | {
3969
- type: "resource_link";
3970
3969
  name: string;
3970
+ type: "resource_link";
3971
3971
  uri: string;
3972
3972
  description?: string | null | undefined;
3973
3973
  title?: string | null | undefined;
3974
- mimeType?: string | null | undefined;
3975
3974
  size?: number | null | undefined;
3975
+ mimeType?: string | null | undefined;
3976
3976
  annotations?: {
3977
3977
  priority?: number | null | undefined;
3978
3978
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -3998,8 +3998,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
3998
3998
  }, {
3999
3999
  type: "content";
4000
4000
  content: {
4001
- type: "text";
4002
4001
  text: string;
4002
+ type: "text";
4003
4003
  annotations?: {
4004
4004
  priority?: number | null | undefined;
4005
4005
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4024,13 +4024,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4024
4024
  lastModified?: string | null | undefined;
4025
4025
  } | null | undefined;
4026
4026
  } | {
4027
- type: "resource_link";
4028
4027
  name: string;
4028
+ type: "resource_link";
4029
4029
  uri: string;
4030
4030
  description?: string | null | undefined;
4031
4031
  title?: string | null | undefined;
4032
- mimeType?: string | null | undefined;
4033
4032
  size?: number | null | undefined;
4033
+ mimeType?: string | null | undefined;
4034
4034
  annotations?: {
4035
4035
  priority?: number | null | undefined;
4036
4036
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4088,12 +4088,11 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4088
4088
  }, "strip", z.ZodTypeAny, {
4089
4089
  toolCallId: string;
4090
4090
  sessionUpdate: "tool_call_update";
4091
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
4092
4091
  content?: ({
4093
4092
  type: "content";
4094
4093
  content: {
4095
- type: "text";
4096
4094
  text: string;
4095
+ type: "text";
4097
4096
  annotations?: {
4098
4097
  priority?: number | null | undefined;
4099
4098
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4118,13 +4117,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4118
4117
  lastModified?: string | null | undefined;
4119
4118
  } | null | undefined;
4120
4119
  } | {
4121
- type: "resource_link";
4122
4120
  name: string;
4121
+ type: "resource_link";
4123
4122
  uri: string;
4124
4123
  description?: string | null | undefined;
4125
4124
  title?: string | null | undefined;
4126
- mimeType?: string | null | undefined;
4127
4125
  size?: number | null | undefined;
4126
+ mimeType?: string | null | undefined;
4128
4127
  annotations?: {
4129
4128
  priority?: number | null | undefined;
4130
4129
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4154,7 +4153,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4154
4153
  oldText: string | null;
4155
4154
  })[] | null | undefined;
4156
4155
  title?: string | null | undefined;
4157
- kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
4156
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
4157
+ kind?: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
4158
4158
  locations?: {
4159
4159
  path: string;
4160
4160
  line?: number | null | undefined;
@@ -4163,12 +4163,11 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4163
4163
  }, {
4164
4164
  toolCallId: string;
4165
4165
  sessionUpdate: "tool_call_update";
4166
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
4167
4166
  content?: ({
4168
4167
  type: "content";
4169
4168
  content: {
4170
- type: "text";
4171
4169
  text: string;
4170
+ type: "text";
4172
4171
  annotations?: {
4173
4172
  priority?: number | null | undefined;
4174
4173
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4193,13 +4192,13 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4193
4192
  lastModified?: string | null | undefined;
4194
4193
  } | null | undefined;
4195
4194
  } | {
4196
- type: "resource_link";
4197
4195
  name: string;
4196
+ type: "resource_link";
4198
4197
  uri: string;
4199
4198
  description?: string | null | undefined;
4200
4199
  title?: string | null | undefined;
4201
- mimeType?: string | null | undefined;
4202
4200
  size?: number | null | undefined;
4201
+ mimeType?: string | null | undefined;
4203
4202
  annotations?: {
4204
4203
  priority?: number | null | undefined;
4205
4204
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4229,7 +4228,8 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4229
4228
  oldText: string | null;
4230
4229
  })[] | null | undefined;
4231
4230
  title?: string | null | undefined;
4232
- kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
4231
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
4232
+ kind?: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
4233
4233
  locations?: {
4234
4234
  path: string;
4235
4235
  line?: number | null | undefined;
@@ -4241,26 +4241,26 @@ export declare const sessionUpdateSchema: z.ZodUnion<[z.ZodObject<{
4241
4241
  priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
4242
4242
  status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
4243
4243
  }, "strip", z.ZodTypeAny, {
4244
- status: "completed" | "pending" | "in_progress";
4245
4244
  content: string;
4245
+ status: "completed" | "pending" | "in_progress";
4246
4246
  priority: "medium" | "high" | "low";
4247
4247
  }, {
4248
- status: "completed" | "pending" | "in_progress";
4249
4248
  content: string;
4249
+ status: "completed" | "pending" | "in_progress";
4250
4250
  priority: "medium" | "high" | "low";
4251
4251
  }>, "many">;
4252
4252
  sessionUpdate: z.ZodLiteral<"plan">;
4253
4253
  }, "strip", z.ZodTypeAny, {
4254
4254
  entries: {
4255
- status: "completed" | "pending" | "in_progress";
4256
4255
  content: string;
4256
+ status: "completed" | "pending" | "in_progress";
4257
4257
  priority: "medium" | "high" | "low";
4258
4258
  }[];
4259
4259
  sessionUpdate: "plan";
4260
4260
  }, {
4261
4261
  entries: {
4262
- status: "completed" | "pending" | "in_progress";
4263
4262
  content: string;
4263
+ status: "completed" | "pending" | "in_progress";
4264
4264
  priority: "medium" | "high" | "low";
4265
4265
  }[];
4266
4266
  sessionUpdate: "plan";
@@ -4316,26 +4316,26 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
4316
4316
  embeddedContext: z.ZodOptional<z.ZodBoolean>;
4317
4317
  image: z.ZodOptional<z.ZodBoolean>;
4318
4318
  }, "strip", z.ZodTypeAny, {
4319
- image?: boolean | undefined;
4320
4319
  audio?: boolean | undefined;
4320
+ image?: boolean | undefined;
4321
4321
  embeddedContext?: boolean | undefined;
4322
4322
  }, {
4323
- image?: boolean | undefined;
4324
4323
  audio?: boolean | undefined;
4324
+ image?: boolean | undefined;
4325
4325
  embeddedContext?: boolean | undefined;
4326
4326
  }>>;
4327
4327
  }, "strip", z.ZodTypeAny, {
4328
4328
  loadSession?: boolean | undefined;
4329
4329
  promptCapabilities?: {
4330
- image?: boolean | undefined;
4331
4330
  audio?: boolean | undefined;
4331
+ image?: boolean | undefined;
4332
4332
  embeddedContext?: boolean | undefined;
4333
4333
  } | undefined;
4334
4334
  }, {
4335
4335
  loadSession?: boolean | undefined;
4336
4336
  promptCapabilities?: {
4337
- image?: boolean | undefined;
4338
4337
  audio?: boolean | undefined;
4338
+ image?: boolean | undefined;
4339
4339
  embeddedContext?: boolean | undefined;
4340
4340
  } | undefined;
4341
4341
  }>;
@@ -4357,8 +4357,8 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
4357
4357
  agentCapabilities: {
4358
4358
  loadSession?: boolean | undefined;
4359
4359
  promptCapabilities?: {
4360
- image?: boolean | undefined;
4361
4360
  audio?: boolean | undefined;
4361
+ image?: boolean | undefined;
4362
4362
  embeddedContext?: boolean | undefined;
4363
4363
  } | undefined;
4364
4364
  };
@@ -4372,8 +4372,8 @@ export declare const agentResponseSchema: z.ZodUnion<[z.ZodObject<{
4372
4372
  agentCapabilities: {
4373
4373
  loadSession?: boolean | undefined;
4374
4374
  promptCapabilities?: {
4375
- image?: boolean | undefined;
4376
4375
  audio?: boolean | undefined;
4376
+ image?: boolean | undefined;
4377
4377
  embeddedContext?: boolean | undefined;
4378
4378
  } | undefined;
4379
4379
  };
@@ -4430,16 +4430,16 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4430
4430
  text: z.ZodString;
4431
4431
  type: z.ZodLiteral<"text">;
4432
4432
  }, "strip", z.ZodTypeAny, {
4433
- type: "text";
4434
4433
  text: string;
4434
+ type: "text";
4435
4435
  annotations?: {
4436
4436
  priority?: number | null | undefined;
4437
4437
  audience?: ("user" | "assistant")[] | null | undefined;
4438
4438
  lastModified?: string | null | undefined;
4439
4439
  } | null | undefined;
4440
4440
  }, {
4441
- type: "text";
4442
4441
  text: string;
4442
+ type: "text";
4443
4443
  annotations?: {
4444
4444
  priority?: number | null | undefined;
4445
4445
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4537,26 +4537,26 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4537
4537
  type: z.ZodLiteral<"resource_link">;
4538
4538
  uri: z.ZodString;
4539
4539
  }, "strip", z.ZodTypeAny, {
4540
- type: "resource_link";
4541
4540
  name: string;
4541
+ type: "resource_link";
4542
4542
  uri: string;
4543
4543
  description?: string | null | undefined;
4544
4544
  title?: string | null | undefined;
4545
- mimeType?: string | null | undefined;
4546
4545
  size?: number | null | undefined;
4546
+ mimeType?: string | null | undefined;
4547
4547
  annotations?: {
4548
4548
  priority?: number | null | undefined;
4549
4549
  audience?: ("user" | "assistant")[] | null | undefined;
4550
4550
  lastModified?: string | null | undefined;
4551
4551
  } | null | undefined;
4552
4552
  }, {
4553
- type: "resource_link";
4554
4553
  name: string;
4554
+ type: "resource_link";
4555
4555
  uri: string;
4556
4556
  description?: string | null | undefined;
4557
4557
  title?: string | null | undefined;
4558
- mimeType?: string | null | undefined;
4559
4558
  size?: number | null | undefined;
4559
+ mimeType?: string | null | undefined;
4560
4560
  annotations?: {
4561
4561
  priority?: number | null | undefined;
4562
4562
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4639,8 +4639,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4639
4639
  }, "strip", z.ZodTypeAny, {
4640
4640
  type: "content";
4641
4641
  content: {
4642
- type: "text";
4643
4642
  text: string;
4643
+ type: "text";
4644
4644
  annotations?: {
4645
4645
  priority?: number | null | undefined;
4646
4646
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4665,13 +4665,13 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4665
4665
  lastModified?: string | null | undefined;
4666
4666
  } | null | undefined;
4667
4667
  } | {
4668
- type: "resource_link";
4669
4668
  name: string;
4669
+ type: "resource_link";
4670
4670
  uri: string;
4671
4671
  description?: string | null | undefined;
4672
4672
  title?: string | null | undefined;
4673
- mimeType?: string | null | undefined;
4674
4673
  size?: number | null | undefined;
4674
+ mimeType?: string | null | undefined;
4675
4675
  annotations?: {
4676
4676
  priority?: number | null | undefined;
4677
4677
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4697,8 +4697,8 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4697
4697
  }, {
4698
4698
  type: "content";
4699
4699
  content: {
4700
- type: "text";
4701
4700
  text: string;
4701
+ type: "text";
4702
4702
  annotations?: {
4703
4703
  priority?: number | null | undefined;
4704
4704
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4723,13 +4723,13 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4723
4723
  lastModified?: string | null | undefined;
4724
4724
  } | null | undefined;
4725
4725
  } | {
4726
- type: "resource_link";
4727
4726
  name: string;
4727
+ type: "resource_link";
4728
4728
  uri: string;
4729
4729
  description?: string | null | undefined;
4730
4730
  title?: string | null | undefined;
4731
- mimeType?: string | null | undefined;
4732
4731
  size?: number | null | undefined;
4732
+ mimeType?: string | null | undefined;
4733
4733
  annotations?: {
4734
4734
  priority?: number | null | undefined;
4735
4735
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4784,15 +4784,15 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4784
4784
  title: z.ZodString;
4785
4785
  toolCallId: z.ZodString;
4786
4786
  }, "strip", z.ZodTypeAny, {
4787
- status: "completed" | "failed" | "pending" | "in_progress";
4788
4787
  title: string;
4789
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
4788
+ status: "completed" | "failed" | "pending" | "in_progress";
4789
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
4790
4790
  toolCallId: string;
4791
4791
  content?: ({
4792
4792
  type: "content";
4793
4793
  content: {
4794
- type: "text";
4795
4794
  text: string;
4795
+ type: "text";
4796
4796
  annotations?: {
4797
4797
  priority?: number | null | undefined;
4798
4798
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4817,13 +4817,13 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4817
4817
  lastModified?: string | null | undefined;
4818
4818
  } | null | undefined;
4819
4819
  } | {
4820
- type: "resource_link";
4821
4820
  name: string;
4821
+ type: "resource_link";
4822
4822
  uri: string;
4823
4823
  description?: string | null | undefined;
4824
4824
  title?: string | null | undefined;
4825
- mimeType?: string | null | undefined;
4826
4825
  size?: number | null | undefined;
4826
+ mimeType?: string | null | undefined;
4827
4827
  annotations?: {
4828
4828
  priority?: number | null | undefined;
4829
4829
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4858,15 +4858,15 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4858
4858
  }[] | undefined;
4859
4859
  rawInput?: unknown;
4860
4860
  }, {
4861
- status: "completed" | "failed" | "pending" | "in_progress";
4862
4861
  title: string;
4863
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
4862
+ status: "completed" | "failed" | "pending" | "in_progress";
4863
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
4864
4864
  toolCallId: string;
4865
4865
  content?: ({
4866
4866
  type: "content";
4867
4867
  content: {
4868
- type: "text";
4869
4868
  text: string;
4869
+ type: "text";
4870
4870
  annotations?: {
4871
4871
  priority?: number | null | undefined;
4872
4872
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4891,13 +4891,13 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4891
4891
  lastModified?: string | null | undefined;
4892
4892
  } | null | undefined;
4893
4893
  } | {
4894
- type: "resource_link";
4895
4894
  name: string;
4895
+ type: "resource_link";
4896
4896
  uri: string;
4897
4897
  description?: string | null | undefined;
4898
4898
  title?: string | null | undefined;
4899
- mimeType?: string | null | undefined;
4900
4899
  size?: number | null | undefined;
4900
+ mimeType?: string | null | undefined;
4901
4901
  annotations?: {
4902
4902
  priority?: number | null | undefined;
4903
4903
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4940,15 +4940,15 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4940
4940
  }[];
4941
4941
  sessionId: string;
4942
4942
  toolCall: {
4943
- status: "completed" | "failed" | "pending" | "in_progress";
4944
4943
  title: string;
4945
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
4944
+ status: "completed" | "failed" | "pending" | "in_progress";
4945
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
4946
4946
  toolCallId: string;
4947
4947
  content?: ({
4948
4948
  type: "content";
4949
4949
  content: {
4950
- type: "text";
4951
4950
  text: string;
4951
+ type: "text";
4952
4952
  annotations?: {
4953
4953
  priority?: number | null | undefined;
4954
4954
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -4973,13 +4973,13 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
4973
4973
  lastModified?: string | null | undefined;
4974
4974
  } | null | undefined;
4975
4975
  } | {
4976
- type: "resource_link";
4977
4976
  name: string;
4977
+ type: "resource_link";
4978
4978
  uri: string;
4979
4979
  description?: string | null | undefined;
4980
4980
  title?: string | null | undefined;
4981
- mimeType?: string | null | undefined;
4982
4981
  size?: number | null | undefined;
4982
+ mimeType?: string | null | undefined;
4983
4983
  annotations?: {
4984
4984
  priority?: number | null | undefined;
4985
4985
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5022,15 +5022,15 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
5022
5022
  }[];
5023
5023
  sessionId: string;
5024
5024
  toolCall: {
5025
- status: "completed" | "failed" | "pending" | "in_progress";
5026
5025
  title: string;
5027
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
5026
+ status: "completed" | "failed" | "pending" | "in_progress";
5027
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
5028
5028
  toolCallId: string;
5029
5029
  content?: ({
5030
5030
  type: "content";
5031
5031
  content: {
5032
- type: "text";
5033
5032
  text: string;
5033
+ type: "text";
5034
5034
  annotations?: {
5035
5035
  priority?: number | null | undefined;
5036
5036
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5055,13 +5055,13 @@ export declare const requestPermissionRequestSchema: z.ZodObject<{
5055
5055
  lastModified?: string | null | undefined;
5056
5056
  } | null | undefined;
5057
5057
  } | {
5058
- type: "resource_link";
5059
5058
  name: string;
5059
+ type: "resource_link";
5060
5060
  uri: string;
5061
5061
  description?: string | null | undefined;
5062
5062
  title?: string | null | undefined;
5063
- mimeType?: string | null | undefined;
5064
5063
  size?: number | null | undefined;
5064
+ mimeType?: string | null | undefined;
5065
5065
  annotations?: {
5066
5066
  priority?: number | null | undefined;
5067
5067
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5158,16 +5158,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5158
5158
  text: z.ZodString;
5159
5159
  type: z.ZodLiteral<"text">;
5160
5160
  }, "strip", z.ZodTypeAny, {
5161
- type: "text";
5162
5161
  text: string;
5162
+ type: "text";
5163
5163
  annotations?: {
5164
5164
  priority?: number | null | undefined;
5165
5165
  audience?: ("user" | "assistant")[] | null | undefined;
5166
5166
  lastModified?: string | null | undefined;
5167
5167
  } | null | undefined;
5168
5168
  }, {
5169
- type: "text";
5170
5169
  text: string;
5170
+ type: "text";
5171
5171
  annotations?: {
5172
5172
  priority?: number | null | undefined;
5173
5173
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5265,26 +5265,26 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5265
5265
  type: z.ZodLiteral<"resource_link">;
5266
5266
  uri: z.ZodString;
5267
5267
  }, "strip", z.ZodTypeAny, {
5268
- type: "resource_link";
5269
5268
  name: string;
5269
+ type: "resource_link";
5270
5270
  uri: string;
5271
5271
  description?: string | null | undefined;
5272
5272
  title?: string | null | undefined;
5273
- mimeType?: string | null | undefined;
5274
5273
  size?: number | null | undefined;
5274
+ mimeType?: string | null | undefined;
5275
5275
  annotations?: {
5276
5276
  priority?: number | null | undefined;
5277
5277
  audience?: ("user" | "assistant")[] | null | undefined;
5278
5278
  lastModified?: string | null | undefined;
5279
5279
  } | null | undefined;
5280
5280
  }, {
5281
- type: "resource_link";
5282
5281
  name: string;
5282
+ type: "resource_link";
5283
5283
  uri: string;
5284
5284
  description?: string | null | undefined;
5285
5285
  title?: string | null | undefined;
5286
- mimeType?: string | null | undefined;
5287
5286
  size?: number | null | undefined;
5287
+ mimeType?: string | null | undefined;
5288
5288
  annotations?: {
5289
5289
  priority?: number | null | undefined;
5290
5290
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5366,8 +5366,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5366
5366
  sessionUpdate: z.ZodLiteral<"user_message_chunk">;
5367
5367
  }, "strip", z.ZodTypeAny, {
5368
5368
  content: {
5369
- type: "text";
5370
5369
  text: string;
5370
+ type: "text";
5371
5371
  annotations?: {
5372
5372
  priority?: number | null | undefined;
5373
5373
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5392,13 +5392,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5392
5392
  lastModified?: string | null | undefined;
5393
5393
  } | null | undefined;
5394
5394
  } | {
5395
- type: "resource_link";
5396
5395
  name: string;
5396
+ type: "resource_link";
5397
5397
  uri: string;
5398
5398
  description?: string | null | undefined;
5399
5399
  title?: string | null | undefined;
5400
- mimeType?: string | null | undefined;
5401
5400
  size?: number | null | undefined;
5401
+ mimeType?: string | null | undefined;
5402
5402
  annotations?: {
5403
5403
  priority?: number | null | undefined;
5404
5404
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5424,8 +5424,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5424
5424
  sessionUpdate: "user_message_chunk";
5425
5425
  }, {
5426
5426
  content: {
5427
- type: "text";
5428
5427
  text: string;
5428
+ type: "text";
5429
5429
  annotations?: {
5430
5430
  priority?: number | null | undefined;
5431
5431
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5450,13 +5450,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5450
5450
  lastModified?: string | null | undefined;
5451
5451
  } | null | undefined;
5452
5452
  } | {
5453
- type: "resource_link";
5454
5453
  name: string;
5454
+ type: "resource_link";
5455
5455
  uri: string;
5456
5456
  description?: string | null | undefined;
5457
5457
  title?: string | null | undefined;
5458
- mimeType?: string | null | undefined;
5459
5458
  size?: number | null | undefined;
5459
+ mimeType?: string | null | undefined;
5460
5460
  annotations?: {
5461
5461
  priority?: number | null | undefined;
5462
5462
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5498,16 +5498,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5498
5498
  text: z.ZodString;
5499
5499
  type: z.ZodLiteral<"text">;
5500
5500
  }, "strip", z.ZodTypeAny, {
5501
- type: "text";
5502
5501
  text: string;
5502
+ type: "text";
5503
5503
  annotations?: {
5504
5504
  priority?: number | null | undefined;
5505
5505
  audience?: ("user" | "assistant")[] | null | undefined;
5506
5506
  lastModified?: string | null | undefined;
5507
5507
  } | null | undefined;
5508
5508
  }, {
5509
- type: "text";
5510
5509
  text: string;
5510
+ type: "text";
5511
5511
  annotations?: {
5512
5512
  priority?: number | null | undefined;
5513
5513
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5605,26 +5605,26 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5605
5605
  type: z.ZodLiteral<"resource_link">;
5606
5606
  uri: z.ZodString;
5607
5607
  }, "strip", z.ZodTypeAny, {
5608
- type: "resource_link";
5609
5608
  name: string;
5609
+ type: "resource_link";
5610
5610
  uri: string;
5611
5611
  description?: string | null | undefined;
5612
5612
  title?: string | null | undefined;
5613
- mimeType?: string | null | undefined;
5614
5613
  size?: number | null | undefined;
5614
+ mimeType?: string | null | undefined;
5615
5615
  annotations?: {
5616
5616
  priority?: number | null | undefined;
5617
5617
  audience?: ("user" | "assistant")[] | null | undefined;
5618
5618
  lastModified?: string | null | undefined;
5619
5619
  } | null | undefined;
5620
5620
  }, {
5621
- type: "resource_link";
5622
5621
  name: string;
5622
+ type: "resource_link";
5623
5623
  uri: string;
5624
5624
  description?: string | null | undefined;
5625
5625
  title?: string | null | undefined;
5626
- mimeType?: string | null | undefined;
5627
5626
  size?: number | null | undefined;
5627
+ mimeType?: string | null | undefined;
5628
5628
  annotations?: {
5629
5629
  priority?: number | null | undefined;
5630
5630
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5706,8 +5706,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5706
5706
  sessionUpdate: z.ZodLiteral<"agent_message_chunk">;
5707
5707
  }, "strip", z.ZodTypeAny, {
5708
5708
  content: {
5709
- type: "text";
5710
5709
  text: string;
5710
+ type: "text";
5711
5711
  annotations?: {
5712
5712
  priority?: number | null | undefined;
5713
5713
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5732,13 +5732,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5732
5732
  lastModified?: string | null | undefined;
5733
5733
  } | null | undefined;
5734
5734
  } | {
5735
- type: "resource_link";
5736
5735
  name: string;
5736
+ type: "resource_link";
5737
5737
  uri: string;
5738
5738
  description?: string | null | undefined;
5739
5739
  title?: string | null | undefined;
5740
- mimeType?: string | null | undefined;
5741
5740
  size?: number | null | undefined;
5741
+ mimeType?: string | null | undefined;
5742
5742
  annotations?: {
5743
5743
  priority?: number | null | undefined;
5744
5744
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5764,8 +5764,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5764
5764
  sessionUpdate: "agent_message_chunk";
5765
5765
  }, {
5766
5766
  content: {
5767
- type: "text";
5768
5767
  text: string;
5768
+ type: "text";
5769
5769
  annotations?: {
5770
5770
  priority?: number | null | undefined;
5771
5771
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5790,13 +5790,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5790
5790
  lastModified?: string | null | undefined;
5791
5791
  } | null | undefined;
5792
5792
  } | {
5793
- type: "resource_link";
5794
5793
  name: string;
5794
+ type: "resource_link";
5795
5795
  uri: string;
5796
5796
  description?: string | null | undefined;
5797
5797
  title?: string | null | undefined;
5798
- mimeType?: string | null | undefined;
5799
5798
  size?: number | null | undefined;
5799
+ mimeType?: string | null | undefined;
5800
5800
  annotations?: {
5801
5801
  priority?: number | null | undefined;
5802
5802
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5838,16 +5838,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5838
5838
  text: z.ZodString;
5839
5839
  type: z.ZodLiteral<"text">;
5840
5840
  }, "strip", z.ZodTypeAny, {
5841
- type: "text";
5842
5841
  text: string;
5842
+ type: "text";
5843
5843
  annotations?: {
5844
5844
  priority?: number | null | undefined;
5845
5845
  audience?: ("user" | "assistant")[] | null | undefined;
5846
5846
  lastModified?: string | null | undefined;
5847
5847
  } | null | undefined;
5848
5848
  }, {
5849
- type: "text";
5850
5849
  text: string;
5850
+ type: "text";
5851
5851
  annotations?: {
5852
5852
  priority?: number | null | undefined;
5853
5853
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -5945,26 +5945,26 @@ export declare const sessionNotificationSchema: z.ZodObject<{
5945
5945
  type: z.ZodLiteral<"resource_link">;
5946
5946
  uri: z.ZodString;
5947
5947
  }, "strip", z.ZodTypeAny, {
5948
- type: "resource_link";
5949
5948
  name: string;
5949
+ type: "resource_link";
5950
5950
  uri: string;
5951
5951
  description?: string | null | undefined;
5952
5952
  title?: string | null | undefined;
5953
- mimeType?: string | null | undefined;
5954
5953
  size?: number | null | undefined;
5954
+ mimeType?: string | null | undefined;
5955
5955
  annotations?: {
5956
5956
  priority?: number | null | undefined;
5957
5957
  audience?: ("user" | "assistant")[] | null | undefined;
5958
5958
  lastModified?: string | null | undefined;
5959
5959
  } | null | undefined;
5960
5960
  }, {
5961
- type: "resource_link";
5962
5961
  name: string;
5962
+ type: "resource_link";
5963
5963
  uri: string;
5964
5964
  description?: string | null | undefined;
5965
5965
  title?: string | null | undefined;
5966
- mimeType?: string | null | undefined;
5967
5966
  size?: number | null | undefined;
5967
+ mimeType?: string | null | undefined;
5968
5968
  annotations?: {
5969
5969
  priority?: number | null | undefined;
5970
5970
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6046,8 +6046,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6046
6046
  sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
6047
6047
  }, "strip", z.ZodTypeAny, {
6048
6048
  content: {
6049
- type: "text";
6050
6049
  text: string;
6050
+ type: "text";
6051
6051
  annotations?: {
6052
6052
  priority?: number | null | undefined;
6053
6053
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6072,13 +6072,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6072
6072
  lastModified?: string | null | undefined;
6073
6073
  } | null | undefined;
6074
6074
  } | {
6075
- type: "resource_link";
6076
6075
  name: string;
6076
+ type: "resource_link";
6077
6077
  uri: string;
6078
6078
  description?: string | null | undefined;
6079
6079
  title?: string | null | undefined;
6080
- mimeType?: string | null | undefined;
6081
6080
  size?: number | null | undefined;
6081
+ mimeType?: string | null | undefined;
6082
6082
  annotations?: {
6083
6083
  priority?: number | null | undefined;
6084
6084
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6104,8 +6104,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6104
6104
  sessionUpdate: "agent_thought_chunk";
6105
6105
  }, {
6106
6106
  content: {
6107
- type: "text";
6108
6107
  text: string;
6108
+ type: "text";
6109
6109
  annotations?: {
6110
6110
  priority?: number | null | undefined;
6111
6111
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6130,13 +6130,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6130
6130
  lastModified?: string | null | undefined;
6131
6131
  } | null | undefined;
6132
6132
  } | {
6133
- type: "resource_link";
6134
6133
  name: string;
6134
+ type: "resource_link";
6135
6135
  uri: string;
6136
6136
  description?: string | null | undefined;
6137
6137
  title?: string | null | undefined;
6138
- mimeType?: string | null | undefined;
6139
6138
  size?: number | null | undefined;
6139
+ mimeType?: string | null | undefined;
6140
6140
  annotations?: {
6141
6141
  priority?: number | null | undefined;
6142
6142
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6179,16 +6179,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6179
6179
  text: z.ZodString;
6180
6180
  type: z.ZodLiteral<"text">;
6181
6181
  }, "strip", z.ZodTypeAny, {
6182
- type: "text";
6183
6182
  text: string;
6183
+ type: "text";
6184
6184
  annotations?: {
6185
6185
  priority?: number | null | undefined;
6186
6186
  audience?: ("user" | "assistant")[] | null | undefined;
6187
6187
  lastModified?: string | null | undefined;
6188
6188
  } | null | undefined;
6189
6189
  }, {
6190
- type: "text";
6191
6190
  text: string;
6191
+ type: "text";
6192
6192
  annotations?: {
6193
6193
  priority?: number | null | undefined;
6194
6194
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6286,26 +6286,26 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6286
6286
  type: z.ZodLiteral<"resource_link">;
6287
6287
  uri: z.ZodString;
6288
6288
  }, "strip", z.ZodTypeAny, {
6289
- type: "resource_link";
6290
6289
  name: string;
6290
+ type: "resource_link";
6291
6291
  uri: string;
6292
6292
  description?: string | null | undefined;
6293
6293
  title?: string | null | undefined;
6294
- mimeType?: string | null | undefined;
6295
6294
  size?: number | null | undefined;
6295
+ mimeType?: string | null | undefined;
6296
6296
  annotations?: {
6297
6297
  priority?: number | null | undefined;
6298
6298
  audience?: ("user" | "assistant")[] | null | undefined;
6299
6299
  lastModified?: string | null | undefined;
6300
6300
  } | null | undefined;
6301
6301
  }, {
6302
- type: "resource_link";
6303
6302
  name: string;
6303
+ type: "resource_link";
6304
6304
  uri: string;
6305
6305
  description?: string | null | undefined;
6306
6306
  title?: string | null | undefined;
6307
- mimeType?: string | null | undefined;
6308
6307
  size?: number | null | undefined;
6308
+ mimeType?: string | null | undefined;
6309
6309
  annotations?: {
6310
6310
  priority?: number | null | undefined;
6311
6311
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6388,8 +6388,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6388
6388
  }, "strip", z.ZodTypeAny, {
6389
6389
  type: "content";
6390
6390
  content: {
6391
- type: "text";
6392
6391
  text: string;
6392
+ type: "text";
6393
6393
  annotations?: {
6394
6394
  priority?: number | null | undefined;
6395
6395
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6414,13 +6414,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6414
6414
  lastModified?: string | null | undefined;
6415
6415
  } | null | undefined;
6416
6416
  } | {
6417
- type: "resource_link";
6418
6417
  name: string;
6418
+ type: "resource_link";
6419
6419
  uri: string;
6420
6420
  description?: string | null | undefined;
6421
6421
  title?: string | null | undefined;
6422
- mimeType?: string | null | undefined;
6423
6422
  size?: number | null | undefined;
6423
+ mimeType?: string | null | undefined;
6424
6424
  annotations?: {
6425
6425
  priority?: number | null | undefined;
6426
6426
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6446,8 +6446,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6446
6446
  }, {
6447
6447
  type: "content";
6448
6448
  content: {
6449
- type: "text";
6450
6449
  text: string;
6450
+ type: "text";
6451
6451
  annotations?: {
6452
6452
  priority?: number | null | undefined;
6453
6453
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6472,13 +6472,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6472
6472
  lastModified?: string | null | undefined;
6473
6473
  } | null | undefined;
6474
6474
  } | {
6475
- type: "resource_link";
6476
6475
  name: string;
6476
+ type: "resource_link";
6477
6477
  uri: string;
6478
6478
  description?: string | null | undefined;
6479
6479
  title?: string | null | undefined;
6480
- mimeType?: string | null | undefined;
6481
6480
  size?: number | null | undefined;
6481
+ mimeType?: string | null | undefined;
6482
6482
  annotations?: {
6483
6483
  priority?: number | null | undefined;
6484
6484
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6534,16 +6534,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6534
6534
  title: z.ZodString;
6535
6535
  toolCallId: z.ZodString;
6536
6536
  }, "strip", z.ZodTypeAny, {
6537
- status: "completed" | "failed" | "pending" | "in_progress";
6538
6537
  title: string;
6539
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
6538
+ status: "completed" | "failed" | "pending" | "in_progress";
6539
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
6540
6540
  toolCallId: string;
6541
6541
  sessionUpdate: "tool_call";
6542
6542
  content?: ({
6543
6543
  type: "content";
6544
6544
  content: {
6545
- type: "text";
6546
6545
  text: string;
6546
+ type: "text";
6547
6547
  annotations?: {
6548
6548
  priority?: number | null | undefined;
6549
6549
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6568,13 +6568,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6568
6568
  lastModified?: string | null | undefined;
6569
6569
  } | null | undefined;
6570
6570
  } | {
6571
- type: "resource_link";
6572
6571
  name: string;
6572
+ type: "resource_link";
6573
6573
  uri: string;
6574
6574
  description?: string | null | undefined;
6575
6575
  title?: string | null | undefined;
6576
- mimeType?: string | null | undefined;
6577
6576
  size?: number | null | undefined;
6577
+ mimeType?: string | null | undefined;
6578
6578
  annotations?: {
6579
6579
  priority?: number | null | undefined;
6580
6580
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6609,16 +6609,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6609
6609
  }[] | undefined;
6610
6610
  rawInput?: unknown;
6611
6611
  }, {
6612
- status: "completed" | "failed" | "pending" | "in_progress";
6613
6612
  title: string;
6614
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
6613
+ status: "completed" | "failed" | "pending" | "in_progress";
6614
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
6615
6615
  toolCallId: string;
6616
6616
  sessionUpdate: "tool_call";
6617
6617
  content?: ({
6618
6618
  type: "content";
6619
6619
  content: {
6620
- type: "text";
6621
6620
  text: string;
6621
+ type: "text";
6622
6622
  annotations?: {
6623
6623
  priority?: number | null | undefined;
6624
6624
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6643,13 +6643,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6643
6643
  lastModified?: string | null | undefined;
6644
6644
  } | null | undefined;
6645
6645
  } | {
6646
- type: "resource_link";
6647
6646
  name: string;
6647
+ type: "resource_link";
6648
6648
  uri: string;
6649
6649
  description?: string | null | undefined;
6650
6650
  title?: string | null | undefined;
6651
- mimeType?: string | null | undefined;
6652
6651
  size?: number | null | undefined;
6652
+ mimeType?: string | null | undefined;
6653
6653
  annotations?: {
6654
6654
  priority?: number | null | undefined;
6655
6655
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6702,16 +6702,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6702
6702
  text: z.ZodString;
6703
6703
  type: z.ZodLiteral<"text">;
6704
6704
  }, "strip", z.ZodTypeAny, {
6705
- type: "text";
6706
6705
  text: string;
6706
+ type: "text";
6707
6707
  annotations?: {
6708
6708
  priority?: number | null | undefined;
6709
6709
  audience?: ("user" | "assistant")[] | null | undefined;
6710
6710
  lastModified?: string | null | undefined;
6711
6711
  } | null | undefined;
6712
6712
  }, {
6713
- type: "text";
6714
6713
  text: string;
6714
+ type: "text";
6715
6715
  annotations?: {
6716
6716
  priority?: number | null | undefined;
6717
6717
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6809,26 +6809,26 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6809
6809
  type: z.ZodLiteral<"resource_link">;
6810
6810
  uri: z.ZodString;
6811
6811
  }, "strip", z.ZodTypeAny, {
6812
- type: "resource_link";
6813
6812
  name: string;
6813
+ type: "resource_link";
6814
6814
  uri: string;
6815
6815
  description?: string | null | undefined;
6816
6816
  title?: string | null | undefined;
6817
- mimeType?: string | null | undefined;
6818
6817
  size?: number | null | undefined;
6818
+ mimeType?: string | null | undefined;
6819
6819
  annotations?: {
6820
6820
  priority?: number | null | undefined;
6821
6821
  audience?: ("user" | "assistant")[] | null | undefined;
6822
6822
  lastModified?: string | null | undefined;
6823
6823
  } | null | undefined;
6824
6824
  }, {
6825
- type: "resource_link";
6826
6825
  name: string;
6826
+ type: "resource_link";
6827
6827
  uri: string;
6828
6828
  description?: string | null | undefined;
6829
6829
  title?: string | null | undefined;
6830
- mimeType?: string | null | undefined;
6831
6830
  size?: number | null | undefined;
6831
+ mimeType?: string | null | undefined;
6832
6832
  annotations?: {
6833
6833
  priority?: number | null | undefined;
6834
6834
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6911,8 +6911,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6911
6911
  }, "strip", z.ZodTypeAny, {
6912
6912
  type: "content";
6913
6913
  content: {
6914
- type: "text";
6915
6914
  text: string;
6915
+ type: "text";
6916
6916
  annotations?: {
6917
6917
  priority?: number | null | undefined;
6918
6918
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6937,13 +6937,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6937
6937
  lastModified?: string | null | undefined;
6938
6938
  } | null | undefined;
6939
6939
  } | {
6940
- type: "resource_link";
6941
6940
  name: string;
6941
+ type: "resource_link";
6942
6942
  uri: string;
6943
6943
  description?: string | null | undefined;
6944
6944
  title?: string | null | undefined;
6945
- mimeType?: string | null | undefined;
6946
6945
  size?: number | null | undefined;
6946
+ mimeType?: string | null | undefined;
6947
6947
  annotations?: {
6948
6948
  priority?: number | null | undefined;
6949
6949
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6969,8 +6969,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6969
6969
  }, {
6970
6970
  type: "content";
6971
6971
  content: {
6972
- type: "text";
6973
6972
  text: string;
6973
+ type: "text";
6974
6974
  annotations?: {
6975
6975
  priority?: number | null | undefined;
6976
6976
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -6995,13 +6995,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
6995
6995
  lastModified?: string | null | undefined;
6996
6996
  } | null | undefined;
6997
6997
  } | {
6998
- type: "resource_link";
6999
6998
  name: string;
6999
+ type: "resource_link";
7000
7000
  uri: string;
7001
7001
  description?: string | null | undefined;
7002
7002
  title?: string | null | undefined;
7003
- mimeType?: string | null | undefined;
7004
7003
  size?: number | null | undefined;
7004
+ mimeType?: string | null | undefined;
7005
7005
  annotations?: {
7006
7006
  priority?: number | null | undefined;
7007
7007
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7059,12 +7059,11 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7059
7059
  }, "strip", z.ZodTypeAny, {
7060
7060
  toolCallId: string;
7061
7061
  sessionUpdate: "tool_call_update";
7062
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
7063
7062
  content?: ({
7064
7063
  type: "content";
7065
7064
  content: {
7066
- type: "text";
7067
7065
  text: string;
7066
+ type: "text";
7068
7067
  annotations?: {
7069
7068
  priority?: number | null | undefined;
7070
7069
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7089,13 +7088,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7089
7088
  lastModified?: string | null | undefined;
7090
7089
  } | null | undefined;
7091
7090
  } | {
7092
- type: "resource_link";
7093
7091
  name: string;
7092
+ type: "resource_link";
7094
7093
  uri: string;
7095
7094
  description?: string | null | undefined;
7096
7095
  title?: string | null | undefined;
7097
- mimeType?: string | null | undefined;
7098
7096
  size?: number | null | undefined;
7097
+ mimeType?: string | null | undefined;
7099
7098
  annotations?: {
7100
7099
  priority?: number | null | undefined;
7101
7100
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7125,7 +7124,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7125
7124
  oldText: string | null;
7126
7125
  })[] | null | undefined;
7127
7126
  title?: string | null | undefined;
7128
- kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
7127
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
7128
+ kind?: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
7129
7129
  locations?: {
7130
7130
  path: string;
7131
7131
  line?: number | null | undefined;
@@ -7134,12 +7134,11 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7134
7134
  }, {
7135
7135
  toolCallId: string;
7136
7136
  sessionUpdate: "tool_call_update";
7137
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
7138
7137
  content?: ({
7139
7138
  type: "content";
7140
7139
  content: {
7141
- type: "text";
7142
7140
  text: string;
7141
+ type: "text";
7143
7142
  annotations?: {
7144
7143
  priority?: number | null | undefined;
7145
7144
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7164,13 +7163,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7164
7163
  lastModified?: string | null | undefined;
7165
7164
  } | null | undefined;
7166
7165
  } | {
7167
- type: "resource_link";
7168
7166
  name: string;
7167
+ type: "resource_link";
7169
7168
  uri: string;
7170
7169
  description?: string | null | undefined;
7171
7170
  title?: string | null | undefined;
7172
- mimeType?: string | null | undefined;
7173
7171
  size?: number | null | undefined;
7172
+ mimeType?: string | null | undefined;
7174
7173
  annotations?: {
7175
7174
  priority?: number | null | undefined;
7176
7175
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7200,7 +7199,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7200
7199
  oldText: string | null;
7201
7200
  })[] | null | undefined;
7202
7201
  title?: string | null | undefined;
7203
- kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
7202
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
7203
+ kind?: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
7204
7204
  locations?: {
7205
7205
  path: string;
7206
7206
  line?: number | null | undefined;
@@ -7212,26 +7212,26 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7212
7212
  priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
7213
7213
  status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
7214
7214
  }, "strip", z.ZodTypeAny, {
7215
- status: "completed" | "pending" | "in_progress";
7216
7215
  content: string;
7216
+ status: "completed" | "pending" | "in_progress";
7217
7217
  priority: "medium" | "high" | "low";
7218
7218
  }, {
7219
- status: "completed" | "pending" | "in_progress";
7220
7219
  content: string;
7220
+ status: "completed" | "pending" | "in_progress";
7221
7221
  priority: "medium" | "high" | "low";
7222
7222
  }>, "many">;
7223
7223
  sessionUpdate: z.ZodLiteral<"plan">;
7224
7224
  }, "strip", z.ZodTypeAny, {
7225
7225
  entries: {
7226
- status: "completed" | "pending" | "in_progress";
7227
7226
  content: string;
7227
+ status: "completed" | "pending" | "in_progress";
7228
7228
  priority: "medium" | "high" | "low";
7229
7229
  }[];
7230
7230
  sessionUpdate: "plan";
7231
7231
  }, {
7232
7232
  entries: {
7233
- status: "completed" | "pending" | "in_progress";
7234
7233
  content: string;
7234
+ status: "completed" | "pending" | "in_progress";
7235
7235
  priority: "medium" | "high" | "low";
7236
7236
  }[];
7237
7237
  sessionUpdate: "plan";
@@ -7283,8 +7283,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7283
7283
  sessionId: string;
7284
7284
  update: {
7285
7285
  content: {
7286
- type: "text";
7287
7286
  text: string;
7287
+ type: "text";
7288
7288
  annotations?: {
7289
7289
  priority?: number | null | undefined;
7290
7290
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7309,13 +7309,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7309
7309
  lastModified?: string | null | undefined;
7310
7310
  } | null | undefined;
7311
7311
  } | {
7312
- type: "resource_link";
7313
7312
  name: string;
7313
+ type: "resource_link";
7314
7314
  uri: string;
7315
7315
  description?: string | null | undefined;
7316
7316
  title?: string | null | undefined;
7317
- mimeType?: string | null | undefined;
7318
7317
  size?: number | null | undefined;
7318
+ mimeType?: string | null | undefined;
7319
7319
  annotations?: {
7320
7320
  priority?: number | null | undefined;
7321
7321
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7341,8 +7341,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7341
7341
  sessionUpdate: "user_message_chunk";
7342
7342
  } | {
7343
7343
  content: {
7344
- type: "text";
7345
7344
  text: string;
7345
+ type: "text";
7346
7346
  annotations?: {
7347
7347
  priority?: number | null | undefined;
7348
7348
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7367,13 +7367,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7367
7367
  lastModified?: string | null | undefined;
7368
7368
  } | null | undefined;
7369
7369
  } | {
7370
- type: "resource_link";
7371
7370
  name: string;
7371
+ type: "resource_link";
7372
7372
  uri: string;
7373
7373
  description?: string | null | undefined;
7374
7374
  title?: string | null | undefined;
7375
- mimeType?: string | null | undefined;
7376
7375
  size?: number | null | undefined;
7376
+ mimeType?: string | null | undefined;
7377
7377
  annotations?: {
7378
7378
  priority?: number | null | undefined;
7379
7379
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7399,8 +7399,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7399
7399
  sessionUpdate: "agent_message_chunk";
7400
7400
  } | {
7401
7401
  content: {
7402
- type: "text";
7403
7402
  text: string;
7403
+ type: "text";
7404
7404
  annotations?: {
7405
7405
  priority?: number | null | undefined;
7406
7406
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7425,13 +7425,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7425
7425
  lastModified?: string | null | undefined;
7426
7426
  } | null | undefined;
7427
7427
  } | {
7428
- type: "resource_link";
7429
7428
  name: string;
7429
+ type: "resource_link";
7430
7430
  uri: string;
7431
7431
  description?: string | null | undefined;
7432
7432
  title?: string | null | undefined;
7433
- mimeType?: string | null | undefined;
7434
7433
  size?: number | null | undefined;
7434
+ mimeType?: string | null | undefined;
7435
7435
  annotations?: {
7436
7436
  priority?: number | null | undefined;
7437
7437
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7456,16 +7456,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7456
7456
  };
7457
7457
  sessionUpdate: "agent_thought_chunk";
7458
7458
  } | {
7459
- status: "completed" | "failed" | "pending" | "in_progress";
7460
7459
  title: string;
7461
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
7460
+ status: "completed" | "failed" | "pending" | "in_progress";
7461
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
7462
7462
  toolCallId: string;
7463
7463
  sessionUpdate: "tool_call";
7464
7464
  content?: ({
7465
7465
  type: "content";
7466
7466
  content: {
7467
- type: "text";
7468
7467
  text: string;
7468
+ type: "text";
7469
7469
  annotations?: {
7470
7470
  priority?: number | null | undefined;
7471
7471
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7490,13 +7490,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7490
7490
  lastModified?: string | null | undefined;
7491
7491
  } | null | undefined;
7492
7492
  } | {
7493
- type: "resource_link";
7494
7493
  name: string;
7494
+ type: "resource_link";
7495
7495
  uri: string;
7496
7496
  description?: string | null | undefined;
7497
7497
  title?: string | null | undefined;
7498
- mimeType?: string | null | undefined;
7499
7498
  size?: number | null | undefined;
7499
+ mimeType?: string | null | undefined;
7500
7500
  annotations?: {
7501
7501
  priority?: number | null | undefined;
7502
7502
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7533,12 +7533,11 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7533
7533
  } | {
7534
7534
  toolCallId: string;
7535
7535
  sessionUpdate: "tool_call_update";
7536
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
7537
7536
  content?: ({
7538
7537
  type: "content";
7539
7538
  content: {
7540
- type: "text";
7541
7539
  text: string;
7540
+ type: "text";
7542
7541
  annotations?: {
7543
7542
  priority?: number | null | undefined;
7544
7543
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7563,13 +7562,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7563
7562
  lastModified?: string | null | undefined;
7564
7563
  } | null | undefined;
7565
7564
  } | {
7566
- type: "resource_link";
7567
7565
  name: string;
7566
+ type: "resource_link";
7568
7567
  uri: string;
7569
7568
  description?: string | null | undefined;
7570
7569
  title?: string | null | undefined;
7571
- mimeType?: string | null | undefined;
7572
7570
  size?: number | null | undefined;
7571
+ mimeType?: string | null | undefined;
7573
7572
  annotations?: {
7574
7573
  priority?: number | null | undefined;
7575
7574
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7599,7 +7598,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7599
7598
  oldText: string | null;
7600
7599
  })[] | null | undefined;
7601
7600
  title?: string | null | undefined;
7602
- kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
7601
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
7602
+ kind?: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
7603
7603
  locations?: {
7604
7604
  path: string;
7605
7605
  line?: number | null | undefined;
@@ -7607,8 +7607,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7607
7607
  rawInput?: unknown;
7608
7608
  } | {
7609
7609
  entries: {
7610
- status: "completed" | "pending" | "in_progress";
7611
7610
  content: string;
7611
+ status: "completed" | "pending" | "in_progress";
7612
7612
  priority: "medium" | "high" | "low";
7613
7613
  }[];
7614
7614
  sessionUpdate: "plan";
@@ -7626,8 +7626,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7626
7626
  sessionId: string;
7627
7627
  update: {
7628
7628
  content: {
7629
- type: "text";
7630
7629
  text: string;
7630
+ type: "text";
7631
7631
  annotations?: {
7632
7632
  priority?: number | null | undefined;
7633
7633
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7652,13 +7652,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7652
7652
  lastModified?: string | null | undefined;
7653
7653
  } | null | undefined;
7654
7654
  } | {
7655
- type: "resource_link";
7656
7655
  name: string;
7656
+ type: "resource_link";
7657
7657
  uri: string;
7658
7658
  description?: string | null | undefined;
7659
7659
  title?: string | null | undefined;
7660
- mimeType?: string | null | undefined;
7661
7660
  size?: number | null | undefined;
7661
+ mimeType?: string | null | undefined;
7662
7662
  annotations?: {
7663
7663
  priority?: number | null | undefined;
7664
7664
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7684,8 +7684,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7684
7684
  sessionUpdate: "user_message_chunk";
7685
7685
  } | {
7686
7686
  content: {
7687
- type: "text";
7688
7687
  text: string;
7688
+ type: "text";
7689
7689
  annotations?: {
7690
7690
  priority?: number | null | undefined;
7691
7691
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7710,13 +7710,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7710
7710
  lastModified?: string | null | undefined;
7711
7711
  } | null | undefined;
7712
7712
  } | {
7713
- type: "resource_link";
7714
7713
  name: string;
7714
+ type: "resource_link";
7715
7715
  uri: string;
7716
7716
  description?: string | null | undefined;
7717
7717
  title?: string | null | undefined;
7718
- mimeType?: string | null | undefined;
7719
7718
  size?: number | null | undefined;
7719
+ mimeType?: string | null | undefined;
7720
7720
  annotations?: {
7721
7721
  priority?: number | null | undefined;
7722
7722
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7742,8 +7742,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7742
7742
  sessionUpdate: "agent_message_chunk";
7743
7743
  } | {
7744
7744
  content: {
7745
- type: "text";
7746
7745
  text: string;
7746
+ type: "text";
7747
7747
  annotations?: {
7748
7748
  priority?: number | null | undefined;
7749
7749
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7768,13 +7768,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7768
7768
  lastModified?: string | null | undefined;
7769
7769
  } | null | undefined;
7770
7770
  } | {
7771
- type: "resource_link";
7772
7771
  name: string;
7772
+ type: "resource_link";
7773
7773
  uri: string;
7774
7774
  description?: string | null | undefined;
7775
7775
  title?: string | null | undefined;
7776
- mimeType?: string | null | undefined;
7777
7776
  size?: number | null | undefined;
7777
+ mimeType?: string | null | undefined;
7778
7778
  annotations?: {
7779
7779
  priority?: number | null | undefined;
7780
7780
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7799,16 +7799,16 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7799
7799
  };
7800
7800
  sessionUpdate: "agent_thought_chunk";
7801
7801
  } | {
7802
- status: "completed" | "failed" | "pending" | "in_progress";
7803
7802
  title: string;
7804
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
7803
+ status: "completed" | "failed" | "pending" | "in_progress";
7804
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
7805
7805
  toolCallId: string;
7806
7806
  sessionUpdate: "tool_call";
7807
7807
  content?: ({
7808
7808
  type: "content";
7809
7809
  content: {
7810
- type: "text";
7811
7810
  text: string;
7811
+ type: "text";
7812
7812
  annotations?: {
7813
7813
  priority?: number | null | undefined;
7814
7814
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7833,13 +7833,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7833
7833
  lastModified?: string | null | undefined;
7834
7834
  } | null | undefined;
7835
7835
  } | {
7836
- type: "resource_link";
7837
7836
  name: string;
7837
+ type: "resource_link";
7838
7838
  uri: string;
7839
7839
  description?: string | null | undefined;
7840
7840
  title?: string | null | undefined;
7841
- mimeType?: string | null | undefined;
7842
7841
  size?: number | null | undefined;
7842
+ mimeType?: string | null | undefined;
7843
7843
  annotations?: {
7844
7844
  priority?: number | null | undefined;
7845
7845
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7876,12 +7876,11 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7876
7876
  } | {
7877
7877
  toolCallId: string;
7878
7878
  sessionUpdate: "tool_call_update";
7879
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
7880
7879
  content?: ({
7881
7880
  type: "content";
7882
7881
  content: {
7883
- type: "text";
7884
7882
  text: string;
7883
+ type: "text";
7885
7884
  annotations?: {
7886
7885
  priority?: number | null | undefined;
7887
7886
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7906,13 +7905,13 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7906
7905
  lastModified?: string | null | undefined;
7907
7906
  } | null | undefined;
7908
7907
  } | {
7909
- type: "resource_link";
7910
7908
  name: string;
7909
+ type: "resource_link";
7911
7910
  uri: string;
7912
7911
  description?: string | null | undefined;
7913
7912
  title?: string | null | undefined;
7914
- mimeType?: string | null | undefined;
7915
7913
  size?: number | null | undefined;
7914
+ mimeType?: string | null | undefined;
7916
7915
  annotations?: {
7917
7916
  priority?: number | null | undefined;
7918
7917
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -7942,7 +7941,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7942
7941
  oldText: string | null;
7943
7942
  })[] | null | undefined;
7944
7943
  title?: string | null | undefined;
7945
- kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
7944
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
7945
+ kind?: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
7946
7946
  locations?: {
7947
7947
  path: string;
7948
7948
  line?: number | null | undefined;
@@ -7950,8 +7950,8 @@ export declare const sessionNotificationSchema: z.ZodObject<{
7950
7950
  rawInput?: unknown;
7951
7951
  } | {
7952
7952
  entries: {
7953
- status: "completed" | "pending" | "in_progress";
7954
7953
  content: string;
7954
+ status: "completed" | "pending" | "in_progress";
7955
7955
  priority: "medium" | "high" | "low";
7956
7956
  }[];
7957
7957
  sessionUpdate: "plan";
@@ -8027,16 +8027,16 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8027
8027
  text: z.ZodString;
8028
8028
  type: z.ZodLiteral<"text">;
8029
8029
  }, "strip", z.ZodTypeAny, {
8030
- type: "text";
8031
8030
  text: string;
8031
+ type: "text";
8032
8032
  annotations?: {
8033
8033
  priority?: number | null | undefined;
8034
8034
  audience?: ("user" | "assistant")[] | null | undefined;
8035
8035
  lastModified?: string | null | undefined;
8036
8036
  } | null | undefined;
8037
8037
  }, {
8038
- type: "text";
8039
8038
  text: string;
8039
+ type: "text";
8040
8040
  annotations?: {
8041
8041
  priority?: number | null | undefined;
8042
8042
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8134,26 +8134,26 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8134
8134
  type: z.ZodLiteral<"resource_link">;
8135
8135
  uri: z.ZodString;
8136
8136
  }, "strip", z.ZodTypeAny, {
8137
- type: "resource_link";
8138
8137
  name: string;
8138
+ type: "resource_link";
8139
8139
  uri: string;
8140
8140
  description?: string | null | undefined;
8141
8141
  title?: string | null | undefined;
8142
- mimeType?: string | null | undefined;
8143
8142
  size?: number | null | undefined;
8143
+ mimeType?: string | null | undefined;
8144
8144
  annotations?: {
8145
8145
  priority?: number | null | undefined;
8146
8146
  audience?: ("user" | "assistant")[] | null | undefined;
8147
8147
  lastModified?: string | null | undefined;
8148
8148
  } | null | undefined;
8149
8149
  }, {
8150
- type: "resource_link";
8151
8150
  name: string;
8151
+ type: "resource_link";
8152
8152
  uri: string;
8153
8153
  description?: string | null | undefined;
8154
8154
  title?: string | null | undefined;
8155
- mimeType?: string | null | undefined;
8156
8155
  size?: number | null | undefined;
8156
+ mimeType?: string | null | undefined;
8157
8157
  annotations?: {
8158
8158
  priority?: number | null | undefined;
8159
8159
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8236,8 +8236,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8236
8236
  }, "strip", z.ZodTypeAny, {
8237
8237
  type: "content";
8238
8238
  content: {
8239
- type: "text";
8240
8239
  text: string;
8240
+ type: "text";
8241
8241
  annotations?: {
8242
8242
  priority?: number | null | undefined;
8243
8243
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8262,13 +8262,13 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8262
8262
  lastModified?: string | null | undefined;
8263
8263
  } | null | undefined;
8264
8264
  } | {
8265
- type: "resource_link";
8266
8265
  name: string;
8266
+ type: "resource_link";
8267
8267
  uri: string;
8268
8268
  description?: string | null | undefined;
8269
8269
  title?: string | null | undefined;
8270
- mimeType?: string | null | undefined;
8271
8270
  size?: number | null | undefined;
8271
+ mimeType?: string | null | undefined;
8272
8272
  annotations?: {
8273
8273
  priority?: number | null | undefined;
8274
8274
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8294,8 +8294,8 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8294
8294
  }, {
8295
8295
  type: "content";
8296
8296
  content: {
8297
- type: "text";
8298
8297
  text: string;
8298
+ type: "text";
8299
8299
  annotations?: {
8300
8300
  priority?: number | null | undefined;
8301
8301
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8320,13 +8320,13 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8320
8320
  lastModified?: string | null | undefined;
8321
8321
  } | null | undefined;
8322
8322
  } | {
8323
- type: "resource_link";
8324
8323
  name: string;
8324
+ type: "resource_link";
8325
8325
  uri: string;
8326
8326
  description?: string | null | undefined;
8327
8327
  title?: string | null | undefined;
8328
- mimeType?: string | null | undefined;
8329
8328
  size?: number | null | undefined;
8329
+ mimeType?: string | null | undefined;
8330
8330
  annotations?: {
8331
8331
  priority?: number | null | undefined;
8332
8332
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8381,15 +8381,15 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8381
8381
  title: z.ZodString;
8382
8382
  toolCallId: z.ZodString;
8383
8383
  }, "strip", z.ZodTypeAny, {
8384
- status: "completed" | "failed" | "pending" | "in_progress";
8385
8384
  title: string;
8386
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
8385
+ status: "completed" | "failed" | "pending" | "in_progress";
8386
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
8387
8387
  toolCallId: string;
8388
8388
  content?: ({
8389
8389
  type: "content";
8390
8390
  content: {
8391
- type: "text";
8392
8391
  text: string;
8392
+ type: "text";
8393
8393
  annotations?: {
8394
8394
  priority?: number | null | undefined;
8395
8395
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8414,13 +8414,13 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8414
8414
  lastModified?: string | null | undefined;
8415
8415
  } | null | undefined;
8416
8416
  } | {
8417
- type: "resource_link";
8418
8417
  name: string;
8418
+ type: "resource_link";
8419
8419
  uri: string;
8420
8420
  description?: string | null | undefined;
8421
8421
  title?: string | null | undefined;
8422
- mimeType?: string | null | undefined;
8423
8422
  size?: number | null | undefined;
8423
+ mimeType?: string | null | undefined;
8424
8424
  annotations?: {
8425
8425
  priority?: number | null | undefined;
8426
8426
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8455,15 +8455,15 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8455
8455
  }[] | undefined;
8456
8456
  rawInput?: unknown;
8457
8457
  }, {
8458
- status: "completed" | "failed" | "pending" | "in_progress";
8459
8458
  title: string;
8460
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
8459
+ status: "completed" | "failed" | "pending" | "in_progress";
8460
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
8461
8461
  toolCallId: string;
8462
8462
  content?: ({
8463
8463
  type: "content";
8464
8464
  content: {
8465
- type: "text";
8466
8465
  text: string;
8466
+ type: "text";
8467
8467
  annotations?: {
8468
8468
  priority?: number | null | undefined;
8469
8469
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8488,13 +8488,13 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8488
8488
  lastModified?: string | null | undefined;
8489
8489
  } | null | undefined;
8490
8490
  } | {
8491
- type: "resource_link";
8492
8491
  name: string;
8492
+ type: "resource_link";
8493
8493
  uri: string;
8494
8494
  description?: string | null | undefined;
8495
8495
  title?: string | null | undefined;
8496
- mimeType?: string | null | undefined;
8497
8496
  size?: number | null | undefined;
8497
+ mimeType?: string | null | undefined;
8498
8498
  annotations?: {
8499
8499
  priority?: number | null | undefined;
8500
8500
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8537,15 +8537,15 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8537
8537
  }[];
8538
8538
  sessionId: string;
8539
8539
  toolCall: {
8540
- status: "completed" | "failed" | "pending" | "in_progress";
8541
8540
  title: string;
8542
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
8541
+ status: "completed" | "failed" | "pending" | "in_progress";
8542
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
8543
8543
  toolCallId: string;
8544
8544
  content?: ({
8545
8545
  type: "content";
8546
8546
  content: {
8547
- type: "text";
8548
8547
  text: string;
8548
+ type: "text";
8549
8549
  annotations?: {
8550
8550
  priority?: number | null | undefined;
8551
8551
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8570,13 +8570,13 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8570
8570
  lastModified?: string | null | undefined;
8571
8571
  } | null | undefined;
8572
8572
  } | {
8573
- type: "resource_link";
8574
8573
  name: string;
8574
+ type: "resource_link";
8575
8575
  uri: string;
8576
8576
  description?: string | null | undefined;
8577
8577
  title?: string | null | undefined;
8578
- mimeType?: string | null | undefined;
8579
8578
  size?: number | null | undefined;
8579
+ mimeType?: string | null | undefined;
8580
8580
  annotations?: {
8581
8581
  priority?: number | null | undefined;
8582
8582
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8619,15 +8619,15 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8619
8619
  }[];
8620
8620
  sessionId: string;
8621
8621
  toolCall: {
8622
- status: "completed" | "failed" | "pending" | "in_progress";
8623
8622
  title: string;
8624
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
8623
+ status: "completed" | "failed" | "pending" | "in_progress";
8624
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
8625
8625
  toolCallId: string;
8626
8626
  content?: ({
8627
8627
  type: "content";
8628
8628
  content: {
8629
- type: "text";
8630
8629
  text: string;
8630
+ type: "text";
8631
8631
  annotations?: {
8632
8632
  priority?: number | null | undefined;
8633
8633
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8652,13 +8652,13 @@ export declare const clientRequestSchema: z.ZodUnion<[z.ZodObject<{
8652
8652
  lastModified?: string | null | undefined;
8653
8653
  } | null | undefined;
8654
8654
  } | {
8655
- type: "resource_link";
8656
8655
  name: string;
8656
+ type: "resource_link";
8657
8657
  uri: string;
8658
8658
  description?: string | null | undefined;
8659
8659
  title?: string | null | undefined;
8660
- mimeType?: string | null | undefined;
8661
8660
  size?: number | null | undefined;
8661
+ mimeType?: string | null | undefined;
8662
8662
  annotations?: {
8663
8663
  priority?: number | null | undefined;
8664
8664
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8871,16 +8871,16 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8871
8871
  text: z.ZodString;
8872
8872
  type: z.ZodLiteral<"text">;
8873
8873
  }, "strip", z.ZodTypeAny, {
8874
- type: "text";
8875
8874
  text: string;
8875
+ type: "text";
8876
8876
  annotations?: {
8877
8877
  priority?: number | null | undefined;
8878
8878
  audience?: ("user" | "assistant")[] | null | undefined;
8879
8879
  lastModified?: string | null | undefined;
8880
8880
  } | null | undefined;
8881
8881
  }, {
8882
- type: "text";
8883
8882
  text: string;
8883
+ type: "text";
8884
8884
  annotations?: {
8885
8885
  priority?: number | null | undefined;
8886
8886
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -8978,26 +8978,26 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
8978
8978
  type: z.ZodLiteral<"resource_link">;
8979
8979
  uri: z.ZodString;
8980
8980
  }, "strip", z.ZodTypeAny, {
8981
- type: "resource_link";
8982
8981
  name: string;
8982
+ type: "resource_link";
8983
8983
  uri: string;
8984
8984
  description?: string | null | undefined;
8985
8985
  title?: string | null | undefined;
8986
- mimeType?: string | null | undefined;
8987
8986
  size?: number | null | undefined;
8987
+ mimeType?: string | null | undefined;
8988
8988
  annotations?: {
8989
8989
  priority?: number | null | undefined;
8990
8990
  audience?: ("user" | "assistant")[] | null | undefined;
8991
8991
  lastModified?: string | null | undefined;
8992
8992
  } | null | undefined;
8993
8993
  }, {
8994
- type: "resource_link";
8995
8994
  name: string;
8995
+ type: "resource_link";
8996
8996
  uri: string;
8997
8997
  description?: string | null | undefined;
8998
8998
  title?: string | null | undefined;
8999
- mimeType?: string | null | undefined;
9000
8999
  size?: number | null | undefined;
9000
+ mimeType?: string | null | undefined;
9001
9001
  annotations?: {
9002
9002
  priority?: number | null | undefined;
9003
9003
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9079,8 +9079,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
9079
9079
  sessionId: z.ZodString;
9080
9080
  }, "strip", z.ZodTypeAny, {
9081
9081
  prompt: ({
9082
- type: "text";
9083
9082
  text: string;
9083
+ type: "text";
9084
9084
  annotations?: {
9085
9085
  priority?: number | null | undefined;
9086
9086
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9105,13 +9105,13 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
9105
9105
  lastModified?: string | null | undefined;
9106
9106
  } | null | undefined;
9107
9107
  } | {
9108
- type: "resource_link";
9109
9108
  name: string;
9109
+ type: "resource_link";
9110
9110
  uri: string;
9111
9111
  description?: string | null | undefined;
9112
9112
  title?: string | null | undefined;
9113
- mimeType?: string | null | undefined;
9114
9113
  size?: number | null | undefined;
9114
+ mimeType?: string | null | undefined;
9115
9115
  annotations?: {
9116
9116
  priority?: number | null | undefined;
9117
9117
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9137,8 +9137,8 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
9137
9137
  sessionId: string;
9138
9138
  }, {
9139
9139
  prompt: ({
9140
- type: "text";
9141
9140
  text: string;
9141
+ type: "text";
9142
9142
  annotations?: {
9143
9143
  priority?: number | null | undefined;
9144
9144
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9163,13 +9163,13 @@ export declare const agentRequestSchema: z.ZodUnion<[z.ZodObject<{
9163
9163
  lastModified?: string | null | undefined;
9164
9164
  } | null | undefined;
9165
9165
  } | {
9166
- type: "resource_link";
9167
9166
  name: string;
9167
+ type: "resource_link";
9168
9168
  uri: string;
9169
9169
  description?: string | null | undefined;
9170
9170
  title?: string | null | undefined;
9171
- mimeType?: string | null | undefined;
9172
9171
  size?: number | null | undefined;
9172
+ mimeType?: string | null | undefined;
9173
9173
  annotations?: {
9174
9174
  priority?: number | null | undefined;
9175
9175
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9214,16 +9214,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
9214
9214
  text: z.ZodString;
9215
9215
  type: z.ZodLiteral<"text">;
9216
9216
  }, "strip", z.ZodTypeAny, {
9217
- type: "text";
9218
9217
  text: string;
9218
+ type: "text";
9219
9219
  annotations?: {
9220
9220
  priority?: number | null | undefined;
9221
9221
  audience?: ("user" | "assistant")[] | null | undefined;
9222
9222
  lastModified?: string | null | undefined;
9223
9223
  } | null | undefined;
9224
9224
  }, {
9225
- type: "text";
9226
9225
  text: string;
9226
+ type: "text";
9227
9227
  annotations?: {
9228
9228
  priority?: number | null | undefined;
9229
9229
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9321,26 +9321,26 @@ export declare const agentNotificationSchema: z.ZodObject<{
9321
9321
  type: z.ZodLiteral<"resource_link">;
9322
9322
  uri: z.ZodString;
9323
9323
  }, "strip", z.ZodTypeAny, {
9324
- type: "resource_link";
9325
9324
  name: string;
9325
+ type: "resource_link";
9326
9326
  uri: string;
9327
9327
  description?: string | null | undefined;
9328
9328
  title?: string | null | undefined;
9329
- mimeType?: string | null | undefined;
9330
9329
  size?: number | null | undefined;
9330
+ mimeType?: string | null | undefined;
9331
9331
  annotations?: {
9332
9332
  priority?: number | null | undefined;
9333
9333
  audience?: ("user" | "assistant")[] | null | undefined;
9334
9334
  lastModified?: string | null | undefined;
9335
9335
  } | null | undefined;
9336
9336
  }, {
9337
- type: "resource_link";
9338
9337
  name: string;
9338
+ type: "resource_link";
9339
9339
  uri: string;
9340
9340
  description?: string | null | undefined;
9341
9341
  title?: string | null | undefined;
9342
- mimeType?: string | null | undefined;
9343
9342
  size?: number | null | undefined;
9343
+ mimeType?: string | null | undefined;
9344
9344
  annotations?: {
9345
9345
  priority?: number | null | undefined;
9346
9346
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9422,8 +9422,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9422
9422
  sessionUpdate: z.ZodLiteral<"user_message_chunk">;
9423
9423
  }, "strip", z.ZodTypeAny, {
9424
9424
  content: {
9425
- type: "text";
9426
9425
  text: string;
9426
+ type: "text";
9427
9427
  annotations?: {
9428
9428
  priority?: number | null | undefined;
9429
9429
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9448,13 +9448,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
9448
9448
  lastModified?: string | null | undefined;
9449
9449
  } | null | undefined;
9450
9450
  } | {
9451
- type: "resource_link";
9452
9451
  name: string;
9452
+ type: "resource_link";
9453
9453
  uri: string;
9454
9454
  description?: string | null | undefined;
9455
9455
  title?: string | null | undefined;
9456
- mimeType?: string | null | undefined;
9457
9456
  size?: number | null | undefined;
9457
+ mimeType?: string | null | undefined;
9458
9458
  annotations?: {
9459
9459
  priority?: number | null | undefined;
9460
9460
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9480,8 +9480,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9480
9480
  sessionUpdate: "user_message_chunk";
9481
9481
  }, {
9482
9482
  content: {
9483
- type: "text";
9484
9483
  text: string;
9484
+ type: "text";
9485
9485
  annotations?: {
9486
9486
  priority?: number | null | undefined;
9487
9487
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9506,13 +9506,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
9506
9506
  lastModified?: string | null | undefined;
9507
9507
  } | null | undefined;
9508
9508
  } | {
9509
- type: "resource_link";
9510
9509
  name: string;
9510
+ type: "resource_link";
9511
9511
  uri: string;
9512
9512
  description?: string | null | undefined;
9513
9513
  title?: string | null | undefined;
9514
- mimeType?: string | null | undefined;
9515
9514
  size?: number | null | undefined;
9515
+ mimeType?: string | null | undefined;
9516
9516
  annotations?: {
9517
9517
  priority?: number | null | undefined;
9518
9518
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9554,16 +9554,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
9554
9554
  text: z.ZodString;
9555
9555
  type: z.ZodLiteral<"text">;
9556
9556
  }, "strip", z.ZodTypeAny, {
9557
- type: "text";
9558
9557
  text: string;
9558
+ type: "text";
9559
9559
  annotations?: {
9560
9560
  priority?: number | null | undefined;
9561
9561
  audience?: ("user" | "assistant")[] | null | undefined;
9562
9562
  lastModified?: string | null | undefined;
9563
9563
  } | null | undefined;
9564
9564
  }, {
9565
- type: "text";
9566
9565
  text: string;
9566
+ type: "text";
9567
9567
  annotations?: {
9568
9568
  priority?: number | null | undefined;
9569
9569
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9661,26 +9661,26 @@ export declare const agentNotificationSchema: z.ZodObject<{
9661
9661
  type: z.ZodLiteral<"resource_link">;
9662
9662
  uri: z.ZodString;
9663
9663
  }, "strip", z.ZodTypeAny, {
9664
- type: "resource_link";
9665
9664
  name: string;
9665
+ type: "resource_link";
9666
9666
  uri: string;
9667
9667
  description?: string | null | undefined;
9668
9668
  title?: string | null | undefined;
9669
- mimeType?: string | null | undefined;
9670
9669
  size?: number | null | undefined;
9670
+ mimeType?: string | null | undefined;
9671
9671
  annotations?: {
9672
9672
  priority?: number | null | undefined;
9673
9673
  audience?: ("user" | "assistant")[] | null | undefined;
9674
9674
  lastModified?: string | null | undefined;
9675
9675
  } | null | undefined;
9676
9676
  }, {
9677
- type: "resource_link";
9678
9677
  name: string;
9678
+ type: "resource_link";
9679
9679
  uri: string;
9680
9680
  description?: string | null | undefined;
9681
9681
  title?: string | null | undefined;
9682
- mimeType?: string | null | undefined;
9683
9682
  size?: number | null | undefined;
9683
+ mimeType?: string | null | undefined;
9684
9684
  annotations?: {
9685
9685
  priority?: number | null | undefined;
9686
9686
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9762,8 +9762,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9762
9762
  sessionUpdate: z.ZodLiteral<"agent_message_chunk">;
9763
9763
  }, "strip", z.ZodTypeAny, {
9764
9764
  content: {
9765
- type: "text";
9766
9765
  text: string;
9766
+ type: "text";
9767
9767
  annotations?: {
9768
9768
  priority?: number | null | undefined;
9769
9769
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9788,13 +9788,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
9788
9788
  lastModified?: string | null | undefined;
9789
9789
  } | null | undefined;
9790
9790
  } | {
9791
- type: "resource_link";
9792
9791
  name: string;
9792
+ type: "resource_link";
9793
9793
  uri: string;
9794
9794
  description?: string | null | undefined;
9795
9795
  title?: string | null | undefined;
9796
- mimeType?: string | null | undefined;
9797
9796
  size?: number | null | undefined;
9797
+ mimeType?: string | null | undefined;
9798
9798
  annotations?: {
9799
9799
  priority?: number | null | undefined;
9800
9800
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9820,8 +9820,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
9820
9820
  sessionUpdate: "agent_message_chunk";
9821
9821
  }, {
9822
9822
  content: {
9823
- type: "text";
9824
9823
  text: string;
9824
+ type: "text";
9825
9825
  annotations?: {
9826
9826
  priority?: number | null | undefined;
9827
9827
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9846,13 +9846,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
9846
9846
  lastModified?: string | null | undefined;
9847
9847
  } | null | undefined;
9848
9848
  } | {
9849
- type: "resource_link";
9850
9849
  name: string;
9850
+ type: "resource_link";
9851
9851
  uri: string;
9852
9852
  description?: string | null | undefined;
9853
9853
  title?: string | null | undefined;
9854
- mimeType?: string | null | undefined;
9855
9854
  size?: number | null | undefined;
9855
+ mimeType?: string | null | undefined;
9856
9856
  annotations?: {
9857
9857
  priority?: number | null | undefined;
9858
9858
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -9894,16 +9894,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
9894
9894
  text: z.ZodString;
9895
9895
  type: z.ZodLiteral<"text">;
9896
9896
  }, "strip", z.ZodTypeAny, {
9897
- type: "text";
9898
9897
  text: string;
9898
+ type: "text";
9899
9899
  annotations?: {
9900
9900
  priority?: number | null | undefined;
9901
9901
  audience?: ("user" | "assistant")[] | null | undefined;
9902
9902
  lastModified?: string | null | undefined;
9903
9903
  } | null | undefined;
9904
9904
  }, {
9905
- type: "text";
9906
9905
  text: string;
9906
+ type: "text";
9907
9907
  annotations?: {
9908
9908
  priority?: number | null | undefined;
9909
9909
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10001,26 +10001,26 @@ export declare const agentNotificationSchema: z.ZodObject<{
10001
10001
  type: z.ZodLiteral<"resource_link">;
10002
10002
  uri: z.ZodString;
10003
10003
  }, "strip", z.ZodTypeAny, {
10004
- type: "resource_link";
10005
10004
  name: string;
10005
+ type: "resource_link";
10006
10006
  uri: string;
10007
10007
  description?: string | null | undefined;
10008
10008
  title?: string | null | undefined;
10009
- mimeType?: string | null | undefined;
10010
10009
  size?: number | null | undefined;
10010
+ mimeType?: string | null | undefined;
10011
10011
  annotations?: {
10012
10012
  priority?: number | null | undefined;
10013
10013
  audience?: ("user" | "assistant")[] | null | undefined;
10014
10014
  lastModified?: string | null | undefined;
10015
10015
  } | null | undefined;
10016
10016
  }, {
10017
- type: "resource_link";
10018
10017
  name: string;
10018
+ type: "resource_link";
10019
10019
  uri: string;
10020
10020
  description?: string | null | undefined;
10021
10021
  title?: string | null | undefined;
10022
- mimeType?: string | null | undefined;
10023
10022
  size?: number | null | undefined;
10023
+ mimeType?: string | null | undefined;
10024
10024
  annotations?: {
10025
10025
  priority?: number | null | undefined;
10026
10026
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10102,8 +10102,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10102
10102
  sessionUpdate: z.ZodLiteral<"agent_thought_chunk">;
10103
10103
  }, "strip", z.ZodTypeAny, {
10104
10104
  content: {
10105
- type: "text";
10106
10105
  text: string;
10106
+ type: "text";
10107
10107
  annotations?: {
10108
10108
  priority?: number | null | undefined;
10109
10109
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10128,13 +10128,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
10128
10128
  lastModified?: string | null | undefined;
10129
10129
  } | null | undefined;
10130
10130
  } | {
10131
- type: "resource_link";
10132
10131
  name: string;
10132
+ type: "resource_link";
10133
10133
  uri: string;
10134
10134
  description?: string | null | undefined;
10135
10135
  title?: string | null | undefined;
10136
- mimeType?: string | null | undefined;
10137
10136
  size?: number | null | undefined;
10137
+ mimeType?: string | null | undefined;
10138
10138
  annotations?: {
10139
10139
  priority?: number | null | undefined;
10140
10140
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10160,8 +10160,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10160
10160
  sessionUpdate: "agent_thought_chunk";
10161
10161
  }, {
10162
10162
  content: {
10163
- type: "text";
10164
10163
  text: string;
10164
+ type: "text";
10165
10165
  annotations?: {
10166
10166
  priority?: number | null | undefined;
10167
10167
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10186,13 +10186,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
10186
10186
  lastModified?: string | null | undefined;
10187
10187
  } | null | undefined;
10188
10188
  } | {
10189
- type: "resource_link";
10190
10189
  name: string;
10190
+ type: "resource_link";
10191
10191
  uri: string;
10192
10192
  description?: string | null | undefined;
10193
10193
  title?: string | null | undefined;
10194
- mimeType?: string | null | undefined;
10195
10194
  size?: number | null | undefined;
10195
+ mimeType?: string | null | undefined;
10196
10196
  annotations?: {
10197
10197
  priority?: number | null | undefined;
10198
10198
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10235,16 +10235,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
10235
10235
  text: z.ZodString;
10236
10236
  type: z.ZodLiteral<"text">;
10237
10237
  }, "strip", z.ZodTypeAny, {
10238
- type: "text";
10239
10238
  text: string;
10239
+ type: "text";
10240
10240
  annotations?: {
10241
10241
  priority?: number | null | undefined;
10242
10242
  audience?: ("user" | "assistant")[] | null | undefined;
10243
10243
  lastModified?: string | null | undefined;
10244
10244
  } | null | undefined;
10245
10245
  }, {
10246
- type: "text";
10247
10246
  text: string;
10247
+ type: "text";
10248
10248
  annotations?: {
10249
10249
  priority?: number | null | undefined;
10250
10250
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10342,26 +10342,26 @@ export declare const agentNotificationSchema: z.ZodObject<{
10342
10342
  type: z.ZodLiteral<"resource_link">;
10343
10343
  uri: z.ZodString;
10344
10344
  }, "strip", z.ZodTypeAny, {
10345
- type: "resource_link";
10346
10345
  name: string;
10346
+ type: "resource_link";
10347
10347
  uri: string;
10348
10348
  description?: string | null | undefined;
10349
10349
  title?: string | null | undefined;
10350
- mimeType?: string | null | undefined;
10351
10350
  size?: number | null | undefined;
10351
+ mimeType?: string | null | undefined;
10352
10352
  annotations?: {
10353
10353
  priority?: number | null | undefined;
10354
10354
  audience?: ("user" | "assistant")[] | null | undefined;
10355
10355
  lastModified?: string | null | undefined;
10356
10356
  } | null | undefined;
10357
10357
  }, {
10358
- type: "resource_link";
10359
10358
  name: string;
10359
+ type: "resource_link";
10360
10360
  uri: string;
10361
10361
  description?: string | null | undefined;
10362
10362
  title?: string | null | undefined;
10363
- mimeType?: string | null | undefined;
10364
10363
  size?: number | null | undefined;
10364
+ mimeType?: string | null | undefined;
10365
10365
  annotations?: {
10366
10366
  priority?: number | null | undefined;
10367
10367
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10444,8 +10444,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10444
10444
  }, "strip", z.ZodTypeAny, {
10445
10445
  type: "content";
10446
10446
  content: {
10447
- type: "text";
10448
10447
  text: string;
10448
+ type: "text";
10449
10449
  annotations?: {
10450
10450
  priority?: number | null | undefined;
10451
10451
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10470,13 +10470,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
10470
10470
  lastModified?: string | null | undefined;
10471
10471
  } | null | undefined;
10472
10472
  } | {
10473
- type: "resource_link";
10474
10473
  name: string;
10474
+ type: "resource_link";
10475
10475
  uri: string;
10476
10476
  description?: string | null | undefined;
10477
10477
  title?: string | null | undefined;
10478
- mimeType?: string | null | undefined;
10479
10478
  size?: number | null | undefined;
10479
+ mimeType?: string | null | undefined;
10480
10480
  annotations?: {
10481
10481
  priority?: number | null | undefined;
10482
10482
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10502,8 +10502,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10502
10502
  }, {
10503
10503
  type: "content";
10504
10504
  content: {
10505
- type: "text";
10506
10505
  text: string;
10506
+ type: "text";
10507
10507
  annotations?: {
10508
10508
  priority?: number | null | undefined;
10509
10509
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10528,13 +10528,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
10528
10528
  lastModified?: string | null | undefined;
10529
10529
  } | null | undefined;
10530
10530
  } | {
10531
- type: "resource_link";
10532
10531
  name: string;
10532
+ type: "resource_link";
10533
10533
  uri: string;
10534
10534
  description?: string | null | undefined;
10535
10535
  title?: string | null | undefined;
10536
- mimeType?: string | null | undefined;
10537
10536
  size?: number | null | undefined;
10537
+ mimeType?: string | null | undefined;
10538
10538
  annotations?: {
10539
10539
  priority?: number | null | undefined;
10540
10540
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10590,16 +10590,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
10590
10590
  title: z.ZodString;
10591
10591
  toolCallId: z.ZodString;
10592
10592
  }, "strip", z.ZodTypeAny, {
10593
- status: "completed" | "failed" | "pending" | "in_progress";
10594
10593
  title: string;
10595
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
10594
+ status: "completed" | "failed" | "pending" | "in_progress";
10595
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
10596
10596
  toolCallId: string;
10597
10597
  sessionUpdate: "tool_call";
10598
10598
  content?: ({
10599
10599
  type: "content";
10600
10600
  content: {
10601
- type: "text";
10602
10601
  text: string;
10602
+ type: "text";
10603
10603
  annotations?: {
10604
10604
  priority?: number | null | undefined;
10605
10605
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10624,13 +10624,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
10624
10624
  lastModified?: string | null | undefined;
10625
10625
  } | null | undefined;
10626
10626
  } | {
10627
- type: "resource_link";
10628
10627
  name: string;
10628
+ type: "resource_link";
10629
10629
  uri: string;
10630
10630
  description?: string | null | undefined;
10631
10631
  title?: string | null | undefined;
10632
- mimeType?: string | null | undefined;
10633
10632
  size?: number | null | undefined;
10633
+ mimeType?: string | null | undefined;
10634
10634
  annotations?: {
10635
10635
  priority?: number | null | undefined;
10636
10636
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10665,16 +10665,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
10665
10665
  }[] | undefined;
10666
10666
  rawInput?: unknown;
10667
10667
  }, {
10668
- status: "completed" | "failed" | "pending" | "in_progress";
10669
10668
  title: string;
10670
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
10669
+ status: "completed" | "failed" | "pending" | "in_progress";
10670
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
10671
10671
  toolCallId: string;
10672
10672
  sessionUpdate: "tool_call";
10673
10673
  content?: ({
10674
10674
  type: "content";
10675
10675
  content: {
10676
- type: "text";
10677
10676
  text: string;
10677
+ type: "text";
10678
10678
  annotations?: {
10679
10679
  priority?: number | null | undefined;
10680
10680
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10699,13 +10699,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
10699
10699
  lastModified?: string | null | undefined;
10700
10700
  } | null | undefined;
10701
10701
  } | {
10702
- type: "resource_link";
10703
10702
  name: string;
10703
+ type: "resource_link";
10704
10704
  uri: string;
10705
10705
  description?: string | null | undefined;
10706
10706
  title?: string | null | undefined;
10707
- mimeType?: string | null | undefined;
10708
10707
  size?: number | null | undefined;
10708
+ mimeType?: string | null | undefined;
10709
10709
  annotations?: {
10710
10710
  priority?: number | null | undefined;
10711
10711
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10758,16 +10758,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
10758
10758
  text: z.ZodString;
10759
10759
  type: z.ZodLiteral<"text">;
10760
10760
  }, "strip", z.ZodTypeAny, {
10761
- type: "text";
10762
10761
  text: string;
10762
+ type: "text";
10763
10763
  annotations?: {
10764
10764
  priority?: number | null | undefined;
10765
10765
  audience?: ("user" | "assistant")[] | null | undefined;
10766
10766
  lastModified?: string | null | undefined;
10767
10767
  } | null | undefined;
10768
10768
  }, {
10769
- type: "text";
10770
10769
  text: string;
10770
+ type: "text";
10771
10771
  annotations?: {
10772
10772
  priority?: number | null | undefined;
10773
10773
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10865,26 +10865,26 @@ export declare const agentNotificationSchema: z.ZodObject<{
10865
10865
  type: z.ZodLiteral<"resource_link">;
10866
10866
  uri: z.ZodString;
10867
10867
  }, "strip", z.ZodTypeAny, {
10868
- type: "resource_link";
10869
10868
  name: string;
10869
+ type: "resource_link";
10870
10870
  uri: string;
10871
10871
  description?: string | null | undefined;
10872
10872
  title?: string | null | undefined;
10873
- mimeType?: string | null | undefined;
10874
10873
  size?: number | null | undefined;
10874
+ mimeType?: string | null | undefined;
10875
10875
  annotations?: {
10876
10876
  priority?: number | null | undefined;
10877
10877
  audience?: ("user" | "assistant")[] | null | undefined;
10878
10878
  lastModified?: string | null | undefined;
10879
10879
  } | null | undefined;
10880
10880
  }, {
10881
- type: "resource_link";
10882
10881
  name: string;
10882
+ type: "resource_link";
10883
10883
  uri: string;
10884
10884
  description?: string | null | undefined;
10885
10885
  title?: string | null | undefined;
10886
- mimeType?: string | null | undefined;
10887
10886
  size?: number | null | undefined;
10887
+ mimeType?: string | null | undefined;
10888
10888
  annotations?: {
10889
10889
  priority?: number | null | undefined;
10890
10890
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10967,8 +10967,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
10967
10967
  }, "strip", z.ZodTypeAny, {
10968
10968
  type: "content";
10969
10969
  content: {
10970
- type: "text";
10971
10970
  text: string;
10971
+ type: "text";
10972
10972
  annotations?: {
10973
10973
  priority?: number | null | undefined;
10974
10974
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -10993,13 +10993,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
10993
10993
  lastModified?: string | null | undefined;
10994
10994
  } | null | undefined;
10995
10995
  } | {
10996
- type: "resource_link";
10997
10996
  name: string;
10997
+ type: "resource_link";
10998
10998
  uri: string;
10999
10999
  description?: string | null | undefined;
11000
11000
  title?: string | null | undefined;
11001
- mimeType?: string | null | undefined;
11002
11001
  size?: number | null | undefined;
11002
+ mimeType?: string | null | undefined;
11003
11003
  annotations?: {
11004
11004
  priority?: number | null | undefined;
11005
11005
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11025,8 +11025,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11025
11025
  }, {
11026
11026
  type: "content";
11027
11027
  content: {
11028
- type: "text";
11029
11028
  text: string;
11029
+ type: "text";
11030
11030
  annotations?: {
11031
11031
  priority?: number | null | undefined;
11032
11032
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11051,13 +11051,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
11051
11051
  lastModified?: string | null | undefined;
11052
11052
  } | null | undefined;
11053
11053
  } | {
11054
- type: "resource_link";
11055
11054
  name: string;
11055
+ type: "resource_link";
11056
11056
  uri: string;
11057
11057
  description?: string | null | undefined;
11058
11058
  title?: string | null | undefined;
11059
- mimeType?: string | null | undefined;
11060
11059
  size?: number | null | undefined;
11060
+ mimeType?: string | null | undefined;
11061
11061
  annotations?: {
11062
11062
  priority?: number | null | undefined;
11063
11063
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11115,12 +11115,11 @@ export declare const agentNotificationSchema: z.ZodObject<{
11115
11115
  }, "strip", z.ZodTypeAny, {
11116
11116
  toolCallId: string;
11117
11117
  sessionUpdate: "tool_call_update";
11118
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
11119
11118
  content?: ({
11120
11119
  type: "content";
11121
11120
  content: {
11122
- type: "text";
11123
11121
  text: string;
11122
+ type: "text";
11124
11123
  annotations?: {
11125
11124
  priority?: number | null | undefined;
11126
11125
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11145,13 +11144,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
11145
11144
  lastModified?: string | null | undefined;
11146
11145
  } | null | undefined;
11147
11146
  } | {
11148
- type: "resource_link";
11149
11147
  name: string;
11148
+ type: "resource_link";
11150
11149
  uri: string;
11151
11150
  description?: string | null | undefined;
11152
11151
  title?: string | null | undefined;
11153
- mimeType?: string | null | undefined;
11154
11152
  size?: number | null | undefined;
11153
+ mimeType?: string | null | undefined;
11155
11154
  annotations?: {
11156
11155
  priority?: number | null | undefined;
11157
11156
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11181,7 +11180,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11181
11180
  oldText: string | null;
11182
11181
  })[] | null | undefined;
11183
11182
  title?: string | null | undefined;
11184
- kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
11183
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
11184
+ kind?: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
11185
11185
  locations?: {
11186
11186
  path: string;
11187
11187
  line?: number | null | undefined;
@@ -11190,12 +11190,11 @@ export declare const agentNotificationSchema: z.ZodObject<{
11190
11190
  }, {
11191
11191
  toolCallId: string;
11192
11192
  sessionUpdate: "tool_call_update";
11193
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
11194
11193
  content?: ({
11195
11194
  type: "content";
11196
11195
  content: {
11197
- type: "text";
11198
11196
  text: string;
11197
+ type: "text";
11199
11198
  annotations?: {
11200
11199
  priority?: number | null | undefined;
11201
11200
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11220,13 +11219,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
11220
11219
  lastModified?: string | null | undefined;
11221
11220
  } | null | undefined;
11222
11221
  } | {
11223
- type: "resource_link";
11224
11222
  name: string;
11223
+ type: "resource_link";
11225
11224
  uri: string;
11226
11225
  description?: string | null | undefined;
11227
11226
  title?: string | null | undefined;
11228
- mimeType?: string | null | undefined;
11229
11227
  size?: number | null | undefined;
11228
+ mimeType?: string | null | undefined;
11230
11229
  annotations?: {
11231
11230
  priority?: number | null | undefined;
11232
11231
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11256,7 +11255,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11256
11255
  oldText: string | null;
11257
11256
  })[] | null | undefined;
11258
11257
  title?: string | null | undefined;
11259
- kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
11258
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
11259
+ kind?: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
11260
11260
  locations?: {
11261
11261
  path: string;
11262
11262
  line?: number | null | undefined;
@@ -11268,26 +11268,26 @@ export declare const agentNotificationSchema: z.ZodObject<{
11268
11268
  priority: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>;
11269
11269
  status: z.ZodUnion<[z.ZodLiteral<"pending">, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>;
11270
11270
  }, "strip", z.ZodTypeAny, {
11271
- status: "completed" | "pending" | "in_progress";
11272
11271
  content: string;
11272
+ status: "completed" | "pending" | "in_progress";
11273
11273
  priority: "medium" | "high" | "low";
11274
11274
  }, {
11275
- status: "completed" | "pending" | "in_progress";
11276
11275
  content: string;
11276
+ status: "completed" | "pending" | "in_progress";
11277
11277
  priority: "medium" | "high" | "low";
11278
11278
  }>, "many">;
11279
11279
  sessionUpdate: z.ZodLiteral<"plan">;
11280
11280
  }, "strip", z.ZodTypeAny, {
11281
11281
  entries: {
11282
- status: "completed" | "pending" | "in_progress";
11283
11282
  content: string;
11283
+ status: "completed" | "pending" | "in_progress";
11284
11284
  priority: "medium" | "high" | "low";
11285
11285
  }[];
11286
11286
  sessionUpdate: "plan";
11287
11287
  }, {
11288
11288
  entries: {
11289
- status: "completed" | "pending" | "in_progress";
11290
11289
  content: string;
11290
+ status: "completed" | "pending" | "in_progress";
11291
11291
  priority: "medium" | "high" | "low";
11292
11292
  }[];
11293
11293
  sessionUpdate: "plan";
@@ -11339,8 +11339,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11339
11339
  sessionId: string;
11340
11340
  update: {
11341
11341
  content: {
11342
- type: "text";
11343
11342
  text: string;
11343
+ type: "text";
11344
11344
  annotations?: {
11345
11345
  priority?: number | null | undefined;
11346
11346
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11365,13 +11365,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
11365
11365
  lastModified?: string | null | undefined;
11366
11366
  } | null | undefined;
11367
11367
  } | {
11368
- type: "resource_link";
11369
11368
  name: string;
11369
+ type: "resource_link";
11370
11370
  uri: string;
11371
11371
  description?: string | null | undefined;
11372
11372
  title?: string | null | undefined;
11373
- mimeType?: string | null | undefined;
11374
11373
  size?: number | null | undefined;
11374
+ mimeType?: string | null | undefined;
11375
11375
  annotations?: {
11376
11376
  priority?: number | null | undefined;
11377
11377
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11397,8 +11397,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11397
11397
  sessionUpdate: "user_message_chunk";
11398
11398
  } | {
11399
11399
  content: {
11400
- type: "text";
11401
11400
  text: string;
11401
+ type: "text";
11402
11402
  annotations?: {
11403
11403
  priority?: number | null | undefined;
11404
11404
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11423,13 +11423,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
11423
11423
  lastModified?: string | null | undefined;
11424
11424
  } | null | undefined;
11425
11425
  } | {
11426
- type: "resource_link";
11427
11426
  name: string;
11427
+ type: "resource_link";
11428
11428
  uri: string;
11429
11429
  description?: string | null | undefined;
11430
11430
  title?: string | null | undefined;
11431
- mimeType?: string | null | undefined;
11432
11431
  size?: number | null | undefined;
11432
+ mimeType?: string | null | undefined;
11433
11433
  annotations?: {
11434
11434
  priority?: number | null | undefined;
11435
11435
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11455,8 +11455,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11455
11455
  sessionUpdate: "agent_message_chunk";
11456
11456
  } | {
11457
11457
  content: {
11458
- type: "text";
11459
11458
  text: string;
11459
+ type: "text";
11460
11460
  annotations?: {
11461
11461
  priority?: number | null | undefined;
11462
11462
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11481,13 +11481,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
11481
11481
  lastModified?: string | null | undefined;
11482
11482
  } | null | undefined;
11483
11483
  } | {
11484
- type: "resource_link";
11485
11484
  name: string;
11485
+ type: "resource_link";
11486
11486
  uri: string;
11487
11487
  description?: string | null | undefined;
11488
11488
  title?: string | null | undefined;
11489
- mimeType?: string | null | undefined;
11490
11489
  size?: number | null | undefined;
11490
+ mimeType?: string | null | undefined;
11491
11491
  annotations?: {
11492
11492
  priority?: number | null | undefined;
11493
11493
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11512,16 +11512,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
11512
11512
  };
11513
11513
  sessionUpdate: "agent_thought_chunk";
11514
11514
  } | {
11515
- status: "completed" | "failed" | "pending" | "in_progress";
11516
11515
  title: string;
11517
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
11516
+ status: "completed" | "failed" | "pending" | "in_progress";
11517
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
11518
11518
  toolCallId: string;
11519
11519
  sessionUpdate: "tool_call";
11520
11520
  content?: ({
11521
11521
  type: "content";
11522
11522
  content: {
11523
- type: "text";
11524
11523
  text: string;
11524
+ type: "text";
11525
11525
  annotations?: {
11526
11526
  priority?: number | null | undefined;
11527
11527
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11546,13 +11546,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
11546
11546
  lastModified?: string | null | undefined;
11547
11547
  } | null | undefined;
11548
11548
  } | {
11549
- type: "resource_link";
11550
11549
  name: string;
11550
+ type: "resource_link";
11551
11551
  uri: string;
11552
11552
  description?: string | null | undefined;
11553
11553
  title?: string | null | undefined;
11554
- mimeType?: string | null | undefined;
11555
11554
  size?: number | null | undefined;
11555
+ mimeType?: string | null | undefined;
11556
11556
  annotations?: {
11557
11557
  priority?: number | null | undefined;
11558
11558
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11589,12 +11589,11 @@ export declare const agentNotificationSchema: z.ZodObject<{
11589
11589
  } | {
11590
11590
  toolCallId: string;
11591
11591
  sessionUpdate: "tool_call_update";
11592
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
11593
11592
  content?: ({
11594
11593
  type: "content";
11595
11594
  content: {
11596
- type: "text";
11597
11595
  text: string;
11596
+ type: "text";
11598
11597
  annotations?: {
11599
11598
  priority?: number | null | undefined;
11600
11599
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11619,13 +11618,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
11619
11618
  lastModified?: string | null | undefined;
11620
11619
  } | null | undefined;
11621
11620
  } | {
11622
- type: "resource_link";
11623
11621
  name: string;
11622
+ type: "resource_link";
11624
11623
  uri: string;
11625
11624
  description?: string | null | undefined;
11626
11625
  title?: string | null | undefined;
11627
- mimeType?: string | null | undefined;
11628
11626
  size?: number | null | undefined;
11627
+ mimeType?: string | null | undefined;
11629
11628
  annotations?: {
11630
11629
  priority?: number | null | undefined;
11631
11630
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11655,7 +11654,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11655
11654
  oldText: string | null;
11656
11655
  })[] | null | undefined;
11657
11656
  title?: string | null | undefined;
11658
- kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
11657
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
11658
+ kind?: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
11659
11659
  locations?: {
11660
11660
  path: string;
11661
11661
  line?: number | null | undefined;
@@ -11663,8 +11663,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11663
11663
  rawInput?: unknown;
11664
11664
  } | {
11665
11665
  entries: {
11666
- status: "completed" | "pending" | "in_progress";
11667
11666
  content: string;
11667
+ status: "completed" | "pending" | "in_progress";
11668
11668
  priority: "medium" | "high" | "low";
11669
11669
  }[];
11670
11670
  sessionUpdate: "plan";
@@ -11682,8 +11682,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11682
11682
  sessionId: string;
11683
11683
  update: {
11684
11684
  content: {
11685
- type: "text";
11686
11685
  text: string;
11686
+ type: "text";
11687
11687
  annotations?: {
11688
11688
  priority?: number | null | undefined;
11689
11689
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11708,13 +11708,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
11708
11708
  lastModified?: string | null | undefined;
11709
11709
  } | null | undefined;
11710
11710
  } | {
11711
- type: "resource_link";
11712
11711
  name: string;
11712
+ type: "resource_link";
11713
11713
  uri: string;
11714
11714
  description?: string | null | undefined;
11715
11715
  title?: string | null | undefined;
11716
- mimeType?: string | null | undefined;
11717
11716
  size?: number | null | undefined;
11717
+ mimeType?: string | null | undefined;
11718
11718
  annotations?: {
11719
11719
  priority?: number | null | undefined;
11720
11720
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11740,8 +11740,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11740
11740
  sessionUpdate: "user_message_chunk";
11741
11741
  } | {
11742
11742
  content: {
11743
- type: "text";
11744
11743
  text: string;
11744
+ type: "text";
11745
11745
  annotations?: {
11746
11746
  priority?: number | null | undefined;
11747
11747
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11766,13 +11766,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
11766
11766
  lastModified?: string | null | undefined;
11767
11767
  } | null | undefined;
11768
11768
  } | {
11769
- type: "resource_link";
11770
11769
  name: string;
11770
+ type: "resource_link";
11771
11771
  uri: string;
11772
11772
  description?: string | null | undefined;
11773
11773
  title?: string | null | undefined;
11774
- mimeType?: string | null | undefined;
11775
11774
  size?: number | null | undefined;
11775
+ mimeType?: string | null | undefined;
11776
11776
  annotations?: {
11777
11777
  priority?: number | null | undefined;
11778
11778
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11798,8 +11798,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11798
11798
  sessionUpdate: "agent_message_chunk";
11799
11799
  } | {
11800
11800
  content: {
11801
- type: "text";
11802
11801
  text: string;
11802
+ type: "text";
11803
11803
  annotations?: {
11804
11804
  priority?: number | null | undefined;
11805
11805
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11824,13 +11824,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
11824
11824
  lastModified?: string | null | undefined;
11825
11825
  } | null | undefined;
11826
11826
  } | {
11827
- type: "resource_link";
11828
11827
  name: string;
11828
+ type: "resource_link";
11829
11829
  uri: string;
11830
11830
  description?: string | null | undefined;
11831
11831
  title?: string | null | undefined;
11832
- mimeType?: string | null | undefined;
11833
11832
  size?: number | null | undefined;
11833
+ mimeType?: string | null | undefined;
11834
11834
  annotations?: {
11835
11835
  priority?: number | null | undefined;
11836
11836
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11855,16 +11855,16 @@ export declare const agentNotificationSchema: z.ZodObject<{
11855
11855
  };
11856
11856
  sessionUpdate: "agent_thought_chunk";
11857
11857
  } | {
11858
- status: "completed" | "failed" | "pending" | "in_progress";
11859
11858
  title: string;
11860
- kind: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch";
11859
+ status: "completed" | "failed" | "pending" | "in_progress";
11860
+ kind: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch";
11861
11861
  toolCallId: string;
11862
11862
  sessionUpdate: "tool_call";
11863
11863
  content?: ({
11864
11864
  type: "content";
11865
11865
  content: {
11866
- type: "text";
11867
11866
  text: string;
11867
+ type: "text";
11868
11868
  annotations?: {
11869
11869
  priority?: number | null | undefined;
11870
11870
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11889,13 +11889,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
11889
11889
  lastModified?: string | null | undefined;
11890
11890
  } | null | undefined;
11891
11891
  } | {
11892
- type: "resource_link";
11893
11892
  name: string;
11893
+ type: "resource_link";
11894
11894
  uri: string;
11895
11895
  description?: string | null | undefined;
11896
11896
  title?: string | null | undefined;
11897
- mimeType?: string | null | undefined;
11898
11897
  size?: number | null | undefined;
11898
+ mimeType?: string | null | undefined;
11899
11899
  annotations?: {
11900
11900
  priority?: number | null | undefined;
11901
11901
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11932,12 +11932,11 @@ export declare const agentNotificationSchema: z.ZodObject<{
11932
11932
  } | {
11933
11933
  toolCallId: string;
11934
11934
  sessionUpdate: "tool_call_update";
11935
- status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
11936
11935
  content?: ({
11937
11936
  type: "content";
11938
11937
  content: {
11939
- type: "text";
11940
11938
  text: string;
11939
+ type: "text";
11941
11940
  annotations?: {
11942
11941
  priority?: number | null | undefined;
11943
11942
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11962,13 +11961,13 @@ export declare const agentNotificationSchema: z.ZodObject<{
11962
11961
  lastModified?: string | null | undefined;
11963
11962
  } | null | undefined;
11964
11963
  } | {
11965
- type: "resource_link";
11966
11964
  name: string;
11965
+ type: "resource_link";
11967
11966
  uri: string;
11968
11967
  description?: string | null | undefined;
11969
11968
  title?: string | null | undefined;
11970
- mimeType?: string | null | undefined;
11971
11969
  size?: number | null | undefined;
11970
+ mimeType?: string | null | undefined;
11972
11971
  annotations?: {
11973
11972
  priority?: number | null | undefined;
11974
11973
  audience?: ("user" | "assistant")[] | null | undefined;
@@ -11998,7 +11997,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
11998
11997
  oldText: string | null;
11999
11998
  })[] | null | undefined;
12000
11999
  title?: string | null | undefined;
12001
- kind?: "search" | "edit" | "delete" | "move" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
12000
+ status?: "completed" | "failed" | "pending" | "in_progress" | null | undefined;
12001
+ kind?: "search" | "delete" | "move" | "edit" | "other" | "read" | "execute" | "think" | "fetch" | null | undefined;
12002
12002
  locations?: {
12003
12003
  path: string;
12004
12004
  line?: number | null | undefined;
@@ -12006,8 +12006,8 @@ export declare const agentNotificationSchema: z.ZodObject<{
12006
12006
  rawInput?: unknown;
12007
12007
  } | {
12008
12008
  entries: {
12009
- status: "completed" | "pending" | "in_progress";
12010
12009
  content: string;
12010
+ status: "completed" | "pending" | "in_progress";
12011
12011
  priority: "medium" | "high" | "low";
12012
12012
  }[];
12013
12013
  sessionUpdate: "plan";