mirror of
https://github.com/PerpetualSoftware/pad.git
synced 2026-10-26 14:30:13 +00:00
6b85f6881e
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