@smithery/sdk 1.3.1 → 1.3.2

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.
@@ -1,5 +1,5 @@
1
1
  import { CallToolResultSchema, } from "@modelcontextprotocol/sdk/types.js";
2
- import { patch } from "src/shared/patch.js";
2
+ import { patch } from "../../shared/patch.js";
3
3
  /**
4
4
  * Wraps each tool call so any errors get sent back to the LLM instead of throwing
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
2
- import { type SmitheryUrlOptions } from "../config.js";
2
+ import { type SmitheryUrlOptions } from "../shared/config.js";
3
3
  /**
4
4
  * Creates a transport to connect to the Smithery server
5
5
  * @param baseUrl The URL of the Smithery server (without trailing slash or protocol)
@@ -1,5 +1,5 @@
1
1
  import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
2
- import { createSmitheryUrl } from "../config.js";
2
+ import { createSmitheryUrl } from "../shared/config.js";
3
3
  /**
4
4
  * Creates a transport to connect to the Smithery server
5
5
  * @param baseUrl The URL of the Smithery server (without trailing slash or protocol)
@@ -2,7 +2,7 @@ import { randomUUID } from "node:crypto";
2
2
  import { StreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/streamableHttp.js";
3
3
  import { isInitializeRequest } from "@modelcontextprotocol/sdk/types.js";
4
4
  import express from "express";
5
- import { parseExpressRequestConfig } from "../config.js";
5
+ import { parseExpressRequestConfig } from "../shared/config.js";
6
6
  import { createLRUStore } from "./session.js";
7
7
  /**
8
8
  * Creates a stateful server for handling MCP requests.
@@ -1,6 +1,6 @@
1
1
  import { StreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/streamableHttp.js";
2
2
  import express from "express";
3
- import { parseExpressRequestConfig } from "../config.js";
3
+ import { parseExpressRequestConfig } from "../shared/config.js";
4
4
  /**
5
5
  * Creates a stateless server for handling MCP requests
6
6
  * In stateless mode, each request creates a new server and transport instance
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithery/sdk",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "SDK to develop with Smithery",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
File without changes
File without changes