MCPcopy
hub / github.com/anomalyco/opencode / schemaConfig

Function schemaConfig

packages/opencode/test/config/config.test.ts:113–113  ·  view source on GitHub ↗
(config: object)

Source from the content-addressed store, hash-verified

111const configIt = (options?: Parameters<typeof configLayer>[0]) => testEffect(configLayer(options))
112
113const schemaConfig = (config: object) => ({ $schema: "https://opencode.ai/config.json", ...config })
114
115const provideCurrentInstance = <A, E, R>(effect: Effect.Effect<A, E, R>, ctx: InstanceContext) =>
116 effect.pipe(Effect.provideService(InstanceRef, ctx))

Callers 2

withGlobalConfigFunction · 0.85
withConfigTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected