From 1696ff0c3fd304331ac55b4dcaa555acdf9a8590 Mon Sep 17 00:00:00 2001 From: Devin Foley Date: Tue, 24 Mar 2026 15:27:32 -0700 Subject: [PATCH] fix(codex): use path.join for auth detail message path Use path.join instead of string concatenation for the auth.json fallback path in the detail message, ensuring correct path separators on Windows. Co-Authored-By: Claude Opus 4.6 --- packages/adapters/codex-local/src/server/test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/adapters/codex-local/src/server/test.ts b/packages/adapters/codex-local/src/server/test.ts index cf5a183e..64af601b 100644 --- a/packages/adapters/codex-local/src/server/test.ts +++ b/packages/adapters/codex-local/src/server/test.ts @@ -116,7 +116,7 @@ export async function testEnvironment( code: "codex_native_auth_present", level: "info", message: "Codex is authenticated via its own auth configuration.", - detail: codexAuth.email ? `Logged in as ${codexAuth.email}.` : `Credentials found in ${codexHome ?? codexHomeDir()}/auth.json.`, + detail: codexAuth.email ? `Logged in as ${codexAuth.email}.` : `Credentials found in ${path.join(codexHome ?? codexHomeDir(), "auth.json")}.`, }); } else { checks.push({