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

Function slashCommandBusyReason

apps/kimi-code/src/tui/commands/resolve.ts:135–141  ·  view source on GitHub ↗
(
  options: Pick<ResolveSlashCommandInput, 'isStreaming' | 'isCompacting'>,
)

Source from the content-addressed store, hash-verified

133}
134
135export function slashCommandBusyReason(
136 options: Pick<ResolveSlashCommandInput, 'isStreaming' | 'isCompacting'>,
137): SlashCommandBusyReason | undefined {
138 if (options.isStreaming) return 'streaming';
139 if (options.isCompacting) return 'compacting';
140 return undefined;
141}
142
143export function slashBusyMessage(
144 commandName: string,

Callers 2

resolve.test.tsFile · 0.85
resolveSlashCommandInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected