tmcp 1.8.1 → 1.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tmcp",
3
- "version": "1.8.1",
3
+ "version": "1.9.0",
4
4
  "description": "The main tmcp library",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
package/src/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * @import { JSONRPCRequest, JSONRPCParams } from "json-rpc-2.0";
5
5
  * @import { ExtractURITemplateVariables } from "./internal/uri-template.js";
6
6
  * @import { CallToolResult, ReadResourceResult, GetPromptResult, ClientCapabilities as ClientCapabilitiesType, JSONRPCRequest as JSONRPCRequestType, JSONRPCResponse, CreateMessageRequestParams, CreateMessageResult, Resource, LoggingLevel, ToolAnnotations } from "./validation/index.js";
7
- * @import { Tool, Completion, Prompt, StoredResource, ServerOptions, ServerInfo, SubscriptionsKeys, McpEvents } from "./internal/internal.js";
7
+ * @import { Tool, Completion, Prompt, StoredResource, ServerOptions, ServerInfo, SubscriptionsKeys, McpEvents, Context as ContextType } from "./internal/internal.js";
8
8
  */
9
9
  import { JSONRPCClient, JSONRPCServer } from 'json-rpc-2.0';
10
10
  import { AsyncLocalStorage } from 'node:async_hooks';
@@ -29,6 +29,25 @@ import {
29
29
  } from './validation/version.js';
30
30
  import { should_version_negotiation_fail } from './validation/version.js';
31
31
 
32
+ /**
33
+ * Information about a validated access token, provided to request handlers.
34
+ * @typedef {Object} AuthInfo
35
+ * @property {string} token - The access token.
36
+ * @property {string} clientId - The client ID associated with this token.
37
+ * @property {string[]} scopes - Scopes associated with this token.
38
+ * @property {number} [expiresAt] - When the token expires (in seconds since epoch).
39
+ * @property {URL} [resource] - The RFC 8707 resource server identifier for which this token is valid.
40
+ * If set, this MUST match the MCP server's resource identifier (minus hash fragment).
41
+ * @property {Record<string, unknown>} [extra] - Additional data associated with the token.
42
+ * This field should be used for any additional data that needs to be attached to the auth info.
43
+ */
44
+
45
+ /**
46
+ * @typedef {Object} Context
47
+ * @property {string} [sessionId]
48
+ * @property {AuthInfo} [auth]
49
+ */
50
+
32
51
  /**
33
52
  * @type {SqidsType | undefined}
34
53
  */
@@ -110,9 +129,9 @@ export class McpServer {
110
129
  };
111
130
 
112
131
  /**
113
- * @type {AsyncLocalStorage<string | undefined>}
132
+ * @type {AsyncLocalStorage<Context>}
114
133
  */
115
- #session_storage = new AsyncLocalStorage();
134
+ #ctx_storage = new AsyncLocalStorage();
116
135
 
117
136
  /**
118
137
  * @type {Map<string|undefined, ClientCapabilities>}
@@ -236,7 +255,11 @@ export class McpServer {
236
255
  }
237
256
 
238
257
  get #session_id() {
239
- return this.#session_storage.getStore();
258
+ return this.#ctx_storage.getStore()?.sessionId;
259
+ }
260
+
261
+ get ctx() {
262
+ return this.#ctx_storage.getStore() ?? {};
240
263
  }
241
264
 
242
265
  get #client_capabilities() {
@@ -690,10 +713,10 @@ export class McpServer {
690
713
  }
691
714
  /**
692
715
  * @param {JSONRPCResponse | JSONRPCRequest} message
693
- * @param {string} [session_id]
716
+ * @param {Context} [ctx]
694
717
  * @returns {ReturnType<JSONRPCServer['receive']> | ReturnType<JSONRPCClient['receive'] | undefined>}
695
718
  */
696
- receive(message, session_id) {
719
+ receive(message, ctx) {
697
720
  // Validate the message first
698
721
  const validated_message = v.safeParse(
699
722
  v.union([JSONRPCRequestSchema, JSONRPCNotificationSchema]),
@@ -707,15 +730,15 @@ export class McpServer {
707
730
  // to each client that didn't explicitly set a log level too
708
731
  if (
709
732
  !!this.#options.capabilities?.logging &&
710
- !this.#session_log_levels.has(session_id)
733
+ !this.#session_log_levels.has(ctx?.sessionId)
711
734
  ) {
712
735
  this.#session_log_levels.set(
713
- session_id,
736
+ ctx?.sessionId,
714
737
  this.#options.logging?.default ?? 'info',
715
738
  );
716
739
  }
717
- return this.#session_storage.run(
718
- session_id,
740
+ return this.#ctx_storage.run(
741
+ ctx ?? {},
719
742
  async () =>
720
743
  await this.#server.receive(validated_message.output),
721
744
  );
@@ -723,7 +746,7 @@ export class McpServer {
723
746
  // It's a response - handle with client
724
747
  const validated_response = v.parse(JSONRPCResponseSchema, message);
725
748
  this.#lazyily_create_client();
726
- return this.#session_storage.run(session_id, async () =>
749
+ return this.#ctx_storage.run(ctx ?? {}, async () =>
727
750
  this.#client?.receive(validated_response),
728
751
  );
729
752
  }
@@ -90,4 +90,4 @@ export type McpEvents = {
90
90
  };
91
91
  }) => void;
92
92
  initialize: (initialize_request: InitializeRequestParams) => void;
93
- };
93
+ };
@@ -11,6 +11,7 @@ declare module 'tmcp' {
11
11
  uri: string;
12
12
  name?: string;
13
13
  }>;
14
+ get ctx(): Context;
14
15
  currentClientCapabilities(): {
15
16
  experimental?: {} | undefined;
16
17
  sampling?: {} | undefined;
@@ -54,7 +55,7 @@ declare module 'tmcp' {
54
55
  list?: () => Promise<Array<Resource>> | Array<Resource>;
55
56
  }, execute: (uri: string, params: Record<TVariables, string | string[]>) => Promise<ReadResourceResult> | ReadResourceResult): void;
56
57
 
57
- receive(message: JSONRPCResponse | JSONRPCRequest, session_id?: string): ReturnType<JSONRPCServer["receive"]> | ReturnType<JSONRPCClient["receive"] | undefined>;
58
+ receive(message: JSONRPCResponse | JSONRPCRequest, ctx?: Context): ReturnType<JSONRPCServer["receive"]> | ReturnType<JSONRPCClient["receive"] | undefined>;
58
59
  /**
59
60
  * Send a notification for subscriptions
60
61
  * */
@@ -76,6 +77,41 @@ declare module 'tmcp' {
76
77
  log(level: LoggingLevel, data: unknown, logger?: string): void;
77
78
  #private;
78
79
  }
