MCPcopy Index your code
hub / github.com/anomalyco/opencode / install

Function install

packages/core/src/npm.ts:259–261  ·  view source on GitHub ↗
(...args: Parameters<Interface["install"]>)

Source from the content-addressed store, hash-verified

257const { runPromise } = makeRuntime(Service, LayerNode.compile(node))
258
259export async function install(...args: Parameters<Interface["install"]>) {
260 return runPromise((svc) => svc.install(...args))
261}
262
263export async function add(...args: Parameters<Interface["add"]>) {
264 return runPromise((svc) => svc.add(...args))

Callers

nothing calls this directly

Calls 1

runPromiseFunction · 0.85

Tested by

no test coverage detected