MCPcopy Index your code
hub / github.com/ByBrawe/opencode-loop / parseGoalToolText

Function parseGoalToolText

src/index.js:1045–1049  ·  view source on GitHub ↗
(args, fields)

Source from the content-addressed store, hash-verified

1043 if (previous) clearTimeout(previous)
1044 const timer = setTimeout(() => {
1045 idleTimers.delete(sessionID)
1046 Promise.resolve()
1047 .then(async () => {
1048 if (!await sessionIsIdle(client, sessionID, directory)) {
1049 await scheduleDueWork(directory, client, sessionID, BUSY_RETRY_MS)
1050 return
1051 }
1052 await finalizeActiveRun(directory, client, sessionID)

Callers 3

setGoalCompleteFunction · 0.85
setGoalBlockedFunction · 0.85
setGoalProgressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected