MCPcopy Create free account
hub / github.com/xerrors/Yuxi / notifyTerminalDetected

Function notifyTerminalDetected

web/src/composables/useAgentRunStream.js:149–152  ·  view source on GitHub ↗
(threadId, runId, touchedThreadIds)

Source from the content-addressed store, hash-verified

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

Callers 2

finalizeRunStreamFunction · 0.85
resumeActiveRunForThreadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected