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

Function mkConfig

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

Source from the content-addressed store, hash-verified

1282 })
1283
1284 const mkConfig = () =>
1285 createTuiResolvedConfig({
1286 plugin: [[tmp.extra.spec, { theme_path: `./theme-update.json` }]],
1287 plugin_origins: [
1288 {
1289 spec: [tmp.extra.spec, { theme_path: `./theme-update.json` }],
1290 scope: "local",
1291 source: path.join(tmp.path, "tui.json"),
1292 },
1293 ],
1294 })
1295
1296 try {
1297 await TuiPluginRuntime.init({ api: mkApi(), config: mkConfig() })

Callers 1

Calls 1

createTuiResolvedConfigFunction · 0.90

Tested by

no test coverage detected