(workspacePath)
| 8 | } |
| 9 | |
| 10 | setWorkspace(workspacePath) { |
| 11 | if (!workspacePath) { |
| 12 | this.configDir = null; |
| 13 | this.configPath = null; |
| 14 | return; |
| 15 | } |
| 16 | |
| 17 | this.configDir = path.join(workspacePath, '.dorchestrator'); |
| 18 | this.configPath = path.join(this.configDir, 'graph-config.json'); |
| 19 | |
| 20 | // Ensure directory exists |
| 21 | if (!fs.existsSync(this.configDir)) { |
| 22 | fs.mkdirSync(this.configDir, { recursive: true }); |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | saveGraphConfig(agents, edges) { |
| 27 | if (!this.configPath) { |
nothing calls this directly
no outgoing calls
no test coverage detected