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

Function add

packages/opencode/src/plugin/tui/runtime.ts:642–644  ·  view source on GitHub ↗
(spec)

Source from the content-addressed store, hash-verified

640 return deactivatePluginById(runtime, id, true)
641 },
642 add(spec) {
643 return addPluginBySpec(runtime, spec)
644 },
645 install(spec, options) {
646 return installPluginBySpec(runtime, spec, options?.global)
647 },

Callers 2

index.tsFile · 0.50
index.tsFile · 0.50

Calls 1

addPluginBySpecFunction · 0.85

Tested by

no test coverage detected