@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.d.ts CHANGED
@@ -12,10 +12,9 @@ declare function createMcpServer(): McpServer<import("valibot").GenericSchema, u
12
12
  //#endregion
13
13
  //#region src/index.d.ts
14
14
  /**
15
- * Entry point that starts the MCP server over stdio. The argument is accepted
16
- * for CLI parity but ignored.
15
+ * Entry point that starts the MCP server over stdio.
17
16
  */
18
- declare function run(_argv?: Array<string>): Promise<void>;
17
+ declare function run(): Promise<void>;
19
18
  //#endregion
20
19
  export { createMcpServer, run };
21
20
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import fs, { existsSync } from "node:fs";
11
11
  import path from "node:path";
12
12
  import process$1 from "node:process";
13
13
  //#region package.json
14
- var version = "5.0.0-beta.91";
14
+ var version = "5.0.0-beta.94";
15
15
  //#endregion
16
16
  //#region src/schemas/generateSchema.ts
17
17
  const generateSchema = v.object({
@@ -6141,6 +6141,7 @@ async function loadUserConfig(configPath, { notify }) {
6141
6141
  "kubb.config.mts",
6142
6142
  "kubb.config.cts",
6143
6143
  "kubb.config.js",
6144
+ "kubb.config.mjs",
6144
6145
  "kubb.config.cjs"
6145
6146
  ];
6146
6147
  for (const configFileName of configFileNames) {
@@ -6250,7 +6251,6 @@ const generateTool = defineTool({
6250
6251
  });
6251
6252
  } catch (error) {
6252
6253
  const errorMessage = error instanceof Error ? error.message : String(error);
6253
- await notify("CONFIG_ERROR", errorMessage);
6254
6254
  return tool.error(errorMessage);
6255
6255
  }
6256
6256
  const config = {
@@ -6361,10 +6361,9 @@ async function startServer() {
6361
6361
  //#endregion
6362
6362
  //#region src/index.ts
6363
6363
  /**
6364
- * Entry point that starts the MCP server over stdio. The argument is accepted
6365
- * for CLI parity but ignored.
6364
+ * Entry point that starts the MCP server over stdio.
6366
6365
  */
6367
- async function run(_argv) {
6366
+ async function run() {
6368
6367
  await startServer();
6369
6368
  }
6370
6369
  //#endregion