@mastra/mcp 1.18.1-alpha.0 → 1.18.1-alpha.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.
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -1,7 +1,7 @@
1
1
  import type { Transport } from '@modelcontextprotocol/sdk/shared/transport.js';
2
2
  import { JSONRPCMessage } from '@modelcontextprotocol/sdk/types.js';
3
- import type { Context } from '../../hono/dist/types/index.d.ts';
4
- import type { SSEStreamingApi } from '../../hono/dist/types/helper/streaming/index.d.ts';
3
+ import type { Context } from '../../hono/dist/types/index.js';
4
+ import type { SSEStreamingApi } from '../../hono/dist/types/helper/streaming/index.js';
5
5
  export declare class SSETransport implements Transport {
6
6
  private messageUrl;
7
7
  private stream;
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -3,7 +3,7 @@ name: mastra-mcp
3
3
  description: Documentation for @mastra/mcp. Use when working with @mastra/mcp APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/mcp"
6
- version: "1.18.1-alpha.0"
6
+ version: "1.18.1-alpha.1"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.18.1-alpha.0",
2
+ "version": "1.18.1-alpha.1",
3
3
  "package": "@mastra/mcp",
4
4
  "exports": {},
5
5
  "modules": {}
package/dist/index.cjs CHANGED
@@ -11193,7 +11193,7 @@ function toStandardSchema$4(schema) {
11193
11193
  return new AiSdkSchemaWrapper(schema);
11194
11194
  }
11195
11195
  //#endregion
11196
- //#region ../schema-compat/dist/json-schema-BKit3LVN.js
11196
+ //#region ../schema-compat/dist/json-schema-DaHLYDhg.js
11197
11197
  var require_code$1 = /* @__PURE__ */ __commonJSMin$1(((exports) => {
11198
11198
  Object.defineProperty(exports, "__esModule", { value: true });
11199
11199
  exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
@@ -17945,7 +17945,7 @@ var require__2020 = /* @__PURE__ */ __commonJSMin$1(((exports, module) => {
17945
17945
  }
17946
17946
  });
17947
17947
  }));
17948
- var import_ajv = /* @__PURE__ */ __toESM$1(require_ajv(), 1);
17948
+ var import_ajv = require_ajv();
17949
17949
  var import__2020 = /* @__PURE__ */ __toESM$1(require__2020(), 1);
17950
17950
  var import_json_schema_traverse$2 = /* @__PURE__ */ __toESM$1(require_json_schema_traverse(), 1);
17951
17951
  /**
@@ -18077,7 +18077,7 @@ var JsonSchemaWrapper = class {
18077
18077
  */
18078
18078
  #getAjvValidator() {
18079
18079
  if (!this.#ajvValidateCache) {
18080
- const AjvClass = typeof this.#schema.$schema === "string" && this.#schema.$schema.includes("2020-12") ? import__2020.default : import_ajv.default;
18080
+ const AjvClass = typeof this.#schema.$schema === "string" && this.#schema.$schema.includes("2020-12") ? import__2020.default : import_ajv.Ajv;
18081
18081
  this.#ajvInstance = new AjvClass({
18082
18082
  allErrors: true,
18083
18083
  strict: false,
@@ -18237,7 +18237,7 @@ function toStandardSchema$2(zodSchema) {
18237
18237
  return wrapper;
18238
18238
  }
18239
18239
  //#endregion
18240
- //#region ../schema-compat/dist/schema-D_ikovK6.js
18240
+ //#region ../schema-compat/dist/schema-BwlBcZRB.js
18241
18241
  /**
18242
18242
  * Supported JSON Schema targets for z.toJSONSchema().
18243
18243
  * Works with both real Zod v4 and Zod 3.25's v4 compat layer.