MCPcopy Create free account
hub / github.com/arctic-cli/interface / resolveCodexHome

Function resolveCodexHome

packages/arctic/src/auth/index.ts:209–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

207 }
208
209 function resolveCodexHome(): string {
210 const envPath = process.env.CODEX_HOME?.trim()
211 if (envPath) return path.resolve(envPath)
212 return path.join(os.homedir(), ".codex")
213 }
214
215 async function readJsonFile<T>(filePath: string): Promise<T | null> {
216 try {

Callers 1

loadCodexAuthFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected