MCPcopy Create free account
hub / github.com/ByBrawe/opencode-loop / setGoalComplete

Function setGoalComplete

src/index.js:1051–1067  ·  view source on GitHub ↗
(directory, sessionID, args = {})

Source from the content-addressed store, hash-verified

1049 }
1050 }
1051 return String(args);
1052}
1053
1054// src/source/core/continuation.js
1055var CONTINUATION_SHORTHANDS = new Set([
1056 "continue",
1057 "continue.",
1058 "continue working",
1059 "keep going",
1060 "go on",
1061 "devam",
1062 "devam et",
1063 "devam et.",
1064 "devam et bakal\u0131m"
1065]);
1066var COMPLETION_BOUNDED_PATTERNS = [
1067 /\bbitene kadar\b/i,
1068 /\b(?:tamamen|komple) projeyi bitir\b/i,
1069 /\bi\u015Fi bitir\b/i,
1070 /\buntil (?:it(?:'s| is) )?(?:done|complete|completed|finished)\b/i,

Callers 2

completeGoalCommandFunction · 0.85
goalToolsFunction · 0.85

Calls 7

readStateFunction · 0.85
pickGoalJobFunction · 0.85
parseGoalToolTextFunction · 0.85
nowFunction · 0.85
writeStateFunction · 0.85
writeGoalReportFunction · 0.85
appendLoopLogFunction · 0.85

Tested by

no test coverage detected