80
+ /**
81
+ * Information about a validated access token, provided to request handlers.
82
+ */
83
+ export type AuthInfo = {
84
+ /**
85
+ * - The access token.
86
+ */
87
+ token: string;
88
+ /**
89
+ * - The client ID associated with this token.
90
+ */
91
+ clientId: string;
92
+ /**
93
+ * - Scopes associated with this token.
94
+ */
95
+ scopes: string[];
96
+ /**
97
+ * - When the token expires (in seconds since epoch).
98
+ */
99
+ expiresAt?: number | undefined;
100
+ /**
101
+ * - The RFC 8707 resource server identifier for which this token is valid.
102
+ * If set, this MUST match the MCP server's resource identifier (minus hash fragment).
103
+ */
104
+ resource?: URL | undefined;
105
+ /**
106
+ * - Additional data associated with the token.
107
+ * This field should be used for any additional data that needs to be attached to the auth info.
108
+ */
109
+ extra?: Record<string, unknown> | undefined;
110
+ };
111
+ export type Context = {
112
+ sessionId?: string | undefined;
113
+ auth?: AuthInfo | undefined;
114
+ };
79
115
  export type ClientCapabilities = ClientCapabilities_1;
80
116
  type Completion = (
81
117
  query: string,
@@ -115,75 +151,75 @@ declare module 'tmcp' {
115
151
  /**
116
152
  * A successful (non-error) response to a request.
117
153
  */
118
- const JSONRPCResponseSchema:StrictObjectSchema<{
119
- readonly jsonrpc:LiteralSchema<"2.0", undefined>;
120
- readonly id:UnionSchema<[StringSchema<undefined>,SchemaWithPipe<readonly [NumberSchema<undefined>,IntegerAction<number, undefined>]>], undefined>;
121
- readonly result:ObjectSchema<{
154
+ const JSONRPCResponseSchema: v.StrictObjectSchema<{
155
+ readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
156
+ readonly id: v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>], undefined>;
157
+ readonly result: v.ObjectSchema<{
122
158
  /**
123
159
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
124
160
  * for notes on _meta usage.
125
161
  */
126
- readonly _meta:OptionalSchema<LooseObjectSchema<{}, undefined>, undefined>;
162
+ readonly _meta: v.OptionalSchema<v.LooseObjectSchema<{}, undefined>, undefined>;
127
163
  }, undefined>;
128
164
  }, undefined>;
129
165
  /**
130
166
  * Capabilities a client may support. Known capabilities are defined here, in this schema, but this is not a closed set: any client can define its own, additional capabilities.
131
167
  */
132
- const ClientCapabilitiesSchema:ObjectSchema<{
168
+ const ClientCapabilitiesSchema: v.ObjectSchema<{
133
169
  /**
134
170
  * Experimental, non-standard capabilities that the client supports.
135
171
  */
136
- readonly experimental:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
172
+ readonly experimental: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
137
173
  /**
138
174
  * Present if the client supports sampling from an LLM.
139
175
  */
140
- readonly sampling:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
176
+ readonly sampling: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
141
177
  /**
142
178
  * Present if the client supports eliciting user input.
143
179
  */
144
- readonly elicitation:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
180
+ readonly elicitation: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
145
181
  /**
146
182
  * Present if the client supports listing roots.
147
183
  */
148
- readonly roots:OptionalSchema<ObjectSchema<{
184
+ readonly roots: v.OptionalSchema<v.ObjectSchema<{
149
185
  /**
150
186
  * Whether the client supports issuing notifications for changes to the roots list.
151
187
  */
152
- readonly listChanged:OptionalSchema<BooleanSchema<undefined>, undefined>;
188
+ readonly listChanged: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
153
189
  }, undefined>, undefined>;
154
190
  }, undefined>;
155
- const InitializeRequestParamsSchema:ObjectSchema<{
191
+ const InitializeRequestParamsSchema: v.ObjectSchema<{
156
192
  /**
157
193
  * The latest version of the Model Context Protocol that the client supports. The client MAY decide to support older versions as well.
158
194
  */
159
- readonly protocolVersion:StringSchema<undefined>;
160
- readonly capabilities:ObjectSchema<{
195
+ readonly protocolVersion: v.StringSchema<undefined>;
196
+ readonly capabilities: v.ObjectSchema<{
161
197
  /**
162
198
  * Experimental, non-standard capabilities that the client supports.
163
199
  */
164
- readonly experimental:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
200
+ readonly experimental: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
165
201
  /**
166
202
  * Present if the client supports sampling from an LLM.
167
203
  */
168
- readonly sampling:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
204
+ readonly sampling: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
169
205
  /**
170
206
  * Present if the client supports eliciting user input.
171
207
  */
172
- readonly elicitation:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
208
+ readonly elicitation: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
173
209
  /**
174
210
  * Present if the client supports listing roots.
175
211
  */
176
- readonly roots:OptionalSchema<ObjectSchema<{
212
+ readonly roots: v.OptionalSchema<v.ObjectSchema<{
177
213
  /**
178
214
  * Whether the client supports issuing notifications for changes to the roots list.
179
215
  */
180
- readonly listChanged:OptionalSchema<BooleanSchema<undefined>, undefined>;
216
+ readonly listChanged: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
181
217
  }, undefined>, undefined>;
182
218
  }, undefined>;
183
- readonly clientInfo:ObjectSchema<{
184
- readonly version:StringSchema<undefined>;
219
+ readonly clientInfo: v.ObjectSchema<{
220
+ readonly version: v.StringSchema<undefined>;
185
221
  /** Intended for programmatic or logical use, but used as a display name in past specs or fallback */
186
- readonly name:StringSchema<undefined>;
222
+ readonly name: v.StringSchema<undefined>;
187
223
  /**
188
224
  * Intended for UI and end-user contexts — optimized to be human-readable and easily understood,
189
225
  * even by those unfamiliar with domain-specific terminology.
@@ -192,88 +228,88 @@ declare module 'tmcp' {
192
228
  * where `annotations.title` should be given precedence over using `name`,
193
229
  * if present).
194
230
  */
195
- readonly title:OptionalSchema<StringSchema<undefined>, undefined>;
231
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
196
232
  }, undefined>;
197
- readonly _meta:OptionalSchema<LooseObjectSchema<{
233
+ readonly _meta: v.OptionalSchema<v.LooseObjectSchema<{
198
234
  /**
199
235
  * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
200
236
  */
201
- readonly progressToken:OptionalSchema<UnionSchema<[StringSchema<undefined>,SchemaWithPipe<readonly [NumberSchema<undefined>,IntegerAction<number, undefined>]>], undefined>, undefined>;
237
+ readonly progressToken: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>], undefined>, undefined>;
202
238
  }, undefined>, undefined>;
203
239
  }, undefined>;
204
240
  /**
205
241
  * Capabilities that a server may support. Known capabilities are defined here, in this schema, but this is not a closed set: any server can define its own, additional capabilities.
206
242
  */
207
- const ServerCapabilitiesSchema:ObjectSchema<{
243
+ const ServerCapabilitiesSchema: v.ObjectSchema<{
208
244
  /**
209
245
  * Experimental, non-standard capabilities that the server supports.
210
246
  */
211
- readonly experimental:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
247
+ readonly experimental: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
212
248
  /**
213
249
  * Present if the server supports sending log messages to the client.
214
250
  */
215
- readonly logging:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
251
+ readonly logging: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
216
252
  /**
217
253
  * Present if the server supports sending completions to the client.
218
254
  */
219
- readonly completions:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
255
+ readonly completions: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
220
256
  /**
221
257
  * Present if the server offers any prompt templates.
222
258
  */
223
- readonly prompts:OptionalSchema<ObjectSchema<{
259
+ readonly prompts: v.OptionalSchema<v.ObjectSchema<{
224
260
  /**
225
261
  * Whether this server supports issuing notifications for changes to the prompt list.
226
262
  */
227
- readonly listChanged:OptionalSchema<BooleanSchema<undefined>, undefined>;
263
+ readonly listChanged: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
228
264
  }, undefined>, undefined>;
229
265
  /**
230
266
  * Present if the server offers any resources to read.
231
267
  */
232
- readonly resources:OptionalSchema<ObjectSchema<{
268
+ readonly resources: v.OptionalSchema<v.ObjectSchema<{
233
269
  /**
234
270
  * Whether this server supports clients subscribing to resource updates.
235
271
  */
236
- readonly subscribe:OptionalSchema<BooleanSchema<undefined>, undefined>;
272
+ readonly subscribe: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
237
273
  /**
238
274
  * Whether this server supports issuing notifications for changes to the resource list.
239
275
  */
240
- readonly listChanged:OptionalSchema<BooleanSchema<undefined>, undefined>;
276
+ readonly listChanged: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
241
277
  }, undefined>, undefined>;
242
278
  /**
243
279
  * Present if the server offers any tools to call.
244
280
  */
245
- readonly tools:OptionalSchema<ObjectSchema<{
281
+ readonly tools: v.OptionalSchema<v.ObjectSchema<{
246
282
  /**
247
283
  * Whether this server supports issuing notifications for changes to the tool list.
248
284
  */
249
- readonly listChanged:OptionalSchema<BooleanSchema<undefined>, undefined>;
285
+ readonly listChanged: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
250
286
  }, undefined>, undefined>;
251
287
  }, undefined>;
252
288
  /**
253
289
  * A known resource that the server is capable of reading.
254
290
  */
255
- const ResourceSchema:ObjectSchema<{
291
+ const ResourceSchema: v.ObjectSchema<{
256
292
  /**
257
293
  * The URI of this resource.
258
294
  */
259
- readonly uri:StringSchema<undefined>;
295
+ readonly uri: v.StringSchema<undefined>;
260
296
  /**
261
297
  * A description of what this resource represents.
262
298
  *
263
299
  * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model.
264
300
  */
265
- readonly description:OptionalSchema<StringSchema<undefined>, undefined>;
301
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
266
302
  /**
267
303
  * The MIME type of this resource, if known.
268
304
  */
269
- readonly mimeType:OptionalSchema<StringSchema<undefined>, undefined>;
305
+ readonly mimeType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
270
306
  /**
271
307
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
272
308
  * for notes on _meta usage.
273
309
  */
274
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
310
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
275
311
  /** Intended for programmatic or logical use, but used as a display name in past specs or fallback */
276
- readonly name:StringSchema<undefined>;
312
+ readonly name: v.StringSchema<undefined>;
277
313
  /**
278
314
  * Intended for UI and end-user contexts — optimized to be human-readable and easily understood,
279
315
  * even by those unfamiliar with domain-specific terminology.
@@ -282,129 +318,129 @@ declare module 'tmcp' {
282
318
  * where `annotations.title` should be given precedence over using `name`,
283
319
  * if present).
284
320
  */
285
- readonly title:OptionalSchema<StringSchema<undefined>, undefined>;
321
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
286
322
  }, undefined>;
287
323
  /**
288
324
  * The server's response to a resources/read request from the client.
289
325
  */
290
- const ReadResourceResultSchema:ObjectSchema<{
291
- readonly contents:ArraySchema<UnionSchema<[ObjectSchema<{
326
+ const ReadResourceResultSchema: v.ObjectSchema<{
327
+ readonly contents: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
292
328
  /**
293
329
  * The text of the item. This must only be set if the item can actually be represented as text (not binary data).
294
330
  */
295
- readonly text:StringSchema<undefined>;
331
+ readonly text: v.StringSchema<undefined>;
296
332
  /**
297
333
  * The URI of this resource.
298
334
  */
299
- readonly uri:StringSchema<undefined>;
335
+ readonly uri: v.StringSchema<undefined>;
300
336
  /**
301
337
  * The MIME type of this resource, if known.
302
338
  */
303
- readonly mimeType:OptionalSchema<StringSchema<undefined>, undefined>;
339
+ readonly mimeType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
304
340
  /**
305
341
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
306
342
  * for notes on _meta usage.
307
343
  */
308
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
309
- }, undefined>,ObjectSchema<{
344
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
345
+ }, undefined>, v.ObjectSchema<{
310
346
  /**
311
347
  * A base64-encoded string representing the binary data of the item.
312
348
  */
313
- readonly blob:SchemaWithPipe<readonly [StringSchema<undefined>,Base64Action<string, undefined>]>;
349
+ readonly blob: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.Base64Action<string, undefined>]>;
314
350
  /**
315
351
  * The URI of this resource.
316
352
  */
317
- readonly uri:StringSchema<undefined>;
353
+ readonly uri: v.StringSchema<undefined>;
318
354
  /**
319
355
  * The MIME type of this resource, if known.
320
356
  */
321
- readonly mimeType:OptionalSchema<StringSchema<undefined>, undefined>;
357
+ readonly mimeType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
322
358
  /**
323
359
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
324
360
  * for notes on _meta usage.
325
361
  */
326
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
362
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
327
363
  }, undefined>], undefined>, undefined>;
328
364
  /**
329
365
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
330
366
  * for notes on _meta usage.
331
367
  */
332
- readonly _meta:OptionalSchema<LooseObjectSchema<{}, undefined>, undefined>;
368
+ readonly _meta: v.OptionalSchema<v.LooseObjectSchema<{}, undefined>, undefined>;
333
369
  }, undefined>;
334
370
  /**
335
371
  * The server's response to a prompts/get request from the client.
336
372
  */
337
- const GetPromptResultSchema:ObjectSchema<{
373
+ const GetPromptResultSchema: v.ObjectSchema<{
338
374
  /**
339
375
  * An optional description for the prompt.
340
376
  */
341
- readonly description:OptionalSchema<StringSchema<undefined>, undefined>;
342
- readonly messages:ArraySchema<ObjectSchema<{
343
- readonly role:PicklistSchema<["user", "assistant"], undefined>;
344
- readonly content:UnionSchema<[ObjectSchema<{
345
- readonly type:LiteralSchema<"text", undefined>;
377
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
378
+ readonly messages: v.ArraySchema<v.ObjectSchema<{
379
+ readonly role: v.PicklistSchema<["user", "assistant"], undefined>;
380
+ readonly content: v.UnionSchema<[v.ObjectSchema<{
381
+ readonly type: v.LiteralSchema<"text", undefined>;
346
382
  /**
347
383
  * The text content of the message.
348
384
  */
349
- readonly text:StringSchema<undefined>;
385
+ readonly text: v.StringSchema<undefined>;
350
386
  /**
351
387
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
352
388
  * for notes on _meta usage.
353
389
  */
354
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
355
- }, undefined>,ObjectSchema<{
356
- readonly type:LiteralSchema<"image", undefined>;
390
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
391
+ }, undefined>, v.ObjectSchema<{
392
+ readonly type: v.LiteralSchema<"image", undefined>;
357
393
  /**
358
394
  * The base64-encoded image data.
359
395
  */
360
- readonly data:SchemaWithPipe<readonly [StringSchema<undefined>,Base64Action<string, undefined>]>;
396
+ readonly data: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.Base64Action<string, undefined>]>;
361
397
  /**
362
398
  * The MIME type of the image. Different providers may support different image types.
363
399
  */
364
- readonly mimeType:StringSchema<undefined>;
400
+ readonly mimeType: v.StringSchema<undefined>;
365
401
  /**
366
402
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
367
403
  * for notes on _meta usage.
368
404
  */
369
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
370
- }, undefined>,ObjectSchema<{
371
- readonly type:LiteralSchema<"audio", undefined>;
405
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
406
+ }, undefined>, v.ObjectSchema<{
407
+ readonly type: v.LiteralSchema<"audio", undefined>;
372
408
  /**
373
409
  * The base64-encoded audio data.
374
410
  */
375
- readonly data:SchemaWithPipe<readonly [StringSchema<undefined>,Base64Action<string, undefined>]>;
411
+ readonly data: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.Base64Action<string, undefined>]>;
376
412
  /**
377
413
  * The MIME type of the audio. Different providers may support different audio types.
378
414
  */
379
- readonly mimeType:StringSchema<undefined>;
415
+ readonly mimeType: v.StringSchema<undefined>;
380
416
  /**
381
417
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
382
418
  * for notes on _meta usage.
383
419
  */
384
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
385
- }, undefined>,ObjectSchema<{
386
- readonly type:LiteralSchema<"resource_link", undefined>;
420
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
421
+ }, undefined>, v.ObjectSchema<{
422
+ readonly type: v.LiteralSchema<"resource_link", undefined>;
387
423
  /**
388
424
  * The URI of this resource.
389
425
  */
390
- readonly uri:StringSchema<undefined>;
426
+ readonly uri: v.StringSchema<undefined>;
391
427
  /**
392
428
  * A description of what this resource represents.
393
429
  *
394
430
  * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model.
395
431
  */
396
- readonly description:OptionalSchema<StringSchema<undefined>, undefined>;
432
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
397
433
  /**
398
434
  * The MIME type of this resource, if known.
399
435
  */
400
- readonly mimeType:OptionalSchema<StringSchema<undefined>, undefined>;
436
+ readonly mimeType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
401
437
  /**
402
438
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
403
439
  * for notes on _meta usage.
404
440
  */
405
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
441
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
406
442
  /** Intended for programmatic or logical use, but used as a display name in past specs or fallback */
407
- readonly name:StringSchema<undefined>;
443
+ readonly name: v.StringSchema<undefined>;
408
444
  /**
409
445
  * Intended for UI and end-user contexts — optimized to be human-readable and easily understood,
410
446
  * even by those unfamiliar with domain-specific terminology.
@@ -413,58 +449,58 @@ declare module 'tmcp' {
413
449
  * where `annotations.title` should be given precedence over using `name`,
414
450
  * if present).
415
451
  */
416
- readonly title:OptionalSchema<StringSchema<undefined>, undefined>;
417
- }, undefined>,ObjectSchema<{
418
- readonly type:LiteralSchema<"resource", undefined>;
419
- readonly resource:UnionSchema<[ObjectSchema<{
452
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
453
+ }, undefined>, v.ObjectSchema<{
454
+ readonly type: v.LiteralSchema<"resource", undefined>;
455
+ readonly resource: v.UnionSchema<[v.ObjectSchema<{
420
456
  /**
421
457
  * The text of the item. This must only be set if the item can actually be represented as text (not binary data).
422
458
  */
423
- readonly text:StringSchema<undefined>;
459
+ readonly text: v.StringSchema<undefined>;
424
460
  /**
425
461
  * The URI of this resource.
426
462
  */
427
- readonly uri:StringSchema<undefined>;
463
+ readonly uri: v.StringSchema<undefined>;
428
464
  /**
429
465
  * The MIME type of this resource, if known.
430
466
  */
431
- readonly mimeType:OptionalSchema<StringSchema<undefined>, undefined>;
467
+ readonly mimeType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
432
468
  /**
433
469
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
434
470
  * for notes on _meta usage.
435
471
  */
436
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
437
- }, undefined>,ObjectSchema<{
472
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
473
+ }, undefined>, v.ObjectSchema<{
438
474
  /**
439
475
  * A base64-encoded string representing the binary data of the item.
440
476
  */
441
- readonly blob:SchemaWithPipe<readonly [StringSchema<undefined>,Base64Action<string, undefined>]>;
477
+ readonly blob: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.Base64Action<string, undefined>]>;
442
478
  /**
443
479
  * The URI of this resource.
444
480
  */
445
- readonly uri:StringSchema<undefined>;
481
+ readonly uri: v.StringSchema<undefined>;
446
482
  /**
447
483
  * The MIME type of this resource, if known.
448
484
  */
449
- readonly mimeType:OptionalSchema<StringSchema<undefined>, undefined>;
485
+ readonly mimeType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
450
486
  /**
451
487
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
452
488
  * for notes on _meta usage.
453
489
  */
454
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
490
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
455
491
  }, undefined>], undefined>;
456
492
  /**
457
493
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
458
494
  * for notes on _meta usage.
459
495
  */
460
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
496
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
461
497
  }, undefined>], undefined>;
462
498
  }, undefined>, undefined>;
463
499
  /**
464
500
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
465
501
  * for notes on _meta usage.
466
502
  */
467
- readonly _meta:OptionalSchema<LooseObjectSchema<{}, undefined>, undefined>;
503
+ readonly _meta: v.OptionalSchema<v.LooseObjectSchema<{}, undefined>, undefined>;
468
504
  }, undefined>;
469
505
  /**
470
506
  * Additional properties describing a Tool to clients.
@@ -476,17 +512,17 @@ declare module 'tmcp' {
476
512
  * Clients should never make tool use decisions based on ToolAnnotations
477
513
  * received from untrusted servers.
478
514
  */
479
- const ToolAnnotationsSchema:ObjectSchema<{
515
+ const ToolAnnotationsSchema: v.ObjectSchema<{
480
516
  /**
481
517
  * A human-readable title for the tool.
482
518
  */
483
- readonly title:OptionalSchema<StringSchema<undefined>, undefined>;
519
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
484
520
  /**
485
521
  * If true, the tool does not modify its environment.
486
522
  *
487
523
  * Default: false
488
524
  */
489
- readonly readOnlyHint:OptionalSchema<BooleanSchema<undefined>, undefined>;
525
+ readonly readOnlyHint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
490
526
  /**
491
527
  * If true, the tool may perform destructive updates to its environment.
492
528
  * If false, the tool performs only additive updates.
@@ -495,7 +531,7 @@ declare module 'tmcp' {
495
531
  *
496
532
  * Default: true
497
533
  */
498
- readonly destructiveHint:OptionalSchema<BooleanSchema<undefined>, undefined>;
534
+ readonly destructiveHint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
499
535
  /**
500
536
  * If true, calling the tool repeatedly with the same arguments
501
537
  * will have no additional effect on the its environment.
@@ -504,7 +540,7 @@ declare module 'tmcp' {
504
540
  *
505
541
  * Default: false
506
542
  */
507
- readonly idempotentHint:OptionalSchema<BooleanSchema<undefined>, undefined>;
543
+ readonly idempotentHint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
508
544
  /**
509
545
  * If true, this tool may interact with an "open world" of external
510
546
  * entities. If false, the tool's domain of interaction is closed.
@@ -513,82 +549,82 @@ declare module 'tmcp' {
513
549
  *
514
550
  * Default: true
515
551
  */
516
- readonly openWorldHint:OptionalSchema<BooleanSchema<undefined>, undefined>;
552
+ readonly openWorldHint: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
517
553
  }, undefined>;
518
554
  /**
519
555
  * The server's response to a tool call.
520
556
  */
521
- const CallToolResultSchema:ObjectSchema<{
557
+ const CallToolResultSchema: v.ObjectSchema<{
522
558
  /**
523
559
  * A list of content objects that represent the result of the tool call.
524
560
  *
525
561
  * If the Tool does not define an outputSchema, this field MUST be present in the result.
526
562
  * For backwards compatibility, this field is always present, but it may be empty.
527
563
  */
528
- readonly content:OptionalSchema<ArraySchema<UnionSchema<[ObjectSchema<{
529
- readonly type:LiteralSchema<"text", undefined>;
564
+ readonly content: v.OptionalSchema<v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
565
+ readonly type: v.LiteralSchema<"text", undefined>;
530
566
  /**
531
567
  * The text content of the message.
532
568
  */
533
- readonly text:StringSchema<undefined>;
569
+ readonly text: v.StringSchema<undefined>;
534
570
  /**
535
571
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
536
572
  * for notes on _meta usage.
537
573
  */
538
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
539
- }, undefined>,ObjectSchema<{
540
- readonly type:LiteralSchema<"image", undefined>;
574
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
575
+ }, undefined>, v.ObjectSchema<{
576
+ readonly type: v.LiteralSchema<"image", undefined>;
541
577
  /**
542
578
  * The base64-encoded image data.
543
579
  */
544
- readonly data:SchemaWithPipe<readonly [StringSchema<undefined>,Base64Action<string, undefined>]>;
580
+ readonly data: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.Base64Action<string, undefined>]>;
545
581
  /**
546
582
  * The MIME type of the image. Different providers may support different image types.
547
583
  */
548
- readonly mimeType:StringSchema<undefined>;
584
+ readonly mimeType: v.StringSchema<undefined>;
549
585
  /**
550
586
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
551
587
  * for notes on _meta usage.
552
588
  */
553
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
554
- }, undefined>,ObjectSchema<{
555
- readonly type:LiteralSchema<"audio", undefined>;
589
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
590
+ }, undefined>, v.ObjectSchema<{
591
+ readonly type: v.LiteralSchema<"audio", undefined>;
556
592
  /**
557
593
  * The base64-encoded audio data.
558
594
  */
559
- readonly data:SchemaWithPipe<readonly [StringSchema<undefined>,Base64Action<string, undefined>]>;
595
+ readonly data: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.Base64Action<string, undefined>]>;
560
596
  /**
561
597
  * The MIME type of the audio. Different providers may support different audio types.
562
598
  */
563
- readonly mimeType:StringSchema<undefined>;
599
+ readonly mimeType: v.StringSchema<undefined>;
564
600
  /**
565
601
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
566
602
  * for notes on _meta usage.
567
603
  */
568
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
569
- }, undefined>,ObjectSchema<{
570
- readonly type:LiteralSchema<"resource_link", undefined>;
604
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
605
+ }, undefined>, v.ObjectSchema<{
606
+ readonly type: v.LiteralSchema<"resource_link", undefined>;
571
607
  /**
572
608
  * The URI of this resource.
573
609
  */
574
- readonly uri:StringSchema<undefined>;
610
+ readonly uri: v.StringSchema<undefined>;
575
611
  /**
576
612
  * A description of what this resource represents.
577
613
  *
578
614
  * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model.
579
615
  */
580
- readonly description:OptionalSchema<StringSchema<undefined>, undefined>;
616
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
581
617
  /**
582
618
  * The MIME type of this resource, if known.
583
619
  */
584
- readonly mimeType:OptionalSchema<StringSchema<undefined>, undefined>;
620
+ readonly mimeType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
585
621
  /**
586
622
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
587
623
  * for notes on _meta usage.
588
624
  */
589
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
625
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
590
626
  /** Intended for programmatic or logical use, but used as a display name in past specs or fallback */
591
- readonly name:StringSchema<undefined>;
627
+ readonly name: v.StringSchema<undefined>;
592
628
  /**
593
629
  * Intended for UI and end-user contexts — optimized to be human-readable and easily understood,
594
630
  * even by those unfamiliar with domain-specific terminology.
@@ -597,58 +633,58 @@ declare module 'tmcp' {
597
633
  * where `annotations.title` should be given precedence over using `name`,
598
634
  * if present).
599
635
  */
600
- readonly title:OptionalSchema<StringSchema<undefined>, undefined>;
601
- }, undefined>,ObjectSchema<{
602
- readonly type:LiteralSchema<"resource", undefined>;
603
- readonly resource:UnionSchema<[ObjectSchema<{
636
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
637
+ }, undefined>, v.ObjectSchema<{
638
+ readonly type: v.LiteralSchema<"resource", undefined>;
639
+ readonly resource: v.UnionSchema<[v.ObjectSchema<{
604
640
  /**
605
641
  * The text of the item. This must only be set if the item can actually be represented as text (not binary data).
606
642
  */
607
- readonly text:StringSchema<undefined>;
643
+ readonly text: v.StringSchema<undefined>;
608
644
  /**
609
645
  * The URI of this resource.
610
646
  */
611
- readonly uri:StringSchema<undefined>;
647
+ readonly uri: v.StringSchema<undefined>;
612
648
  /**
613
649
  * The MIME type of this resource, if known.
614
650
  */
615
- readonly mimeType:OptionalSchema<StringSchema<undefined>, undefined>;
651
+ readonly mimeType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
616
652
  /**
617
653
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
618
654
  * for notes on _meta usage.
619
655
  */
620
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
621
- }, undefined>,ObjectSchema<{
656
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
657
+ }, undefined>, v.ObjectSchema<{
622
658
  /**
623
659
  * A base64-encoded string representing the binary data of the item.
624
660
  */
625
- readonly blob:SchemaWithPipe<readonly [StringSchema<undefined>,Base64Action<string, undefined>]>;
661
+ readonly blob: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.Base64Action<string, undefined>]>;
626
662
  /**
627
663
  * The URI of this resource.
628
664
  */
629
- readonly uri:StringSchema<undefined>;
665
+ readonly uri: v.StringSchema<undefined>;
630
666
  /**
631
667
  * The MIME type of this resource, if known.
632
668
  */
633
- readonly mimeType:OptionalSchema<StringSchema<undefined>, undefined>;
669
+ readonly mimeType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
634
670
  /**
635
671
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
636
672
  * for notes on _meta usage.
637
673
  */
638
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
674
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
639
675
  }, undefined>], undefined>;
640
676
  /**
641
677
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
642
678
  * for notes on _meta usage.
643
679
  */
644
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
680
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
645
681
  }, undefined>], undefined>, undefined>, readonly []>;
646
682
  /**
647
683
  * An object containing structured tool output.
648
684
  *
649
685
  * If the Tool defines an outputSchema, this field MUST be present in the result, and contain a JSON object that matches the schema.
650
686
  */
651
- readonly structuredContent:OptionalSchema<LooseObjectSchema<{}, undefined>, undefined>;
687
+ readonly structuredContent: v.OptionalSchema<v.LooseObjectSchema<{}, undefined>, undefined>;
652
688
  /**
653
689
  * Whether the tool call ended in an error.
654
690
  *
@@ -663,212 +699,212 @@ declare module 'tmcp' {
663
699
  * server does not support tool calls, or any other exceptional conditions,
664
700
  * should be reported as an MCP error response.
665
701
  */
666
- readonly isError:OptionalSchema<BooleanSchema<undefined>, undefined>;
702
+ readonly isError: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
667
703
  /**
668
704
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
669
705
  * for notes on _meta usage.
670
706
  */
671
- readonly _meta:OptionalSchema<LooseObjectSchema<{}, undefined>, undefined>;
707
+ readonly _meta: v.OptionalSchema<v.LooseObjectSchema<{}, undefined>, undefined>;
672
708
  }, undefined>;
673
709
  /**
674
710
  * The severity of a log message.
675
711
  */
676
- const LoggingLevelSchema:PicklistSchema<["debug", "info", "notice", "warning", "error", "critical", "alert", "emergency"], undefined>;
677
- const CreateMessageRequestParamsSchema:ObjectSchema<{
678
- readonly messages:ArraySchema<ObjectSchema<{
679
- readonly role:PicklistSchema<["user", "assistant"], undefined>;
680
- readonly content:UnionSchema<[ObjectSchema<{
681
- readonly type:LiteralSchema<"text", undefined>;
712
+ const LoggingLevelSchema: v.PicklistSchema<["debug", "info", "notice", "warning", "error", "critical", "alert", "emergency"], undefined>;
713
+ const CreateMessageRequestParamsSchema: v.ObjectSchema<{
714
+ readonly messages: v.ArraySchema<v.ObjectSchema<{
715
+ readonly role: v.PicklistSchema<["user", "assistant"], undefined>;
716
+ readonly content: v.UnionSchema<[v.ObjectSchema<{
717
+ readonly type: v.LiteralSchema<"text", undefined>;
682
718
  /**
683
719
  * The text content of the message.
684
720
  */
685
- readonly text:StringSchema<undefined>;
721
+ readonly text: v.StringSchema<undefined>;
686
722
  /**
687
723
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
688
724
  * for notes on _meta usage.
689
725
  */
690
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
691
- }, undefined>,ObjectSchema<{
692
- readonly type:LiteralSchema<"image", undefined>;
726
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
727
+ }, undefined>, v.ObjectSchema<{
728
+ readonly type: v.LiteralSchema<"image", undefined>;
693
729
  /**
694
730
  * The base64-encoded image data.
695
731
  */
696
- readonly data:SchemaWithPipe<readonly [StringSchema<undefined>,Base64Action<string, undefined>]>;
732
+ readonly data: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.Base64Action<string, undefined>]>;
697
733
  /**
698
734
  * The MIME type of the image. Different providers may support different image types.
699
735
  */
700
- readonly mimeType:StringSchema<undefined>;
736
+ readonly mimeType: v.StringSchema<undefined>;
701
737
  /**
702
738
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
703
739
  * for notes on _meta usage.
704
740
  */
705
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
706
- }, undefined>,ObjectSchema<{
707
- readonly type:LiteralSchema<"audio", undefined>;
741
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
742
+ }, undefined>, v.ObjectSchema<{
743
+ readonly type: v.LiteralSchema<"audio", undefined>;
708
744
  /**
709
745
  * The base64-encoded audio data.
710
746
  */
711
- readonly data:SchemaWithPipe<readonly [StringSchema<undefined>,Base64Action<string, undefined>]>;
747
+ readonly data: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.Base64Action<string, undefined>]>;
712
748
  /**
713
749
  * The MIME type of the audio. Different providers may support different audio types.
714
750
  */
715
- readonly mimeType:StringSchema<undefined>;
751
+ readonly mimeType: v.StringSchema<undefined>;
716
752
  /**
717
753
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
718
754
  * for notes on _meta usage.
719
755
  */
720
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
756
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
721
757
  }, undefined>], undefined>;
722
758
  }, undefined>, undefined>;
723
759
  /**
724
760
  * An optional system prompt the server wants to use for sampling. The client MAY modify or omit this prompt.
725
761
  */
726
- readonly systemPrompt:OptionalSchema<StringSchema<undefined>, undefined>;
762
+ readonly systemPrompt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
727
763
  /**
728
764
  * A request to include context from one or more MCP servers (including the caller), to be attached to the prompt. The client MAY ignore this request.
729
765
  */
730
- readonly includeContext:OptionalSchema<PicklistSchema<["none", "thisServer", "allServers"], undefined>, undefined>;
731
- readonly temperature:OptionalSchema<NumberSchema<undefined>, undefined>;
766
+ readonly includeContext: v.OptionalSchema<v.PicklistSchema<["none", "thisServer", "allServers"], undefined>, undefined>;
767
+ readonly temperature: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
732
768
  /**
733
769
  * The maximum number of tokens to sample, as requested by the server. The client MAY choose to sample fewer tokens than requested.
734
770
  */
735
- readonly maxTokens:SchemaWithPipe<readonly [NumberSchema<undefined>,IntegerAction<number, undefined>]>;
736
- readonly stopSequences:OptionalSchema<ArraySchema<StringSchema<undefined>, undefined>, undefined>;
771
+ readonly maxTokens: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
772
+ readonly stopSequences: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
737
773
  /**
738
774
  * Optional metadata to pass through to the LLM provider. The format of this metadata is provider-specific.
739
775
  */
740
- readonly metadata:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
776
+ readonly metadata: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
741
777
  /**
742
778
  * The server's preferences for which model to select.
743
779
  */
744
- readonly modelPreferences:OptionalSchema<ObjectSchema<{
780
+ readonly modelPreferences: v.OptionalSchema<v.ObjectSchema<{
745
781
  /**
746
782
  * Optional hints to use for model selection.
747
783
  */
748
- readonly hints:OptionalSchema<ArraySchema<ObjectSchema<{
784
+ readonly hints: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
749
785
  /**
750
786
  * A hint for a model name.
751
787
  */
752
- readonly name:OptionalSchema<StringSchema<undefined>, undefined>;
788
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
753
789
  }, undefined>, undefined>, undefined>;
754
790
  /**
755
791
  * How much to prioritize cost when selecting a model.
756
792
  */
757
- readonly costPriority:OptionalSchema<SchemaWithPipe<readonly [NumberSchema<undefined>,MinValueAction<number, 0, undefined>,MaxValueAction<number, 1, undefined>]>, undefined>;
793
+ readonly costPriority: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
758
794
  /**
759
795
  * How much to prioritize sampling speed (latency) when selecting a model.
760
796
  */
761
- readonly speedPriority:OptionalSchema<SchemaWithPipe<readonly [NumberSchema<undefined>,MinValueAction<number, 0, undefined>,MaxValueAction<number, 1, undefined>]>, undefined>;
797
+ readonly speedPriority: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
762
798
  /**
763
799
  * How much to prioritize intelligence and capabilities when selecting a model.
764
800
  */
765
- readonly intelligencePriority:OptionalSchema<SchemaWithPipe<readonly [NumberSchema<undefined>,MinValueAction<number, 0, undefined>,MaxValueAction<number, 1, undefined>]>, undefined>;
801
+ readonly intelligencePriority: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
766
802
  }, undefined>, undefined>;
767
- readonly _meta:OptionalSchema<LooseObjectSchema<{
803
+ readonly _meta: v.OptionalSchema<v.LooseObjectSchema<{
768
804
  /**
769
805
  * If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
770
806
  */
771
- readonly progressToken:OptionalSchema<UnionSchema<[StringSchema<undefined>,SchemaWithPipe<readonly [NumberSchema<undefined>,IntegerAction<number, undefined>]>], undefined>, undefined>;
807
+ readonly progressToken: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>], undefined>, undefined>;
772
808
  }, undefined>, undefined>;
773
809
  }, undefined>;
774
810
  /**
775
811
  * The client's response to a sampling/create_message request from the server. The client should inform the user before returning the sampled message, to allow them to inspect the response (human in the loop) and decide whether to allow the server to see it.
776
812
  */
777
- const CreateMessageResultSchema:ObjectSchema<{
813
+ const CreateMessageResultSchema: v.ObjectSchema<{
778
814
  /**
779
815
  * The name of the model that generated the message.
780
816
  */
781
- readonly model:StringSchema<undefined>;
817
+ readonly model: v.StringSchema<undefined>;
782
818
  /**
783
819
  * The reason why sampling stopped.
784
820
  */
785
- readonly stopReason:OptionalSchema<UnionSchema<[PicklistSchema<["endTurn", "stopSequence", "maxTokens"], undefined>,StringSchema<undefined>], undefined>, undefined>;
786
- readonly role:PicklistSchema<["user", "assistant"], undefined>;
787
- readonly content:VariantSchema<"type", [ObjectSchema<{
788
- readonly type:LiteralSchema<"text", undefined>;
821
+ readonly stopReason: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["endTurn", "stopSequence", "maxTokens"], undefined>, v.StringSchema<undefined>], undefined>, undefined>;
822
+ readonly role: v.PicklistSchema<["user", "assistant"], undefined>;
823
+ readonly content: v.VariantSchema<"type", [v.ObjectSchema<{
824
+ readonly type: v.LiteralSchema<"text", undefined>;
789
825
  /**
790
826
  * The text content of the message.
791
827
  */
792
- readonly text:StringSchema<undefined>;
828
+ readonly text: v.StringSchema<undefined>;
793
829
  /**
794
830
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
795
831
  * for notes on _meta usage.
796
832
  */
797
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
798
- }, undefined>,ObjectSchema<{
799
- readonly type:LiteralSchema<"image", undefined>;
833
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
834
+ }, undefined>, v.ObjectSchema<{
835
+ readonly type: v.LiteralSchema<"image", undefined>;
800
836
  /**
801
837
  * The base64-encoded image data.
802
838
  */
803
- readonly data:SchemaWithPipe<readonly [StringSchema<undefined>,Base64Action<string, undefined>]>;
839
+ readonly data: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.Base64Action<string, undefined>]>;
804
840
  /**
805
841
  * The MIME type of the image. Different providers may support different image types.
806
842
  */
807
- readonly mimeType:StringSchema<undefined>;
843
+ readonly mimeType: v.StringSchema<undefined>;
808
844
  /**
809
845
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
810
846
  * for notes on _meta usage.
811
847
  */
812
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
813
- }, undefined>,ObjectSchema<{
814
- readonly type:LiteralSchema<"audio", undefined>;
848
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
849
+ }, undefined>, v.ObjectSchema<{
850
+ readonly type: v.LiteralSchema<"audio", undefined>;
815
851
  /**
816
852
  * The base64-encoded audio data.
817
853
  */
818
- readonly data:SchemaWithPipe<readonly [StringSchema<undefined>,Base64Action<string, undefined>]>;
854
+ readonly data: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.Base64Action<string, undefined>]>;
819
855
  /**
820
856
  * The MIME type of the audio. Different providers may support different audio types.
821
857
  */
822
- readonly mimeType:StringSchema<undefined>;
858
+ readonly mimeType: v.StringSchema<undefined>;
823
859
  /**
824
860
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
825
861
  * for notes on _meta usage.
826
862
  */
827
- readonly _meta:OptionalSchema<ObjectSchema<{}, undefined>, undefined>;
863
+ readonly _meta: v.OptionalSchema<v.ObjectSchema<{}, undefined>, undefined>;
828
864
  }, undefined>], undefined>;
829
865
  /**
830
866
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
831
867
  * for notes on _meta usage.
832
868
  */
833
- readonly _meta:OptionalSchema<LooseObjectSchema<{}, undefined>, undefined>;
869
+ readonly _meta: v.OptionalSchema<v.LooseObjectSchema<{}, undefined>, undefined>;
834
870
  }, undefined>;
835
871
  /**
836
872
  * The server's response to a completion/complete request
837
873
  */
838
- const CompleteResultSchema:ObjectSchema<{
839
- readonly completion:ObjectSchema<{
874
+ const CompleteResultSchema: v.ObjectSchema<{
875
+ readonly completion: v.ObjectSchema<{
840
876
  /**
841
877
  * An array of completion values. Must not exceed 100 items.
842
878
  */
843
- readonly values:SchemaWithPipe<readonly [ArraySchema<StringSchema<undefined>, undefined>,MaxLengthAction<string[], 100, undefined>]>;
879
+ readonly values: v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.MaxLengthAction<string[], 100, undefined>]>;
844
880
  /**
845
881
  * The total number of completion options available. This can exceed the number of values actually sent in the response.
846
882
  */
847
- readonly total:OptionalSchema<SchemaWithPipe<readonly [NumberSchema<undefined>,IntegerAction<number, undefined>]>, undefined>;
883
+ readonly total: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
848
884
  /**
849
885
  * Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown.
850
886
  */
851
- readonly hasMore:OptionalSchema<BooleanSchema<undefined>, undefined>;
887
+ readonly hasMore: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
852
888
  }, undefined>;
853
889
  /**
854
890
  * See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
855
891
  * for notes on _meta usage.
856
892
  */
857
- readonly _meta:OptionalSchema<LooseObjectSchema<{}, undefined>, undefined>;
893
+ readonly _meta: v.OptionalSchema<v.LooseObjectSchema<{}, undefined>, undefined>;
858
894
  }, undefined>;
859
- type ClientCapabilities_1 =InferInput<typeof ClientCapabilitiesSchema>;
860
- type ServerCapabilities =InferInput<typeof ServerCapabilitiesSchema>;
861
- type InitializeRequestParams =InferInput<typeof InitializeRequestParamsSchema>;
862
- type CallToolResult =InferInput<typeof CallToolResultSchema>;
863
- type ReadResourceResult =InferInput<typeof ReadResourceResultSchema>;
864
- type GetPromptResult =InferInput<typeof GetPromptResultSchema>;
865
- type CompleteResult =InferInput<typeof CompleteResultSchema>;
866
- type CreateMessageRequestParams =InferInput<typeof CreateMessageRequestParamsSchema>;
867
- type CreateMessageResult =InferInput<typeof CreateMessageResultSchema>;
868
- type Resource =InferInput<typeof ResourceSchema>;
869
- type JSONRPCResponse =InferInput<typeof JSONRPCResponseSchema>;
870
- type LoggingLevel =InferInput<typeof LoggingLevelSchema>;
871
- type ToolAnnotations =InferInput<typeof ToolAnnotationsSchema>;
895
+ type ClientCapabilities_1 = v.InferInput<typeof ClientCapabilitiesSchema>;
896
+ type ServerCapabilities = v.InferInput<typeof ServerCapabilitiesSchema>;
897
+ type InitializeRequestParams = v.InferInput<typeof InitializeRequestParamsSchema>;
898
+ type CallToolResult = v.InferInput<typeof CallToolResultSchema>;
899
+ type ReadResourceResult = v.InferInput<typeof ReadResourceResultSchema>;
900
+ type GetPromptResult = v.InferInput<typeof GetPromptResultSchema>;
901
+ type CompleteResult = v.InferInput<typeof CompleteResultSchema>;
902
+ type CreateMessageRequestParams = v.InferInput<typeof CreateMessageRequestParamsSchema>;
903
+ type CreateMessageResult = v.InferInput<typeof CreateMessageResultSchema>;
904
+ type Resource = v.InferInput<typeof ResourceSchema>;
905
+ type JSONRPCResponse = v.InferInput<typeof JSONRPCResponseSchema>;
906
+ type LoggingLevel = v.InferInput<typeof LoggingLevelSchema>;
907
+ type ToolAnnotations = v.InferInput<typeof ToolAnnotationsSchema>;
872
908
  // Helper type to remove whitespace
873
909
  type Trim<S extends string> = S extends ` ${infer R}`
874
910
  ? Trim<R>
@@ -56,6 +56,6 @@
56
56
  null,
57
57
  null
58
58
  ],
59
- "mappings": ";;;;;cAmEaA,SAASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aCo4CsCC,kBAAkBA;MC96ClEC,UAAUA;;;;;MAsCVC,aAAaA;;;;;;;;;;;;;MAabC,UAAUA;;;;;;MAMVC,iBAAiBA;;MAEjBC,SAASA;;;;;;;;;;;;ODgBRC,qBAAqBA;;;;;;;;;;;;;;OAuGrBC,wBAAwBA;;;;;;;;;;;;;;;;;;;;;;;OA6BxBC,6BAA6BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuB7BC,wBAAwBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmMxBC,cAAcA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4GdC,wBAAwBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8PxBC,qBAAqBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BrBC,qBAAqBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2GrBC,oBAAoBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoEpBC,kBAAkBA;OAuGlBC,gCAAgCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8ChCC,yBAAyBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+LzBC,oBAAoBA;;;;;;;;;;;;;;;;;;;;;;MA8H2BC,kBAAkBA;MASbC,uBAAuBA;MAGhCC,cAAcA;MAGVC,kBAAkBA;MAGrBC,eAAeA;MAGhBC,cAAcA;MAGFC,0BAA0BA;MAGjCC,mBAAmBA;MAY9BC,QAAQA;MAMDC,eAAeA;MAGlBC,YAAYA;MAGTC,eAAeA;;ME5/CnEC,IAAIA;;;;;;;MAOJC,cAAcA;;;;;;;MAOdC,cAAcA;;;;;MAKdC,qBAAqBA;;;;;;;;;;;;;;;;;MAiBrBC,4BAA4BA;;;;;;MAMrBC,2BAA2BA;;;;;;;OCjC1BC,iBAAiBA;;;;;;;;;;;;;;;;cAAjBA,iBAAiBA",
59
+ "mappings": ";;;;;cAsFaA,SAASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aCi3CsCC,kBAAkBA;MC96ClEC,UAAUA;;;;;MAsCVC,aAAaA;;;;;;;;;;;;;MAabC,UAAUA;;;;;;MAMVC,iBAAiBA;;MAEjBC,SAASA;;;;;;;;;;;;ODgBRC,qBAAqBA;;;;;;;;;;;;;;OAuGrBC,wBAAwBA;;;;;;;;;;;;;;;;;;;;;;;OA6BxBC,6BAA6BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuB7BC,wBAAwBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmMxBC,cAAcA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4GdC,wBAAwBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8PxBC,qBAAqBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BrBC,qBAAqBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2GrBC,oBAAoBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoEpBC,kBAAkBA;OAuGlBC,gCAAgCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8ChCC,yBAAyBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+LzBC,oBAAoBA;;;;;;;;;;;;;;;;;;;;;;MA8H2BC,kBAAkBA;MASbC,uBAAuBA;MAGhCC,cAAcA;MAGVC,kBAAkBA;MAGrBC,eAAeA;MAGhBC,cAAcA;MAGFC,0BAA0BA;MAGjCC,mBAAmBA;MAY9BC,QAAQA;MAMDC,eAAeA;MAGlBC,YAAYA;MAGTC,eAAeA;;ME5/CnEC,IAAIA;;;;;;;MAOJC,cAAcA;;;;;;;MAOdC,cAAcA;;;;;MAKdC,qBAAqBA;;;;;;;;;;;;;;;;;MAiBrBC,4BAA4BA;;;;;;MAMrBC,2BAA2BA;;;;;;;OCjC1BC,iBAAiBA;;;;;;;;;;;;;;;;cAAjBA,iBAAiBA",
60
60
  "ignoreList": []
61
61
  }