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

Function latest

packages/opencode/src/installation/index.ts:332–332  ·  view source on GitHub ↗
(...args: Parameters<Interface["latest"]>)

Source from the content-addressed store, hash-verified

330const { runPromise } = makeRuntime(Service, AppNodeBuilder.build(node))
331
332export const latest = (...args: Parameters<Interface["latest"]>) => runPromise((s) => s.latest(...args))
333export const method = () => runPromise((s) => s.method())
334export const upgrade = (...args: Parameters<Interface["upgrade"]>) => runPromise((s) => s.upgrade(...args))
335

Callers

nothing calls this directly

Calls 1

runPromiseFunction · 0.85

Tested by

no test coverage detected