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

Function resolveSkillCommand

apps/kimi-code/src/tui/commands/resolve.ts:128–133  ·  view source on GitHub ↗
(
  skillCommandMap: ReadonlyMap<string, string>,
  commandName: string,
)

Source from the content-addressed store, hash-verified

126}
127
128export function resolveSkillCommand(
129 skillCommandMap: ReadonlyMap<string, string>,
130 commandName: string,
131): string | undefined {
132 return skillCommandMap.get(commandName) ?? skillCommandMap.get(`skill:${commandName}`);
133}
134
135export function slashCommandBusyReason(
136 options: Pick<ResolveSlashCommandInput, 'isStreaming' | 'isCompacting'>,

Callers 2

resolveSlashCommandInputFunction · 0.70
resolve.test.tsFile · 0.50

Calls 1

getMethod · 0.65

Tested by

no test coverage detected