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

Function truncateForStatus

apps/kimi-code/src/tui/commands/plugins.ts:536–539  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

534}
535
536function truncateForStatus(input: string): string {
537 const max = 80;
538 return input.length > max ? `${input.slice(0, max - 1)}…` : input;
539}
540
541async function reloadPlugins(host: SlashCommandHost): Promise<void> {
542 const summary = await host.requireSession().reloadPlugins();

Callers 2

handlePluginsCommandFunction · 0.85
installFromPanelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected