RUN v4.1.1 /home/sawyer/projects/bb/.claude/worktrees/wf_242c3e11-a10-2/packages/provider-bridge-protocol ❯ |@bb/provider-bridge-protocol| test/issue-1762-image-tool-result.test.ts (2 tests | 2 failed) 7ms × does not collapse an inputImage-only tool result to the string "OK" 3ms × keeps text but still drops a sibling image 2ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯ FAIL |@bb/provider-bridge-protocol| test/issue-1762-image-tool-result.test.ts > issue #1762: image-only tool results > does not collapse an inputImage-only tool result to the string "OK" AssertionError: expected 'OK' not to be 'OK' // Object.is equality ❯ test/issue-1762-image-tool-result.test.ts:35:33 33| expect(decoded.isError).toBe(false); 34| // FAILS on main: decoded.content === "OK" — the image is gone. 35| expect(decoded.content).not.toBe("OK"); | ^ 36| expect(JSON.stringify(decoded)).toContain(PNG_BASE64); 37| }); ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯ FAIL |@bb/provider-bridge-protocol| test/issue-1762-image-tool-result.test.ts > issue #1762: image-only tool results > keeps text but still drops a sibling image AssertionError: expected '{"content":"screenshot of https://exa…' to contain 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAA…' Expected: "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg==" Received: "{"content":"screenshot of https://example.com","isError":false}" ❯ test/issue-1762-image-tool-result.test.ts:52:37 50| expect(decoded.content).toContain("screenshot of https://example.c… 51| // FAILS on main: the image part is filtered out entirely. 52| expect(JSON.stringify(decoded)).toContain(PNG_BASE64); | ^ 53| }); 54| }); ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯ Test Files 1 failed (1) Tests 2 failed (2) Start at 07:18:18 Duration 154ms (transform 23ms, setup 0ms, import 59ms, tests 7ms, environment 0ms)