INNER CODE UNIT · Python

has_welcome_screen

Dicklesworthstone/claude_code_agent_farm · claude_code_agent_farm.py:331

    def has_welcome_screen(self, content: str) -> bool:
        """Check if Claude Code is showing the welcome/setup screen"""
        welcome_indicators = [
            # Setup/onboarding screens only
            "Choose the text style",
            "Choose your language",
            "Let's get started",
            "run /theme",
            "Dark mode✔",
            "Light mode",
            "colorblind-friendly",
            # Remove "Welcome to Claude Code" as it appears when ready
        ]
        return any(indicator in content for indicator in welcome_indicators)

    def has_settings_error(self, content: str) -> bool:
        """Check for settings corruption"""
        # First check if Claude is actually ready (avoid false positives)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…