(projectRoot: string = process.cwd())
| 32 | private markdownAgentsDir: string; |
| 33 | |
| 34 | constructor(projectRoot: string = process.cwd()) { |
| 35 | this.projectRoot = projectRoot; |
| 36 | this.claudeDir = join(projectRoot, '.claude'); |
| 37 | this.commandsDir = join(this.claudeDir, 'commands'); |
| 38 | this.specsDir = join(this.claudeDir, 'specs'); |
| 39 | this.templatesDir = join(this.claudeDir, 'templates'); |
| 40 | // scriptsDir initialization removed in v1.2.5 |
| 41 | this.steeringDir = join(this.claudeDir, 'steering'); |
| 42 | this.bugsDir = join(this.claudeDir, 'bugs'); |
| 43 | this.agentsDir = join(this.claudeDir, 'agents'); |
| 44 | // Agents are now mandatory - no longer configurable |
| 45 | |
| 46 | // Initialize source markdown directories |
| 47 | this.markdownDir = join(__dirname, 'markdown'); |
| 48 | this.markdownCommandsDir = join(this.markdownDir, 'commands'); |
| 49 | this.markdownTemplatesDir = join(this.markdownDir, 'templates'); |
| 50 | this.markdownAgentsDir = join(this.markdownDir, 'agents'); |
| 51 | } |
| 52 | |
| 53 | async claudeDirectoryExists(): Promise<boolean> { |
| 54 | try { |
nothing calls this directly
no outgoing calls
no test coverage detected