* 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)
| 109 | * first `ensureInitialized` call. |
| 110 | */ |
| 111 | setProjectPathHint(projectPath: string): void { |
| 112 | this.projectPath = projectPath; |
| 113 | this.toolHandler.setDefaultProjectHint(projectPath); |
| 114 | } |
| 115 | |
| 116 | /** Project root that the engine resolved on first init (null if none). */ |
| 117 | getProjectPath(): string | null { |
no test coverage detected