( filePaths: string[], content: SkillContent, )
| 79 | } |
| 80 | |
| 81 | function buildInlineReference( |
| 82 | filePaths: string[], |
| 83 | content: SkillContent, |
| 84 | ): string { |
| 85 | const sections: string[] = [] |
| 86 | for (const filePath of filePaths.sort()) { |
| 87 | const md = content.SKILL_FILES[filePath] |
| 88 | if (!md) continue |
| 89 | sections.push( |
| 90 | `<doc path="${filePath}">\n${processContent(md, content).trim()}\n</doc>`, |
| 91 | ) |
| 92 | } |
| 93 | return sections.join('\n\n') |
| 94 | } |
| 95 | |
| 96 | const INLINE_READING_GUIDE = `## Reference Documentation |
| 97 |
no test coverage detected