Files
ollama/auth
ParthSareen eed58a312d auth: add local sign-in state storage
Add functions to cache sign-in state locally at ~/.ollama/signin.json,
enabling offline sign-in status checks without network calls.

- SignInState struct with Name, Email, and CachedAt fields
- GetSignInState() reads cached state from disk
- SetSignInState() atomically writes state (temp file + rename)
- ClearSignInState() removes the cached state file
- IsSignedIn() quick check for valid cached sign-in
2026-01-07 15:35:48 -08:00
..
2026-01-07 15:35:48 -08:00