* Why the default project failed to open, when a tool call should say so * rather than "no project loaded": the Windows/WSL shared index (#995), or an * index that exists but SQLite could not open, or no node:sqlite at all.
(err: unknown)
| 41 | * index that exists but SQLite could not open, or no node:sqlite at all. |
| 42 | */ |
| 43 | function reportableOpenFailure(err: unknown): WslSharedIndexError | DatabaseOpenError | NodeSqliteUnavailableError | null { |
| 44 | return err instanceof WslSharedIndexError || isDatabaseOpenFailure(err) ? err : null; |
| 45 | } |
| 46 | |
| 47 | export interface MCPEngineOptions { |
| 48 | /** Serve existing index contents without syncing, watching, or claiming a writer slot. */ |
no test coverage detected