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

Function renderWelcome

apps/kimi-code/src/tui/commands/undo.ts:488–499  ·  view source on GitHub ↗
(host: SlashCommandHost)

Source from the content-addressed store, hash-verified

486}
487
488function renderWelcome(host: SlashCommandHost): void {
489 if (
490 host.state.transcriptContainer.children.some(
491 (child) => child instanceof WelcomeComponent,
492 )
493 ) {
494 return;
495 }
496 host.state.transcriptContainer.addChild(
497 new WelcomeComponent(host.state.appState),
498 );
499}

Callers 1

undoByCountFunction · 0.85

Calls 1

addChildMethod · 0.45

Tested by

no test coverage detected