* Convenience for MCPServer compatibility: pre-seed an explicit * project path (from the `--path` CLI flag) without yet opening it. This * keeps the synchronous constructor cheap; the actual open happens on the * first `ensureInitialized` call.
(projectPath: string)
| 102 | * first `ensureInitialized` call. |
| 103 | */ |
| 104 | setProjectPathHint(projectPath: string): void { |
| 105 | this.projectPath = projectPath; |
| 106 | this.toolHandler.setDefaultProjectHint(projectPath); |
| 107 | } |
| 108 | |
| 109 | /** Project root that the engine resolved on first init (null if none). */ |
| 110 | getProjectPath(): string | null { |
no test coverage detected