bluera-knowledge 0.11.1 → 0.11.3
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/.env.example +11 -6
- package/CHANGELOG.md +29 -0
- package/dist/{chunk-TRDMYKGC.js → chunk-B3TR6OBU.js} +18 -5
- package/dist/chunk-B3TR6OBU.js.map +1 -0
- package/dist/{chunk-565OVW3C.js → chunk-OLKG5576.js} +7 -3
- package/dist/chunk-OLKG5576.js.map +1 -0
- package/dist/{chunk-2WBITQWZ.js → chunk-SLLKH3VQ.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/mcp/server.js +2 -2
- package/dist/workers/background-worker-cli.js +2 -2
- package/package.json +1 -1
- package/src/mcp/server.ts +5 -1
- package/src/services/search.service.test.ts +112 -0
- package/src/services/search.service.ts +17 -4
- package/tests/integration/cli-consistency.test.ts +1 -1
- package/vitest.config.ts +7 -0
- package/dist/chunk-565OVW3C.js.map +0 -1
- package/dist/chunk-TRDMYKGC.js.map +0 -1
- /package/dist/{chunk-2WBITQWZ.js.map → chunk-SLLKH3VQ.js.map} +0 -0
package/.env.example
CHANGED
|
@@ -1,16 +1,21 @@
|
|
|
1
|
+
# Required Configuration
|
|
2
|
+
# Copy this file to .env and set all values
|
|
3
|
+
|
|
1
4
|
# Logging Configuration
|
|
2
5
|
# Valid values: trace, debug, info, warn, error, fatal
|
|
3
|
-
# Default: info
|
|
4
6
|
LOG_LEVEL=info
|
|
5
7
|
|
|
6
8
|
# Search Quality Configuration
|
|
7
|
-
# Test file boost multiplier (
|
|
8
|
-
|
|
9
|
-
# SEARCH_TEST_FILE_BOOST=0.5
|
|
9
|
+
# Test file boost multiplier (lower values penalize test files more)
|
|
10
|
+
SEARCH_TEST_FILE_BOOST=0.5
|
|
10
11
|
|
|
11
12
|
# Confidence thresholds for raw vector similarity scoring
|
|
12
13
|
# Results with maxRawScore >= high threshold are "high" confidence
|
|
13
14
|
# Results with maxRawScore >= medium threshold are "medium" confidence
|
|
14
15
|
# Results below medium threshold are "low" confidence
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
SEARCH_CONFIDENCE_HIGH=0.5
|
|
17
|
+
SEARCH_CONFIDENCE_MEDIUM=0.3
|
|
18
|
+
|
|
19
|
+
# MCP Server Configuration
|
|
20
|
+
# Project root directory for MCP server
|
|
21
|
+
PROJECT_ROOT=/path/to/project
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,35 @@
|
|
|
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.3](https://github.com/blueraai/bluera-knowledge/compare/v0.10.0...v0.11.3) (2026-01-10)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **analysis:** add custom language extensibility framework with ZIL adapter ([c4dc526](https://github.com/blueraai/bluera-knowledge/commit/c4dc526467c70dbc3fb28e7e5d7620a90cc3bf95))
|
|
11
|
+
* require env vars with no defaults (fail fast) ([b404cd6](https://github.com/blueraai/bluera-knowledge/commit/b404cd60374e0a7c5ace89f1ef0235bfc5c799fa))
|
|
12
|
+
* **sync:** add git-committable store definitions with sync command ([5cfa925](https://github.com/blueraai/bluera-knowledge/commit/5cfa92580397f193fda75ea61197fb4c9d9d4b0a))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **crawl:** handle Claude CLI structured_output wrapper in intelligent crawl ([54ea74b](https://github.com/blueraai/bluera-knowledge/commit/54ea74bca6d4b7263ef11a8290416e0d66b8d37f))
|
|
18
|
+
* **test:** add timeout to flaky search test ([5848b76](https://github.com/blueraai/bluera-knowledge/commit/5848b7648a547510fc2333f283ae835a6ca9efef))
|
|
19
|
+
|
|
20
|
+
## [0.11.2](https://github.com/blueraai/bluera-knowledge/compare/v0.10.0...v0.11.2) (2026-01-10)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* **analysis:** add custom language extensibility framework with ZIL adapter ([c4dc526](https://github.com/blueraai/bluera-knowledge/commit/c4dc526467c70dbc3fb28e7e5d7620a90cc3bf95))
|
|
26
|
+
* **sync:** add git-committable store definitions with sync command ([5cfa925](https://github.com/blueraai/bluera-knowledge/commit/5cfa92580397f193fda75ea61197fb4c9d9d4b0a))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Bug Fixes
|
|
30
|
+
|
|
31
|
+
* **crawl:** handle Claude CLI structured_output wrapper in intelligent crawl ([54ea74b](https://github.com/blueraai/bluera-knowledge/commit/54ea74bca6d4b7263ef11a8290416e0d66b8d37f))
|
|
32
|
+
* **test:** add timeout to flaky search test ([5848b76](https://github.com/blueraai/bluera-knowledge/commit/5848b7648a547510fc2333f283ae835a6ca9efef))
|
|
33
|
+
|
|
5
34
|
## [0.11.1](https://github.com/blueraai/bluera-knowledge/compare/v0.10.0...v0.11.1) (2026-01-09)
|
|
6
35
|
|
|
7
36
|
|
|
@@ -2866,8 +2866,16 @@ var SearchService = class {
|
|
|
2866
2866
|
* Configurable via environment variables.
|
|
2867
2867
|
*/
|
|
2868
2868
|
calculateConfidence(maxRawScore) {
|
|
2869
|
-
const
|
|
2870
|
-
const
|
|
2869
|
+
const highEnv = process.env["SEARCH_CONFIDENCE_HIGH"];
|
|
2870
|
+
const mediumEnv = process.env["SEARCH_CONFIDENCE_MEDIUM"];
|
|
2871
|
+
if (highEnv === void 0) {
|
|
2872
|
+
throw new Error("SEARCH_CONFIDENCE_HIGH environment variable is required");
|
|
2873
|
+
}
|
|
2874
|
+
if (mediumEnv === void 0) {
|
|
2875
|
+
throw new Error("SEARCH_CONFIDENCE_MEDIUM environment variable is required");
|
|
2876
|
+
}
|
|
2877
|
+
const highThreshold = parseFloat(highEnv);
|
|
2878
|
+
const mediumThreshold = parseFloat(mediumEnv);
|
|
2871
2879
|
if (maxRawScore >= highThreshold) return "high";
|
|
2872
2880
|
if (maxRawScore >= mediumThreshold) return "medium";
|
|
2873
2881
|
return "low";
|
|
@@ -3208,9 +3216,14 @@ var SearchService = class {
|
|
|
3208
3216
|
case "source-internal":
|
|
3209
3217
|
baseBoost = 0.75;
|
|
3210
3218
|
break;
|
|
3211
|
-
case "test":
|
|
3212
|
-
|
|
3219
|
+
case "test": {
|
|
3220
|
+
const testBoostEnv = process.env["SEARCH_TEST_FILE_BOOST"];
|
|
3221
|
+
if (testBoostEnv === void 0) {
|
|
3222
|
+
throw new Error("SEARCH_TEST_FILE_BOOST environment variable is required");
|
|
3223
|
+
}
|
|
3224
|
+
baseBoost = parseFloat(testBoostEnv);
|
|
3213
3225
|
break;
|
|
3226
|
+
}
|
|
3214
3227
|
case "config":
|
|
3215
3228
|
baseBoost = 0.5;
|
|
3216
3229
|
break;
|
|
@@ -4452,4 +4465,4 @@ export {
|
|
|
4452
4465
|
createServices,
|
|
4453
4466
|
destroyServices
|
|
4454
4467
|
};
|
|
4455
|
-
//# sourceMappingURL=chunk-
|
|
4468
|
+
//# sourceMappingURL=chunk-B3TR6OBU.js.map
|