History

Revert the outbound MCP SDK v2 migration (#1697)

* Revert the outbound MCP SDK v2 migration * Drop the v2 MCP packages from the lockfile

Rhys Sullivan committed 2 months ago

Commit a5800a11 parent 54cde5e91 files · +5838 −10032Browse files

Showing the changes to apps/cli (2 of 91 files). Show all

Unified · Split

2 files
  1. apps/cli/package.json +0 −1
  2. apps/cli/src/main.ts +1 −1
apps/cli/package.json+0−1
@@ -30,7 +30,6 @@ · 29 unmodified lines
3030 "@executor-js/runtime-quickjs": "workspace:*",
3131 "@executor-js/sdk": "workspace:*",
3232 "@jitl/quickjs-wasmfile-release-sync": "catalog:",
33− "@modelcontextprotocol/client": "2.0.0",
3433 "@modelcontextprotocol/sdk": "^1.29.0",
3534 "@sentry/bun": "^10.57.0",
3635 "effect": "catalog:",
apps/cli/src/main.ts+1−1
@@ -75,7 +75,7 @@ import type { PlatformError } from "effect/PlatformError"; · 74 unmodified lines
7575 import * as Effect from "effect/Effect";
7676 import * as Option from "effect/Option";
7777 import * as Cause from "effect/Cause";
78−import { StreamableHTTPClientTransport } from "@modelcontextprotocol/client";
78+import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
7979 import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
8080 import type { JSONRPCMessage } from "@modelcontextprotocol/sdk/types.js";
8181