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

Function runNow

src/index.js:1549–1557  ·  view source on GitHub ↗
(directory, client, sessionID, args)

Source from the content-addressed store, hash-verified

1547 "/loop 5m --ask-never --safe <prompt> interval autonomous prompt loop",
1548 "/loop-command 200m /compact OpenCode slash-command loop, waits for idle",
1549 "/loop-ask 1h did you run tests and tsc --noEmit? scheduled question/check prompt",
1550 "/loop-shell 10m npm test shell loop, waits for idle",
1551 "/loop-goal finish the feature and keep tests green experimental persistent goal mode",
1552 "/loop-goal --check \"npm run build\" --check \"npm test\" --complete-when-checks-pass ship it",
1553 "/loop-goal status | pause | resume | clear manage experimental goals",
1554 "/loop 200m --command /compact same as command loop",
1555 "/loop 0s --verify \"npm test\" <prompt> verify after each assistant turn",
1556 "/loop 0s --prompt-file loop-prompt.md load prompt from a file",
1557 "/loop 0s --max-runtime 6h --max-failures 3 <task> stop safely after limits",
1558 "/loop-doctor | /loop-init | /loop-export",
1559 ].join("\n"))
1560}

Callers 1

handleCommandFunction · 0.85

Calls 5

readStateFunction · 0.85
matchJobFunction · 0.85
writeStateFunction · 0.85
toastFunction · 0.85
maybeRunDueJobsFunction · 0.85

Tested by

no test coverage detected