musistudio/claude-code-router · error · 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-service.ts:108

  spawnError?: string;
  stopRequested?: boolean;
  userDataDir: string;
};

process.once("exit", () => {
  stopClaudeAppBotWorker();
  stopOpenCodeAppBotWorker();
  stopCodexAppBotWorker();
  stopCodexAppMediaPreviewBridge();
});

export async function getProfileOpenCommand(config: AppConfig, request: ProfileOpenRequest, options: ProfileOpenCommandOptions = {}): Promise<ProfileOpenCommandResult> {
  assertAvailableGatewayModels(config);
  await applyProfileConfig(config);
  const profile = findProfileForOpen(config, request.profileId);
  const surface = resolveProfileOpenSurface(profile, request.surface);
  if (profile.agent === "claude-design" && !isDesktopAppRuntime()) {
    throw new Error("Claude Design profiles can only be opened from CCR Desktop.");
  }
  if (options.ensureLauncher) {
    ensureCcrCliLauncher(config);
  }
  return {
    command: profileOpenCommand(profile, surface, options.commandName ?? "ccr", commandProfileRef(config, profile)),
    profileId: profile.id,
    profileName: profile.name,
    surface
  };
}

export async function openProfileFromCcr(config: AppConfig, request: ProfileOpenRequest): Promise<ProfileOpenResult> {
  assertAvailableGatewayModels(config);
  await applyProfileConfig(config);
  const profile = findProfileForOpen(config, request.profileId);
  const surface = resolveProfileOpenSurface(profile, request.surface);
  if (profile.agent === "claude-design") {

View on GitHub (pinned to 99f24806c6)

When it happens

Trigger: Thrown at packages/core/src/profiles/launch-service.ts:108 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/0444e253111959a4. Report an issue: GitHub.