/** * Index-build worker thread. * * CREATE INDEX over an already-populated table is a full table read plus a * B-tree write — ~8 s on the 2 GB production symbol DB. node:sqlite is * synchronous, so running that on the main thread blocks the event loop for its * whole duration and the MCP client (VS Code Copilot) can time the server out * before it answers its first request. Running it here, on its own connection, * keeps the main thread serving; WAL mode lets this write proceed alongside the * main thread's readers. * * Spawned by XppSymbolIndex.ensureDeferredIndexes() and posts a single message: * { ok: true, elapsedMs } | { ok: false, error } * * The connection is NOT read-only (unlike symbolCountsWorker) — this one writes. */ export {}; //# sourceMappingURL=buildIndexWorker.d.ts.map