bluera-knowledge 0.12.8 → 0.12.9
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.
- package/.claude-plugin/plugin.json +1 -1
- package/CHANGELOG.md +20 -0
- package/dist/{chunk-PDGOW3CH.js → chunk-4ZBK7V54.js} +2 -2
- package/dist/{chunk-BMY3BWB6.js → chunk-6777ULXC.js} +2 -2
- package/dist/{chunk-RISACKN5.js → chunk-VTATT3IR.js} +18 -1
- package/dist/{chunk-RISACKN5.js.map → chunk-VTATT3IR.js.map} +1 -1
- package/dist/index.js +3 -3
- package/dist/mcp/server.js +2 -2
- package/dist/workers/background-worker-cli.js +20 -5
- package/dist/workers/background-worker-cli.js.map +1 -1
- package/package.json +1 -1
- package/src/db/embeddings.ts +11 -0
- package/src/services/index.ts +9 -0
- package/src/services/services.test.ts +21 -0
- package/src/workers/background-worker-cli.ts +30 -4
- /package/dist/{chunk-PDGOW3CH.js.map → chunk-4ZBK7V54.js.map} +0 -0
- /package/dist/{chunk-BMY3BWB6.js.map → chunk-6777ULXC.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
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.12.9](https://github.com/blueraai/bluera-knowledge/compare/v0.11.21...v0.12.9) (2026-01-15)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **hooks:** add PreToolUse hooks for BK suggestions ([23d3fa4](https://github.com/blueraai/bluera-knowledge/commit/23d3fa493dd16427d6bda3ea80064622c6244bba))
|
|
11
|
+
* **hooks:** add skill auto-activation system ([2b4e96b](https://github.com/blueraai/bluera-knowledge/commit/2b4e96bd29f28df63377cdaacab922d4f4321a8f))
|
|
12
|
+
* **hooks:** improve skill activation with forced evaluation pattern ([f044077](https://github.com/blueraai/bluera-knowledge/commit/f044077d260b78b55a00ebf735b68a2d933f34a7)), closes [#15345](https://github.com/blueraai/bluera-knowledge/issues/15345)
|
|
13
|
+
* **test-plugin:** add hook tests to plugin test suite ([475a776](https://github.com/blueraai/bluera-knowledge/commit/475a7766fea47767a2dfb8148f7e74581de2c2ee))
|
|
14
|
+
* **types:** add Zod validation for JSON parsing ([41348eb](https://github.com/blueraai/bluera-knowledge/commit/41348eb337c33d52174c22097e6788948ad605f8))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **hooks:** use JSON output for PreToolUse hook context injection ([a73977e](https://github.com/blueraai/bluera-knowledge/commit/a73977e0f8f690d43b9d7c987300522dd501fe38))
|
|
20
|
+
* **store:** harden store registry against null entries and invalid types ([c0fedbc](https://github.com/blueraai/bluera-knowledge/commit/c0fedbc5c7f664e46bc8afc7c58bb6d1e1825711))
|
|
21
|
+
* **tests:** stabilize watch service tests in coverage mode ([fdf6c3a](https://github.com/blueraai/bluera-knowledge/commit/fdf6c3a478adff9e4746b54a9519184ca280f344))
|
|
22
|
+
* **workers:** harden dataDir handling with explicit checks and add tests ([691cf50](https://github.com/blueraai/bluera-knowledge/commit/691cf50e0531c4083773eae27e26cb46c3d653b6))
|
|
23
|
+
* **workers:** resolve ONNX runtime mutex crash on macOS ([77b66c6](https://github.com/blueraai/bluera-knowledge/commit/77b66c69c811d72366d49d13f35ec7625450dc98))
|
|
24
|
+
|
|
5
25
|
## [0.12.8](https://github.com/blueraai/bluera-knowledge/compare/v0.11.21...v0.12.8) (2026-01-15)
|
|
6
26
|
|
|
7
27
|
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
createStoreId,
|
|
8
8
|
destroyServices,
|
|
9
9
|
summarizePayload
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VTATT3IR.js";
|
|
11
11
|
|
|
12
12
|
// src/mcp/server.ts
|
|
13
13
|
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
@@ -2139,4 +2139,4 @@ export {
|
|
|
2139
2139
|
createMCPServer,
|
|
2140
2140
|
runMCPServer
|
|
2141
2141
|
};
|
|
2142
|
-
//# sourceMappingURL=chunk-
|
|
2142
|
+
//# sourceMappingURL=chunk-4ZBK7V54.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createLogger,
|
|
4
4
|
summarizePayload,
|
|
5
5
|
truncateForLog
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VTATT3IR.js";
|
|
7
7
|
|
|
8
8
|
// src/crawl/intelligent-crawler.ts
|
|
9
9
|
import { EventEmitter } from "events";
|
|
@@ -753,4 +753,4 @@ var IntelligentCrawler = class extends EventEmitter {
|
|
|
753
753
|
export {
|
|
754
754
|
IntelligentCrawler
|
|
755
755
|
};
|
|
756
|
-
//# sourceMappingURL=chunk-
|
|
756
|
+
//# sourceMappingURL=chunk-6777ULXC.js.map
|
|
@@ -4383,6 +4383,16 @@ var EmbeddingEngine = class {
|
|
|
4383
4383
|
getDimensions() {
|
|
4384
4384
|
return this.dimensions;
|
|
4385
4385
|
}
|
|
4386
|
+
/**
|
|
4387
|
+
* Dispose the embedding pipeline to free resources.
|
|
4388
|
+
* Should be called before process exit to prevent ONNX runtime cleanup issues on macOS.
|
|
4389
|
+
*/
|
|
4390
|
+
async dispose() {
|
|
4391
|
+
if (this.extractor !== null) {
|
|
4392
|
+
await this.extractor.dispose();
|
|
4393
|
+
this.extractor = null;
|
|
4394
|
+
}
|
|
4395
|
+
}
|
|
4386
4396
|
};
|
|
4387
4397
|
|
|
4388
4398
|
// src/db/lance.ts
|
|
@@ -4564,6 +4574,13 @@ async function destroyServices(services) {
|
|
|
4564
4574
|
logger4.error({ error }, "Error closing LanceStore");
|
|
4565
4575
|
errors.push(error);
|
|
4566
4576
|
}
|
|
4577
|
+
try {
|
|
4578
|
+
await services.embeddings.dispose();
|
|
4579
|
+
} catch (e) {
|
|
4580
|
+
const error = e instanceof Error ? e : new Error(String(e));
|
|
4581
|
+
logger4.error({ error }, "Error disposing EmbeddingEngine");
|
|
4582
|
+
errors.push(error);
|
|
4583
|
+
}
|
|
4567
4584
|
try {
|
|
4568
4585
|
await services.pythonBridge.stop();
|
|
4569
4586
|
} catch (e) {
|
|
@@ -4600,4 +4617,4 @@ export {
|
|
|
4600
4617
|
createServices,
|
|
4601
4618
|
destroyServices
|
|
4602
4619
|
};
|
|
4603
|
-
//# sourceMappingURL=chunk-
|
|
4620
|
+
//# sourceMappingURL=chunk-VTATT3IR.js.map
|