MCPcopy
hub / github.com/anomalyco/opencode / run

Function run

packages/opencode/test/lib/cli-process.ts:277–279  ·  view source on GitHub ↗
(message: string, opts?: RunOpts)

Source from the content-addressed store, hash-verified

275 }
276
277 const run = (message: string, opts?: RunOpts): Effect.Effect<RunResult> => {
278 return spawn(runArgs(message, opts), runOpts(opts))
279 }
280
281 const startRun = Effect.fn("opencode.startRun")(function* (message: string, opts?: RunOpts) {
282 const start = Date.now()

Callers 10

effectFunction · 0.70
makeFunction · 0.70
liveFunction · 0.70
instanceFunction · 0.70
mainFunction · 0.50
read.test.tsFile · 0.50
lsp.test.tsFile · 0.50
write.test.tsFile · 0.50
shell.test.tsFile · 0.50
edit.test.tsFile · 0.50

Calls 3

runArgsFunction · 0.85
runOptsFunction · 0.85
spawnFunction · 0.50

Tested by

no test coverage detected