{"record":{"id":"0444e253111959a4","repo":"musistudio/claude-code-router","slug":"claude-design-profiles-can-only-be-opened-from-ccr-0444e2","errorCode":null,"errorMessage":"Claude Design profiles can only be opened from CCR Desktop.","messagePattern":"Claude Design profiles can only be opened from CCR Desktop\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/core/src/profiles/launch-service.ts","lineNumber":108,"sourceCode":"  spawnError?: string;\n  stopRequested?: boolean;\n  userDataDir: string;\n};\n\nprocess.once(\"exit\", () => {\n  stopClaudeAppBotWorker();\n  stopOpenCodeAppBotWorker();\n  stopCodexAppBotWorker();\n  stopCodexAppMediaPreviewBridge();\n});\n\nexport async function getProfileOpenCommand(config: AppConfig, request: ProfileOpenRequest, options: ProfileOpenCommandOptions = {}): Promise<ProfileOpenCommandResult> {\n  assertAvailableGatewayModels(config);\n  await applyProfileConfig(config);\n  const profile = findProfileForOpen(config, request.profileId);\n  const surface = resolveProfileOpenSurface(profile, request.surface);\n  if (profile.agent === \"claude-design\" && !isDesktopAppRuntime()) {\n    throw new Error(\"Claude Design profiles can only be opened from CCR Desktop.\");\n  }\n  if (options.ensureLauncher) {\n    ensureCcrCliLauncher(config);\n  }\n  return {\n    command: profileOpenCommand(profile, surface, options.commandName ?? \"ccr\", commandProfileRef(config, profile)),\n    profileId: profile.id,\n    profileName: profile.name,\n    surface\n  };\n}\n\nexport async function openProfileFromCcr(config: AppConfig, request: ProfileOpenRequest): Promise<ProfileOpenResult> {\n  assertAvailableGatewayModels(config);\n  await applyProfileConfig(config);\n  const profile = findProfileForOpen(config, request.profileId);\n  const surface = resolveProfileOpenSurface(profile, request.surface);\n  if (profile.agent === \"claude-design\") {","sourceCodeStart":90,"sourceCodeEnd":126,"githubUrl":"https://github.com/musistudio/claude-code-router/blob/99f24806c6a2c660b16e53e95211c517448a6c90/packages/core/src/profiles/launch-service.ts#L90-L126","documentation":"Error \"Claude Design profiles can only be opened from CCR Desktop.\" thrown in musistudio/claude-code-router.","triggerScenarios":"Thrown at packages/core/src/profiles/launch-service.ts:108 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"99f24806c6a2c660b16e53e95211c517448a6c90","analyzedAt":"2026-08-27T04:11:01.184Z","schemaVersion":2},"datasetVersion":"2026-08-27T08:17:20.692Z"}