(threadId, runId, touchedThreadIds)
| 147 | } |
| 148 | |
| 149 | const notifyTerminalDetected = (threadId, runId, touchedThreadIds) => { |
| 150 | if (typeof onTerminalDetected !== 'function') return |
| 151 | onTerminalDetected({ threadId, runId, touchedThreadIds: [...touchedThreadIds] }) |
| 152 | } |
| 153 | |
| 154 | const hasPendingInterruptForRun = (threadState, runId) => { |
| 155 | const pendingInterrupt = threadState?.pendingInterrupt |
no outgoing calls
no test coverage detected