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

Function define

packages/plugin/src/v2/effect/plugin.ts:9–11  ·  view source on GitHub ↗
(plugin: Plugin<R>)

Source from the content-addressed store, hash-verified

7}
8
9export function define<R = Scope.Scope>(plugin: Plugin<R>) {
10 return plugin
11}
12
13export interface PluginDomain {
14 readonly add: (plugin: Plugin) => Effect.Effect<void>

Callers 4

managedFunction · 0.90
fromPromiseFunction · 0.90

Calls

no outgoing calls

Tested by 1

managedFunction · 0.72