@kubb/mcp 5.0.0-beta.9 → 5.0.0-beta.91
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/LICENSE +17 -10
- package/README.md +29 -19
- package/dist/index.cjs +6138 -381
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +14 -9
- package/dist/index.js +6142 -388
- package/dist/index.js.map +1 -1
- package/dist/rolldown-runtime-G2anUtha.js +30 -0
- package/package.json +18 -28
- package/dist/chunk--u3MIqq1.js +0 -8
- package/src/constants.ts +0 -1
- package/src/index.ts +0 -8
- package/src/schemas/generateSchema.ts +0 -13
- package/src/schemas/initSchema.ts +0 -7
- package/src/schemas/validateSchema.ts +0 -5
- package/src/server.ts +0 -41
- package/src/tools/generate.ts +0 -146
- package/src/tools/init.ts +0 -37
- package/src/tools/validate.ts +0 -25
- package/src/types.ts +0 -23
- package/src/utils/loadUserConfig.ts +0 -78
- package/src/utils/resolveCwd.ts +0 -20
- package/src/utils/resolveUserConfig.ts +0 -13
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as __name } from "./rolldown-runtime-G2anUtha.js";
|
|
2
2
|
import { McpServer } from "tmcp";
|
|
3
|
-
import * as _$valibot from "valibot";
|
|
4
3
|
|
|
5
4
|
//#region src/server.d.ts
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Builds the Kubb MCP server with the generate, validate, and init tools registered.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* `const server = createMcpServer()`
|
|
10
|
+
*/
|
|
11
|
+
declare function createMcpServer(): McpServer<import("valibot").GenericSchema, undefined>;
|
|
11
12
|
//#endregion
|
|
12
13
|
//#region src/index.d.ts
|
|
13
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Entry point that starts the MCP server over stdio. The argument is accepted
|
|
16
|
+
* for CLI parity but ignored.
|
|
17
|
+
*/
|
|
18
|
+
declare function run(_argv?: Array<string>): Promise<void>;
|
|
14
19
|
//#endregion
|
|
15
|
-
export {
|
|
20
|
+
export { createMcpServer, run };
|
|
16
21
|
//# sourceMappingURL=index.d.ts.map
|