gitnexus 1.6.4-rc.69 → 1.6.4-rc.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/server/api.js +10 -0
  2. package/package.json +1 -1
@@ -1505,6 +1505,16 @@ export const createServer = async (port, host = '127.0.0.1') => {
1505
1505
  undefined, // skipNodeIds
1506
1506
  undefined, // context
1507
1507
  existingEmbeddings);
1508
+ // Flush WAL so subsequent /api/search requests see the new
1509
+ // embeddings immediately (#1149). In the CLI path closeLbug()
1510
+ // handles this during process exit, but the server keeps the
1511
+ // connection open for other routes -- a CHECKPOINT is enough.
1512
+ try {
1513
+ await executeQuery('CHECKPOINT');
1514
+ }
1515
+ catch {
1516
+ /* best-effort -- older LadybugDB may not support it */
1517
+ }
1508
1518
  });
1509
1519
  clearTimeout(embedTimeout);
1510
1520
  releaseRepoLock(repoLockPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitnexus",
3
- "version": "1.6.4-rc.69",
3
+ "version": "1.6.4-rc.70",
4
4
  "description": "Graph-powered code intelligence for AI agents. Index any codebase, query via MCP or CLI.",
5
5
  "author": "Abhigyan Patwari",
6
6
  "license": "PolyForm-Noncommercial-1.0.0",