diff --git a/src/creds/local_fs.rs b/src/creds/local_fs.rs index 3d5f081..19d297f 100644 --- a/src/creds/local_fs.rs +++ b/src/creds/local_fs.rs @@ -1,8 +1,8 @@ -// Read Claude credentials from the Windows user profile. +// Read Claude credentials from the user's home directory. // -// Path: `%USERPROFILE%\.claude\.credentials.json` (matches what the -// official Claude CLI writes). Schema: `{ "claudeAiOauth": { "accessToken", -// "expiresAt": } }`. +// Path: `~/.claude/.credentials.json`, `%USERPROFILE%\.claude\.credentials.json` +// on Windows (matches what the official Claude CLI writes). Schema: +// `{ "claudeAiOauth": { "accessToken", "expiresAt": } }`. use std::path::PathBuf; use std::time::UNIX_EPOCH;