MCPcopy Create free account
hub / github.com/garrytan/gstack / ApiKeyResolution

Interface ApiKeyResolution

design/src/auth.ts:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19type ApiKeySource = "config" | "env";
20
21export interface ApiKeyResolution {
22 key: string;
23 source: ApiKeySource;
24 envFile?: string;
25 warning?: string;
26}
27
28function configPath(): string {
29 return path.join(process.env.HOME || "~", ".gstack", "openai.json");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected