@mastra/mcp 0.12.0 → 0.13.0-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/index.js CHANGED
@@ -1077,7 +1077,7 @@ var MCPConfiguration = class extends MCPClient {
1077
1077
  }
1078
1078
  };
1079
1079
 
1080
- // ../../node_modules/.pnpm/hono@4.9.6/node_modules/hono/dist/utils/stream.js
1080
+ // ../../node_modules/.pnpm/hono@4.9.7/node_modules/hono/dist/utils/stream.js
1081
1081
  var StreamingApi = class {
1082
1082
  writer;
1083
1083
  encoder;
@@ -1144,7 +1144,7 @@ var StreamingApi = class {
1144
1144
  }
1145
1145
  };
1146
1146
 
1147
- // ../../node_modules/.pnpm/hono@4.9.6/node_modules/hono/dist/helper/streaming/utils.js
1147
+ // ../../node_modules/.pnpm/hono@4.9.7/node_modules/hono/dist/helper/streaming/utils.js
1148
1148
  var isOldBunVersion = () => {
1149
1149
  const version = typeof Bun !== "undefined" ? Bun.version : void 0;
1150
1150
  if (version === void 0) {
@@ -1155,7 +1155,7 @@ var isOldBunVersion = () => {
1155
1155
  return result;
1156
1156
  };
1157
1157
 
1158
- // ../../node_modules/.pnpm/hono@4.9.6/node_modules/hono/dist/utils/html.js
1158
+ // ../../node_modules/.pnpm/hono@4.9.7/node_modules/hono/dist/utils/html.js
1159
1159
  var HtmlEscapedCallbackPhase = {
1160
1160
  Stringify: 1};
1161
1161
  var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) => {
@@ -1186,7 +1186,7 @@ var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) =>
1186
1186
  }
1187
1187
  };
1188
1188
 
1189
- // ../../node_modules/.pnpm/hono@4.9.6/node_modules/hono/dist/helper/streaming/sse.js
1189
+ // ../../node_modules/.pnpm/hono@4.9.7/node_modules/hono/dist/helper/streaming/sse.js
1190
1190
  var SSEStreamingApi = class extends StreamingApi {
1191
1191
  constructor(writable, readable) {
1192
1192
  super(writable, readable);
@@ -1981,7 +1981,7 @@ Provided arguments: ${JSON.stringify(request.params.arguments, null, 2)}`
1981
1981
  context
1982
1982
  );
1983
1983
  try {
1984
- const run2 = workflow.createRun({ runId: runtimeContext?.get("runId") });
1984
+ const run2 = await workflow.createRunAsync({ runId: runtimeContext?.get("runId") });
1985
1985
  const response = await run2.start({ inputData: context, runtimeContext, tracingContext });
1986
1986
  return response;
1987
1987
  } catch (error) {