bluera-knowledge 0.11.10 → 0.11.12

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.10",
3
+ "version": "0.11.12",
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,41 @@
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.12](https://github.com/blueraai/bluera-knowledge/compare/v0.11.6...v0.11.12) (2026-01-10)
6
+
7
+
8
+ ### Features
9
+
10
+ * **scripts:** add post-release npm validation script ([e4c29a0](https://github.com/blueraai/bluera-knowledge/commit/e4c29a0c83907de4bc293a69a58412629457fb22))
11
+ * **scripts:** add suggest, sync, serve, mcp tests to npm validation ([49d85da](https://github.com/blueraai/bluera-knowledge/commit/49d85dad1a89691060c12f152d644844baf6e6e6))
12
+ * **scripts:** log expected vs installed version in validation script ([c77d039](https://github.com/blueraai/bluera-knowledge/commit/c77d039b27a3ccf54d50006af161ac4dcfea7b21))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **cli:** plugin-api commands now respect global options ([d3cca02](https://github.com/blueraai/bluera-knowledge/commit/d3cca02ffc679ffc187b76c7682f3cc177eabdea))
18
+ * **plugin:** properly close services after command execution ([eeaf743](https://github.com/blueraai/bluera-knowledge/commit/eeaf743750be73fd9c7a9e72440b2fd0fb5a53fa))
19
+ * **scripts:** show real-time output in validation script ([8a4bdec](https://github.com/blueraai/bluera-knowledge/commit/8a4bdec8b63c504d34ba35bfe19da795f7f7fd07))
20
+ * **scripts:** use mktemp for temp directories in validation script ([3107861](https://github.com/blueraai/bluera-knowledge/commit/3107861bd7a966016fde2a121469dd84756f39be))
21
+ * **search:** add defaults for env vars so CLI works standalone ([b2d2ce5](https://github.com/blueraai/bluera-knowledge/commit/b2d2ce534e8cd2ba0fc0abdac505c912a1a76035))
22
+
23
+ ## [0.11.11](https://github.com/blueraai/bluera-knowledge/compare/v0.11.6...v0.11.11) (2026-01-10)
24
+
25
+
26
+ ### Features
27
+
28
+ * **scripts:** add post-release npm validation script ([e4c29a0](https://github.com/blueraai/bluera-knowledge/commit/e4c29a0c83907de4bc293a69a58412629457fb22))
29
+ * **scripts:** log expected vs installed version in validation script ([c77d039](https://github.com/blueraai/bluera-knowledge/commit/c77d039b27a3ccf54d50006af161ac4dcfea7b21))
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * **cli:** plugin-api commands now respect global options ([d3cca02](https://github.com/blueraai/bluera-knowledge/commit/d3cca02ffc679ffc187b76c7682f3cc177eabdea))
35
+ * **plugin:** properly close services after command execution ([eeaf743](https://github.com/blueraai/bluera-knowledge/commit/eeaf743750be73fd9c7a9e72440b2fd0fb5a53fa))
36
+ * **scripts:** show real-time output in validation script ([8a4bdec](https://github.com/blueraai/bluera-knowledge/commit/8a4bdec8b63c504d34ba35bfe19da795f7f7fd07))
37
+ * **scripts:** use mktemp for temp directories in validation script ([3107861](https://github.com/blueraai/bluera-knowledge/commit/3107861bd7a966016fde2a121469dd84756f39be))
38
+ * **search:** add defaults for env vars so CLI works standalone ([b2d2ce5](https://github.com/blueraai/bluera-knowledge/commit/b2d2ce534e8cd2ba0fc0abdac505c912a1a76035))
39
+
5
40
  ## [0.11.10](https://github.com/blueraai/bluera-knowledge/compare/v0.11.6...v0.11.10) (2026-01-10)
6
41
 
7
42
 
@@ -6,7 +6,7 @@ import {
6
6
  createServices,
7
7
  createStoreId,
8
8
  summarizePayload
9
- } from "./chunk-UB3L33JF.js";
9
+ } from "./chunk-ZZNABJMQ.js";
10
10
 
11
11
  // src/mcp/server.ts
12
12
  import { Server } from "@modelcontextprotocol/sdk/server/index.js";
@@ -2096,4 +2096,4 @@ export {
2096
2096
  createMCPServer,
2097
2097
  runMCPServer
2098
2098
  };
2099
- //# sourceMappingURL=chunk-AHS2EILR.js.map
2099
+ //# sourceMappingURL=chunk-5NUI6JL6.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createLogger,
4
4
  summarizePayload,
5
5
  truncateForLog
6
- } from "./chunk-UB3L33JF.js";
6
+ } from "./chunk-ZZNABJMQ.js";
7
7
 
8
8
  // src/crawl/intelligent-crawler.ts
9
9
  import { EventEmitter } from "events";
@@ -801,4 +801,4 @@ var IntelligentCrawler = class extends EventEmitter {
801
801
  export {
802
802
  IntelligentCrawler
803
803
  };
804
- //# sourceMappingURL=chunk-TTV7P7HG.js.map
804
+ //# sourceMappingURL=chunk-ZDEO4WJT.js.map
@@ -2863,19 +2863,11 @@ var SearchService = class {
2863
2863
  }
2864
2864
  /**
2865
2865
  * Calculate confidence level based on max raw vector similarity score.
2866
- * Configurable via environment variables.
2866
+ * Configurable via environment variables, with sensible defaults for CLI usage.
2867
2867
  */
2868
2868
  calculateConfidence(maxRawScore) {
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);
2869
+ const highThreshold = parseFloat(process.env["SEARCH_CONFIDENCE_HIGH"] ?? "0.5");
2870
+ const mediumThreshold = parseFloat(process.env["SEARCH_CONFIDENCE_MEDIUM"] ?? "0.3");
2879
2871
  if (maxRawScore >= highThreshold) return "high";
2880
2872
  if (maxRawScore >= mediumThreshold) return "medium";
2881
2873
  return "low";
@@ -3216,14 +3208,9 @@ var SearchService = class {
3216
3208
  case "source-internal":
3217
3209
  baseBoost = 0.75;
3218
3210
  break;
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);
3211
+ case "test":
3212
+ baseBoost = parseFloat(process.env["SEARCH_TEST_FILE_BOOST"] ?? "0.5");
3225
3213
  break;
3226
- }
3227
3214
  case "config":
3228
3215
  baseBoost = 0.5;
3229
3216
  break;
@@ -4466,4 +4453,4 @@ export {
4466
4453
  createServices,
4467
4454
  destroyServices
4468
4455
  };
4469
- //# sourceMappingURL=chunk-UB3L33JF.js.map
4456
+ //# sourceMappingURL=chunk-ZZNABJMQ.js.map