MCPcopy Index your code
hub / github.com/TanStack/ai / projectPlugins

Function projectPlugins

packages/ai-opencode/src/adapters/projection.ts:183–190  ·  view source on GitHub ↗

* OpenCode has no plugin install command. We warn-and-skip each declared plugin * rather than fabricating a command.

(projection: WorkspaceProjection)

Source from the content-addressed store, hash-verified

181 * rather than fabricating a command.
182 */
183function projectPlugins(projection: WorkspaceProjection): void {
184 for (const name of projection.plugins) {
185 console.warn(
186 `[opencode] plugin "${name}" cannot be installed: OpenCode has no plugin ` +
187 'install command. Skipping.',
188 )
189 }
190}
191
192/**
193 * Project a `WorkspaceProjection` into the OpenCode sandbox. Safe to call on

Callers 1

projectOpencodeWorkspaceFunction · 0.70

Calls 1

warnMethod · 0.65

Tested by

no test coverage detected