(assets: EmbeddedAssets, targetDir: string)
| 173 | } |
| 174 | |
| 175 | function writeEmbeddedAgentWorkspace(assets: EmbeddedAssets, targetDir: string): void { |
| 176 | fs.mkdirSync(targetDir, { recursive: true }) |
| 177 | for (const [name, content] of Object.entries(assets.AGENT_SKILLS)) { |
| 178 | const agentDir = path.join(targetDir, name) |
| 179 | fs.mkdirSync(agentDir, { recursive: true }) |
| 180 | fs.writeFileSync(path.join(agentDir, 'AGENT.md'), content) |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | function writeEmbeddedSharedSkills(assets: EmbeddedAssets, targetDir: string): void { |
| 185 | fs.mkdirSync(targetDir, { recursive: true }) |
no outgoing calls
no test coverage detected