Files
oh-my-pi/packages
Diogo Soares Rodrigues d9bc1e80b6 fix(cursor): handle the resource-read refusal variant, unblock lint
`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)
2026-07-30 01:43:06 +02:00
..
2026-07-29 23:34:04 +02:00
2026-07-29 23:34:04 +02:00
2026-07-27 16:43:53 +02:00
2026-07-28 14:10:19 +02:00
2026-07-28 14:10:19 +02:00
2026-07-28 14:10:19 +02:00
2026-07-28 14:10:19 +02:00
2026-07-29 23:34:04 +02:00
2026-07-29 23:34:04 +02:00
2026-07-28 14:10:19 +02:00