Merge pull request #12 from mantarayDigital/fix/start-sh-credentials-check

fix: Comprehensive authentication error handling
This commit is contained in:
Leon van Zyl
2026-01-10 11:29:13 +02:00
committed by GitHub
5 changed files with 187 additions and 38 deletions

View File

@@ -127,9 +127,11 @@ async def setup_status():
# Check for Claude CLI
claude_cli = shutil.which("claude") is not None
# Check for credentials file
credentials_path = Path.home() / ".claude" / ".credentials.json"
credentials = credentials_path.exists()
# Check for Claude CLI configuration directory
# Note: Claude CLI no longer stores credentials in ~/.claude/.credentials.json
# The existence of ~/.claude indicates the CLI has been configured
claude_dir = Path.home() / ".claude"
credentials = claude_dir.exists() and claude_dir.is_dir()
# Check for Node.js and npm
node = shutil.which("node") is not None