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

Function run

packages/opencode/test/plugin/install-concurrency.test.ts:19–24  ·  view source on GitHub ↗
(msg: Msg)

Source from the content-addressed store, hash-verified

17}
18
19function run(msg: Msg) {
20 return Process.run([process.execPath, worker, JSON.stringify(msg)], {
21 cwd: root,
22 nothrow: true,
23 })
24}
25
26async function plugin(dir: string, kinds: Array<"server" | "tui">) {
27 const p = path.join(dir, "plugin")

Callers 1

Calls 1

runMethod · 0.45

Tested by

no test coverage detected