* Create an empty library structure * Replicates logic from lib/content-service.ts
(name: string, path: string)
| 725 | * Replicates logic from lib/content-service.ts |
| 726 | */ |
| 727 | function createEmptyLibrary(name: string, path: string): Library { |
| 728 | return { |
| 729 | name, |
| 730 | path, |
| 731 | prompts: [], |
| 732 | agents: [], |
| 733 | powers: [], |
| 734 | steering: [], |
| 735 | hooks: [] |
| 736 | } |
| 737 | } |
| 738 | |
| 739 | // Execute the main function |
| 740 | if (require.main === module) { |
no outgoing calls
no test coverage detected