(cmd: QueuedCommand)
| 59 | // false with the queue unchanged → the React effect never re-fires and any |
| 60 | // queued user prompt stalls permanently. |
| 61 | const isMainThread = (cmd: QueuedCommand) => cmd.agentId === undefined |
| 62 | |
| 63 | const next = peek(isMainThread) |
| 64 | if (!next) { |
no outgoing calls
no test coverage detected