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

Function swarmModeSubcommand

apps/kimi-code/src/tui/commands/swarm.ts:144–149  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

142}
143
144function swarmModeSubcommand(input: string): boolean | undefined {
145 const command = input.toLowerCase();
146 if (command === 'on') return true;
147 if (command === 'off') return false;
148 return undefined;
149}
150
151function renderSwarmModeMarker(host: SlashCommandHost, state: SwarmModeMarkerState): void {
152 host.state.transcriptContainer.addChild(

Callers 1

handleSwarmCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected