@kubb/plugin-mcp 4.31.0 → 4.31.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-mcp",
3
- "version": "4.31.0",
3
+ "version": "4.31.1",
4
4
  "description": "Model Context Protocol (MCP) plugin for Kubb, generating MCP-compatible tools and schemas from OpenAPI specifications for AI assistants.",
5
5
  "keywords": [
6
6
  "mcp",
@@ -73,13 +73,13 @@
73
73
  }
74
74
  ],
75
75
  "dependencies": {
76
- "@kubb/react-fabric": "0.13.2",
77
- "@kubb/core": "4.31.0",
78
- "@kubb/oas": "4.31.0",
79
- "@kubb/plugin-client": "4.31.0",
80
- "@kubb/plugin-oas": "4.31.0",
81
- "@kubb/plugin-ts": "4.31.0",
82
- "@kubb/plugin-zod": "4.31.0"
76
+ "@kubb/react-fabric": "0.13.3",
77
+ "@kubb/core": "4.31.1",
78
+ "@kubb/oas": "4.31.1",
79
+ "@kubb/plugin-client": "4.31.1",
80
+ "@kubb/plugin-oas": "4.31.1",
81
+ "@kubb/plugin-ts": "4.31.1",
82
+ "@kubb/plugin-zod": "4.31.1"
83
83
  },
84
84
  "devDependencies": {},
85
85
  "engines": {
@@ -1,64 +0,0 @@
1
- import { t as __name } from "./chunk-cy2TeOE5.cjs";
2
- import { Exclude, Include, Override, ResolvePathOptions } from "@kubb/plugin-oas";
3
- import { Group, Output, PluginFactoryOptions, ResolveNameParams } from "@kubb/core";
4
- import { Oas, contentType } from "@kubb/oas";
5
- import { ClientImportPath, PluginClient } from "@kubb/plugin-client";
6
- import { Generator } from "@kubb/plugin-oas/generators";
7
-
8
- //#region src/types.d.ts
9
- type Options = {
10
- /**
11
- * Specify the export location for the files and define the behavior of the output
12
- * @default { path: 'mcp', barrelType: 'named' }
13
- */
14
- output?: Output<Oas>;
15
- /**
16
- * Define which contentType should be used.
17
- * By default, the first JSON valid mediaType is used
18
- */
19
- contentType?: contentType;
20
- client?: ClientImportPath & Pick<PluginClient['options'], 'clientType' | 'dataReturnType' | 'baseURL' | 'bundle' | 'paramsCasing'>;
21
- /**
22
- * Transform parameter names to a specific casing format.
23
- * When set to 'camelcase', parameter names in path, query, and header params will be transformed to camelCase.
24
- * This should match the paramsCasing setting used in @kubb/plugin-ts.
25
- * @default undefined
26
- */
27
- paramsCasing?: 'camelcase';
28
- /**
29
- * Group the mcp requests based on the provided name.
30
- */
31
- group?: Group;
32
- /**
33
- * Array containing exclude parameters to exclude/skip tags/operations/methods/paths.
34
- */
35
- exclude?: Array<Exclude>;
36
- /**
37
- * Array containing include parameters to include tags/operations/methods/paths.
38
- */
39
- include?: Array<Include>;
40
- /**
41
- * Array containing override parameters to override `options` based on tags/operations/methods/paths.
42
- */
43
- override?: Array<Override<ResolvedOptions>>;
44
- transformers?: {
45
- /**
46
- * Customize the names based on the type that is provided by the plugin.
47
- */
48
- name?: (name: ResolveNameParams['name'], type?: ResolveNameParams['type']) => string;
49
- };
50
- /**
51
- * Define some generators next to the Mcp generators.
52
- */
53
- generators?: Array<Generator<PluginMcp>>;
54
- };
55
- type ResolvedOptions = {
56
- output: Output<Oas>;
57
- group: Options['group'];
58
- client: Pick<PluginClient['options'], 'client' | 'clientType' | 'dataReturnType' | 'importPath' | 'baseURL' | 'bundle' | 'paramsCasing'>;
59
- paramsCasing: Options['paramsCasing'];
60
- };
61
- type PluginMcp = PluginFactoryOptions<'plugin-mcp', Options, ResolvedOptions, never, ResolvePathOptions>;
62
- //#endregion
63
- export { PluginMcp as n, Options as t };
64
- //# sourceMappingURL=types-DigTVU-V.d.ts.map