@kubb/mcp 5.0.0-beta.91 → 5.0.0-beta.94
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/dist/index.cjs +4 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -38,7 +38,7 @@ let node_module = require("node:module");
|
|
|
38
38
|
let node_process = require("node:process");
|
|
39
39
|
node_process = __toESM(node_process, 1);
|
|
40
40
|
//#region package.json
|
|
41
|
-
var version = "5.0.0-beta.
|
|
41
|
+
var version = "5.0.0-beta.94";
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region src/schemas/generateSchema.ts
|
|
44
44
|
const generateSchema = valibot.object({
|
|
@@ -6168,6 +6168,7 @@ async function loadUserConfig(configPath, { notify }) {
|
|
|
6168
6168
|
"kubb.config.mts",
|
|
6169
6169
|
"kubb.config.cts",
|
|
6170
6170
|
"kubb.config.js",
|
|
6171
|
+
"kubb.config.mjs",
|
|
6171
6172
|
"kubb.config.cjs"
|
|
6172
6173
|
];
|
|
6173
6174
|
for (const configFileName of configFileNames) {
|
|
@@ -6277,7 +6278,6 @@ const generateTool = (0, tmcp_tool.defineTool)({
|
|
|
6277
6278
|
});
|
|
6278
6279
|
} catch (error) {
|
|
6279
6280
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
6280
|
-
await notify("CONFIG_ERROR", errorMessage);
|
|
6281
6281
|
return tmcp_utils.tool.error(errorMessage);
|
|
6282
6282
|
}
|
|
6283
6283
|
const config = {
|
|
@@ -6394,10 +6394,9 @@ async function startServer() {
|
|
|
6394
6394
|
//#endregion
|
|
6395
6395
|
//#region src/index.ts
|
|
6396
6396
|
/**
|
|
6397
|
-
* Entry point that starts the MCP server over stdio.
|
|
6398
|
-
* for CLI parity but ignored.
|
|
6397
|
+
* Entry point that starts the MCP server over stdio.
|
|
6399
6398
|
*/
|
|
6400
|
-
async function run(
|
|
6399
|
+
async function run() {
|
|
6401
6400
|
await startServer();
|
|
6402
6401
|
}
|
|
6403
6402
|
//#endregion
|