Files
oh-my-pi/packages/coding-agent/test
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-27 16:43:53 +02:00
2026-07-27 16:43:53 +02:00
2026-07-27 16:43:53 +02:00
2026-07-27 16:43:53 +02:00
2026-07-27 16:43:53 +02:00
2026-07-27 16:43:53 +02:00
2026-07-27 16:43:53 +02:00
2026-07-27 16:43:53 +02:00
2026-06-26 18:43:32 +02:00
2026-07-01 00:07:30 +00:00
2026-05-30 18:08:51 +02:00
2026-05-30 18:08:51 +02:00
2026-07-27 16:43:53 +02:00
2026-06-24 13:44:47 +00:00