RUN  v4.1.1 /home/sawyer/projects/bb/.claude/worktrees/wf_242c3e11-a10-16/packages/agent-runtime stdout | src/pi/issue-1633-repro.test.ts > #1633 Pi agent_end with string-content custom message > BUG: string-content custom message (pi-processes shape) must still complete the turn EVENT TYPES: ["provider/unhandled"] ❯  @bb/agent-runtime  src/pi/issue-1633-repro.test.ts (3 tests | 2 failed) 17ms  × BUG: string-content custom message (pi-processes shape) must still complete the turn 7ms  × BUG: string-content USER message (pi.sendUserMessage) is also rejected 2ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯  FAIL   @bb/agent-runtime  src/pi/issue-1633-repro.test.ts > #1633 Pi agent_end with string-content custom message > BUG: string-content custom message (pi-processes shape) must still complete the turn AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true  ❯ src/pi/issue-1633-repro.test.ts:73:65  71| // Print what we actually got, so the log shows provider/unhandled…  72| console.log("EVENT TYPES:", JSON.stringify(events.map((e) => e.typ…  73| expect(events.some((e) => e.type === "provider/unhandled")).toBe(f…  | ^  74| expect(events).toContainEqual(  75| expect.objectContaining({ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯  FAIL   @bb/agent-runtime  src/pi/issue-1633-repro.test.ts > #1633 Pi agent_end with string-content custom message > BUG: string-content USER message (pi.sendUserMessage) is also rejected AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true  ❯ src/pi/issue-1633-repro.test.ts:88:65  86| assistant("ok"),  87| ]);  88| expect(events.some((e) => e.type === "provider/unhandled")).toBe(f…  | ^  89| expect(events.map((e) => e.type)).toContain("turn/completed");  90| }); ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯  Test Files  1 failed (1)  Tests  2 failed | 1 passed (3)  Start at  07:31:29  Duration  567ms (transform 263ms, setup 0ms, import 454ms, tests 17ms, environment 0ms)