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