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

Function recordToInfo

packages/agent-core/src/plugin/manager.ts:422–435  ·  view source on GitHub ↗
(record: PluginRecord)

Source from the content-addressed store, hash-verified

420}
421
422function recordToInfo(record: PluginRecord): PluginInfo {
423 return {
424 ...recordToSummary(record),
425 root: record.root,
426 installedAt: record.installedAt,
427 updatedAt: record.updatedAt,
428 manifestKind: record.manifestKind,
429 manifestPath: record.manifestPath,
430 manifest: record.manifest,
431 mcpServers: pluginMcpServersInfo(record),
432 shadowedManifestPath: record.shadowedManifestPath,
433 diagnostics: record.diagnostics,
434 };
435}
436
437function isMcpServerEnabled(
438 record: PluginRecord,

Callers 1

infoMethod · 0.85

Calls 2

recordToSummaryFunction · 0.85
pluginMcpServersInfoFunction · 0.85

Tested by

no test coverage detected