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

Function handleReloadTuiCommand

apps/kimi-code/src/tui/commands/reload.ts:8–12  ·  view source on GitHub ↗
(host: SlashCommandHost)

Source from the content-addressed store, hash-verified

6import { setExperimentalFeatures } from './experimental-flags';
7
8export async function handleReloadTuiCommand(host: SlashCommandHost): Promise<void> {
9 const tuiConfig = await loadTuiConfig();
10 await applyReloadedTuiConfig(host, tuiConfig);
11 host.showStatus('TUI config reloaded.', 'success');
12}
13
14export async function handleReloadCommand(host: SlashCommandHost): Promise<void> {
15 const tuiConfig = await loadTuiConfig();

Callers 2

reload.test.tsFile · 0.90

Calls 3

loadTuiConfigFunction · 0.90
applyReloadedTuiConfigFunction · 0.85
showStatusMethod · 0.65

Tested by

no test coverage detected