{"diagnosis":{"overallSeverity":"error","probes":[{"probe":"cli","severity":"ok","findings":[{"severity":"ok","code":"cli.found","message":"Claude CLI found at /opt/homebrew/bin/claude","detail":"Version: 2.1.107 (Claude Code)"}],"durationMs":496},{"probe":"auth","severity":"error","findings":[{"severity":"error","code":"auth.no-credentials","message":"No API credentials found (environment, DB settings, providers, or OpenAI OAuth)","repairActions":[{"id":"reimport-env-config","label":"Re-import environment config","description":"Re-read API keys and settings from environment variables into the database"}]},{"severity":"ok","code":"auth.resolved-ok","message":"Resolved provider has usable credentials (authStyle: api_key)"}],"durationMs":1},{"probe":"provider","severity":"ok","findings":[{"severity":"ok","code":"provider.count","message":"0 provider(s) configured"},{"severity":"ok","code":"provider.resolve-ok","message":"Provider resolution path: environment variables","detail":"No model selected (will use provider defaults)"}],"durationMs":0},{"probe":"features","severity":"ok","findings":[{"severity":"ok","code":"features.thinking-ok","message":"Thinking mode "adaptive" is compatible with protocol "anthropic""}],"durationMs":2},{"probe":"network","severity":"ok","findings":[{"severity":"ok","code":"network.reachable","message":"Anthropic API (https://api.anthropic.com) is reachable","detail":"Status: 403"}],"durationMs":724},{"probe":"live","severity":"error","findings":[{"severity":"error","code":"live.failed","message":"Live test failed — PROCESS_CRASH: Claude Code process exited with an error. Common causes:\n• Invalid or missing API Key\n• Incorrect Base URL configuration\n• Network connectivity issues","detail":"Check your API key and provider settings. Run Provider Doctor in Settings for detailed diagnostics."}],"durationMs":2113}],"repairs":[{"type":"set-default-provider","label":"Set first valid provider as default","description":"Fix the stale default by pointing to an existing provider","addresses":["provider.no-default","provider.default-missing","auth.no-credentials"]},{"type":"reimport-env-config","label":"Re-import environment config","description":"Re-read API keys and settings from environment variables into the database","addresses":["auth.no-credentials","auth.env-api-key","auth.env-auth-token"]}],"timestamp":"2026-04-15T11:21:21.056Z","durationMs":2114},"runtimeLogs":[],"providerResolution":{"protocol":"anthropic","authStyle":"api_key","hasCredentials":true,"settingSources":["user","project","local"]},"liveProbeError":{"category":"PROCESS_CRASH","userMessage":"Claude Code process exited with an error. Common causes:\n• Invalid or missing API Key\n• Incorrect Base URL configuration\n• Network connectivity issues","actionHint":"Check your API key and provider settings. Run Provider Doctor in Settings for detailed diagnostics.","retryable":false,"rawMessage":"Claude Code process exited with code 1"},"exportedAt":"2026-04-15T11:21:30.112Z"}
{"diagnosis":{"overallSeverity":"error","probes":[{"probe":"cli","severity":"ok","findings":[{"severity":"ok","code":"cli.found","message":"Claude CLI found at /opt/homebrew/bin/claude","detail":"Version: 2.1.107 (Claude Code)"}],"durationMs":496},{"probe":"auth","severity":"error","findings":[{"severity":"error","code":"auth.no-credentials","message":"No API credentials found (environment, DB settings, providers, or OpenAI OAuth)","repairActions":[{"id":"reimport-env-config","label":"Re-import environment config","description":"Re-read API keys and settings from environment variables into the database"}]},{"severity":"ok","code":"auth.resolved-ok","message":"Resolved provider has usable credentials (authStyle: api_key)"}],"durationMs":1},{"probe":"provider","severity":"ok","findings":[{"severity":"ok","code":"provider.count","message":"0 provider(s) configured"},{"severity":"ok","code":"provider.resolve-ok","message":"Provider resolution path: environment variables","detail":"No model selected (will use provider defaults)"}],"durationMs":0},{"probe":"features","severity":"ok","findings":[{"severity":"ok","code":"features.thinking-ok","message":"Thinking mode "adaptive" is compatible with protocol "anthropic""}],"durationMs":2},{"probe":"network","severity":"ok","findings":[{"severity":"ok","code":"network.reachable","message":"Anthropic API (https://api.anthropic.com) is reachable","detail":"Status: 403"}],"durationMs":724},{"probe":"live","severity":"error","findings":[{"severity":"error","code":"live.failed","message":"Live test failed — PROCESS_CRASH: Claude Code process exited with an error. Common causes:\n• Invalid or missing API Key\n• Incorrect Base URL configuration\n• Network connectivity issues","detail":"Check your API key and provider settings. Run Provider Doctor in Settings for detailed diagnostics."}],"durationMs":2113}],"repairs":[{"type":"set-default-provider","label":"Set first valid provider as default","description":"Fix the stale default by pointing to an existing provider","addresses":["provider.no-default","provider.default-missing","auth.no-credentials"]},{"type":"reimport-env-config","label":"Re-import environment config","description":"Re-read API keys and settings from environment variables into the database","addresses":["auth.no-credentials","auth.env-api-key","auth.env-auth-token"]}],"timestamp":"2026-04-15T11:21:21.056Z","durationMs":2114},"runtimeLogs":[],"providerResolution":{"protocol":"anthropic","authStyle":"api_key","hasCredentials":true,"settingSources":["user","project","local"]},"liveProbeError":{"category":"PROCESS_CRASH","userMessage":"Claude Code process exited with an error. Common causes:\n• Invalid or missing API Key\n• Incorrect Base URL configuration\n• Network connectivity issues","actionHint":"Check your API key and provider settings. Run Provider Doctor in Settings for detailed diagnostics.","retryable":false,"rawMessage":"Claude Code process exited with code 1"},"exportedAt":"2026-04-15T11:21:30.112Z"}