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

Function deactivatePlugin

packages/opencode/src/plugin/tui/runtime.ts:1017–1019  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

1015}
1016
1017export async function deactivatePlugin(id: string) {
1018 return deactivatePluginById(runtime, id, true)
1019}
1020
1021export async function addPlugin(spec: string) {
1022 return addPluginBySpec(runtime, spec)

Callers

nothing calls this directly

Calls 1

deactivatePluginByIdFunction · 0.85

Tested by

no test coverage detected