@skilder-ai/runtime 0.9.9 → 0.9.11

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
@@ -108445,7 +108445,7 @@ async function pkceChallenge(length) {
108445
108445
  };
108446
108446
  }
108447
108447
 
108448
- // ../../node_modules/.pnpm/@ai-sdk+mcp@1.0.23_zod@4.3.6/node_modules/@ai-sdk/mcp/dist/index.mjs
108448
+ // ../../node_modules/.pnpm/@ai-sdk+mcp@1.0.23_patch_hash=25f3a8949029c69b91a55deccad17ccf0e31e0e5d8e1d017fc276f1af2933d98_zod@4.3.6/node_modules/@ai-sdk/mcp/dist/index.mjs
108449
108449
  var name15 = "AI_MCPClientError";
108450
108450
  var marker16 = `vercel.ai.error.${name15}`;
108451
108451
  var symbol17 = Symbol.for(marker16);
@@ -109555,7 +109555,10 @@ var SseMCPTransport = class {
109555
109555
  }
109556
109556
  };
109557
109557
  this.sseConnection = {
109558
- close: () => reader.cancel()
109558
+ close: () => {
109559
+ reader.cancel().catch(() => {
109560
+ });
109561
+ }
109559
109562
  };
109560
109563
  processEvents();
109561
109564
  } catch (error48) {
@@ -109925,7 +109928,10 @@ var HttpMCPTransport = class {
109925
109928
  }
109926
109929
  };
109927
109930
  this.inboundSseConnection = {
109928
- close: () => reader.cancel()
109931
+ close: () => {
109932
+ reader.cancel().catch(() => {
109933
+ });
109934
+ }
109929
109935
  };
109930
109936
  this.inboundReconnectAttempts = 0;
109931
109937
  processEvents();