You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up from the discussion in #1199 (comment) after #1217 landed (macOS Keychain / uncertain auth onboarding fix).
Product intent from that thread:
Prefer Claude CLI login + subscription (OAuth / CLI session) over ANTHROPIC_API_KEY where possible — API key is a fallback, not the primary path we optimize for.
End-to-end parity: behavior should hold cross-OS from Claude auth through actual execution (not only onboarding).
Original bug: onboarding treated uncertain Keychain auth as failure; #1217 added live probing. This issue tracks verification and gap analysis for the broader integration.
Auth ordering & messaging: codebase and wizard copy should consistently treat subscription/CLI login as first-class; API key as explicit fallback — document any remaining places that imply API key is required for Claude Code CLI.
Cross-OS matrix: enumerate Linux vs macOS vs Windows (if supported) for: install detection, login detection, execution, env vars (ANTHROPIC_API_KEY vs credential files vs Keychain), and failure modes.
Context
Follow-up from the discussion in #1199 (comment) after #1217 landed (macOS Keychain / uncertain auth onboarding fix).
Product intent from that thread:
ANTHROPIC_API_KEYwhere possible — API key is a fallback, not the primary path we optimize for.Original bug: onboarding treated uncertain Keychain auth as failure; #1217 added live probing. This issue tracks verification and gap analysis for the broader integration.
Goals
logged_in is Nonehandling and liveclaude -pverification where appropriate).ANTHROPIC_API_KEYvs credential files vs Keychain), and failure modes.References