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

Function resolveProfileSourcePath

packages/agent-core/src/profile/load.ts:92–96  ·  view source on GitHub ↗
(profilePath: string, relativePath: string)

Source from the content-addressed store, hash-verified

90}
91
92function resolveProfileSourcePath(profilePath: string, relativePath: string): string {
93 return normalizeSourcePath(
94 join(dirname(normalizeSourcePath(profilePath)), relativePath),
95 );
96}
97
98function readRequiredSource(sources: Readonly<Record<string, string>>, path: string): string {
99 const normalized = normalizeSourcePath(path);

Callers 1

Calls 1

normalizeSourcePathFunction · 0.85

Tested by

no test coverage detected