Skip to content

refactor(proxy,adapters): unify MCP proxy onto StitchToolClient and isolate tool catalog subpath [3/5] - #371

Merged
davideast merged 1 commit into
mainfrom
release/0.4.0-pr3-proxy-subpaths
Sep 24, 2026
Merged

davideast merged 1 commit into
mainfrom
release/0.4.0-pr3-proxy-subpaths

Conversation

@davideast

Copy link
Copy Markdown
Collaborator

Part 3 of 5 — Stitch SDK 0.4.0 Release Stack

(Stacked on #370)

Summary

Unifies the MCP proxy and capture pipeline onto StitchToolClient, hardens AI/ADK adapters, and isolates the tool catalog for tree-shaking:

  • Unified MCP Client Stack: Routes packages/sdk/src/proxy/* and scripts/capture-tools.ts through StitchToolClient (callToolRaw / listToolsRaw), eliminating the custom JSON-RPC client and serving repaired schemas on tools/list.
  • Framework Adapters: Rebuilds stitchTools() (packages/sdk/src/tools-adapter.ts) on dynamicTool()/jsonSchema() from ai, adds cycle-safe $def cleaning in stitchAdkTools() (packages/sdk/src/adk-adapter.ts), and validates include filters.
  • Bundle Budget Gate: Adds scripts/check-bundle-size.ts enforcing the 80 KB root bundle budget (actual: 32 KB) and verifying zero tool-catalog leakage.

@davideast
davideast added this pull request to stack #374 September 24, 2026 13:58
@davideast
davideast force-pushed the release/0.4.0-pr3-proxy-subpaths branch 2 times, most recently from 43402cc to 35040d5 Compare September 24, 2026 14:18
@davideast
davideast force-pushed the release/0.4.0-pr3-proxy-subpaths branch from 35040d5 to 7b8e8c9 Compare September 24, 2026 14:23
Base automatically changed from release/0.4.0-pr2-runtime to main September 24, 2026 14:24
@davideast
davideast force-pushed the release/0.4.0-pr3-proxy-subpaths branch from 7b8e8c9 to 8c170f8 Compare September 24, 2026 14:24
@davideast
davideast force-pushed the release/0.4.0-pr3-proxy-subpaths branch from 8c170f8 to 29b3979 Compare September 24, 2026 14:25
@davideast
davideast merged commit c301bd3 into main Sep 24, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant