TUI starts with a blank screen and never responds
Description
kilo opens, draws one empty frame and then hangs: no input is accepted and nothing is logged. The worker process is alive and idle.
Cause: the main process sends its first RPC request before the worker has installed its handler (the worker imports the whole server first). On Bun 1.4.x that message is dropped (oven-sh/bun#44574; 1.3.14 queues it), and Rpc.client.call in packages/opencode/src/util/rpc.ts has no timeout, so the TUI waits forever. Terminals that answer the renderer's capability queries immediately hit this more often, because the main side skips a 1s wait and gets to its first request sooner.
Plugins
No response
Kilo version
Built from main and run with Bun 1.4.0. Does not reproduce on the pinned Bun 1.3.14.
Steps to reproduce
- Launch
kiloin Apple Terminal or kitty. - The screen stays blank and keystrokes do nothing.
Deterministic repro without a terminal: a worker that delays Rpc.listen by 150ms plus a client that calls it immediately. On main with Bun 1.4.x the call never resolves. There's a test for this in the fix PR.
Screenshot and/or share link
No response
Operating System
macOS 26.6.2
Terminal
Apple Terminal, kitty