{"record":{"id":"b3380a292c392077","repo":"musistudio/claude-code-router","slug":"claude-design-profiles-can-only-be-opened-from-ccr-b3380a","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":null,"httpStatus":null,"severity":"error","filePath":"packages/core/src/profiles/launch-core.ts","lineNumber":112,"sourceCode":"  profileRef = profile.name?.trim() || profile.id\n): string {\n  const quote = process.platform === \"win32\" ? windowsCommandQuote : shellQuote;\n  const parts = [quote(command), quote(profileRef)];\n  if (surface === \"app\") {\n    parts.push(surface);\n  }\n  return parts.join(\" \");\n}\n\nexport function buildProfileLaunchPlan(\n  configDir: string,\n  profile: ProfileConfig,\n  surface: ProfileOpenSurface,\n  extraArgs: string[] = []\n): ProfileLaunchPlan {\n  const resolvedSurface = resolveProfileOpenSurface(profile, surface);\n  if (profile.agent === \"claude-design\") {\n    throw new Error(\"Claude Design profiles can only be opened from CCR Desktop.\");\n  }\n  if (profile.agent === \"grok\") {\n    return buildGrokLaunchPlan(configDir, profile, resolvedSurface, extraArgs);\n  }\n  if (profile.agent === \"kimi\") {\n    return buildKimiLaunchPlan(configDir, profile, resolvedSurface, extraArgs);\n  }\n  if (profile.agent === \"pi\") {\n    return buildPiLaunchPlan(configDir, profile, resolvedSurface, extraArgs);\n  }\n  if (profile.agent === \"opencode\") {\n    return buildOpenCodeLaunchPlan(configDir, profile, resolvedSurface, extraArgs);\n  }\n  if (profile.agent === \"kilo\") {\n    return buildKiloLaunchPlan(configDir, profile, resolvedSurface, extraArgs);\n  }\n  if (isCodexCompatibleAgent(profile.agent)) {\n    return buildCodexLaunchPlan(configDir, profile, resolvedSurface, extraArgs);","sourceCodeStart":94,"sourceCodeEnd":130,"githubUrl":"https://github.com/musistudio/claude-code-router/blob/99f24806c6a2c660b16e53e95211c517448a6c90/packages/core/src/profiles/launch-core.ts#L94-L130","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-core.ts:112 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"}