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

Function addPlugin

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

Source from the content-addressed store, hash-verified

1019}
1020
1021export async function addPlugin(spec: string) {
1022 return addPluginBySpec(runtime, spec)
1023}
1024
1025export async function installPlugin(spec: string, options?: { global?: boolean }) {
1026 return installPluginBySpec(runtime, spec, options?.global)

Calls 1

addPluginBySpecFunction · 0.85

Tested by

no test coverage detected