MCPcopy Create free account
hub / github.com/anomalyco/opencode / configLayer

Method configLayer

packages/server/src/auth.ts:21–23  ·  view source on GitHub ↗
(input: Info)

Source from the content-addressed store, hash-verified

19
20export class Config extends Context.Service<Config, Info>()("@opencode/ServerAuthConfig") {
21 static configLayer(input: Info) {
22 return Layer.succeed(this, this.of(input))
23 }
24
25 static get layer() {
26 return Layer.effect(

Callers 2

createRoutesFunction · 0.45
createEmbeddedRoutesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected