bluera-knowledge 0.9.39 → 0.9.41

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.
@@ -26,7 +26,7 @@ Before committing, evaluate if changes need documentation updates.
26
26
 
27
27
  **Trigger files → check README.md:**
28
28
  - `src/mcp/server.ts` - MCP tool surface
29
- - `plugin.json` - Plugin metadata
29
+ - `.claude-plugin/plugin.json` - Plugin metadata
30
30
  - `commands/*.md` - Command documentation
31
31
 
32
32
  ### CLAUDE.md (Claude Code memory - hierarchical)
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "bluera-knowledge",
3
+ "version": "0.9.41",
4
+ "description": "Clone repos, crawl docs, search locally. Fast, authoritative answers for AI coding agents.",
5
+ "hooks": "./hooks/hooks.json",
6
+ "mcpServers": {
7
+ "bluera-knowledge": {
8
+ "command": "node",
9
+ "args": [
10
+ "${CLAUDE_PLUGIN_ROOT}/dist/mcp/server.js"
11
+ ],
12
+ "env": {
13
+ "DATA_DIR": ".bluera/bluera-knowledge/data",
14
+ "CONFIG_PATH": ".bluera/bluera-knowledge/config.json"
15
+ }
16
+ }
17
+ }
18
+ }
package/.versionrc.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "type": "json"
12
12
  },
13
13
  {
14
- "filename": "plugin.json",
14
+ "filename": ".claude-plugin/plugin.json",
15
15
  "type": "json"
16
16
  }
17
17
  ],
package/CHANGELOG.md CHANGED
@@ -2,6 +2,62 @@
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.9.41](https://github.com/blueraai/bluera-knowledge/compare/v0.9.32...v0.9.41) (2026-01-09)
6
+
7
+
8
+ ### Features
9
+
10
+ * **search:** add contextual/full detail display and use process.exitCode ([3205859](https://github.com/blueraai/bluera-knowledge/commit/32058590f6375b8564a255901333536183aa1bd2))
11
+ * **search:** add raw score exposure, confidence levels, and minRelevance filtering ([dc45e4d](https://github.com/blueraai/bluera-knowledge/commit/dc45e4d760c526ae5f0ad7912adea0528a61ff05))
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * **bridge:** kill Python process before nullifying to prevent zombie ([393dab3](https://github.com/blueraai/bluera-knowledge/commit/393dab3e45c75fd87c9ecfc1ca92e67b14526e79))
17
+ * **bridge:** mock kill() emits exit event & attach rejection handlers before stop ([d73c6ca](https://github.com/blueraai/bluera-knowledge/commit/d73c6ca6d640c3d15bd82756cabcda832f9ae245))
18
+ * **bridge:** stop() now waits for process to actually exit ([a92de41](https://github.com/blueraai/bluera-knowledge/commit/a92de41c89318fc106f996568ed88505352d5159))
19
+ * **cli:** ensure destroyServices runs before process.exit ([22e4267](https://github.com/blueraai/bluera-knowledge/commit/22e4267b7b9f698de3985a89b9c2b10759cfd49c))
20
+ * **code-unit:** brace counting now handles strings and comments ([1e857bb](https://github.com/blueraai/bluera-knowledge/commit/1e857bb297f357b97a6c067950e62495b3c8fc99))
21
+ * **code-unit:** support complex return types in signature extraction ([3bd2467](https://github.com/blueraai/bluera-knowledge/commit/3bd24675a67e73cc74a0c718f4b5a9e86cd826fb))
22
+ * increase native cleanup delays to prevent mutex crashes ([43566ed](https://github.com/blueraai/bluera-knowledge/commit/43566edc301a5093b9bc2000293c7dc0c538b0f0))
23
+ * **job:** validate PID before process.kill to prevent process group kill ([67c540f](https://github.com/blueraai/bluera-knowledge/commit/67c540fef6f2c55c5dca2c824104a91fe19aeff1))
24
+ * **scripts:** preserve test exit codes in piped commands ([865f491](https://github.com/blueraai/bluera-knowledge/commit/865f491858ef518fb74f3d7dfed269109cd62c72))
25
+ * **search:** apply threshold filtering after score normalization ([1ebc78e](https://github.com/blueraai/bluera-knowledge/commit/1ebc78e0e688ffde0fdbaf049f17a35d129ef055))
26
+ * **search:** enable FTS-only search mode ([4a0f371](https://github.com/blueraai/bluera-knowledge/commit/4a0f371f0c42f80bf87e28ae0e609ac95986964d))
27
+ * **services:** fail fast on corrupted config/registry files ([030f63c](https://github.com/blueraai/bluera-knowledge/commit/030f63c10b0a30bddcd8e9b27b291ab0f53263f1))
28
+ * **tests:** increase timeout for exit code test in CI ([a362dcd](https://github.com/blueraai/bluera-knowledge/commit/a362dcdae32b0c19e757270e5009b0c1c5ead4e4))
29
+ * **tests:** increase timeout for flaky store delete test ([738fb49](https://github.com/blueraai/bluera-knowledge/commit/738fb4975653703d800dee802730dedfdf9e85ba))
30
+ * **watch:** clear pending timeouts on unwatch to prevent timer leak ([4dcafc1](https://github.com/blueraai/bluera-knowledge/commit/4dcafc14417442f6eeed0257cf185e04ae9de12b))
31
+ * **worker:** fail fast on PID file write error ([d92ce42](https://github.com/blueraai/bluera-knowledge/commit/d92ce42eff63cee3c97056ef019f5a52ef699edd))
32
+ * **worker:** prevent division by zero and improve cancellation handling ([b7b40ab](https://github.com/blueraai/bluera-knowledge/commit/b7b40ab950b7ad0fbbe84af243be3138b1072a72))
33
+
34
+ ## [0.9.40](https://github.com/blueraai/bluera-knowledge/compare/v0.9.32...v0.9.40) (2026-01-08)
35
+
36
+
37
+ ### Features
38
+
39
+ * **search:** add raw score exposure, confidence levels, and minRelevance filtering ([dc45e4d](https://github.com/blueraai/bluera-knowledge/commit/dc45e4d760c526ae5f0ad7912adea0528a61ff05))
40
+
41
+
42
+ ### Bug Fixes
43
+
44
+ * **bridge:** kill Python process before nullifying to prevent zombie ([393dab3](https://github.com/blueraai/bluera-knowledge/commit/393dab3e45c75fd87c9ecfc1ca92e67b14526e79))
45
+ * **bridge:** mock kill() emits exit event & attach rejection handlers before stop ([d73c6ca](https://github.com/blueraai/bluera-knowledge/commit/d73c6ca6d640c3d15bd82756cabcda832f9ae245))
46
+ * **bridge:** stop() now waits for process to actually exit ([a92de41](https://github.com/blueraai/bluera-knowledge/commit/a92de41c89318fc106f996568ed88505352d5159))
47
+ * **cli:** ensure destroyServices runs before process.exit ([22e4267](https://github.com/blueraai/bluera-knowledge/commit/22e4267b7b9f698de3985a89b9c2b10759cfd49c))
48
+ * **code-unit:** brace counting now handles strings and comments ([1e857bb](https://github.com/blueraai/bluera-knowledge/commit/1e857bb297f357b97a6c067950e62495b3c8fc99))
49
+ * **code-unit:** support complex return types in signature extraction ([3bd2467](https://github.com/blueraai/bluera-knowledge/commit/3bd24675a67e73cc74a0c718f4b5a9e86cd826fb))
50
+ * **job:** validate PID before process.kill to prevent process group kill ([67c540f](https://github.com/blueraai/bluera-knowledge/commit/67c540fef6f2c55c5dca2c824104a91fe19aeff1))
51
+ * **scripts:** preserve test exit codes in piped commands ([865f491](https://github.com/blueraai/bluera-knowledge/commit/865f491858ef518fb74f3d7dfed269109cd62c72))
52
+ * **search:** apply threshold filtering after score normalization ([1ebc78e](https://github.com/blueraai/bluera-knowledge/commit/1ebc78e0e688ffde0fdbaf049f17a35d129ef055))
53
+ * **search:** enable FTS-only search mode ([4a0f371](https://github.com/blueraai/bluera-knowledge/commit/4a0f371f0c42f80bf87e28ae0e609ac95986964d))
54
+ * **services:** fail fast on corrupted config/registry files ([030f63c](https://github.com/blueraai/bluera-knowledge/commit/030f63c10b0a30bddcd8e9b27b291ab0f53263f1))
55
+ * **tests:** increase timeout for exit code test in CI ([a362dcd](https://github.com/blueraai/bluera-knowledge/commit/a362dcdae32b0c19e757270e5009b0c1c5ead4e4))
56
+ * **tests:** increase timeout for flaky store delete test ([738fb49](https://github.com/blueraai/bluera-knowledge/commit/738fb4975653703d800dee802730dedfdf9e85ba))
57
+ * **watch:** clear pending timeouts on unwatch to prevent timer leak ([4dcafc1](https://github.com/blueraai/bluera-knowledge/commit/4dcafc14417442f6eeed0257cf185e04ae9de12b))
58
+ * **worker:** fail fast on PID file write error ([d92ce42](https://github.com/blueraai/bluera-knowledge/commit/d92ce42eff63cee3c97056ef019f5a52ef699edd))
59
+ * **worker:** prevent division by zero and improve cancellation handling ([b7b40ab](https://github.com/blueraai/bluera-knowledge/commit/b7b40ab950b7ad0fbbe84af243be3138b1072a72))
60
+
5
61
  ## [0.9.39](https://github.com/blueraai/bluera-knowledge/compare/v0.9.32...v0.9.39) (2026-01-08)
6
62
 
7
63
 
package/CLAUDE.md CHANGED
@@ -34,11 +34,14 @@ This file is YOUR (Claude's) project memory. It is NOT user documentation. It is
34
34
  - `bun run build` - Compile TypeScript
35
35
  - `bun run test:run` - Run tests once
36
36
  - `bun run precommit` - Full validation (lint, typecheck, tests, build)
37
+ - `bun run prerelease` - Full quality checks (format, lint, deadcode, typecheck, coverage, build)
37
38
 
38
39
  **Versioning (after code changes):**
39
- - `bun run version:patch` - Bump patch version (updates package.json, plugin.json, README badge, CHANGELOG.md)
40
- - `bun run version:minor` - Bump minor version
41
- - `bun run version:major` - Bump major version
40
+ - `bun run version:patch` - Runs `prerelease` checks, then bumps patch version
41
+ - `bun run version:minor` - Runs `prerelease` checks, then bumps minor version
42
+ - `bun run version:major` - Runs `prerelease` checks, then bumps major version
43
+
44
+ Note: Version scripts run full quality checks BEFORE bumping to prevent broken releases.
42
45
 
43
46
  **Releasing (Fully Automated):**
44
47
  1. Bump version: `bun run version:patch` (or minor/major)
package/README.md CHANGED
@@ -1474,9 +1474,9 @@ bun run dev # Watches for changes and rebuilds instantly
1474
1474
 
1475
1475
  This is useful when testing CLI commands locally, but not required for committing — the hook handles everything.
1476
1476
 
1477
- | `bun run version:patch` | 🔢 Bump patch version (0.0.x) + generate CHANGELOG | Bug fixes, minor updates |
1478
- | `bun run version:minor` | 🔢 Bump minor version (0.x.0) + generate CHANGELOG | New features, backwards compatible |
1479
- | `bun run version:major` | 🔢 Bump major version (x.0.0) + generate CHANGELOG | Breaking changes |
1477
+ | `bun run version:patch` | 🔢 Run quality checks, then bump patch version (0.0.x) | Bug fixes, minor updates |
1478
+ | `bun run version:minor` | 🔢 Run quality checks, then bump minor version (0.x.0) | New features, backwards compatible |
1479
+ | `bun run version:major` | 🔢 Run quality checks, then bump major version (x.0.0) | Breaking changes |
1480
1480
 
1481
1481
  ### 🚀 Releasing
1482
1482
 
@@ -1490,7 +1490,7 @@ bun run release:major # Breaking changes (x.0.0)
1490
1490
  **Workflow (Fully Automated):**
1491
1491
 
1492
1492
  1. Make changes and commit
1493
- 2. Bump version: `bun run version:patch` (updates package.json, plugin.json, README, CHANGELOG)
1493
+ 2. Bump version: `bun run version:patch` (runs quality checks first, then updates package.json, plugin.json, README, CHANGELOG)
1494
1494
  3. Commit version bump: `git commit -am "chore: bump version to X.Y.Z"`
1495
1495
  4. Push to main: `git push`
1496
1496
  5. **GitHub Actions automatically:**
@@ -1499,6 +1499,8 @@ bun run release:major # Breaking changes (x.0.0)
1499
1499
  - ✅ Creates GitHub release
1500
1500
  - ✅ Updates marketplace
1501
1501
 
1502
+ Note: The version command runs full quality checks (format, lint, deadcode, typecheck, coverage, build) BEFORE bumping to catch issues early.
1503
+
1502
1504
  > 💡 **That's it!** No manual tagging needed. Just push to `main` and the release happens automatically when CI passes.
1503
1505
 
1504
1506
  ### 🧪 Testing Locally
@@ -4,7 +4,7 @@ import {
4
4
  createServices,
5
5
  createStoreId,
6
6
  summarizePayload
7
- } from "./chunk-HUEWT6U5.js";
7
+ } from "./chunk-DWAIT2OD.js";
8
8
 
9
9
  // src/mcp/server.ts
10
10
  import { Server } from "@modelcontextprotocol/sdk/server/index.js";
@@ -1095,4 +1095,4 @@ export {
1095
1095
  createMCPServer,
1096
1096
  runMCPServer
1097
1097
  };
1098
- //# sourceMappingURL=chunk-TIGPI3BE.js.map
1098
+ //# sourceMappingURL=chunk-CUHYSPRV.js.map
@@ -4185,7 +4185,7 @@ var LanceStore = class {
4185
4185
  if (this.connection !== null) {
4186
4186
  this.connection.close();
4187
4187
  this.connection = null;
4188
- await new Promise((resolve3) => setTimeout(resolve3, 100));
4188
+ await new Promise((resolve3) => setTimeout(resolve3, 200));
4189
4189
  }
4190
4190
  }
4191
4191
  getTableName(storeId) {
@@ -4246,6 +4246,7 @@ async function destroyServices(services) {
4246
4246
  } catch (e) {
4247
4247
  logger4.error({ error: e }, "Error stopping Python bridge");
4248
4248
  }
4249
+ await new Promise((resolve3) => setTimeout(resolve3, 100));
4249
4250
  await shutdownLogger();
4250
4251
  }
4251
4252
 
@@ -4266,4 +4267,4 @@ export {
4266
4267
  createServices,
4267
4268
  destroyServices
4268
4269
  };
4269
- //# sourceMappingURL=chunk-HUEWT6U5.js.map
4270
+ //# sourceMappingURL=chunk-DWAIT2OD.js.map