{"diagnosis":{"overallSeverity":"error","probes":[{"probe":"cli","severity":"ok","findings":[{"severity":"ok","code":"cli.found","message":"Claude CLI found at /Users/matthew/.local/bin/claude","detail":"Version: 2.1.34 (Claude Code)"}],"durationMs":108},{"probe":"auth","severity":"ok","findings":[{"severity":"ok","code":"auth.provider-keys-only","message":"No environment credentials, but 1 provider(s) have API keys configured"},{"severity":"ok","code":"auth.resolved-ok","message":"Resolved provider has usable credentials (authStyle: api_key)"}],"durationMs":0},{"probe":"provider","severity":"warn","findings":[{"severity":"ok","code":"provider.count","message":"1 provider(s) configured"},{"severity":"ok","code":"provider.default-set","message":"Default provider: "Aliyun Bailian" (anthropic)"},{"severity":"warn","code":"provider.no-explicit-model","message":"Provider "Aliyun Bailian" uses a third-party Anthropic endpoint but relies on default model names (sonnet/opus/haiku) which may not be supported. Set an explicit model name in provider settings.","detail":"Provider ID: d1c555259cadeb246720ba5be5bc90b0. Base URL: https://coding.dashscope.aliyuncs.com/apps/anthropic. Third-party endpoints often use different model identifiers. Configure role_models_json.default or set ANTHROPIC_MODEL in env overrides."},{"severity":"ok","code":"provider.sdk-proxy-only","message":"Provider "Aliyun Bailian" uses an Anthropic-compatible proxy. Some Claude Code features (thinking, context1m, code mode) may not be fully supported.","detail":"Matched preset: Aliyun Bailian. This provider proxies requests through the Anthropic wire protocol but the upstream model may not support all features."},{"severity":"ok","code":"provider.resolve-ok","message":"Provider resolution path: "Aliyun Bailian" (anthropic)","detail":"Model: qwen3.5-plus"}],"durationMs":0},{"probe":"features","severity":"ok","findings":[{"severity":"ok","code":"features.thinking-ok","message":"Thinking mode "adaptive" is compatible with protocol "anthropic""}],"durationMs":0},{"probe":"network","severity":"ok","findings":[{"severity":"ok","code":"network.reachable","message":"Provider "Aliyun Bailian" (https://coding.dashscope.aliyuncs.com) is reachable","detail":"Status: 404"}],"durationMs":2901},{"probe":"live","severity":"error","findings":[{"severity":"error","code":"live.failed","message":"Live test failed — PROCESS_CRASH: Claude Code process exited with an error (Provider: Aliyun Bailian). 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":12222}],"repairs":[],"timestamp":"2026-04-01T12:43:41.082Z","durationMs":12222},"runtimeLogs":[{"level":"warn","message":"Failed to update prerender cache for b00440d9*** {"errno":-2,"code":"ENOENT","syscall":"mkdir","path":"/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/cache/fetch-cache"}","timestamp":"2026-04-01T12:34:53.997Z"},{"level":"error","message":"[claude-client] Stream error: {"message":"Claude Code process exited with code 1","stack":"Error: Claude Code process exited with code 1\n at t3.getProcessExitError (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:5518)\n at ChildProcess.r (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:8008)\n at Object.onceWrapper (node:events:623:26)\n at ChildProcess.emit (node:events:520:35)\n at ChildProcess.handle.onexit (node:internal/child_process:294:12)"}","timestamp":"2026-04-01T12:37:51.865Z"},{"level":"warn","message":"[claude-client] Cleared stale sdk_session_id for session 65e1e5e3***","timestamp":"2026-04-01T12:37:51.865Z"},{"level":"warn","message":"[claude-client] No API key found: no active provider, no legacy settings, and no ANTHROPIC_API_KEY/ANTHROPIC_AUTH_TOKEN in environment","timestamp":"2026-04-01T12:38:25.570Z"},{"level":"error","message":"[claude-client] Stream error: {"message":"Claude Code process exited with code 1","stack":"Error: Claude Code process exited with code 1\n at t3.getProcessExitError (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:5518)\n at ChildProcess.r (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:8008)\n at Object.onceWrapper (node:events:623:26)\n at ChildProcess.emit (node:events:520:35)\n at ChildProcess.handle.onexit (node:internal/child_process:294:12)"}","timestamp":"2026-04-01T12:38:25.793Z"},{"level":"warn","message":"[claude-client] Cleared stale sdk_session_id for session 65e1e5e3***","timestamp":"2026-04-01T12:38:25.793Z"},{"level":"error","message":"[claude-client] Stream error: {"message":"Claude Code process exited with code 1","stack":"Error: Claude Code process exited with code 1\n at t3.getProcessExitError (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:5518)\n at ChildProcess.r (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:8008)\n at Object.onceWrapper (node:events:623:26)\n at ChildProcess.emit (node:events:520:35)\n at ChildProcess.handle.onexit (node:internal/child_process:294:12)"}","timestamp":"2026-04-01T12:40:21.088Z"},{"level":"warn","message":"[claude-client] Cleared stale sdk_session_id for session 65e1e5e3***","timestamp":"2026-04-01T12:40:21.088Z"},{"level":"error","message":"[claude-client] Stream error: {"message":"Claude Code process exited with code 1","stack":"Error: Claude Code process exited with code 1\n at t3.getProcessExitError (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:5518)\n at ChildProcess.r (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:8008)\n at Object.onceWrapper (node:events:623:26)\n at ChildProcess.emit (node:events:520:35)\n at ChildProcess.handle.onexit (node:internal/child_process:294:12)"}","timestamp":"2026-04-01T12:40:35.009Z"},{"level":"warn","message":"[claude-client] Cleared stale sdk_session_id for session 65e1e5e3***","timestamp":"2026-04-01T12:40:35.010Z"},{"level":"error","message":"[claude-client] Stream error: {"message":"Claude Code process exited with code 1","stack":"Error: Claude Code process exited with code 1\n at t3.getProcessExitError (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:5518)\n at ChildProcess.r (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:8008)\n at Object.onceWrapper (node:events:623:26)\n at ChildProcess.emit (node:events:520:35)\n at ChildProcess._handle.onexit (node:internal/child_process:294:12)"}","timestamp":"2026-04-01T12:40:42.954Z"},{"level":"warn","message":"[claude-client] Cleared stale sdk_session_id for session 65e1e5e3***","timestamp":"2026-04-01T12:40:42.954Z"}],"providerResolution":{"protocol":"anthropic","authStyle":"api_key","model":"qwen3.5-plus","upstreamModel":"qwen3.5-plus","modelDisplayName":"Qwen 3.5 Plus","hasCredentials":true,"settingSources":["user","project","local"],"providerId":"d1c555259cadeb246720ba5be5bc90b0","providerName":"Aliyun Bailian","providerType":"anthropic"},"liveProbeError":{"category":"PROCESS_CRASH","userMessage":"Claude Code process exited with an error (Provider: Aliyun Bailian). 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,"providerName":"Aliyun Bailian","rawMessage":"Claude Code process exited with code 1"},"exportedAt":"2026-04-01T12:44:30.171Z"}
{"diagnosis":{"overallSeverity":"error","probes":[{"probe":"cli","severity":"ok","findings":[{"severity":"ok","code":"cli.found","message":"Claude CLI found at /Users/matthew/.local/bin/claude","detail":"Version: 2.1.34 (Claude Code)"}],"durationMs":108},{"probe":"auth","severity":"ok","findings":[{"severity":"ok","code":"auth.provider-keys-only","message":"No environment credentials, but 1 provider(s) have API keys configured"},{"severity":"ok","code":"auth.resolved-ok","message":"Resolved provider has usable credentials (authStyle: api_key)"}],"durationMs":0},{"probe":"provider","severity":"warn","findings":[{"severity":"ok","code":"provider.count","message":"1 provider(s) configured"},{"severity":"ok","code":"provider.default-set","message":"Default provider: "Aliyun Bailian" (anthropic)"},{"severity":"warn","code":"provider.no-explicit-model","message":"Provider "Aliyun Bailian" uses a third-party Anthropic endpoint but relies on default model names (sonnet/opus/haiku) which may not be supported. Set an explicit model name in provider settings.","detail":"Provider ID: d1c555259cadeb246720ba5be5bc90b0. Base URL: https://coding.dashscope.aliyuncs.com/apps/anthropic. Third-party endpoints often use different model identifiers. Configure role_models_json.default or set ANTHROPIC_MODEL in env overrides."},{"severity":"ok","code":"provider.sdk-proxy-only","message":"Provider "Aliyun Bailian" uses an Anthropic-compatible proxy. Some Claude Code features (thinking, context1m, code mode) may not be fully supported.","detail":"Matched preset: Aliyun Bailian. This provider proxies requests through the Anthropic wire protocol but the upstream model may not support all features."},{"severity":"ok","code":"provider.resolve-ok","message":"Provider resolution path: "Aliyun Bailian" (anthropic)","detail":"Model: qwen3.5-plus"}],"durationMs":0},{"probe":"features","severity":"ok","findings":[{"severity":"ok","code":"features.thinking-ok","message":"Thinking mode "adaptive" is compatible with protocol "anthropic""}],"durationMs":0},{"probe":"network","severity":"ok","findings":[{"severity":"ok","code":"network.reachable","message":"Provider "Aliyun Bailian" (https://coding.dashscope.aliyuncs.com) is reachable","detail":"Status: 404"}],"durationMs":2901},{"probe":"live","severity":"error","findings":[{"severity":"error","code":"live.failed","message":"Live test failed — PROCESS_CRASH: Claude Code process exited with an error (Provider: Aliyun Bailian). 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":12222}],"repairs":[],"timestamp":"2026-04-01T12:43:41.082Z","durationMs":12222},"runtimeLogs":[{"level":"warn","message":"Failed to update prerender cache for b00440d9*** {"errno":-2,"code":"ENOENT","syscall":"mkdir","path":"/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/cache/fetch-cache"}","timestamp":"2026-04-01T12:34:53.997Z"},{"level":"error","message":"[claude-client] Stream error: {"message":"Claude Code process exited with code 1","stack":"Error: Claude Code process exited with code 1\n at t3.getProcessExitError (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:5518)\n at ChildProcess.r (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:8008)\n at Object.onceWrapper (node:events:623:26)\n at ChildProcess.emit (node:events:520:35)\n at ChildProcess.handle.onexit (node:internal/child_process:294:12)"}","timestamp":"2026-04-01T12:37:51.865Z"},{"level":"warn","message":"[claude-client] Cleared stale sdk_session_id for session 65e1e5e3***","timestamp":"2026-04-01T12:37:51.865Z"},{"level":"warn","message":"[claude-client] No API key found: no active provider, no legacy settings, and no ANTHROPIC_API_KEY/ANTHROPIC_AUTH_TOKEN in environment","timestamp":"2026-04-01T12:38:25.570Z"},{"level":"error","message":"[claude-client] Stream error: {"message":"Claude Code process exited with code 1","stack":"Error: Claude Code process exited with code 1\n at t3.getProcessExitError (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:5518)\n at ChildProcess.r (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:8008)\n at Object.onceWrapper (node:events:623:26)\n at ChildProcess.emit (node:events:520:35)\n at ChildProcess.handle.onexit (node:internal/child_process:294:12)"}","timestamp":"2026-04-01T12:38:25.793Z"},{"level":"warn","message":"[claude-client] Cleared stale sdk_session_id for session 65e1e5e3***","timestamp":"2026-04-01T12:38:25.793Z"},{"level":"error","message":"[claude-client] Stream error: {"message":"Claude Code process exited with code 1","stack":"Error: Claude Code process exited with code 1\n at t3.getProcessExitError (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:5518)\n at ChildProcess.r (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:8008)\n at Object.onceWrapper (node:events:623:26)\n at ChildProcess.emit (node:events:520:35)\n at ChildProcess.handle.onexit (node:internal/child_process:294:12)"}","timestamp":"2026-04-01T12:40:21.088Z"},{"level":"warn","message":"[claude-client] Cleared stale sdk_session_id for session 65e1e5e3***","timestamp":"2026-04-01T12:40:21.088Z"},{"level":"error","message":"[claude-client] Stream error: {"message":"Claude Code process exited with code 1","stack":"Error: Claude Code process exited with code 1\n at t3.getProcessExitError (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:5518)\n at ChildProcess.r (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:8008)\n at Object.onceWrapper (node:events:623:26)\n at ChildProcess.emit (node:events:520:35)\n at ChildProcess.handle.onexit (node:internal/child_process:294:12)"}","timestamp":"2026-04-01T12:40:35.009Z"},{"level":"warn","message":"[claude-client] Cleared stale sdk_session_id for session 65e1e5e3***","timestamp":"2026-04-01T12:40:35.010Z"},{"level":"error","message":"[claude-client] Stream error: {"message":"Claude Code process exited with code 1","stack":"Error: Claude Code process exited with code 1\n at t3.getProcessExitError (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:5518)\n at ChildProcess.r (/private/var/folders/hb/8h19ztd93k3g6wvkhrt_3j880000gn/T/AppTranslocation/D053B52D-ED9F-4C5E-ACFA-FCD976A94254/d/CodePilot.app/Contents/Resources/standalone/.next/server/chunks/[root-of-the-server]__0h8m9ko..js:11:8008)\n at Object.onceWrapper (node:events:623:26)\n at ChildProcess.emit (node:events:520:35)\n at ChildProcess._handle.onexit (node:internal/child_process:294:12)"}","timestamp":"2026-04-01T12:40:42.954Z"},{"level":"warn","message":"[claude-client] Cleared stale sdk_session_id for session 65e1e5e3***","timestamp":"2026-04-01T12:40:42.954Z"}],"providerResolution":{"protocol":"anthropic","authStyle":"api_key","model":"qwen3.5-plus","upstreamModel":"qwen3.5-plus","modelDisplayName":"Qwen 3.5 Plus","hasCredentials":true,"settingSources":["user","project","local"],"providerId":"d1c555259cadeb246720ba5be5bc90b0","providerName":"Aliyun Bailian","providerType":"anthropic"},"liveProbeError":{"category":"PROCESS_CRASH","userMessage":"Claude Code process exited with an error (Provider: Aliyun Bailian). 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,"providerName":"Aliyun Bailian","rawMessage":"Claude Code process exited with code 1"},"exportedAt":"2026-04-01T12:44:30.171Z"}