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

Function plan

packages/opencode/src/plugin/loader.ts:77–80  ·  view source on GitHub ↗
(item: ConfigPluginV1.Spec)

Source from the content-addressed store, hash-verified

75
76 // Normalize a config item into the loader's internal representation.
77 function plan(item: ConfigPluginV1.Spec): Plan {
78 const spec = ConfigPlugin.pluginSpecifier(item)
79 return { spec, options: ConfigPlugin.pluginOptions(item), deprecated: isDeprecatedPlugin(spec) }
80 }
81
82 // Resolve a configured plugin into a concrete entrypoint that can later be imported.
83 //

Callers 4

loadExternalFunction · 0.70
BlackFunction · 0.50
snapshot.tsFile · 0.50
revert.tsFile · 0.50

Calls 1

isDeprecatedPluginFunction · 0.90

Tested by

no test coverage detected