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

Function reloadPlugins

apps/kimi-code/src/tui/commands/plugins.ts:541–546  ·  view source on GitHub ↗
(host: SlashCommandHost)

Source from the content-addressed store, hash-verified

539}
540
541async function reloadPlugins(host: SlashCommandHost): Promise<void> {
542 const summary = await host.requireSession().reloadPlugins();
543 const line = `Reload: +${summary.added.length} -${summary.removed.length}` +
544 (summary.errors.length > 0 ? ` (${summary.errors.length} errors)` : '');
545 host.showStatus(line);
546}
547
548function resolvePluginInstallSource(source: string, workDir: string): string {
549 const trimmed = source.trim();

Callers 2

handlePluginsCommandFunction · 0.70

Calls 3

requireSessionMethod · 0.65
showStatusMethod · 0.65
reloadPluginsMethod · 0.45

Tested by

no test coverage detected