xmcp 0.5.6 → 0.5.8

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.
@@ -252,18 +252,23 @@ export declare const configSchema: z.ZodObject<{
252
252
  template: z.ZodOptional<z.ZodEffects<z.ZodObject<{
253
253
  name: z.ZodOptional<z.ZodDefault<z.ZodString>>;
254
254
  description: z.ZodOptional<z.ZodDefault<z.ZodString>>;
255
+ homePage: z.ZodOptional<z.ZodOptional<z.ZodString>>;
255
256
  }, "strip", z.ZodTypeAny, {
256
257
  name?: string | undefined;
257
258
  description?: string | undefined;
259
+ homePage?: string | undefined;
258
260
  }, {
259
261
  name?: string | undefined;
260
262
  description?: string | undefined;
263
+ homePage?: string | undefined;
261
264
  }>, {
262
265
  name: string;
263
266
  description: string;
267
+ homePage?: string | undefined;
264
268
  }, {
265
269
  name?: string | undefined;
266
270
  description?: string | undefined;
271
+ homePage?: string | undefined;
267
272
  }>>;
268
273
  typescript: z.ZodOptional<z.ZodEffects<z.ZodObject<{
269
274
  skipTypeCheck: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
@@ -321,6 +326,7 @@ export declare const configSchema: z.ZodObject<{
321
326
  template?: {
322
327
  name: string;
323
328
  description: string;
329
+ homePage?: string | undefined;
324
330
  } | undefined;
325
331
  typescript?: {
326
332
  skipTypeCheck: boolean;
@@ -370,6 +376,7 @@ export declare const configSchema: z.ZodObject<{
370
376
  template?: {
371
377
  name?: string | undefined;
372
378
  description?: string | undefined;
379
+ homePage?: string | undefined;
373
380
  } | undefined;
374
381
  typescript?: {
375
382
  skipTypeCheck?: boolean | undefined;
@@ -2,17 +2,22 @@ import { z } from "zod/v3";
2
2
  export declare const templateConfigSchema: z.ZodEffects<z.ZodObject<{
3
3
  name: z.ZodOptional<z.ZodDefault<z.ZodString>>;
4
4
  description: z.ZodOptional<z.ZodDefault<z.ZodString>>;
5
+ homePage: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5
6
  }, "strip", z.ZodTypeAny, {
6
7
  name?: string | undefined;
7
8
  description?: string | undefined;
9
+ homePage?: string | undefined;
8
10
  }, {
9
11
  name?: string | undefined;
10
12
  description?: string | undefined;
13
+ homePage?: string | undefined;
11
14
  }>, {
12
15
  name: string;
13
16
  description: string;
17
+ homePage?: string | undefined;
14
18
  }, {
15
19
  name?: string | undefined;
16
20
  description?: string | undefined;
21
+ homePage?: string | undefined;
17
22
  }>;
18
23
  export type TemplateConfig = z.infer<typeof templateConfigSchema>;
package/dist/index.d.ts CHANGED
@@ -15,3 +15,4 @@ export type { HttpClient, StdioClient, StdioIOStrategy, ClientConnectionEntry, C
15
15
  export type { StdioClientConnection, StdioClientOptions } from "./client";
16
16
  export type { CustomHeaders, CustomHeader, StaticHeader, EnvHeader, } from "./client/headers";
17
17
  export { isEnvHeader, headersToRecord } from "./client/headers";
18
+ export { extractToolNamesFromRequest } from "./runtime/utils/request-tool-names";