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

Function envValue

packages/opencode/test/session/llm-native-recorded.test.ts:68–68  ·  view source on GitHub ↗
(...names: string[])

Source from the content-addressed store, hash-verified

66}
67
68const envValue = (...names: string[]) => names.map((name) => process.env[name]).find(Boolean)
69const decodeAuth = Schema.decodeUnknownOption(Auth.Info)
70const recordOpenAIOAuth = (() => {
71 let loaded = false

Callers 1

Calls 1

findMethod · 0.65

Tested by

no test coverage detected