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

Method setPluginEnabled

packages/agent-core/src/rpc/core-impl.ts:854–858  ·  view source on GitHub ↗
({ id, enabled }: SetPluginEnabledPayload)

Source from the content-addressed store, hash-verified

852 }
853
854 async setPluginEnabled({ id, enabled }: SetPluginEnabledPayload): Promise<void> {
855 await this.pluginsReady;
856 this.assertPluginsLoaded();
857 await this.plugins.setEnabled(id, enabled);
858 }
859
860 async setPluginMcpServerEnabled({
861 id,

Callers 1

Calls 2

assertPluginsLoadedMethod · 0.95
setEnabledMethod · 0.80

Tested by

no test coverage detected