musistudio/claude-code-router · error

Claude Design profiles can only be opened from CCR Desktop.

Error message

Claude Design profiles can only be opened from CCR Desktop.

What it means

Error "Claude Design profiles can only be opened from CCR Desktop." thrown in musistudio/claude-code-router.

Source

Thrown at packages/core/src/profiles/launch-core.ts:112

  profileRef = profile.name?.trim() || profile.id
): string {
  const quote = process.platform === "win32" ? windowsCommandQuote : shellQuote;
  const parts = [quote(command), quote(profileRef)];
  if (surface === "app") {
    parts.push(surface);
  }
  return parts.join(" ");
}

export function buildProfileLaunchPlan(
  configDir: string,
  profile: ProfileConfig,
  surface: ProfileOpenSurface,
  extraArgs: string[] = []
): ProfileLaunchPlan {
  const resolvedSurface = resolveProfileOpenSurface(profile, surface);
  if (profile.agent === "claude-design") {
    throw new Error("Claude Design profiles can only be opened from CCR Desktop.");
  }
  if (profile.agent === "grok") {
    return buildGrokLaunchPlan(configDir, profile, resolvedSurface, extraArgs);
  }
  if (profile.agent === "kimi") {
    return buildKimiLaunchPlan(configDir, profile, resolvedSurface, extraArgs);
  }
  if (profile.agent === "pi") {
    return buildPiLaunchPlan(configDir, profile, resolvedSurface, extraArgs);
  }
  if (profile.agent === "opencode") {
    return buildOpenCodeLaunchPlan(configDir, profile, resolvedSurface, extraArgs);
  }
  if (profile.agent === "kilo") {
    return buildKiloLaunchPlan(configDir, profile, resolvedSurface, extraArgs);
  }
  if (isCodexCompatibleAgent(profile.agent)) {
    return buildCodexLaunchPlan(configDir, profile, resolvedSurface, extraArgs);

View on GitHub (pinned to 99f24806c6)

When it happens

Trigger: Thrown at packages/core/src/profiles/launch-core.ts:112 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of musistudio/claude-code-router@99f24806c6 (2026-08-27). Data as JSON: /api/errors/b3380a292c392077. Report an issue: GitHub.