musistudio/claude-code-router · error · Error

${profile.name || profile.id} does not support stopping ${su

Error message

${profile.name || profile.id} does not support stopping ${surface.toUpperCase()} from CCR.

What it means

Error "${profile.name || profile.id} does not support stopping ${surface.toUpperCase()} from CCR." thrown in musistudio/claude-code-router.

Source

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

      .filter((entry) => !entry.stopRequested)
      .map((entry) => ({
        agent: entry.agent,
        ...(profileBotRuntimeStatus(entry.profileId) ? { botGateway: profileBotRuntimeStatus(entry.profileId) } : {}),
        pid: entry.pid,
        profileId: entry.profileId,
        profileName: entry.profileName,
        startedAt: entry.startedAt,
        state: entry.state,
        surface: entry.surface
      }))
  };
}

export async function stopProfileFromCcr(config: AppConfig, request: ProfileOpenRequest): Promise<ProfileStopResult> {
  const profile = findProfileForOpen(config, request.profileId);
  const surface = resolveProfileOpenSurface(profile, request.surface);
  if (surface !== "app") {
    throw new Error(`${profile.name || profile.id} does not support stopping ${surface.toUpperCase()} from CCR.`);
  }

  const key = profileRuntimeKey(profile.id, surface);
  const entry = runningProfileApps.get(key);
  if (!entry) {
    return {
      message: `No running app was found for ${profile.name || profile.id}.`,
      profileId: profile.id,
      profileName: profile.name,
      stopped: false,
      surface
    };
  }

  const stopped = await stopRunningProfileApp(key, entry);
  if (stopped) {
    if (profile.agent === "claude-code") {
      stopClaudeAppBotWorker(profile.id);

View on GitHub (pinned to 99f24806c6)

When it happens

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