MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / slashBusyMessage

Function slashBusyMessage

apps/kimi-code/src/tui/commands/resolve.ts:143–151  ·  view source on GitHub ↗
(
  commandName: string,
  reason: SlashCommandBusyReason,
)

Source from the content-addressed store, hash-verified

141}
142
143export function slashBusyMessage(
144 commandName: string,
145 reason: SlashCommandBusyReason,
146): string {
147 if (reason === 'streaming') {
148 return `Cannot /${commandName} while streaming — press Esc or Ctrl-C first.`;
149 }
150 return `Cannot /${commandName} while compacting — wait for compaction to finish first.`;
151}

Callers 2

executeSlashCommandFunction · 0.90
resolve.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected