* 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)
| 188 | * first `ensureInitialized` call. |
| 189 | */ |
| 190 | setProjectPathHint(projectPath: string): void { |
| 191 | this.projectPath = projectPath; |
| 192 | this.toolHandler.setDefaultProjectHint(projectPath); |
| 193 | } |
| 194 | |
| 195 | /** Whether this engine only reads: no watcher, no sync, no writer slot. */ |
| 196 | isReadOnly(): boolean { |
no test coverage detected