d9bc1e80b6
`ReadMcpResourceExecResult` has a `rejected` variant carrying `reason`, not `error`, so the pairing text's collapsed error branch did not typecheck against the full union. Each variant is now switched explicitly; the refusal is unreachable today (the handler answers content or `null`) but a collapsed default would have read `undefined` if the client ever builds one. `bun check` type-checks the workspace projects; the union error only surfaced through `ci:check:full`, which is what CI runs. Also renames a loop variable that shadowed the global `escape`, which was failing `biome check` on the full tree. (cherry picked from commit f5dca418d91983a14492f51f2873514781a9e066)