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 scripts/bootstrap.ts (1 of 91 files). Show all

Unified · Split

scripts/bootstrap.ts+5−1
@@ -23,7 +23,11 @@ const run = (label: string, cmd: string, args: ReadonlyArray<string>) => { · 22 unmodified lines
23// apps' vite dev servers fail without in a fresh worktree.23// apps' vite dev servers fail without in a fresh worktree.
24run("dependencies (+ prepare builds)", "bun", ["install"]);24run("dependencies (+ prepare builds)", "bun", ["install"]);
25 25
26// Catch patched-dependency entries whose checked-in patch file was removed.26// Assert load-bearing patched dependencies actually installed in patched form.
27// A bun cache edge case can leave a stale, unpatched dist in node_modules even
28// though the lockfile records the patch (bun reports "no changes"). That would
29// silently drop the agents MCP transport hang fix; fail here so a fresh
30// checkout or worktree surfaces it immediately instead of at deploy time.
27run("verify patched deps", "bun", ["run", "scripts/check-patched-deps.ts"]);31run("verify patched deps", "bun", ["run", "scripts/check-patched-deps.ts"]);
28 32
29// e2e browser scenarios need Playwright's chromium; the cache is shared33// e2e browser scenarios need Playwright's chromium; the cache is shared