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

Function mkApi

packages/opencode/test/cli/tui/plugin-loader.test.ts:1275–1282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1273 const wait = spyOn(TuiConfig, "waitForDependencies").mockResolvedValue()
1274
1275 const mkApi = () =>
1276 createTuiPluginApi({
1277 theme: {
1278 has(name) {
1279 return allThemes()[name] !== undefined
1280 },
1281 },
1282 })
1283
1284 const mkConfig = () =>
1285 createTuiResolvedConfig({

Callers 1

Calls 1

createTuiPluginApiFunction · 0.90

Tested by

no test coverage detected