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

Function wellKnownAuth

packages/opencode/test/config/config.test.ts:58–64  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

56 )
57
58const wellKnownAuth = (url: string) =>
59 Layer.mock(Auth.Service)({
60 all: () =>
61 Effect.succeed({
62 [url]: new Auth.WellKnown({ type: "wellknown", key: "TEST_TOKEN", token: "test-token" }),
63 }),
64 })
65
66function remoteConfigClient(input: {
67 wellKnown: unknown

Callers 2

wellKnownFunction · 0.85
config.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected