tmcp 1.15.0 → 1.15.1
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/package.json +1 -1
- package/src/index.js +5 -1
- package/src/types/index.d.ts +2 -1
- package/src/types/index.d.ts.map +2 -2
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @import SqidsType from "sqids";
|
|
5
5
|
* @import { JSONRPCRequest, JSONRPCParams } from "json-rpc-2.0";
|
|
6
6
|
* @import { ExtractURITemplateVariables } from "./internal/uri-template.js";
|
|
7
|
-
* @import { CallToolResult, ReadResourceResult, GetPromptResult, ServerInfo, ClientCapabilities as ClientCapabilitiesType, JSONRPCRequest as JSONRPCRequestType, JSONRPCResponse, CreateMessageRequestParams, CreateMessageResult, Resource, LoggingLevel, ToolAnnotations, ClientInfo, ElicitResult, Icons } from "./validation/index.js";
|
|
7
|
+
* @import { CallToolResult, ReadResourceResult, GetPromptResult, ServerInfo, ClientCapabilities as ClientCapabilitiesType, JSONRPCRequest as JSONRPCRequestType, JSONRPCResponse, CreateMessageRequestParams, CreateMessageResult, Resource, LoggingLevel, ToolAnnotations, ClientInfo, ElicitResult, Icons as IconsType } from "./validation/index.js";
|
|
8
8
|
* @import { Tool, Completion, Prompt, StoredResource, ServerOptions, SubscriptionsKeys, ChangedArgs, McpEvents } from "./internal/internal.js";
|
|
9
9
|
*/
|
|
10
10
|
import { JSONRPCClient, JSONRPCServer } from 'json-rpc-2.0';
|
|
@@ -53,6 +53,10 @@ import { should_version_negotiation_fail } from './validation/version.js';
|
|
|
53
53
|
* @property {TCustom} [custom]
|
|
54
54
|
*/
|
|
55
55
|
|
|
56
|
+
/**
|
|
57
|
+
* @typedef {IconsType} Icons
|
|
58
|
+
*/
|
|
59
|
+
|
|
56
60
|
/**
|
|
57
61
|
* @type {SqidsType | undefined}
|
|
58
62
|
*/
|
package/src/types/index.d.ts
CHANGED
|
@@ -185,6 +185,7 @@ declare module 'tmcp' {
|
|
|
185
185
|
auth?: AuthInfo | undefined;
|
|
186
186
|
custom?: TCustom | undefined;
|
|
187
187
|
};
|
|
188
|
+
export type Icons = Icons_1;
|
|
188
189
|
export type ClientCapabilities = ClientCapabilities_1;
|
|
189
190
|
type Completion = (
|
|
190
191
|
query: string,
|
|
@@ -1171,7 +1172,7 @@ declare module 'tmcp' {
|
|
|
1171
1172
|
*/
|
|
1172
1173
|
readonly _meta: v.OptionalSchema<v.LooseObjectSchema<{}, undefined>, undefined>;
|
|
1173
1174
|
}, undefined>;
|
|
1174
|
-
type
|
|
1175
|
+
type Icons_1 = v.InferInput<typeof IconsSchema>;
|
|
1175
1176
|
type ClientCapabilities_1 = v.InferInput<typeof ClientCapabilitiesSchema>;
|
|
1176
1177
|
type ServerCapabilities = v.InferInput<typeof ServerCapabilitiesSchema>;
|
|
1177
1178
|
type ServerInfo = v.InferInput<typeof ImplementationSchema> & {
|
package/src/types/index.d.ts.map
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"file": "index.d.ts",
|
|
4
4
|
"names": [
|
|
5
5
|
"McpServer",
|
|
6
|
+
"Icons",
|
|
6
7
|
"ClientCapabilities",
|
|
7
8
|
"Completion",
|
|
8
9
|
"ServerOptions",
|
|
@@ -24,7 +25,6 @@
|
|
|
24
25
|
"CreateMessageResultSchema",
|
|
25
26
|
"ElicitResultSchema",
|
|
26
27
|
"CompleteResultSchema",
|
|
27
|
-
"Icons",
|
|
28
28
|
"ServerCapabilities",
|
|
29
29
|
"ServerInfo",
|
|
30
30
|
"InitializeRequestParams",
|
|
@@ -60,6 +60,6 @@
|
|
|
60
60
|
null,
|
|
61
61
|
null
|
|
62
62
|
],
|
|
63
|
-
"mappings": ";;;;;
|
|
63
|
+
"mappings": ";;;;;cA2GaA,SAASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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