Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
9
export
function
define<R = Scope.Scope>(plugin: Plugin<R>) {
10
return
plugin
11
}
12
13
export
interface
PluginDomain {
14
readonly add: (plugin: Plugin) => Effect.Effect<void>
Callers
4
location-layer.test.ts
File · 0.90
managed
Function · 0.90
config-effect-plugin.ts
File · 0.90
fromPromise
Function · 0.90
Calls
no outgoing calls
Tested by
1
managed
Function · 0.72