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

Method assertPluginsLoaded

packages/agent-core/src/rpc/core-impl.ts:905–913  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

903 }
904
905 private assertPluginsLoaded(): void {
906 if (this.pluginsLoadError === undefined) return;
907 throw new KimiError(
908 ErrorCodes.PLUGIN_LOAD_FAILED,
909 `Plugin state failed to load: ${this.pluginsLoadError.message}. ` +
910 `Fix the file at ${this.homeDir}/plugins/installed.json and run /plugins reload.`,
911 { cause: this.pluginsLoadError, details: { kimiHomeDir: this.homeDir } },
912 );
913 }
914
915 private async resolveRuntime(config: KimiConfig): Promise<ToolServices> {
916 if (this.runtime !== undefined) return this.runtime;

Callers 6

installPluginMethod · 0.95
listPluginsMethod · 0.95
setPluginEnabledMethod · 0.95
removePluginMethod · 0.95
getPluginInfoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected