Files
oh-my-pi/packages/coding-agent/test/fixtures/locked-stdin-reader.ts
T
roboomp fe54ebc990 fix(rpc): claimed stdin before extension discovery
Claimed Bun's singleton stdin reader before loading extensions and passed the owned stream into RPC and RPC-UI mode.

Added process-level regressions for both modes with a startup extension that attempts to lock stdin.

Fixes #5898
2026-07-17 19:29:47 +00:00

5 lines
145 B
TypeScript

const lockedStdinReader = Bun.stdin.stream().getReader();
void lockedStdinReader;
export default function lockedStdinReaderExtension(): void {}