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

Method configLayer

packages/opencode/src/effect/config-service.ts:46–48  ·  view source on GitHub ↗
(input: Shape<Fields>)

Source from the content-addressed store, hash-verified

44 <const Id extends string, const Fields extends ConfigMap>(id: Id, fields: Fields) => {
45 class ConfigTag extends Context.Service<Self, Shape<Fields>>()(id) {
46 static configLayer(input: Shape<Fields>) {
47 return Layer.succeed(this, this.of(input))
48 }
49
50 static get layer() {
51 const tag = this

Calls

no outgoing calls

Tested by 1

authConfigLayerFunction · 0.36