MCPcopy Create free account
hub / github.com/tiann/hapi / buildMinimalPackageJson

Function buildMinimalPackageJson

cli/src/opencode/utils/hookPlugin.ts:160–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158}
159
160function buildMinimalPackageJson(): string {
161 return `${JSON.stringify({
162 dependencies: { [PLUGIN_PACKAGE]: PLUGIN_PACKAGE_VERSION }
163 }, null, 2)}\n`;
164}
165
166/**
167 * Ensure the opencode runtime can resolve `@opencode-ai/plugin` from our

Callers 1

ensurePluginRuntimeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected