musistudio/claude-code-router · error
Kimi CLI profiles only support CLI opening.
Error message
Kimi CLI profiles only support CLI opening.
What it means
Error "Kimi CLI profiles only support CLI opening." thrown in musistudio/claude-code-router.
Source
Thrown at packages/core/src/profiles/launch-core.ts:204
return {
args: extraArgs,
command: path.join(configDir, "bin", grokWrapperFilename(profile)),
env: {
CCR_PROFILE_SURFACE: "cli"
},
profile,
surface
};
}
function buildKimiLaunchPlan(
configDir: string,
profile: ProfileConfig,
surface: ProfileOpenSurface,
extraArgs: string[]
): ProfileLaunchPlan {
if (surface !== "cli") {
throw new Error("Kimi CLI profiles only support CLI opening.");
}
return {
args: extraArgs,
command: path.join(configDir, "bin", kimiWrapperFilename(profile)),
env: {
CCR_PROFILE_SURFACE: "cli"
},
profile,
surface
};
}
function buildPiLaunchPlan(
configDir: string,
profile: ProfileConfig,
surface: ProfileOpenSurface,
extraArgs: string[]
): ProfileLaunchPlan {View on GitHub (pinned to 99f24806c6)
When it happens
Trigger: Thrown at packages/core/src/profiles/launch-core.ts:204 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/4ca03acc27eba4d8.
Report an issue: GitHub.