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

Function define

packages/core/src/plugin/internal.ts:59–61  ·  view source on GitHub ↗
(plugin: Plugin<R>)

Source from the content-addressed store, hash-verified

57}
58
59export function define<R>(plugin: Plugin<R>) {
60 return plugin
61}
62
63const layer = Layer.effectDiscard(
64 Effect.gen(function* () {

Callers 15

models-dev.tsFile · 0.90
command.tsFile · 0.90
skill.tsFile · 0.90
agent.tsFile · 0.90
variant.tsFile · 0.90
togetherai.tsFile · 0.90
xai.tsFile · 0.90
openai.tsFile · 0.90
groq.tsFile · 0.90
cohere.tsFile · 0.90
nvidia.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected