@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.
- package/dist/_types/hono/package.json +1 -0
- package/dist/_types/hono-mcp-server-sse-transport/build/sse.d.ts +2 -2
- package/dist/_types/hono-mcp-server-sse-transport/package.json +1 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/server/server.d.ts +2 -2
- package/package.json +7 -6
|
@@ -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.
|
|
4
|
-
import type { SSEStreamingApi } from '../../hono/dist/types/helper/streaming/index.
|
|
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"}
|
package/dist/docs/SKILL.md
CHANGED
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-
|
|
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 =
|
|
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.
|
|
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-
|
|
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.
|