bluera-knowledge 0.14.5 → 0.14.7

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.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "bluera-knowledge",
3
- "version": "0.14.5",
3
+ "version": "0.14.7",
4
4
  "description": "Clone repos, crawl docs, search locally. Fast, authoritative answers for AI coding agents."
5
5
  }
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [0.14.7](https://github.com/blueraai/bluera-knowledge/compare/v0.14.6...v0.14.7) (2026-01-16)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **serve:** remove process.exit to prevent lancedb mutex crash ([dd5b991](https://github.com/blueraai/bluera-knowledge/commit/dd5b9911797c2b8165d91f629314f41a0f2204cf))
11
+
5
12
  ## [0.14.3](https://github.com/blueraai/bluera-knowledge/compare/v0.14.1...v0.14.3) (2026-01-16)
6
13
 
7
14
 
@@ -4591,16 +4591,13 @@ var LanceStore = class {
4591
4591
  }
4592
4592
  }
4593
4593
  /**
4594
- * Async close that allows native code cleanup time.
4595
- * Use this before process.exit() to prevent mutex crashes.
4594
+ * Async close for API consistency. Calls sync close() internally.
4595
+ * Do NOT call process.exit() after this - let the event loop drain
4596
+ * naturally so native threads can complete cleanup.
4596
4597
  */
4597
- async closeAsync() {
4598
- this.tables.clear();
4599
- if (this.connection !== null) {
4600
- this.connection.close();
4601
- this.connection = null;
4602
- await new Promise((resolve3) => setTimeout(resolve3, 200));
4603
- }
4598
+ closeAsync() {
4599
+ this.close();
4600
+ return Promise.resolve();
4604
4601
  }
4605
4602
  getTableName(storeId) {
4606
4603
  return `documents_${storeId}`;
@@ -4672,7 +4669,6 @@ async function destroyServices(services) {
4672
4669
  logger4.error({ error }, "Error closing LanceStore");
4673
4670
  errors.push(error);
4674
4671
  }
4675
- await new Promise((resolve3) => setTimeout(resolve3, 100));
4676
4672
  await shutdownLogger();
4677
4673
  if (errors.length === 1 && errors[0] !== void 0) {
4678
4674
  throw new Error(`Service shutdown failed: ${errors[0].message}`, { cause: errors[0] });
@@ -4701,4 +4697,4 @@ export {
4701
4697
  createServices,
4702
4698
  destroyServices
4703
4699
  };
4704
- //# sourceMappingURL=chunk-EE4Y4P3M.js.map
4700
+ //# sourceMappingURL=chunk-5VW5DNW4.js.map