fix: normalize Claude CLI auth mode to oauth (#855)

Thanks @sebslight.

Co-authored-by: Sebastian <sebslight@gmail.com>
This commit is contained in:
Peter SteinbergerandSebastian committed 2026-01-15 02:29:43 +00:00
1 parent 3c51290e0d
commit 2fb2035dbf
7 files changed
+137 -6

No files matched your search

+2 -2
View File
@@ -91,12 +91,12 @@ export async function modelsAuthSetupTokenCommand(
applyAuthProfileConfig(cfg, {
profileId: CLAUDE_CLI_PROFILE_ID,
provider: "anthropic",
mode: "token",
mode: "oauth",
}),
);
runtime.log(`Updated ${CONFIG_PATH_CLAWDBOT}`);
runtime.log(`Auth profile: ${CLAUDE_CLI_PROFILE_ID} (anthropic/token)`);
runtime.log(`Auth profile: ${CLAUDE_CLI_PROFILE_ID} (anthropic/oauth)`);
}
export async function modelsAuthPasteTokenCommand(