bluera-knowledge 0.11.19 → 0.11.20

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,6 +1,6 @@
1
1
  {
2
2
  "name": "bluera-knowledge",
3
- "version": "0.11.19",
3
+ "version": "0.11.20",
4
4
  "description": "Clone repos, crawl docs, search locally. Fast, authoritative answers for AI coding agents.",
5
5
  "mcpServers": {
6
6
  "bluera-knowledge": {
package/CHANGELOG.md CHANGED
@@ -2,6 +2,34 @@
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.11.20](https://github.com/blueraai/bluera-knowledge/compare/v0.11.6...v0.11.20) (2026-01-10)
6
+
7
+
8
+ ### Features
9
+
10
+ * **code-unit:** add interface and type extraction support ([190dded](https://github.com/blueraai/bluera-knowledge/commit/190dded78be68985c3f94c0da6ebed03659da313))
11
+ * **commands:** add test-plugin command for comprehensive plugin testing ([c6eb5e7](https://github.com/blueraai/bluera-knowledge/commit/c6eb5e7762376810a9ff3e79f794f05ff0c77b97))
12
+ * **scripts:** add post-release npm validation script ([e4c29a0](https://github.com/blueraai/bluera-knowledge/commit/e4c29a0c83907de4bc293a69a58412629457fb22))
13
+ * **scripts:** add suggest, sync, serve, mcp tests to npm validation ([49d85da](https://github.com/blueraai/bluera-knowledge/commit/49d85dad1a89691060c12f152d644844baf6e6e6))
14
+ * **scripts:** log expected vs installed version in validation script ([c77d039](https://github.com/blueraai/bluera-knowledge/commit/c77d039b27a3ccf54d50006af161ac4dcfea7b21))
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * address code review issues - resource leak and error handling ([c14e9b2](https://github.com/blueraai/bluera-knowledge/commit/c14e9b22782f0d62c04fb312a70345d7f4248ed4))
20
+ * **bridge:** close readline interfaces on stop to prevent resource leak ([e970bf9](https://github.com/blueraai/bluera-knowledge/commit/e970bf94f74bdba24803eed8714d47ed8e874117))
21
+ * **cli:** plugin-api commands now respect global options ([d3cca02](https://github.com/blueraai/bluera-knowledge/commit/d3cca02ffc679ffc187b76c7682f3cc177eabdea))
22
+ * **commands:** fix test-plugin reliability issues ([2841e9a](https://github.com/blueraai/bluera-knowledge/commit/2841e9aa6438f9fd60c70ab921575088b2921810))
23
+ * **commands:** move test-plugin to commands/ for plugin distribution ([0a3ff5f](https://github.com/blueraai/bluera-knowledge/commit/0a3ff5f91666db7efa213d5abd4c447fb07749fc))
24
+ * **crawl:** throw errors instead of fallback/graceful degradation ([19962c2](https://github.com/blueraai/bluera-knowledge/commit/19962c2114406f2fea22e5973e242f190ab65fb7))
25
+ * **git-clone:** add error handler for spawn failures ([4bf50e2](https://github.com/blueraai/bluera-knowledge/commit/4bf50e2348505dccdc94522cf42f1d4d3471480c))
26
+ * improve error handling and type safety from code review ([61710aa](https://github.com/blueraai/bluera-knowledge/commit/61710aaed48c87c457628b75e3968686377a6c92))
27
+ * **plugin:** properly close services after command execution ([eeaf743](https://github.com/blueraai/bluera-knowledge/commit/eeaf743750be73fd9c7a9e72440b2fd0fb5a53fa))
28
+ * **scripts:** show real-time output in validation script ([8a4bdec](https://github.com/blueraai/bluera-knowledge/commit/8a4bdec8b63c504d34ba35bfe19da795f7f7fd07))
29
+ * **scripts:** use mktemp for temp directories in validation script ([3107861](https://github.com/blueraai/bluera-knowledge/commit/3107861bd7a966016fde2a121469dd84756f39be))
30
+ * **search:** add defaults for env vars so CLI works standalone ([b2d2ce5](https://github.com/blueraai/bluera-knowledge/commit/b2d2ce534e8cd2ba0fc0abdac505c912a1a76035))
31
+ * **services:** throw errors instead of graceful degradation ([ca992b5](https://github.com/blueraai/bluera-knowledge/commit/ca992b5cfa4d9ebad62ee82231cfdd2d3d64012e))
32
+
5
33
  ## [0.11.19](https://github.com/blueraai/bluera-knowledge/compare/v0.11.6...v0.11.19) (2026-01-10)
6
34
 
7
35
 
@@ -3104,15 +3104,18 @@ var SearchService = class {
3104
3104
  async ftsSearch(query, stores, limit) {
3105
3105
  const results = [];
3106
3106
  for (const storeId of stores) {
3107
- const hits = await this.lanceStore.fullTextSearch(storeId, query, limit);
3108
- results.push(
3109
- ...hits.map((r) => ({
3110
- id: r.id,
3111
- score: r.score,
3112
- content: r.content,
3113
- metadata: r.metadata
3114
- }))
3115
- );
3107
+ try {
3108
+ const hits = await this.lanceStore.fullTextSearch(storeId, query, limit);
3109
+ results.push(
3110
+ ...hits.map((r) => ({
3111
+ id: r.id,
3112
+ score: r.score,
3113
+ content: r.content,
3114
+ metadata: r.metadata
3115
+ }))
3116
+ );
3117
+ } catch {
3118
+ }
3116
3119
  }
3117
3120
  return results.sort((a, b) => b.score - a.score).slice(0, limit);
3118
3121
  }
@@ -4388,18 +4391,14 @@ var LanceStore = class {
4388
4391
  }
4389
4392
  async fullTextSearch(storeId, query, limit) {
4390
4393
  const table = await this.getTable(storeId);
4391
- try {
4392
- const results = await table.search(query, "fts").limit(limit).toArray();
4393
- return results.map((r) => ({
4394
- id: createDocumentId(r.id),
4395
- content: r.content,
4396
- score: r._score,
4397
- // eslint-disable-next-line @typescript-eslint/consistent-type-assertions
4398
- metadata: JSON.parse(r.metadata)
4399
- }));
4400
- } catch {
4401
- return [];
4402
- }
4394
+ const results = await table.search(query, "fts").limit(limit).toArray();
4395
+ return results.map((r) => ({
4396
+ id: createDocumentId(r.id),
4397
+ content: r.content,
4398
+ score: r._score,
4399
+ // eslint-disable-next-line @typescript-eslint/consistent-type-assertions
4400
+ metadata: JSON.parse(r.metadata)
4401
+ }));
4403
4402
  }
4404
4403
  async deleteStore(storeId) {
4405
4404
  const tableName = this.getTableName(storeId);
@@ -4519,4 +4518,4 @@ export {
4519
4518
  createServices,
4520
4519
  destroyServices
4521
4520
  };
4522
- //# sourceMappingURL=chunk-QEHSDQTL.js.map
4521
+ //# sourceMappingURL=chunk-MQGRQ2EG.js.map