@modelcontextprotocol/sdk 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cli.js +13 -0
- package/dist/cli.js.map +1 -1
- package/dist/client/index.d.ts +23 -12
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +133 -37
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.test.js +301 -3
- package/dist/client/index.test.js.map +1 -1
- package/dist/client/stdio.d.ts +7 -0
- package/dist/client/stdio.d.ts.map +1 -1
- package/dist/client/stdio.js +6 -5
- package/dist/client/stdio.js.map +1 -1
- package/dist/inMemory.d.ts +20 -0
- package/dist/inMemory.d.ts.map +1 -0
- package/dist/inMemory.js +47 -0
- package/dist/inMemory.js.map +1 -0
- package/dist/inMemory.test.d.ts +2 -0
- package/dist/inMemory.test.d.ts.map +1 -0
- package/dist/inMemory.test.js +74 -0
- package/dist/inMemory.test.js.map +1 -0
- package/dist/server/index.d.ts +15 -5
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +99 -23
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.test.js +310 -3
- package/dist/server/index.test.js.map +1 -1
- package/dist/shared/protocol.d.ts +64 -7
- package/dist/shared/protocol.d.ts.map +1 -1
- package/dist/shared/protocol.js +60 -11
- package/dist/shared/protocol.js.map +1 -1
- package/dist/types.d.ts +753 -362
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +55 -26
- package/dist/types.js.map +1 -1
- package/dist/utils.d.ts +5 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +11 -0
- package/dist/utils.js.map +1 -0
- package/dist/utils.test.d.ts +2 -0
- package/dist/utils.test.d.ts.map +1 -0
- package/dist/utils.test.js +14 -0
- package/dist/utils.test.js.map +1 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -631,6 +631,103 @@ export declare const EmptyResultSchema: z.ZodObject<{
|
|
|
631
631
|
}, {
|
|
632
632
|
_meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
633
633
|
}>;
|
|
634
|
+
/**
|
|
635
|
+
* This notification can be sent by either side to indicate that it is cancelling a previously-issued request.
|
|
636
|
+
*
|
|
637
|
+
* The request SHOULD still be in-flight, but due to communication latency, it is always possible that this notification MAY arrive after the request has already finished.
|
|
638
|
+
*
|
|
639
|
+
* This notification indicates that the result will be unused, so any associated processing SHOULD cease.
|
|
640
|
+
*
|
|
641
|
+
* A client MUST NOT attempt to cancel its `initialize` request.
|
|
642
|
+
*/
|
|
643
|
+
export declare const CancelledNotificationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
644
|
+
method: z.ZodString;
|
|
645
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
646
|
+
/**
|
|
647
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
648
|
+
*/
|
|
649
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
650
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
651
|
+
/**
|
|
652
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
653
|
+
*/
|
|
654
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
655
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
656
|
+
/**
|
|
657
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
658
|
+
*/
|
|
659
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
660
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
661
|
+
}, {
|
|
662
|
+
method: z.ZodLiteral<"notifications/cancelled">;
|
|
663
|
+
params: z.ZodObject<z.objectUtil.extendShape<{
|
|
664
|
+
/**
|
|
665
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
666
|
+
*/
|
|
667
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
668
|
+
}, {
|
|
669
|
+
/**
|
|
670
|
+
* The ID of the request to cancel.
|
|
671
|
+
*
|
|
672
|
+
* This MUST correspond to the ID of a request previously issued in the same direction.
|
|
673
|
+
*/
|
|
674
|
+
requestId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
675
|
+
/**
|
|
676
|
+
* An optional string describing the reason for the cancellation. This MAY be logged or presented to the user.
|
|
677
|
+
*/
|
|
678
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
679
|
+
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
680
|
+
/**
|
|
681
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
682
|
+
*/
|
|
683
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
684
|
+
}, {
|
|
685
|
+
/**
|
|
686
|
+
* The ID of the request to cancel.
|
|
687
|
+
*
|
|
688
|
+
* This MUST correspond to the ID of a request previously issued in the same direction.
|
|
689
|
+
*/
|
|
690
|
+
requestId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
691
|
+
/**
|
|
692
|
+
* An optional string describing the reason for the cancellation. This MAY be logged or presented to the user.
|
|
693
|
+
*/
|
|
694
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
695
|
+
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
696
|
+
/**
|
|
697
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
698
|
+
*/
|
|
699
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
700
|
+
}, {
|
|
701
|
+
/**
|
|
702
|
+
* The ID of the request to cancel.
|
|
703
|
+
*
|
|
704
|
+
* This MUST correspond to the ID of a request previously issued in the same direction.
|
|
705
|
+
*/
|
|
706
|
+
requestId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
707
|
+
/**
|
|
708
|
+
* An optional string describing the reason for the cancellation. This MAY be logged or presented to the user.
|
|
709
|
+
*/
|
|
710
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
711
|
+
}>, z.ZodTypeAny, "passthrough">>;
|
|
712
|
+
}>, "strip", z.ZodTypeAny, {
|
|
713
|
+
params: {
|
|
714
|
+
requestId: string | number;
|
|
715
|
+
_meta?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
716
|
+
reason?: string | undefined;
|
|
717
|
+
} & {
|
|
718
|
+
[k: string]: unknown;
|
|
719
|
+
};
|
|
720
|
+
method: "notifications/cancelled";
|
|
721
|
+
}, {
|
|
722
|
+
params: {
|
|
723
|
+
requestId: string | number;
|
|
724
|
+
_meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
725
|
+
reason?: string | undefined;
|
|
726
|
+
} & {
|
|
727
|
+
[k: string]: unknown;
|
|
728
|
+
};
|
|
729
|
+
method: "notifications/cancelled";
|
|
730
|
+
}>;
|
|
634
731
|
/**
|
|
635
732
|
* Describes the name and version of an MCP implementation.
|
|
636
733
|
*/
|
|
@@ -661,17 +758,17 @@ export declare const ClientCapabilitiesSchema: z.ZodObject<{
|
|
|
661
758
|
*/
|
|
662
759
|
roots: z.ZodOptional<z.ZodObject<{
|
|
663
760
|
/**
|
|
664
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
761
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
665
762
|
*/
|
|
666
763
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
667
764
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
668
765
|
/**
|
|
669
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
766
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
670
767
|
*/
|
|
671
768
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
672
769
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
673
770
|
/**
|
|
674
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
771
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
675
772
|
*/
|
|
676
773
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
677
774
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -689,17 +786,17 @@ export declare const ClientCapabilitiesSchema: z.ZodObject<{
|
|
|
689
786
|
*/
|
|
690
787
|
roots: z.ZodOptional<z.ZodObject<{
|
|
691
788
|
/**
|
|
692
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
789
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
693
790
|
*/
|
|
694
791
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
695
792
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
696
793
|
/**
|
|
697
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
794
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
698
795
|
*/
|
|
699
796
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
700
797
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
701
798
|
/**
|
|
702
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
799
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
703
800
|
*/
|
|
704
801
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
705
802
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -717,17 +814,17 @@ export declare const ClientCapabilitiesSchema: z.ZodObject<{
|
|
|
717
814
|
*/
|
|
718
815
|
roots: z.ZodOptional<z.ZodObject<{
|
|
719
816
|
/**
|
|
720
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
817
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
721
818
|
*/
|
|
722
819
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
723
820
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
724
821
|
/**
|
|
725
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
822
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
726
823
|
*/
|
|
727
824
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
728
825
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
729
826
|
/**
|
|
730
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
827
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
731
828
|
*/
|
|
732
829
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
733
830
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -827,17 +924,17 @@ export declare const InitializeRequestSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
827
924
|
*/
|
|
828
925
|
roots: z.ZodOptional<z.ZodObject<{
|
|
829
926
|
/**
|
|
830
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
927
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
831
928
|
*/
|
|
832
929
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
833
930
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
834
931
|
/**
|
|
835
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
932
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
836
933
|
*/
|
|
837
934
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
838
935
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
839
936
|
/**
|
|
840
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
937
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
841
938
|
*/
|
|
842
939
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
843
940
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -855,17 +952,17 @@ export declare const InitializeRequestSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
855
952
|
*/
|
|
856
953
|
roots: z.ZodOptional<z.ZodObject<{
|
|
857
954
|
/**
|
|
858
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
955
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
859
956
|
*/
|
|
860
957
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
861
958
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
862
959
|
/**
|
|
863
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
960
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
864
961
|
*/
|
|
865
962
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
866
963
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
867
964
|
/**
|
|
868
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
965
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
869
966
|
*/
|
|
870
967
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
871
968
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -883,17 +980,17 @@ export declare const InitializeRequestSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
883
980
|
*/
|
|
884
981
|
roots: z.ZodOptional<z.ZodObject<{
|
|
885
982
|
/**
|
|
886
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
983
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
887
984
|
*/
|
|
888
985
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
889
986
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
890
987
|
/**
|
|
891
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
988
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
892
989
|
*/
|
|
893
990
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
894
991
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
895
992
|
/**
|
|
896
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
993
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
897
994
|
*/
|
|
898
995
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
899
996
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -944,17 +1041,17 @@ export declare const InitializeRequestSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
944
1041
|
*/
|
|
945
1042
|
roots: z.ZodOptional<z.ZodObject<{
|
|
946
1043
|
/**
|
|
947
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1044
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
948
1045
|
*/
|
|
949
1046
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
950
1047
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
951
1048
|
/**
|
|
952
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1049
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
953
1050
|
*/
|
|
954
1051
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
955
1052
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
956
1053
|
/**
|
|
957
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1054
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
958
1055
|
*/
|
|
959
1056
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
960
1057
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -972,17 +1069,17 @@ export declare const InitializeRequestSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
972
1069
|
*/
|
|
973
1070
|
roots: z.ZodOptional<z.ZodObject<{
|
|
974
1071
|
/**
|
|
975
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1072
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
976
1073
|
*/
|
|
977
1074
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
978
1075
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
979
1076
|
/**
|
|
980
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1077
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
981
1078
|
*/
|
|
982
1079
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
983
1080
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
984
1081
|
/**
|
|
985
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1082
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
986
1083
|
*/
|
|
987
1084
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
988
1085
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1000,17 +1097,17 @@ export declare const InitializeRequestSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1000
1097
|
*/
|
|
1001
1098
|
roots: z.ZodOptional<z.ZodObject<{
|
|
1002
1099
|
/**
|
|
1003
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1100
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
1004
1101
|
*/
|
|
1005
1102
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1006
1103
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1007
1104
|
/**
|
|
1008
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1105
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
1009
1106
|
*/
|
|
1010
1107
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1011
1108
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1012
1109
|
/**
|
|
1013
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1110
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
1014
1111
|
*/
|
|
1015
1112
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1016
1113
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1061,17 +1158,17 @@ export declare const InitializeRequestSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1061
1158
|
*/
|
|
1062
1159
|
roots: z.ZodOptional<z.ZodObject<{
|
|
1063
1160
|
/**
|
|
1064
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1161
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
1065
1162
|
*/
|
|
1066
1163
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1067
1164
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1068
1165
|
/**
|
|
1069
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1166
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
1070
1167
|
*/
|
|
1071
1168
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1072
1169
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1073
1170
|
/**
|
|
1074
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1171
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
1075
1172
|
*/
|
|
1076
1173
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1077
1174
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1089,17 +1186,17 @@ export declare const InitializeRequestSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1089
1186
|
*/
|
|
1090
1187
|
roots: z.ZodOptional<z.ZodObject<{
|
|
1091
1188
|
/**
|
|
1092
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1189
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
1093
1190
|
*/
|
|
1094
1191
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1095
1192
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1096
1193
|
/**
|
|
1097
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1194
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
1098
1195
|
*/
|
|
1099
1196
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1100
1197
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1101
1198
|
/**
|
|
1102
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1199
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
1103
1200
|
*/
|
|
1104
1201
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1105
1202
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1117,17 +1214,17 @@ export declare const InitializeRequestSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1117
1214
|
*/
|
|
1118
1215
|
roots: z.ZodOptional<z.ZodObject<{
|
|
1119
1216
|
/**
|
|
1120
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1217
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
1121
1218
|
*/
|
|
1122
1219
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1123
1220
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1124
1221
|
/**
|
|
1125
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1222
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
1126
1223
|
*/
|
|
1127
1224
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1128
1225
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1129
1226
|
/**
|
|
1130
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1227
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
1131
1228
|
*/
|
|
1132
1229
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1133
1230
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1151,7 +1248,7 @@ export declare const InitializeRequestSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1151
1248
|
sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1152
1249
|
roots?: z.objectOutputType<{
|
|
1153
1250
|
/**
|
|
1154
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1251
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
1155
1252
|
*/
|
|
1156
1253
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1157
1254
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -1182,7 +1279,7 @@ export declare const InitializeRequestSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
1182
1279
|
sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1183
1280
|
roots?: z.objectInputType<{
|
|
1184
1281
|
/**
|
|
1185
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
1282
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
1186
1283
|
*/
|
|
1187
1284
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1188
1285
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -1223,17 +1320,17 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{
|
|
|
1223
1320
|
*/
|
|
1224
1321
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
1225
1322
|
/**
|
|
1226
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1323
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1227
1324
|
*/
|
|
1228
1325
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1229
1326
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1230
1327
|
/**
|
|
1231
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1328
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1232
1329
|
*/
|
|
1233
1330
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1234
1331
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1235
1332
|
/**
|
|
1236
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1333
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1237
1334
|
*/
|
|
1238
1335
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1239
1336
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1242,29 +1339,29 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{
|
|
|
1242
1339
|
*/
|
|
1243
1340
|
resources: z.ZodOptional<z.ZodObject<{
|
|
1244
1341
|
/**
|
|
1245
|
-
* Whether this server supports subscribing to resource updates.
|
|
1342
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1246
1343
|
*/
|
|
1247
1344
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1248
1345
|
/**
|
|
1249
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1346
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1250
1347
|
*/
|
|
1251
1348
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1252
1349
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1253
1350
|
/**
|
|
1254
|
-
* Whether this server supports subscribing to resource updates.
|
|
1351
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1255
1352
|
*/
|
|
1256
1353
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1257
1354
|
/**
|
|
1258
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1355
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1259
1356
|
*/
|
|
1260
1357
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1261
1358
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1262
1359
|
/**
|
|
1263
|
-
* Whether this server supports subscribing to resource updates.
|
|
1360
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1264
1361
|
*/
|
|
1265
1362
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1266
1363
|
/**
|
|
1267
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1364
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1268
1365
|
*/
|
|
1269
1366
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1270
1367
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1273,17 +1370,17 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{
|
|
|
1273
1370
|
*/
|
|
1274
1371
|
tools: z.ZodOptional<z.ZodObject<{
|
|
1275
1372
|
/**
|
|
1276
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1373
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1277
1374
|
*/
|
|
1278
1375
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1279
1376
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1280
1377
|
/**
|
|
1281
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1378
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1282
1379
|
*/
|
|
1283
1380
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1284
1381
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1285
1382
|
/**
|
|
1286
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1383
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1287
1384
|
*/
|
|
1288
1385
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1289
1386
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1301,17 +1398,17 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{
|
|
|
1301
1398
|
*/
|
|
1302
1399
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
1303
1400
|
/**
|
|
1304
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1401
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1305
1402
|
*/
|
|
1306
1403
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1307
1404
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1308
1405
|
/**
|
|
1309
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1406
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1310
1407
|
*/
|
|
1311
1408
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1312
1409
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1313
1410
|
/**
|
|
1314
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1411
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1315
1412
|
*/
|
|
1316
1413
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1317
1414
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1320,29 +1417,29 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{
|
|
|
1320
1417
|
*/
|
|
1321
1418
|
resources: z.ZodOptional<z.ZodObject<{
|
|
1322
1419
|
/**
|
|
1323
|
-
* Whether this server supports subscribing to resource updates.
|
|
1420
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1324
1421
|
*/
|
|
1325
1422
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1326
1423
|
/**
|
|
1327
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1424
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1328
1425
|
*/
|
|
1329
1426
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1330
1427
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1331
1428
|
/**
|
|
1332
|
-
* Whether this server supports subscribing to resource updates.
|
|
1429
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1333
1430
|
*/
|
|
1334
1431
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1335
1432
|
/**
|
|
1336
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1433
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1337
1434
|
*/
|
|
1338
1435
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1339
1436
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1340
1437
|
/**
|
|
1341
|
-
* Whether this server supports subscribing to resource updates.
|
|
1438
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1342
1439
|
*/
|
|
1343
1440
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1344
1441
|
/**
|
|
1345
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1442
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1346
1443
|
*/
|
|
1347
1444
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1348
1445
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1351,17 +1448,17 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{
|
|
|
1351
1448
|
*/
|
|
1352
1449
|
tools: z.ZodOptional<z.ZodObject<{
|
|
1353
1450
|
/**
|
|
1354
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1451
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1355
1452
|
*/
|
|
1356
1453
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1357
1454
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1358
1455
|
/**
|
|
1359
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1456
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1360
1457
|
*/
|
|
1361
1458
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1362
1459
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1363
1460
|
/**
|
|
1364
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1461
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1365
1462
|
*/
|
|
1366
1463
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1367
1464
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1379,17 +1476,17 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{
|
|
|
1379
1476
|
*/
|
|
1380
1477
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
1381
1478
|
/**
|
|
1382
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1479
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1383
1480
|
*/
|
|
1384
1481
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1385
1482
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1386
1483
|
/**
|
|
1387
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1484
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1388
1485
|
*/
|
|
1389
1486
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1390
1487
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1391
1488
|
/**
|
|
1392
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1489
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1393
1490
|
*/
|
|
1394
1491
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1395
1492
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1398,29 +1495,29 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{
|
|
|
1398
1495
|
*/
|
|
1399
1496
|
resources: z.ZodOptional<z.ZodObject<{
|
|
1400
1497
|
/**
|
|
1401
|
-
* Whether this server supports subscribing to resource updates.
|
|
1498
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1402
1499
|
*/
|
|
1403
1500
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1404
1501
|
/**
|
|
1405
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1502
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1406
1503
|
*/
|
|
1407
1504
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1408
1505
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1409
1506
|
/**
|
|
1410
|
-
* Whether this server supports subscribing to resource updates.
|
|
1507
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1411
1508
|
*/
|
|
1412
1509
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1413
1510
|
/**
|
|
1414
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1511
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1415
1512
|
*/
|
|
1416
1513
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1417
1514
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1418
1515
|
/**
|
|
1419
|
-
* Whether this server supports subscribing to resource updates.
|
|
1516
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1420
1517
|
*/
|
|
1421
1518
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1422
1519
|
/**
|
|
1423
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1520
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1424
1521
|
*/
|
|
1425
1522
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1426
1523
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1429,17 +1526,17 @@ export declare const ServerCapabilitiesSchema: z.ZodObject<{
|
|
|
1429
1526
|
*/
|
|
1430
1527
|
tools: z.ZodOptional<z.ZodObject<{
|
|
1431
1528
|
/**
|
|
1432
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1529
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1433
1530
|
*/
|
|
1434
1531
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1435
1532
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1436
1533
|
/**
|
|
1437
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1534
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1438
1535
|
*/
|
|
1439
1536
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1440
1537
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1441
1538
|
/**
|
|
1442
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1539
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1443
1540
|
*/
|
|
1444
1541
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1445
1542
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1471,17 +1568,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1471
1568
|
*/
|
|
1472
1569
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
1473
1570
|
/**
|
|
1474
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1571
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1475
1572
|
*/
|
|
1476
1573
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1477
1574
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1478
1575
|
/**
|
|
1479
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1576
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1480
1577
|
*/
|
|
1481
1578
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1482
1579
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1483
1580
|
/**
|
|
1484
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1581
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1485
1582
|
*/
|
|
1486
1583
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1487
1584
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1490,29 +1587,29 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1490
1587
|
*/
|
|
1491
1588
|
resources: z.ZodOptional<z.ZodObject<{
|
|
1492
1589
|
/**
|
|
1493
|
-
* Whether this server supports subscribing to resource updates.
|
|
1590
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1494
1591
|
*/
|
|
1495
1592
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1496
1593
|
/**
|
|
1497
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1594
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1498
1595
|
*/
|
|
1499
1596
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1500
1597
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1501
1598
|
/**
|
|
1502
|
-
* Whether this server supports subscribing to resource updates.
|
|
1599
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1503
1600
|
*/
|
|
1504
1601
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1505
1602
|
/**
|
|
1506
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1603
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1507
1604
|
*/
|
|
1508
1605
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1509
1606
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1510
1607
|
/**
|
|
1511
|
-
* Whether this server supports subscribing to resource updates.
|
|
1608
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1512
1609
|
*/
|
|
1513
1610
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1514
1611
|
/**
|
|
1515
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1612
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1516
1613
|
*/
|
|
1517
1614
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1518
1615
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1521,17 +1618,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1521
1618
|
*/
|
|
1522
1619
|
tools: z.ZodOptional<z.ZodObject<{
|
|
1523
1620
|
/**
|
|
1524
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1621
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1525
1622
|
*/
|
|
1526
1623
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1527
1624
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1528
1625
|
/**
|
|
1529
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1626
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1530
1627
|
*/
|
|
1531
1628
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1532
1629
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1533
1630
|
/**
|
|
1534
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1631
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1535
1632
|
*/
|
|
1536
1633
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1537
1634
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1549,17 +1646,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1549
1646
|
*/
|
|
1550
1647
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
1551
1648
|
/**
|
|
1552
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1649
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1553
1650
|
*/
|
|
1554
1651
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1555
1652
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1556
1653
|
/**
|
|
1557
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1654
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1558
1655
|
*/
|
|
1559
1656
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1560
1657
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1561
1658
|
/**
|
|
1562
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1659
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1563
1660
|
*/
|
|
1564
1661
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1565
1662
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1568,29 +1665,29 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1568
1665
|
*/
|
|
1569
1666
|
resources: z.ZodOptional<z.ZodObject<{
|
|
1570
1667
|
/**
|
|
1571
|
-
* Whether this server supports subscribing to resource updates.
|
|
1668
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1572
1669
|
*/
|
|
1573
1670
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1574
1671
|
/**
|
|
1575
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1672
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1576
1673
|
*/
|
|
1577
1674
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1578
1675
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1579
1676
|
/**
|
|
1580
|
-
* Whether this server supports subscribing to resource updates.
|
|
1677
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1581
1678
|
*/
|
|
1582
1679
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1583
1680
|
/**
|
|
1584
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1681
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1585
1682
|
*/
|
|
1586
1683
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1587
1684
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1588
1685
|
/**
|
|
1589
|
-
* Whether this server supports subscribing to resource updates.
|
|
1686
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1590
1687
|
*/
|
|
1591
1688
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1592
1689
|
/**
|
|
1593
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1690
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1594
1691
|
*/
|
|
1595
1692
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1596
1693
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1599,17 +1696,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1599
1696
|
*/
|
|
1600
1697
|
tools: z.ZodOptional<z.ZodObject<{
|
|
1601
1698
|
/**
|
|
1602
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1699
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1603
1700
|
*/
|
|
1604
1701
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1605
1702
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1606
1703
|
/**
|
|
1607
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1704
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1608
1705
|
*/
|
|
1609
1706
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1610
1707
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1611
1708
|
/**
|
|
1612
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1709
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1613
1710
|
*/
|
|
1614
1711
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1615
1712
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1627,17 +1724,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1627
1724
|
*/
|
|
1628
1725
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
1629
1726
|
/**
|
|
1630
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1727
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1631
1728
|
*/
|
|
1632
1729
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1633
1730
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1634
1731
|
/**
|
|
1635
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1732
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1636
1733
|
*/
|
|
1637
1734
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1638
1735
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1639
1736
|
/**
|
|
1640
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1737
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1641
1738
|
*/
|
|
1642
1739
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1643
1740
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1646,29 +1743,29 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1646
1743
|
*/
|
|
1647
1744
|
resources: z.ZodOptional<z.ZodObject<{
|
|
1648
1745
|
/**
|
|
1649
|
-
* Whether this server supports subscribing to resource updates.
|
|
1746
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1650
1747
|
*/
|
|
1651
1748
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1652
1749
|
/**
|
|
1653
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1750
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1654
1751
|
*/
|
|
1655
1752
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1656
1753
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1657
1754
|
/**
|
|
1658
|
-
* Whether this server supports subscribing to resource updates.
|
|
1755
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1659
1756
|
*/
|
|
1660
1757
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1661
1758
|
/**
|
|
1662
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1759
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1663
1760
|
*/
|
|
1664
1761
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1665
1762
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1666
1763
|
/**
|
|
1667
|
-
* Whether this server supports subscribing to resource updates.
|
|
1764
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1668
1765
|
*/
|
|
1669
1766
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1670
1767
|
/**
|
|
1671
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1768
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1672
1769
|
*/
|
|
1673
1770
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1674
1771
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1677,17 +1774,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1677
1774
|
*/
|
|
1678
1775
|
tools: z.ZodOptional<z.ZodObject<{
|
|
1679
1776
|
/**
|
|
1680
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1777
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1681
1778
|
*/
|
|
1682
1779
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1683
1780
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1684
1781
|
/**
|
|
1685
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1782
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1686
1783
|
*/
|
|
1687
1784
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1688
1785
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1689
1786
|
/**
|
|
1690
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1787
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1691
1788
|
*/
|
|
1692
1789
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1693
1790
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1726,17 +1823,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1726
1823
|
*/
|
|
1727
1824
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
1728
1825
|
/**
|
|
1729
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1826
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1730
1827
|
*/
|
|
1731
1828
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1732
1829
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1733
1830
|
/**
|
|
1734
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1831
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1735
1832
|
*/
|
|
1736
1833
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1737
1834
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1738
1835
|
/**
|
|
1739
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1836
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1740
1837
|
*/
|
|
1741
1838
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1742
1839
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1745,29 +1842,29 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1745
1842
|
*/
|
|
1746
1843
|
resources: z.ZodOptional<z.ZodObject<{
|
|
1747
1844
|
/**
|
|
1748
|
-
* Whether this server supports subscribing to resource updates.
|
|
1845
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1749
1846
|
*/
|
|
1750
1847
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1751
1848
|
/**
|
|
1752
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1849
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1753
1850
|
*/
|
|
1754
1851
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1755
1852
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1756
1853
|
/**
|
|
1757
|
-
* Whether this server supports subscribing to resource updates.
|
|
1854
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1758
1855
|
*/
|
|
1759
1856
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1760
1857
|
/**
|
|
1761
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1858
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1762
1859
|
*/
|
|
1763
1860
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1764
1861
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1765
1862
|
/**
|
|
1766
|
-
* Whether this server supports subscribing to resource updates.
|
|
1863
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1767
1864
|
*/
|
|
1768
1865
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1769
1866
|
/**
|
|
1770
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1867
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1771
1868
|
*/
|
|
1772
1869
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1773
1870
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1776,17 +1873,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1776
1873
|
*/
|
|
1777
1874
|
tools: z.ZodOptional<z.ZodObject<{
|
|
1778
1875
|
/**
|
|
1779
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1876
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1780
1877
|
*/
|
|
1781
1878
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1782
1879
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1783
1880
|
/**
|
|
1784
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1881
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1785
1882
|
*/
|
|
1786
1883
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1787
1884
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1788
1885
|
/**
|
|
1789
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1886
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1790
1887
|
*/
|
|
1791
1888
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1792
1889
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1804,17 +1901,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1804
1901
|
*/
|
|
1805
1902
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
1806
1903
|
/**
|
|
1807
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1904
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1808
1905
|
*/
|
|
1809
1906
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1810
1907
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1811
1908
|
/**
|
|
1812
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1909
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1813
1910
|
*/
|
|
1814
1911
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1815
1912
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1816
1913
|
/**
|
|
1817
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1914
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1818
1915
|
*/
|
|
1819
1916
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1820
1917
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1823,29 +1920,29 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1823
1920
|
*/
|
|
1824
1921
|
resources: z.ZodOptional<z.ZodObject<{
|
|
1825
1922
|
/**
|
|
1826
|
-
* Whether this server supports subscribing to resource updates.
|
|
1923
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1827
1924
|
*/
|
|
1828
1925
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1829
1926
|
/**
|
|
1830
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1927
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1831
1928
|
*/
|
|
1832
1929
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1833
1930
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1834
1931
|
/**
|
|
1835
|
-
* Whether this server supports subscribing to resource updates.
|
|
1932
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1836
1933
|
*/
|
|
1837
1934
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1838
1935
|
/**
|
|
1839
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1936
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1840
1937
|
*/
|
|
1841
1938
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1842
1939
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1843
1940
|
/**
|
|
1844
|
-
* Whether this server supports subscribing to resource updates.
|
|
1941
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1845
1942
|
*/
|
|
1846
1943
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1847
1944
|
/**
|
|
1848
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
1945
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1849
1946
|
*/
|
|
1850
1947
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1851
1948
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1854,17 +1951,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1854
1951
|
*/
|
|
1855
1952
|
tools: z.ZodOptional<z.ZodObject<{
|
|
1856
1953
|
/**
|
|
1857
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1954
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1858
1955
|
*/
|
|
1859
1956
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1860
1957
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1861
1958
|
/**
|
|
1862
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1959
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1863
1960
|
*/
|
|
1864
1961
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1865
1962
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1866
1963
|
/**
|
|
1867
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
1964
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1868
1965
|
*/
|
|
1869
1966
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1870
1967
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1882,17 +1979,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1882
1979
|
*/
|
|
1883
1980
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
1884
1981
|
/**
|
|
1885
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1982
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1886
1983
|
*/
|
|
1887
1984
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1888
1985
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1889
1986
|
/**
|
|
1890
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1987
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1891
1988
|
*/
|
|
1892
1989
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1893
1990
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1894
1991
|
/**
|
|
1895
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
1992
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1896
1993
|
*/
|
|
1897
1994
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1898
1995
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1901,29 +1998,29 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1901
1998
|
*/
|
|
1902
1999
|
resources: z.ZodOptional<z.ZodObject<{
|
|
1903
2000
|
/**
|
|
1904
|
-
* Whether this server supports subscribing to resource updates.
|
|
2001
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1905
2002
|
*/
|
|
1906
2003
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1907
2004
|
/**
|
|
1908
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
2005
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1909
2006
|
*/
|
|
1910
2007
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1911
2008
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1912
2009
|
/**
|
|
1913
|
-
* Whether this server supports subscribing to resource updates.
|
|
2010
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1914
2011
|
*/
|
|
1915
2012
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1916
2013
|
/**
|
|
1917
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
2014
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1918
2015
|
*/
|
|
1919
2016
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1920
2017
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1921
2018
|
/**
|
|
1922
|
-
* Whether this server supports subscribing to resource updates.
|
|
2019
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
1923
2020
|
*/
|
|
1924
2021
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
1925
2022
|
/**
|
|
1926
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
2023
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
1927
2024
|
*/
|
|
1928
2025
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1929
2026
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1932,17 +2029,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1932
2029
|
*/
|
|
1933
2030
|
tools: z.ZodOptional<z.ZodObject<{
|
|
1934
2031
|
/**
|
|
1935
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
2032
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1936
2033
|
*/
|
|
1937
2034
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1938
2035
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1939
2036
|
/**
|
|
1940
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
2037
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1941
2038
|
*/
|
|
1942
2039
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1943
2040
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1944
2041
|
/**
|
|
1945
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
2042
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
1946
2043
|
*/
|
|
1947
2044
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1948
2045
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -1981,17 +2078,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
1981
2078
|
*/
|
|
1982
2079
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
1983
2080
|
/**
|
|
1984
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
2081
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1985
2082
|
*/
|
|
1986
2083
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1987
2084
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1988
2085
|
/**
|
|
1989
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
2086
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1990
2087
|
*/
|
|
1991
2088
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1992
2089
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1993
2090
|
/**
|
|
1994
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
2091
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
1995
2092
|
*/
|
|
1996
2093
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
1997
2094
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2000,29 +2097,29 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
2000
2097
|
*/
|
|
2001
2098
|
resources: z.ZodOptional<z.ZodObject<{
|
|
2002
2099
|
/**
|
|
2003
|
-
* Whether this server supports subscribing to resource updates.
|
|
2100
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
2004
2101
|
*/
|
|
2005
2102
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
2006
2103
|
/**
|
|
2007
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
2104
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
2008
2105
|
*/
|
|
2009
2106
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2010
2107
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2011
2108
|
/**
|
|
2012
|
-
* Whether this server supports subscribing to resource updates.
|
|
2109
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
2013
2110
|
*/
|
|
2014
2111
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
2015
2112
|
/**
|
|
2016
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
2113
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
2017
2114
|
*/
|
|
2018
2115
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2019
2116
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2020
2117
|
/**
|
|
2021
|
-
* Whether this server supports subscribing to resource updates.
|
|
2118
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
2022
2119
|
*/
|
|
2023
2120
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
2024
2121
|
/**
|
|
2025
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
2122
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
2026
2123
|
*/
|
|
2027
2124
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2028
2125
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2031,17 +2128,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
2031
2128
|
*/
|
|
2032
2129
|
tools: z.ZodOptional<z.ZodObject<{
|
|
2033
2130
|
/**
|
|
2034
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
2131
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
2035
2132
|
*/
|
|
2036
2133
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2037
2134
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2038
2135
|
/**
|
|
2039
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
2136
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
2040
2137
|
*/
|
|
2041
2138
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2042
2139
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2043
2140
|
/**
|
|
2044
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
2141
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
2045
2142
|
*/
|
|
2046
2143
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2047
2144
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2059,17 +2156,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
2059
2156
|
*/
|
|
2060
2157
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
2061
2158
|
/**
|
|
2062
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
2159
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
2063
2160
|
*/
|
|
2064
2161
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2065
2162
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2066
2163
|
/**
|
|
2067
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
2164
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
2068
2165
|
*/
|
|
2069
2166
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2070
2167
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2071
2168
|
/**
|
|
2072
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
2169
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
2073
2170
|
*/
|
|
2074
2171
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2075
2172
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2078,29 +2175,29 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
2078
2175
|
*/
|
|
2079
2176
|
resources: z.ZodOptional<z.ZodObject<{
|
|
2080
2177
|
/**
|
|
2081
|
-
* Whether this server supports subscribing to resource updates.
|
|
2178
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
2082
2179
|
*/
|
|
2083
2180
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
2084
2181
|
/**
|
|
2085
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
2182
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
2086
2183
|
*/
|
|
2087
2184
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2088
2185
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2089
2186
|
/**
|
|
2090
|
-
* Whether this server supports subscribing to resource updates.
|
|
2187
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
2091
2188
|
*/
|
|
2092
2189
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
2093
2190
|
/**
|
|
2094
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
2191
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
2095
2192
|
*/
|
|
2096
2193
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2097
2194
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2098
2195
|
/**
|
|
2099
|
-
* Whether this server supports subscribing to resource updates.
|
|
2196
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
2100
2197
|
*/
|
|
2101
2198
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
2102
2199
|
/**
|
|
2103
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
2200
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
2104
2201
|
*/
|
|
2105
2202
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2106
2203
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2109,17 +2206,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
2109
2206
|
*/
|
|
2110
2207
|
tools: z.ZodOptional<z.ZodObject<{
|
|
2111
2208
|
/**
|
|
2112
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
2209
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
2113
2210
|
*/
|
|
2114
2211
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2115
2212
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2116
2213
|
/**
|
|
2117
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
2214
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
2118
2215
|
*/
|
|
2119
2216
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2120
2217
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2121
2218
|
/**
|
|
2122
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
2219
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
2123
2220
|
*/
|
|
2124
2221
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2125
2222
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2137,17 +2234,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
2137
2234
|
*/
|
|
2138
2235
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
2139
2236
|
/**
|
|
2140
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
2237
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
2141
2238
|
*/
|
|
2142
2239
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2143
2240
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2144
2241
|
/**
|
|
2145
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
2242
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
2146
2243
|
*/
|
|
2147
2244
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2148
2245
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2149
2246
|
/**
|
|
2150
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
2247
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
2151
2248
|
*/
|
|
2152
2249
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2153
2250
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2156,29 +2253,29 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
2156
2253
|
*/
|
|
2157
2254
|
resources: z.ZodOptional<z.ZodObject<{
|
|
2158
2255
|
/**
|
|
2159
|
-
* Whether this server supports subscribing to resource updates.
|
|
2256
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
2160
2257
|
*/
|
|
2161
2258
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
2162
2259
|
/**
|
|
2163
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
2260
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
2164
2261
|
*/
|
|
2165
2262
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2166
2263
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2167
2264
|
/**
|
|
2168
|
-
* Whether this server supports subscribing to resource updates.
|
|
2265
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
2169
2266
|
*/
|
|
2170
2267
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
2171
2268
|
/**
|
|
2172
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
2269
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
2173
2270
|
*/
|
|
2174
2271
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2175
2272
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2176
2273
|
/**
|
|
2177
|
-
* Whether this server supports subscribing to resource updates.
|
|
2274
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
2178
2275
|
*/
|
|
2179
2276
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
2180
2277
|
/**
|
|
2181
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
2278
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
2182
2279
|
*/
|
|
2183
2280
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2184
2281
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2187,17 +2284,17 @@ export declare const InitializeResultSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
2187
2284
|
*/
|
|
2188
2285
|
tools: z.ZodOptional<z.ZodObject<{
|
|
2189
2286
|
/**
|
|
2190
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
2287
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
2191
2288
|
*/
|
|
2192
2289
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2193
2290
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2194
2291
|
/**
|
|
2195
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
2292
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
2196
2293
|
*/
|
|
2197
2294
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2198
2295
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2199
2296
|
/**
|
|
2200
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
2297
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
2201
2298
|
*/
|
|
2202
2299
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
2203
2300
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -2404,7 +2501,12 @@ export declare const ProgressNotificationSchema: z.ZodObject<z.objectUtil.extend
|
|
|
2404
2501
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
2405
2502
|
}, {
|
|
2406
2503
|
method: z.ZodLiteral<"notifications/progress">;
|
|
2407
|
-
params: z.ZodObject<z.objectUtil.extendShape<{
|
|
2504
|
+
params: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2505
|
+
/**
|
|
2506
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
2507
|
+
*/
|
|
2508
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2509
|
+
}, {
|
|
2408
2510
|
/**
|
|
2409
2511
|
* The progress thus far. This should increase every time progress is made, even if the total is unknown.
|
|
2410
2512
|
*/
|
|
@@ -2413,12 +2515,17 @@ export declare const ProgressNotificationSchema: z.ZodObject<z.objectUtil.extend
|
|
|
2413
2515
|
* Total number of items to process (or total progress required), if known.
|
|
2414
2516
|
*/
|
|
2415
2517
|
total: z.ZodOptional<z.ZodNumber>;
|
|
2416
|
-
}
|
|
2518
|
+
}>, {
|
|
2417
2519
|
/**
|
|
2418
2520
|
* The progress token which was given in the initial request, used to associate this notification with the request that is proceeding.
|
|
2419
2521
|
*/
|
|
2420
2522
|
progressToken: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
2421
|
-
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
2523
|
+
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2524
|
+
/**
|
|
2525
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
2526
|
+
*/
|
|
2527
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2528
|
+
}, {
|
|
2422
2529
|
/**
|
|
2423
2530
|
* The progress thus far. This should increase every time progress is made, even if the total is unknown.
|
|
2424
2531
|
*/
|
|
@@ -2427,12 +2534,17 @@ export declare const ProgressNotificationSchema: z.ZodObject<z.objectUtil.extend
|
|
|
2427
2534
|
* Total number of items to process (or total progress required), if known.
|
|
2428
2535
|
*/
|
|
2429
2536
|
total: z.ZodOptional<z.ZodNumber>;
|
|
2430
|
-
}
|
|
2537
|
+
}>, {
|
|
2431
2538
|
/**
|
|
2432
2539
|
* The progress token which was given in the initial request, used to associate this notification with the request that is proceeding.
|
|
2433
2540
|
*/
|
|
2434
2541
|
progressToken: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
2435
|
-
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
2542
|
+
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2543
|
+
/**
|
|
2544
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
2545
|
+
*/
|
|
2546
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
2547
|
+
}, {
|
|
2436
2548
|
/**
|
|
2437
2549
|
* The progress thus far. This should increase every time progress is made, even if the total is unknown.
|
|
2438
2550
|
*/
|
|
@@ -2441,7 +2553,7 @@ export declare const ProgressNotificationSchema: z.ZodObject<z.objectUtil.extend
|
|
|
2441
2553
|
* Total number of items to process (or total progress required), if known.
|
|
2442
2554
|
*/
|
|
2443
2555
|
total: z.ZodOptional<z.ZodNumber>;
|
|
2444
|
-
}
|
|
2556
|
+
}>, {
|
|
2445
2557
|
/**
|
|
2446
2558
|
* The progress token which was given in the initial request, used to associate this notification with the request that is proceeding.
|
|
2447
2559
|
*/
|
|
@@ -2451,6 +2563,7 @@ export declare const ProgressNotificationSchema: z.ZodObject<z.objectUtil.extend
|
|
|
2451
2563
|
params: {
|
|
2452
2564
|
progressToken: string | number;
|
|
2453
2565
|
progress: number;
|
|
2566
|
+
_meta?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2454
2567
|
total?: number | undefined;
|
|
2455
2568
|
} & {
|
|
2456
2569
|
[k: string]: unknown;
|
|
@@ -2460,6 +2573,7 @@ export declare const ProgressNotificationSchema: z.ZodObject<z.objectUtil.extend
|
|
|
2460
2573
|
params: {
|
|
2461
2574
|
progressToken: string | number;
|
|
2462
2575
|
progress: number;
|
|
2576
|
+
_meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2463
2577
|
total?: number | undefined;
|
|
2464
2578
|
} & {
|
|
2465
2579
|
[k: string]: unknown;
|
|
@@ -4558,25 +4672,41 @@ export declare const ResourceUpdatedNotificationSchema: z.ZodObject<z.objectUtil
|
|
|
4558
4672
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
4559
4673
|
}, {
|
|
4560
4674
|
method: z.ZodLiteral<"notifications/resources/updated">;
|
|
4561
|
-
params: z.ZodObject<{
|
|
4675
|
+
params: z.ZodObject<z.objectUtil.extendShape<{
|
|
4676
|
+
/**
|
|
4677
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
4678
|
+
*/
|
|
4679
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
4680
|
+
}, {
|
|
4562
4681
|
/**
|
|
4563
4682
|
* The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to.
|
|
4564
4683
|
*/
|
|
4565
4684
|
uri: z.ZodString;
|
|
4566
|
-
}
|
|
4685
|
+
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
4686
|
+
/**
|
|
4687
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
4688
|
+
*/
|
|
4689
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
4690
|
+
}, {
|
|
4567
4691
|
/**
|
|
4568
4692
|
* The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to.
|
|
4569
4693
|
*/
|
|
4570
4694
|
uri: z.ZodString;
|
|
4571
|
-
}
|
|
4695
|
+
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
4696
|
+
/**
|
|
4697
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
4698
|
+
*/
|
|
4699
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
4700
|
+
}, {
|
|
4572
4701
|
/**
|
|
4573
4702
|
* The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to.
|
|
4574
4703
|
*/
|
|
4575
4704
|
uri: z.ZodString;
|
|
4576
|
-
}
|
|
4705
|
+
}>, z.ZodTypeAny, "passthrough">>;
|
|
4577
4706
|
}>, "strip", z.ZodTypeAny, {
|
|
4578
4707
|
params: {
|
|
4579
4708
|
uri: string;
|
|
4709
|
+
_meta?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4580
4710
|
} & {
|
|
4581
4711
|
[k: string]: unknown;
|
|
4582
4712
|
};
|
|
@@ -4584,6 +4714,7 @@ export declare const ResourceUpdatedNotificationSchema: z.ZodObject<z.objectUtil
|
|
|
4584
4714
|
}, {
|
|
4585
4715
|
params: {
|
|
4586
4716
|
uri: string;
|
|
4717
|
+
_meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4587
4718
|
} & {
|
|
4588
4719
|
[k: string]: unknown;
|
|
4589
4720
|
};
|
|
@@ -10612,7 +10743,7 @@ export declare const CallToolResultSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
10612
10743
|
blob: z.ZodString;
|
|
10613
10744
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
10614
10745
|
}, z.ZodTypeAny, "passthrough">>]>, "many">;
|
|
10615
|
-
isError: z.ZodDefault<z.ZodBoolean
|
|
10746
|
+
isError: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
10616
10747
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
10617
10748
|
/**
|
|
10618
10749
|
* This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
|
|
@@ -10929,7 +11060,7 @@ export declare const CallToolResultSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
10929
11060
|
blob: z.ZodString;
|
|
10930
11061
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
10931
11062
|
}, z.ZodTypeAny, "passthrough">>]>, "many">;
|
|
10932
|
-
isError: z.ZodDefault<z.ZodBoolean
|
|
11063
|
+
isError: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
10933
11064
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
10934
11065
|
/**
|
|
10935
11066
|
* This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
|
|
@@ -11246,7 +11377,7 @@ export declare const CallToolResultSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
11246
11377
|
blob: z.ZodString;
|
|
11247
11378
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
11248
11379
|
}, z.ZodTypeAny, "passthrough">>]>, "many">;
|
|
11249
|
-
isError: z.ZodDefault<z.ZodBoolean
|
|
11380
|
+
isError: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
11250
11381
|
}>, z.ZodTypeAny, "passthrough">>;
|
|
11251
11382
|
/**
|
|
11252
11383
|
* CallToolResultSchema extended with backwards compatibility to protocol version 2024-10-07.
|
|
@@ -11567,7 +11698,7 @@ export declare const CompatibilityCallToolResultSchema: z.ZodUnion<[z.ZodObject<
|
|
|
11567
11698
|
blob: z.ZodString;
|
|
11568
11699
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
11569
11700
|
}, z.ZodTypeAny, "passthrough">>]>, "many">;
|
|
11570
|
-
isError: z.ZodDefault<z.ZodBoolean
|
|
11701
|
+
isError: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
11571
11702
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
11572
11703
|
/**
|
|
11573
11704
|
* This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
|
|
@@ -11884,7 +12015,7 @@ export declare const CompatibilityCallToolResultSchema: z.ZodUnion<[z.ZodObject<
|
|
|
11884
12015
|
blob: z.ZodString;
|
|
11885
12016
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
11886
12017
|
}, z.ZodTypeAny, "passthrough">>]>, "many">;
|
|
11887
|
-
isError: z.ZodDefault<z.ZodBoolean
|
|
12018
|
+
isError: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
11888
12019
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
11889
12020
|
/**
|
|
11890
12021
|
* This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
|
|
@@ -12201,7 +12332,7 @@ export declare const CompatibilityCallToolResultSchema: z.ZodUnion<[z.ZodObject<
|
|
|
12201
12332
|
blob: z.ZodString;
|
|
12202
12333
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
12203
12334
|
}, z.ZodTypeAny, "passthrough">>]>, "many">;
|
|
12204
|
-
isError: z.ZodDefault<z.ZodBoolean
|
|
12335
|
+
isError: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
12205
12336
|
}>, z.ZodTypeAny, "passthrough">>, z.ZodObject<z.objectUtil.extendShape<{
|
|
12206
12337
|
/**
|
|
12207
12338
|
* This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
|
|
@@ -12593,7 +12724,12 @@ export declare const LoggingMessageNotificationSchema: z.ZodObject<z.objectUtil.
|
|
|
12593
12724
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
12594
12725
|
}, {
|
|
12595
12726
|
method: z.ZodLiteral<"notifications/message">;
|
|
12596
|
-
params: z.ZodObject<{
|
|
12727
|
+
params: z.ZodObject<z.objectUtil.extendShape<{
|
|
12728
|
+
/**
|
|
12729
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
12730
|
+
*/
|
|
12731
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12732
|
+
}, {
|
|
12597
12733
|
/**
|
|
12598
12734
|
* The severity of this log message.
|
|
12599
12735
|
*/
|
|
@@ -12606,7 +12742,12 @@ export declare const LoggingMessageNotificationSchema: z.ZodObject<z.objectUtil.
|
|
|
12606
12742
|
* The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here.
|
|
12607
12743
|
*/
|
|
12608
12744
|
data: z.ZodUnknown;
|
|
12609
|
-
}
|
|
12745
|
+
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
12746
|
+
/**
|
|
12747
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
12748
|
+
*/
|
|
12749
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12750
|
+
}, {
|
|
12610
12751
|
/**
|
|
12611
12752
|
* The severity of this log message.
|
|
12612
12753
|
*/
|
|
@@ -12619,7 +12760,12 @@ export declare const LoggingMessageNotificationSchema: z.ZodObject<z.objectUtil.
|
|
|
12619
12760
|
* The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here.
|
|
12620
12761
|
*/
|
|
12621
12762
|
data: z.ZodUnknown;
|
|
12622
|
-
}
|
|
12763
|
+
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
12764
|
+
/**
|
|
12765
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
12766
|
+
*/
|
|
12767
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
12768
|
+
}, {
|
|
12623
12769
|
/**
|
|
12624
12770
|
* The severity of this log message.
|
|
12625
12771
|
*/
|
|
@@ -12632,10 +12778,11 @@ export declare const LoggingMessageNotificationSchema: z.ZodObject<z.objectUtil.
|
|
|
12632
12778
|
* The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here.
|
|
12633
12779
|
*/
|
|
12634
12780
|
data: z.ZodUnknown;
|
|
12635
|
-
}
|
|
12781
|
+
}>, z.ZodTypeAny, "passthrough">>;
|
|
12636
12782
|
}>, "strip", z.ZodTypeAny, {
|
|
12637
12783
|
params: {
|
|
12638
12784
|
level: "error" | "debug" | "info" | "notice" | "warning" | "critical" | "alert" | "emergency";
|
|
12785
|
+
_meta?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
12639
12786
|
data?: unknown;
|
|
12640
12787
|
logger?: string | undefined;
|
|
12641
12788
|
} & {
|
|
@@ -12645,6 +12792,7 @@ export declare const LoggingMessageNotificationSchema: z.ZodObject<z.objectUtil.
|
|
|
12645
12792
|
}, {
|
|
12646
12793
|
params: {
|
|
12647
12794
|
level: "error" | "debug" | "info" | "notice" | "warning" | "critical" | "alert" | "emergency";
|
|
12795
|
+
_meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
12648
12796
|
data?: unknown;
|
|
12649
12797
|
logger?: string | undefined;
|
|
12650
12798
|
} & {
|
|
@@ -15293,17 +15441,17 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
15293
15441
|
*/
|
|
15294
15442
|
roots: z.ZodOptional<z.ZodObject<{
|
|
15295
15443
|
/**
|
|
15296
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15444
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15297
15445
|
*/
|
|
15298
15446
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15299
15447
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
15300
15448
|
/**
|
|
15301
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15449
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15302
15450
|
*/
|
|
15303
15451
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15304
15452
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15305
15453
|
/**
|
|
15306
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15454
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15307
15455
|
*/
|
|
15308
15456
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15309
15457
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -15321,17 +15469,17 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
15321
15469
|
*/
|
|
15322
15470
|
roots: z.ZodOptional<z.ZodObject<{
|
|
15323
15471
|
/**
|
|
15324
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15472
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15325
15473
|
*/
|
|
15326
15474
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15327
15475
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
15328
15476
|
/**
|
|
15329
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15477
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15330
15478
|
*/
|
|
15331
15479
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15332
15480
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15333
15481
|
/**
|
|
15334
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15482
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15335
15483
|
*/
|
|
15336
15484
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15337
15485
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -15349,17 +15497,17 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
15349
15497
|
*/
|
|
15350
15498
|
roots: z.ZodOptional<z.ZodObject<{
|
|
15351
15499
|
/**
|
|
15352
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15500
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15353
15501
|
*/
|
|
15354
15502
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15355
15503
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
15356
15504
|
/**
|
|
15357
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15505
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15358
15506
|
*/
|
|
15359
15507
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15360
15508
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15361
15509
|
/**
|
|
15362
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15510
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15363
15511
|
*/
|
|
15364
15512
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15365
15513
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -15410,17 +15558,17 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
15410
15558
|
*/
|
|
15411
15559
|
roots: z.ZodOptional<z.ZodObject<{
|
|
15412
15560
|
/**
|
|
15413
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15561
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15414
15562
|
*/
|
|
15415
15563
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15416
15564
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
15417
15565
|
/**
|
|
15418
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15566
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15419
15567
|
*/
|
|
15420
15568
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15421
15569
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15422
15570
|
/**
|
|
15423
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15571
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15424
15572
|
*/
|
|
15425
15573
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15426
15574
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -15438,17 +15586,17 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
15438
15586
|
*/
|
|
15439
15587
|
roots: z.ZodOptional<z.ZodObject<{
|
|
15440
15588
|
/**
|
|
15441
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15589
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15442
15590
|
*/
|
|
15443
15591
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15444
15592
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
15445
15593
|
/**
|
|
15446
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15594
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15447
15595
|
*/
|
|
15448
15596
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15449
15597
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15450
15598
|
/**
|
|
15451
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15599
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15452
15600
|
*/
|
|
15453
15601
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15454
15602
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -15466,17 +15614,17 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
15466
15614
|
*/
|
|
15467
15615
|
roots: z.ZodOptional<z.ZodObject<{
|
|
15468
15616
|
/**
|
|
15469
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15617
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15470
15618
|
*/
|
|
15471
15619
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15472
15620
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
15473
15621
|
/**
|
|
15474
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15622
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15475
15623
|
*/
|
|
15476
15624
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15477
15625
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15478
15626
|
/**
|
|
15479
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15627
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15480
15628
|
*/
|
|
15481
15629
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15482
15630
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -15527,17 +15675,17 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
15527
15675
|
*/
|
|
15528
15676
|
roots: z.ZodOptional<z.ZodObject<{
|
|
15529
15677
|
/**
|
|
15530
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15678
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15531
15679
|
*/
|
|
15532
15680
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15533
15681
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
15534
15682
|
/**
|
|
15535
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15683
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15536
15684
|
*/
|
|
15537
15685
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15538
15686
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15539
15687
|
/**
|
|
15540
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15688
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15541
15689
|
*/
|
|
15542
15690
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15543
15691
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -15555,17 +15703,17 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
15555
15703
|
*/
|
|
15556
15704
|
roots: z.ZodOptional<z.ZodObject<{
|
|
15557
15705
|
/**
|
|
15558
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15706
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15559
15707
|
*/
|
|
15560
15708
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15561
15709
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
15562
15710
|
/**
|
|
15563
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15711
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15564
15712
|
*/
|
|
15565
15713
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15566
15714
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15567
15715
|
/**
|
|
15568
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15716
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15569
15717
|
*/
|
|
15570
15718
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15571
15719
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -15583,17 +15731,17 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
15583
15731
|
*/
|
|
15584
15732
|
roots: z.ZodOptional<z.ZodObject<{
|
|
15585
15733
|
/**
|
|
15586
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15734
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15587
15735
|
*/
|
|
15588
15736
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15589
15737
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
15590
15738
|
/**
|
|
15591
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15739
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15592
15740
|
*/
|
|
15593
15741
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15594
15742
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
15595
15743
|
/**
|
|
15596
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15744
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15597
15745
|
*/
|
|
15598
15746
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15599
15747
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -15617,7 +15765,7 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
15617
15765
|
sampling?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
15618
15766
|
roots?: z.objectOutputType<{
|
|
15619
15767
|
/**
|
|
15620
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15768
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15621
15769
|
*/
|
|
15622
15770
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15623
15771
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -15648,7 +15796,7 @@ export declare const ClientRequestSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.e
|
|
|
15648
15796
|
sampling?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
15649
15797
|
roots?: z.objectInputType<{
|
|
15650
15798
|
/**
|
|
15651
|
-
* Whether the client supports notifications for changes to the roots list.
|
|
15799
|
+
* Whether the client supports issuing notifications for changes to the roots list.
|
|
15652
15800
|
*/
|
|
15653
15801
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
15654
15802
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -17688,8 +17836,100 @@ export declare const ClientNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
17688
17836
|
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
17689
17837
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
17690
17838
|
}, {
|
|
17691
|
-
method: z.ZodLiteral<"notifications/
|
|
17839
|
+
method: z.ZodLiteral<"notifications/cancelled">;
|
|
17692
17840
|
params: z.ZodObject<z.objectUtil.extendShape<{
|
|
17841
|
+
/**
|
|
17842
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
17843
|
+
*/
|
|
17844
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
17845
|
+
}, {
|
|
17846
|
+
/**
|
|
17847
|
+
* The ID of the request to cancel.
|
|
17848
|
+
*
|
|
17849
|
+
* This MUST correspond to the ID of a request previously issued in the same direction.
|
|
17850
|
+
*/
|
|
17851
|
+
requestId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
17852
|
+
/**
|
|
17853
|
+
* An optional string describing the reason for the cancellation. This MAY be logged or presented to the user.
|
|
17854
|
+
*/
|
|
17855
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
17856
|
+
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
17857
|
+
/**
|
|
17858
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
17859
|
+
*/
|
|
17860
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
17861
|
+
}, {
|
|
17862
|
+
/**
|
|
17863
|
+
* The ID of the request to cancel.
|
|
17864
|
+
*
|
|
17865
|
+
* This MUST correspond to the ID of a request previously issued in the same direction.
|
|
17866
|
+
*/
|
|
17867
|
+
requestId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
17868
|
+
/**
|
|
17869
|
+
* An optional string describing the reason for the cancellation. This MAY be logged or presented to the user.
|
|
17870
|
+
*/
|
|
17871
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
17872
|
+
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
17873
|
+
/**
|
|
17874
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
17875
|
+
*/
|
|
17876
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
17877
|
+
}, {
|
|
17878
|
+
/**
|
|
17879
|
+
* The ID of the request to cancel.
|
|
17880
|
+
*
|
|
17881
|
+
* This MUST correspond to the ID of a request previously issued in the same direction.
|
|
17882
|
+
*/
|
|
17883
|
+
requestId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
17884
|
+
/**
|
|
17885
|
+
* An optional string describing the reason for the cancellation. This MAY be logged or presented to the user.
|
|
17886
|
+
*/
|
|
17887
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
17888
|
+
}>, z.ZodTypeAny, "passthrough">>;
|
|
17889
|
+
}>, "strip", z.ZodTypeAny, {
|
|
17890
|
+
params: {
|
|
17891
|
+
requestId: string | number;
|
|
17892
|
+
_meta?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
17893
|
+
reason?: string | undefined;
|
|
17894
|
+
} & {
|
|
17895
|
+
[k: string]: unknown;
|
|
17896
|
+
};
|
|
17897
|
+
method: "notifications/cancelled";
|
|
17898
|
+
}, {
|
|
17899
|
+
params: {
|
|
17900
|
+
requestId: string | number;
|
|
17901
|
+
_meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
17902
|
+
reason?: string | undefined;
|
|
17903
|
+
} & {
|
|
17904
|
+
[k: string]: unknown;
|
|
17905
|
+
};
|
|
17906
|
+
method: "notifications/cancelled";
|
|
17907
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
17908
|
+
method: z.ZodString;
|
|
17909
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
17910
|
+
/**
|
|
17911
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
17912
|
+
*/
|
|
17913
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
17914
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
17915
|
+
/**
|
|
17916
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
17917
|
+
*/
|
|
17918
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
17919
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
17920
|
+
/**
|
|
17921
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
17922
|
+
*/
|
|
17923
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
17924
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
17925
|
+
}, {
|
|
17926
|
+
method: z.ZodLiteral<"notifications/progress">;
|
|
17927
|
+
params: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
17928
|
+
/**
|
|
17929
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
17930
|
+
*/
|
|
17931
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
17932
|
+
}, {
|
|
17693
17933
|
/**
|
|
17694
17934
|
* The progress thus far. This should increase every time progress is made, even if the total is unknown.
|
|
17695
17935
|
*/
|
|
@@ -17698,12 +17938,17 @@ export declare const ClientNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
17698
17938
|
* Total number of items to process (or total progress required), if known.
|
|
17699
17939
|
*/
|
|
17700
17940
|
total: z.ZodOptional<z.ZodNumber>;
|
|
17701
|
-
}
|
|
17941
|
+
}>, {
|
|
17702
17942
|
/**
|
|
17703
17943
|
* The progress token which was given in the initial request, used to associate this notification with the request that is proceeding.
|
|
17704
17944
|
*/
|
|
17705
17945
|
progressToken: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
17706
|
-
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
17946
|
+
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
17947
|
+
/**
|
|
17948
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
17949
|
+
*/
|
|
17950
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
17951
|
+
}, {
|
|
17707
17952
|
/**
|
|
17708
17953
|
* The progress thus far. This should increase every time progress is made, even if the total is unknown.
|
|
17709
17954
|
*/
|
|
@@ -17712,12 +17957,17 @@ export declare const ClientNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
17712
17957
|
* Total number of items to process (or total progress required), if known.
|
|
17713
17958
|
*/
|
|
17714
17959
|
total: z.ZodOptional<z.ZodNumber>;
|
|
17715
|
-
}
|
|
17960
|
+
}>, {
|
|
17716
17961
|
/**
|
|
17717
17962
|
* The progress token which was given in the initial request, used to associate this notification with the request that is proceeding.
|
|
17718
17963
|
*/
|
|
17719
17964
|
progressToken: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
17720
|
-
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
17965
|
+
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
17966
|
+
/**
|
|
17967
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
17968
|
+
*/
|
|
17969
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
17970
|
+
}, {
|
|
17721
17971
|
/**
|
|
17722
17972
|
* The progress thus far. This should increase every time progress is made, even if the total is unknown.
|
|
17723
17973
|
*/
|
|
@@ -17726,7 +17976,7 @@ export declare const ClientNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
17726
17976
|
* Total number of items to process (or total progress required), if known.
|
|
17727
17977
|
*/
|
|
17728
17978
|
total: z.ZodOptional<z.ZodNumber>;
|
|
17729
|
-
}
|
|
17979
|
+
}>, {
|
|
17730
17980
|
/**
|
|
17731
17981
|
* The progress token which was given in the initial request, used to associate this notification with the request that is proceeding.
|
|
17732
17982
|
*/
|
|
@@ -17736,6 +17986,7 @@ export declare const ClientNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
17736
17986
|
params: {
|
|
17737
17987
|
progressToken: string | number;
|
|
17738
17988
|
progress: number;
|
|
17989
|
+
_meta?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
17739
17990
|
total?: number | undefined;
|
|
17740
17991
|
} & {
|
|
17741
17992
|
[k: string]: unknown;
|
|
@@ -17745,6 +17996,7 @@ export declare const ClientNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
17745
17996
|
params: {
|
|
17746
17997
|
progressToken: string | number;
|
|
17747
17998
|
progress: number;
|
|
17999
|
+
_meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
17748
18000
|
total?: number | undefined;
|
|
17749
18001
|
} & {
|
|
17750
18002
|
[k: string]: unknown;
|
|
@@ -19472,8 +19724,100 @@ export declare const ServerNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
19472
19724
|
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
19473
19725
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
19474
19726
|
}, {
|
|
19475
|
-
method: z.ZodLiteral<"notifications/
|
|
19727
|
+
method: z.ZodLiteral<"notifications/cancelled">;
|
|
19476
19728
|
params: z.ZodObject<z.objectUtil.extendShape<{
|
|
19729
|
+
/**
|
|
19730
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
19731
|
+
*/
|
|
19732
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
19733
|
+
}, {
|
|
19734
|
+
/**
|
|
19735
|
+
* The ID of the request to cancel.
|
|
19736
|
+
*
|
|
19737
|
+
* This MUST correspond to the ID of a request previously issued in the same direction.
|
|
19738
|
+
*/
|
|
19739
|
+
requestId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
19740
|
+
/**
|
|
19741
|
+
* An optional string describing the reason for the cancellation. This MAY be logged or presented to the user.
|
|
19742
|
+
*/
|
|
19743
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
19744
|
+
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
19745
|
+
/**
|
|
19746
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
19747
|
+
*/
|
|
19748
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
19749
|
+
}, {
|
|
19750
|
+
/**
|
|
19751
|
+
* The ID of the request to cancel.
|
|
19752
|
+
*
|
|
19753
|
+
* This MUST correspond to the ID of a request previously issued in the same direction.
|
|
19754
|
+
*/
|
|
19755
|
+
requestId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
19756
|
+
/**
|
|
19757
|
+
* An optional string describing the reason for the cancellation. This MAY be logged or presented to the user.
|
|
19758
|
+
*/
|
|
19759
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
19760
|
+
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
19761
|
+
/**
|
|
19762
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
19763
|
+
*/
|
|
19764
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
19765
|
+
}, {
|
|
19766
|
+
/**
|
|
19767
|
+
* The ID of the request to cancel.
|
|
19768
|
+
*
|
|
19769
|
+
* This MUST correspond to the ID of a request previously issued in the same direction.
|
|
19770
|
+
*/
|
|
19771
|
+
requestId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
19772
|
+
/**
|
|
19773
|
+
* An optional string describing the reason for the cancellation. This MAY be logged or presented to the user.
|
|
19774
|
+
*/
|
|
19775
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
19776
|
+
}>, z.ZodTypeAny, "passthrough">>;
|
|
19777
|
+
}>, "strip", z.ZodTypeAny, {
|
|
19778
|
+
params: {
|
|
19779
|
+
requestId: string | number;
|
|
19780
|
+
_meta?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
19781
|
+
reason?: string | undefined;
|
|
19782
|
+
} & {
|
|
19783
|
+
[k: string]: unknown;
|
|
19784
|
+
};
|
|
19785
|
+
method: "notifications/cancelled";
|
|
19786
|
+
}, {
|
|
19787
|
+
params: {
|
|
19788
|
+
requestId: string | number;
|
|
19789
|
+
_meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
19790
|
+
reason?: string | undefined;
|
|
19791
|
+
} & {
|
|
19792
|
+
[k: string]: unknown;
|
|
19793
|
+
};
|
|
19794
|
+
method: "notifications/cancelled";
|
|
19795
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
19796
|
+
method: z.ZodString;
|
|
19797
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
19798
|
+
/**
|
|
19799
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
19800
|
+
*/
|
|
19801
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
19802
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
19803
|
+
/**
|
|
19804
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
19805
|
+
*/
|
|
19806
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
19807
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19808
|
+
/**
|
|
19809
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
19810
|
+
*/
|
|
19811
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
19812
|
+
}, z.ZodTypeAny, "passthrough">>>;
|
|
19813
|
+
}, {
|
|
19814
|
+
method: z.ZodLiteral<"notifications/progress">;
|
|
19815
|
+
params: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
19816
|
+
/**
|
|
19817
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
19818
|
+
*/
|
|
19819
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
19820
|
+
}, {
|
|
19477
19821
|
/**
|
|
19478
19822
|
* The progress thus far. This should increase every time progress is made, even if the total is unknown.
|
|
19479
19823
|
*/
|
|
@@ -19482,12 +19826,17 @@ export declare const ServerNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
19482
19826
|
* Total number of items to process (or total progress required), if known.
|
|
19483
19827
|
*/
|
|
19484
19828
|
total: z.ZodOptional<z.ZodNumber>;
|
|
19485
|
-
}
|
|
19829
|
+
}>, {
|
|
19486
19830
|
/**
|
|
19487
19831
|
* The progress token which was given in the initial request, used to associate this notification with the request that is proceeding.
|
|
19488
19832
|
*/
|
|
19489
19833
|
progressToken: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
19490
|
-
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
19834
|
+
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
19835
|
+
/**
|
|
19836
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
19837
|
+
*/
|
|
19838
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
19839
|
+
}, {
|
|
19491
19840
|
/**
|
|
19492
19841
|
* The progress thus far. This should increase every time progress is made, even if the total is unknown.
|
|
19493
19842
|
*/
|
|
@@ -19496,12 +19845,17 @@ export declare const ServerNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
19496
19845
|
* Total number of items to process (or total progress required), if known.
|
|
19497
19846
|
*/
|
|
19498
19847
|
total: z.ZodOptional<z.ZodNumber>;
|
|
19499
|
-
}
|
|
19848
|
+
}>, {
|
|
19500
19849
|
/**
|
|
19501
19850
|
* The progress token which was given in the initial request, used to associate this notification with the request that is proceeding.
|
|
19502
19851
|
*/
|
|
19503
19852
|
progressToken: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
19504
|
-
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
19853
|
+
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
19854
|
+
/**
|
|
19855
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
19856
|
+
*/
|
|
19857
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
19858
|
+
}, {
|
|
19505
19859
|
/**
|
|
19506
19860
|
* The progress thus far. This should increase every time progress is made, even if the total is unknown.
|
|
19507
19861
|
*/
|
|
@@ -19510,7 +19864,7 @@ export declare const ServerNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
19510
19864
|
* Total number of items to process (or total progress required), if known.
|
|
19511
19865
|
*/
|
|
19512
19866
|
total: z.ZodOptional<z.ZodNumber>;
|
|
19513
|
-
}
|
|
19867
|
+
}>, {
|
|
19514
19868
|
/**
|
|
19515
19869
|
* The progress token which was given in the initial request, used to associate this notification with the request that is proceeding.
|
|
19516
19870
|
*/
|
|
@@ -19520,6 +19874,7 @@ export declare const ServerNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
19520
19874
|
params: {
|
|
19521
19875
|
progressToken: string | number;
|
|
19522
19876
|
progress: number;
|
|
19877
|
+
_meta?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
19523
19878
|
total?: number | undefined;
|
|
19524
19879
|
} & {
|
|
19525
19880
|
[k: string]: unknown;
|
|
@@ -19529,6 +19884,7 @@ export declare const ServerNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
19529
19884
|
params: {
|
|
19530
19885
|
progressToken: string | number;
|
|
19531
19886
|
progress: number;
|
|
19887
|
+
_meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
19532
19888
|
total?: number | undefined;
|
|
19533
19889
|
} & {
|
|
19534
19890
|
[k: string]: unknown;
|
|
@@ -19554,7 +19910,12 @@ export declare const ServerNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
19554
19910
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
19555
19911
|
}, {
|
|
19556
19912
|
method: z.ZodLiteral<"notifications/message">;
|
|
19557
|
-
params: z.ZodObject<{
|
|
19913
|
+
params: z.ZodObject<z.objectUtil.extendShape<{
|
|
19914
|
+
/**
|
|
19915
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
19916
|
+
*/
|
|
19917
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
19918
|
+
}, {
|
|
19558
19919
|
/**
|
|
19559
19920
|
* The severity of this log message.
|
|
19560
19921
|
*/
|
|
@@ -19567,7 +19928,12 @@ export declare const ServerNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
19567
19928
|
* The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here.
|
|
19568
19929
|
*/
|
|
19569
19930
|
data: z.ZodUnknown;
|
|
19570
|
-
}
|
|
19931
|
+
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
19932
|
+
/**
|
|
19933
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
19934
|
+
*/
|
|
19935
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
19936
|
+
}, {
|
|
19571
19937
|
/**
|
|
19572
19938
|
* The severity of this log message.
|
|
19573
19939
|
*/
|
|
@@ -19580,7 +19946,12 @@ export declare const ServerNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
19580
19946
|
* The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here.
|
|
19581
19947
|
*/
|
|
19582
19948
|
data: z.ZodUnknown;
|
|
19583
|
-
}
|
|
19949
|
+
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
19950
|
+
/**
|
|
19951
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
19952
|
+
*/
|
|
19953
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
19954
|
+
}, {
|
|
19584
19955
|
/**
|
|
19585
19956
|
* The severity of this log message.
|
|
19586
19957
|
*/
|
|
@@ -19593,10 +19964,11 @@ export declare const ServerNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
19593
19964
|
* The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here.
|
|
19594
19965
|
*/
|
|
19595
19966
|
data: z.ZodUnknown;
|
|
19596
|
-
}
|
|
19967
|
+
}>, z.ZodTypeAny, "passthrough">>;
|
|
19597
19968
|
}>, "strip", z.ZodTypeAny, {
|
|
19598
19969
|
params: {
|
|
19599
19970
|
level: "error" | "debug" | "info" | "notice" | "warning" | "critical" | "alert" | "emergency";
|
|
19971
|
+
_meta?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
19600
19972
|
data?: unknown;
|
|
19601
19973
|
logger?: string | undefined;
|
|
19602
19974
|
} & {
|
|
@@ -19606,6 +19978,7 @@ export declare const ServerNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
19606
19978
|
}, {
|
|
19607
19979
|
params: {
|
|
19608
19980
|
level: "error" | "debug" | "info" | "notice" | "warning" | "critical" | "alert" | "emergency";
|
|
19981
|
+
_meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
19609
19982
|
data?: unknown;
|
|
19610
19983
|
logger?: string | undefined;
|
|
19611
19984
|
} & {
|
|
@@ -19632,25 +20005,41 @@ export declare const ServerNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
19632
20005
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
19633
20006
|
}, {
|
|
19634
20007
|
method: z.ZodLiteral<"notifications/resources/updated">;
|
|
19635
|
-
params: z.ZodObject<{
|
|
20008
|
+
params: z.ZodObject<z.objectUtil.extendShape<{
|
|
20009
|
+
/**
|
|
20010
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
20011
|
+
*/
|
|
20012
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
20013
|
+
}, {
|
|
19636
20014
|
/**
|
|
19637
20015
|
* The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to.
|
|
19638
20016
|
*/
|
|
19639
20017
|
uri: z.ZodString;
|
|
19640
|
-
}
|
|
20018
|
+
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
20019
|
+
/**
|
|
20020
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
20021
|
+
*/
|
|
20022
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
20023
|
+
}, {
|
|
19641
20024
|
/**
|
|
19642
20025
|
* The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to.
|
|
19643
20026
|
*/
|
|
19644
20027
|
uri: z.ZodString;
|
|
19645
|
-
}
|
|
20028
|
+
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
20029
|
+
/**
|
|
20030
|
+
* This parameter name is reserved by MCP to allow clients and servers to attach additional metadata to their notifications.
|
|
20031
|
+
*/
|
|
20032
|
+
_meta: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
|
|
20033
|
+
}, {
|
|
19646
20034
|
/**
|
|
19647
20035
|
* The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to.
|
|
19648
20036
|
*/
|
|
19649
20037
|
uri: z.ZodString;
|
|
19650
|
-
}
|
|
20038
|
+
}>, z.ZodTypeAny, "passthrough">>;
|
|
19651
20039
|
}>, "strip", z.ZodTypeAny, {
|
|
19652
20040
|
params: {
|
|
19653
20041
|
uri: string;
|
|
20042
|
+
_meta?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
19654
20043
|
} & {
|
|
19655
20044
|
[k: string]: unknown;
|
|
19656
20045
|
};
|
|
@@ -19658,6 +20047,7 @@ export declare const ServerNotificationSchema: z.ZodUnion<[z.ZodObject<z.objectU
|
|
|
19658
20047
|
}, {
|
|
19659
20048
|
params: {
|
|
19660
20049
|
uri: string;
|
|
20050
|
+
_meta?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
19661
20051
|
} & {
|
|
19662
20052
|
[k: string]: unknown;
|
|
19663
20053
|
};
|
|
@@ -19804,17 +20194,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
19804
20194
|
*/
|
|
19805
20195
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
19806
20196
|
/**
|
|
19807
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20197
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
19808
20198
|
*/
|
|
19809
20199
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19810
20200
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
19811
20201
|
/**
|
|
19812
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20202
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
19813
20203
|
*/
|
|
19814
20204
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19815
20205
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19816
20206
|
/**
|
|
19817
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20207
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
19818
20208
|
*/
|
|
19819
20209
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19820
20210
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -19823,29 +20213,29 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
19823
20213
|
*/
|
|
19824
20214
|
resources: z.ZodOptional<z.ZodObject<{
|
|
19825
20215
|
/**
|
|
19826
|
-
* Whether this server supports subscribing to resource updates.
|
|
20216
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
19827
20217
|
*/
|
|
19828
20218
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
19829
20219
|
/**
|
|
19830
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20220
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
19831
20221
|
*/
|
|
19832
20222
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19833
20223
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
19834
20224
|
/**
|
|
19835
|
-
* Whether this server supports subscribing to resource updates.
|
|
20225
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
19836
20226
|
*/
|
|
19837
20227
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
19838
20228
|
/**
|
|
19839
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20229
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
19840
20230
|
*/
|
|
19841
20231
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19842
20232
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19843
20233
|
/**
|
|
19844
|
-
* Whether this server supports subscribing to resource updates.
|
|
20234
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
19845
20235
|
*/
|
|
19846
20236
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
19847
20237
|
/**
|
|
19848
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20238
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
19849
20239
|
*/
|
|
19850
20240
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19851
20241
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -19854,17 +20244,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
19854
20244
|
*/
|
|
19855
20245
|
tools: z.ZodOptional<z.ZodObject<{
|
|
19856
20246
|
/**
|
|
19857
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20247
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
19858
20248
|
*/
|
|
19859
20249
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19860
20250
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
19861
20251
|
/**
|
|
19862
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20252
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
19863
20253
|
*/
|
|
19864
20254
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19865
20255
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19866
20256
|
/**
|
|
19867
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20257
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
19868
20258
|
*/
|
|
19869
20259
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19870
20260
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -19882,17 +20272,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
19882
20272
|
*/
|
|
19883
20273
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
19884
20274
|
/**
|
|
19885
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20275
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
19886
20276
|
*/
|
|
19887
20277
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19888
20278
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
19889
20279
|
/**
|
|
19890
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20280
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
19891
20281
|
*/
|
|
19892
20282
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19893
20283
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19894
20284
|
/**
|
|
19895
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20285
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
19896
20286
|
*/
|
|
19897
20287
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19898
20288
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -19901,29 +20291,29 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
19901
20291
|
*/
|
|
19902
20292
|
resources: z.ZodOptional<z.ZodObject<{
|
|
19903
20293
|
/**
|
|
19904
|
-
* Whether this server supports subscribing to resource updates.
|
|
20294
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
19905
20295
|
*/
|
|
19906
20296
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
19907
20297
|
/**
|
|
19908
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20298
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
19909
20299
|
*/
|
|
19910
20300
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19911
20301
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
19912
20302
|
/**
|
|
19913
|
-
* Whether this server supports subscribing to resource updates.
|
|
20303
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
19914
20304
|
*/
|
|
19915
20305
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
19916
20306
|
/**
|
|
19917
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20307
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
19918
20308
|
*/
|
|
19919
20309
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19920
20310
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19921
20311
|
/**
|
|
19922
|
-
* Whether this server supports subscribing to resource updates.
|
|
20312
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
19923
20313
|
*/
|
|
19924
20314
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
19925
20315
|
/**
|
|
19926
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20316
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
19927
20317
|
*/
|
|
19928
20318
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19929
20319
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -19932,17 +20322,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
19932
20322
|
*/
|
|
19933
20323
|
tools: z.ZodOptional<z.ZodObject<{
|
|
19934
20324
|
/**
|
|
19935
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20325
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
19936
20326
|
*/
|
|
19937
20327
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19938
20328
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
19939
20329
|
/**
|
|
19940
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20330
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
19941
20331
|
*/
|
|
19942
20332
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19943
20333
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19944
20334
|
/**
|
|
19945
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20335
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
19946
20336
|
*/
|
|
19947
20337
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19948
20338
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -19960,17 +20350,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
19960
20350
|
*/
|
|
19961
20351
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
19962
20352
|
/**
|
|
19963
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20353
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
19964
20354
|
*/
|
|
19965
20355
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19966
20356
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
19967
20357
|
/**
|
|
19968
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20358
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
19969
20359
|
*/
|
|
19970
20360
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19971
20361
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19972
20362
|
/**
|
|
19973
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20363
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
19974
20364
|
*/
|
|
19975
20365
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19976
20366
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -19979,29 +20369,29 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
19979
20369
|
*/
|
|
19980
20370
|
resources: z.ZodOptional<z.ZodObject<{
|
|
19981
20371
|
/**
|
|
19982
|
-
* Whether this server supports subscribing to resource updates.
|
|
20372
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
19983
20373
|
*/
|
|
19984
20374
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
19985
20375
|
/**
|
|
19986
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20376
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
19987
20377
|
*/
|
|
19988
20378
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19989
20379
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
19990
20380
|
/**
|
|
19991
|
-
* Whether this server supports subscribing to resource updates.
|
|
20381
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
19992
20382
|
*/
|
|
19993
20383
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
19994
20384
|
/**
|
|
19995
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20385
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
19996
20386
|
*/
|
|
19997
20387
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
19998
20388
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19999
20389
|
/**
|
|
20000
|
-
* Whether this server supports subscribing to resource updates.
|
|
20390
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20001
20391
|
*/
|
|
20002
20392
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20003
20393
|
/**
|
|
20004
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20394
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20005
20395
|
*/
|
|
20006
20396
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20007
20397
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20010,17 +20400,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20010
20400
|
*/
|
|
20011
20401
|
tools: z.ZodOptional<z.ZodObject<{
|
|
20012
20402
|
/**
|
|
20013
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20403
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20014
20404
|
*/
|
|
20015
20405
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20016
20406
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20017
20407
|
/**
|
|
20018
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20408
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20019
20409
|
*/
|
|
20020
20410
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20021
20411
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20022
20412
|
/**
|
|
20023
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20413
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20024
20414
|
*/
|
|
20025
20415
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20026
20416
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20059,17 +20449,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20059
20449
|
*/
|
|
20060
20450
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
20061
20451
|
/**
|
|
20062
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20452
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20063
20453
|
*/
|
|
20064
20454
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20065
20455
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20066
20456
|
/**
|
|
20067
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20457
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20068
20458
|
*/
|
|
20069
20459
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20070
20460
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20071
20461
|
/**
|
|
20072
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20462
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20073
20463
|
*/
|
|
20074
20464
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20075
20465
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20078,29 +20468,29 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20078
20468
|
*/
|
|
20079
20469
|
resources: z.ZodOptional<z.ZodObject<{
|
|
20080
20470
|
/**
|
|
20081
|
-
* Whether this server supports subscribing to resource updates.
|
|
20471
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20082
20472
|
*/
|
|
20083
20473
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20084
20474
|
/**
|
|
20085
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20475
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20086
20476
|
*/
|
|
20087
20477
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20088
20478
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20089
20479
|
/**
|
|
20090
|
-
* Whether this server supports subscribing to resource updates.
|
|
20480
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20091
20481
|
*/
|
|
20092
20482
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20093
20483
|
/**
|
|
20094
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20484
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20095
20485
|
*/
|
|
20096
20486
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20097
20487
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20098
20488
|
/**
|
|
20099
|
-
* Whether this server supports subscribing to resource updates.
|
|
20489
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20100
20490
|
*/
|
|
20101
20491
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20102
20492
|
/**
|
|
20103
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20493
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20104
20494
|
*/
|
|
20105
20495
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20106
20496
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20109,17 +20499,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20109
20499
|
*/
|
|
20110
20500
|
tools: z.ZodOptional<z.ZodObject<{
|
|
20111
20501
|
/**
|
|
20112
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20502
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20113
20503
|
*/
|
|
20114
20504
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20115
20505
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20116
20506
|
/**
|
|
20117
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20507
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20118
20508
|
*/
|
|
20119
20509
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20120
20510
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20121
20511
|
/**
|
|
20122
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20512
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20123
20513
|
*/
|
|
20124
20514
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20125
20515
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20137,17 +20527,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20137
20527
|
*/
|
|
20138
20528
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
20139
20529
|
/**
|
|
20140
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20530
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20141
20531
|
*/
|
|
20142
20532
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20143
20533
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20144
20534
|
/**
|
|
20145
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20535
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20146
20536
|
*/
|
|
20147
20537
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20148
20538
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20149
20539
|
/**
|
|
20150
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20540
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20151
20541
|
*/
|
|
20152
20542
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20153
20543
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20156,29 +20546,29 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20156
20546
|
*/
|
|
20157
20547
|
resources: z.ZodOptional<z.ZodObject<{
|
|
20158
20548
|
/**
|
|
20159
|
-
* Whether this server supports subscribing to resource updates.
|
|
20549
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20160
20550
|
*/
|
|
20161
20551
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20162
20552
|
/**
|
|
20163
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20553
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20164
20554
|
*/
|
|
20165
20555
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20166
20556
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20167
20557
|
/**
|
|
20168
|
-
* Whether this server supports subscribing to resource updates.
|
|
20558
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20169
20559
|
*/
|
|
20170
20560
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20171
20561
|
/**
|
|
20172
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20562
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20173
20563
|
*/
|
|
20174
20564
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20175
20565
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20176
20566
|
/**
|
|
20177
|
-
* Whether this server supports subscribing to resource updates.
|
|
20567
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20178
20568
|
*/
|
|
20179
20569
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20180
20570
|
/**
|
|
20181
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20571
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20182
20572
|
*/
|
|
20183
20573
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20184
20574
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20187,17 +20577,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20187
20577
|
*/
|
|
20188
20578
|
tools: z.ZodOptional<z.ZodObject<{
|
|
20189
20579
|
/**
|
|
20190
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20580
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20191
20581
|
*/
|
|
20192
20582
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20193
20583
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20194
20584
|
/**
|
|
20195
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20585
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20196
20586
|
*/
|
|
20197
20587
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20198
20588
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20199
20589
|
/**
|
|
20200
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20590
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20201
20591
|
*/
|
|
20202
20592
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20203
20593
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20215,17 +20605,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20215
20605
|
*/
|
|
20216
20606
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
20217
20607
|
/**
|
|
20218
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20608
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20219
20609
|
*/
|
|
20220
20610
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20221
20611
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20222
20612
|
/**
|
|
20223
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20613
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20224
20614
|
*/
|
|
20225
20615
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20226
20616
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20227
20617
|
/**
|
|
20228
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20618
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20229
20619
|
*/
|
|
20230
20620
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20231
20621
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20234,29 +20624,29 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20234
20624
|
*/
|
|
20235
20625
|
resources: z.ZodOptional<z.ZodObject<{
|
|
20236
20626
|
/**
|
|
20237
|
-
* Whether this server supports subscribing to resource updates.
|
|
20627
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20238
20628
|
*/
|
|
20239
20629
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20240
20630
|
/**
|
|
20241
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20631
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20242
20632
|
*/
|
|
20243
20633
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20244
20634
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20245
20635
|
/**
|
|
20246
|
-
* Whether this server supports subscribing to resource updates.
|
|
20636
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20247
20637
|
*/
|
|
20248
20638
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20249
20639
|
/**
|
|
20250
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20640
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20251
20641
|
*/
|
|
20252
20642
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20253
20643
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20254
20644
|
/**
|
|
20255
|
-
* Whether this server supports subscribing to resource updates.
|
|
20645
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20256
20646
|
*/
|
|
20257
20647
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20258
20648
|
/**
|
|
20259
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20649
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20260
20650
|
*/
|
|
20261
20651
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20262
20652
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20265,17 +20655,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20265
20655
|
*/
|
|
20266
20656
|
tools: z.ZodOptional<z.ZodObject<{
|
|
20267
20657
|
/**
|
|
20268
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20658
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20269
20659
|
*/
|
|
20270
20660
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20271
20661
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20272
20662
|
/**
|
|
20273
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20663
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20274
20664
|
*/
|
|
20275
20665
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20276
20666
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20277
20667
|
/**
|
|
20278
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20668
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20279
20669
|
*/
|
|
20280
20670
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20281
20671
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20314,17 +20704,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20314
20704
|
*/
|
|
20315
20705
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
20316
20706
|
/**
|
|
20317
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20707
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20318
20708
|
*/
|
|
20319
20709
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20320
20710
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20321
20711
|
/**
|
|
20322
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20712
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20323
20713
|
*/
|
|
20324
20714
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20325
20715
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20326
20716
|
/**
|
|
20327
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20717
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20328
20718
|
*/
|
|
20329
20719
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20330
20720
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20333,29 +20723,29 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20333
20723
|
*/
|
|
20334
20724
|
resources: z.ZodOptional<z.ZodObject<{
|
|
20335
20725
|
/**
|
|
20336
|
-
* Whether this server supports subscribing to resource updates.
|
|
20726
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20337
20727
|
*/
|
|
20338
20728
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20339
20729
|
/**
|
|
20340
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20730
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20341
20731
|
*/
|
|
20342
20732
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20343
20733
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20344
20734
|
/**
|
|
20345
|
-
* Whether this server supports subscribing to resource updates.
|
|
20735
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20346
20736
|
*/
|
|
20347
20737
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20348
20738
|
/**
|
|
20349
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20739
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20350
20740
|
*/
|
|
20351
20741
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20352
20742
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20353
20743
|
/**
|
|
20354
|
-
* Whether this server supports subscribing to resource updates.
|
|
20744
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20355
20745
|
*/
|
|
20356
20746
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20357
20747
|
/**
|
|
20358
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20748
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20359
20749
|
*/
|
|
20360
20750
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20361
20751
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20364,17 +20754,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20364
20754
|
*/
|
|
20365
20755
|
tools: z.ZodOptional<z.ZodObject<{
|
|
20366
20756
|
/**
|
|
20367
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20757
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20368
20758
|
*/
|
|
20369
20759
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20370
20760
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20371
20761
|
/**
|
|
20372
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20762
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20373
20763
|
*/
|
|
20374
20764
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20375
20765
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20376
20766
|
/**
|
|
20377
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20767
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20378
20768
|
*/
|
|
20379
20769
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20380
20770
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20392,17 +20782,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20392
20782
|
*/
|
|
20393
20783
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
20394
20784
|
/**
|
|
20395
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20785
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20396
20786
|
*/
|
|
20397
20787
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20398
20788
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20399
20789
|
/**
|
|
20400
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20790
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20401
20791
|
*/
|
|
20402
20792
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20403
20793
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20404
20794
|
/**
|
|
20405
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20795
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20406
20796
|
*/
|
|
20407
20797
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20408
20798
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20411,29 +20801,29 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20411
20801
|
*/
|
|
20412
20802
|
resources: z.ZodOptional<z.ZodObject<{
|
|
20413
20803
|
/**
|
|
20414
|
-
* Whether this server supports subscribing to resource updates.
|
|
20804
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20415
20805
|
*/
|
|
20416
20806
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20417
20807
|
/**
|
|
20418
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20808
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20419
20809
|
*/
|
|
20420
20810
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20421
20811
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20422
20812
|
/**
|
|
20423
|
-
* Whether this server supports subscribing to resource updates.
|
|
20813
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20424
20814
|
*/
|
|
20425
20815
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20426
20816
|
/**
|
|
20427
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20817
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20428
20818
|
*/
|
|
20429
20819
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20430
20820
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20431
20821
|
/**
|
|
20432
|
-
* Whether this server supports subscribing to resource updates.
|
|
20822
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20433
20823
|
*/
|
|
20434
20824
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20435
20825
|
/**
|
|
20436
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20826
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20437
20827
|
*/
|
|
20438
20828
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20439
20829
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20442,17 +20832,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20442
20832
|
*/
|
|
20443
20833
|
tools: z.ZodOptional<z.ZodObject<{
|
|
20444
20834
|
/**
|
|
20445
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20835
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20446
20836
|
*/
|
|
20447
20837
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20448
20838
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20449
20839
|
/**
|
|
20450
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20840
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20451
20841
|
*/
|
|
20452
20842
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20453
20843
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20454
20844
|
/**
|
|
20455
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20845
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20456
20846
|
*/
|
|
20457
20847
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20458
20848
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20470,17 +20860,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20470
20860
|
*/
|
|
20471
20861
|
prompts: z.ZodOptional<z.ZodObject<{
|
|
20472
20862
|
/**
|
|
20473
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20863
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20474
20864
|
*/
|
|
20475
20865
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20476
20866
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20477
20867
|
/**
|
|
20478
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20868
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20479
20869
|
*/
|
|
20480
20870
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20481
20871
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20482
20872
|
/**
|
|
20483
|
-
* Whether this server supports notifications for changes to the prompt list.
|
|
20873
|
+
* Whether this server supports issuing notifications for changes to the prompt list.
|
|
20484
20874
|
*/
|
|
20485
20875
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20486
20876
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20489,29 +20879,29 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20489
20879
|
*/
|
|
20490
20880
|
resources: z.ZodOptional<z.ZodObject<{
|
|
20491
20881
|
/**
|
|
20492
|
-
* Whether this server supports subscribing to resource updates.
|
|
20882
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20493
20883
|
*/
|
|
20494
20884
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20495
20885
|
/**
|
|
20496
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20886
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20497
20887
|
*/
|
|
20498
20888
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20499
20889
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20500
20890
|
/**
|
|
20501
|
-
* Whether this server supports subscribing to resource updates.
|
|
20891
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20502
20892
|
*/
|
|
20503
20893
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20504
20894
|
/**
|
|
20505
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20895
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20506
20896
|
*/
|
|
20507
20897
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20508
20898
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20509
20899
|
/**
|
|
20510
|
-
* Whether this server supports subscribing to resource updates.
|
|
20900
|
+
* Whether this server supports clients subscribing to resource updates.
|
|
20511
20901
|
*/
|
|
20512
20902
|
subscribe: z.ZodOptional<z.ZodBoolean>;
|
|
20513
20903
|
/**
|
|
20514
|
-
* Whether this server supports notifications for changes to the resource list.
|
|
20904
|
+
* Whether this server supports issuing notifications for changes to the resource list.
|
|
20515
20905
|
*/
|
|
20516
20906
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20517
20907
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -20520,17 +20910,17 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20520
20910
|
*/
|
|
20521
20911
|
tools: z.ZodOptional<z.ZodObject<{
|
|
20522
20912
|
/**
|
|
20523
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20913
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20524
20914
|
*/
|
|
20525
20915
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20526
20916
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
20527
20917
|
/**
|
|
20528
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20918
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20529
20919
|
*/
|
|
20530
20920
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20531
20921
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
20532
20922
|
/**
|
|
20533
|
-
* Whether this server supports notifications for changes to the tool list.
|
|
20923
|
+
* Whether this server supports issuing notifications for changes to the tool list.
|
|
20534
20924
|
*/
|
|
20535
20925
|
listChanged: z.ZodOptional<z.ZodBoolean>;
|
|
20536
20926
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
@@ -25076,7 +25466,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
25076
25466
|
blob: z.ZodString;
|
|
25077
25467
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
25078
25468
|
}, z.ZodTypeAny, "passthrough">>]>, "many">;
|
|
25079
|
-
isError: z.ZodDefault<z.ZodBoolean
|
|
25469
|
+
isError: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
25080
25470
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
25081
25471
|
/**
|
|
25082
25472
|
* This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
|
|
@@ -25393,7 +25783,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
25393
25783
|
blob: z.ZodString;
|
|
25394
25784
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
25395
25785
|
}, z.ZodTypeAny, "passthrough">>]>, "many">;
|
|
25396
|
-
isError: z.ZodDefault<z.ZodBoolean
|
|
25786
|
+
isError: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
25397
25787
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
25398
25788
|
/**
|
|
25399
25789
|
* This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
|
|
@@ -25710,7 +26100,7 @@ export declare const ServerResultSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
25710
26100
|
blob: z.ZodString;
|
|
25711
26101
|
}>, z.ZodTypeAny, "passthrough">>]>;
|
|
25712
26102
|
}, z.ZodTypeAny, "passthrough">>]>, "many">;
|
|
25713
|
-
isError: z.ZodDefault<z.ZodBoolean
|
|
26103
|
+
isError: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
25714
26104
|
}>, z.ZodTypeAny, "passthrough">>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
25715
26105
|
/**
|
|
25716
26106
|
* This result property is reserved by the protocol to allow clients and servers to attach additional metadata to their responses.
|
|
@@ -25966,6 +26356,7 @@ export type JSONRPCResponse = z.infer<typeof JSONRPCResponseSchema>;
|
|
|
25966
26356
|
export type JSONRPCError = z.infer<typeof JSONRPCErrorSchema>;
|
|
25967
26357
|
export type JSONRPCMessage = z.infer<typeof JSONRPCMessageSchema>;
|
|
25968
26358
|
export type EmptyResult = z.infer<typeof EmptyResultSchema>;
|
|
26359
|
+
export type CancelledNotification = z.infer<typeof CancelledNotificationSchema>;
|
|
25969
26360
|
export type Implementation = z.infer<typeof ImplementationSchema>;
|
|
25970
26361
|
export type ClientCapabilities = z.infer<typeof ClientCapabilitiesSchema>;
|
|
25971
26362
|
export type InitializeRequest = z.infer<typeof InitializeRequestSchema>;
|