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

Function registry

packages/agent-core/test/tools/skill-tool-dispatch.test.ts:28–34  ·  view source on GitHub ↗
(skills: readonly SkillDefinition[] = [])

Source from the content-addressed store, hash-verified

26}
27
28function registry(skills: readonly SkillDefinition[] = []): AgentSkillRegistry {
29 const registry = new SessionSkillRegistry();
30 for (const item of skills) {
31 registry.register(item);
32 }
33 return registry;
34}
35
36interface SkillToolMethods {
37 readonly recordSkillActivation: (origin: SkillActivationOrigin) => void;

Callers 1

Calls 1

registerMethod · 0.95

Tested by

no test coverage detected