Files
pad/internal
xarmian 6b85f6881e refactor(mcp): route tool results through a Pad-owned seam (TASK-2306 unit 2) (#1611)
internal/mcp/result.go declares CallToolResult as an alias of mcp-go's type,
plus textResult / structuredResult / errorResult / errorResultf wrapping the
SDK's four constructors. Every non-test site now goes through it: 78 type
references and 18 constructor calls across 17 files. 15 files no longer
import the SDK's mcp package at all.

This is behavior-neutral by construction (an alias and pure delegation). The
initialize and tools/list goldens from unit 1 are byte-unchanged, and the mcp
package tests, which cover the tools/call path the goldens do not, pass.

Claude-Session: https://claude.ai/code/session_016PXRzXhokr61CLbbu3Txj9
2026-09-27 11:00:34 -04:00
..
…