()
| 270 | }); |
| 271 | |
| 272 | async function makeSkillsRoot(): Promise<string> { |
| 273 | const tmp = await mkdtemp(path.join(tmpdir(), 'kimi-skill-parser-')); |
| 274 | tempDirs.push(tmp); |
| 275 | const root = path.join(tmp, 'skills'); |
| 276 | await mkdir(root, { recursive: true }); |
| 277 | return root; |
| 278 | } |
| 279 | |
| 280 | function userRoot(root: string): SkillRoot { |
| 281 | return { path: root, source: 'user' }; |
no test coverage detected