bluera-knowledge 0.9.39 โ†’ 0.9.40

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/CHANGELOG.md CHANGED
@@ -2,6 +2,33 @@
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.40](https://github.com/blueraai/bluera-knowledge/compare/v0.9.32...v0.9.40) (2026-01-08)
6
+
7
+
8
+ ### Features
9
+
10
+ * **search:** add raw score exposure, confidence levels, and minRelevance filtering ([dc45e4d](https://github.com/blueraai/bluera-knowledge/commit/dc45e4d760c526ae5f0ad7912adea0528a61ff05))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **bridge:** kill Python process before nullifying to prevent zombie ([393dab3](https://github.com/blueraai/bluera-knowledge/commit/393dab3e45c75fd87c9ecfc1ca92e67b14526e79))
16
+ * **bridge:** mock kill() emits exit event & attach rejection handlers before stop ([d73c6ca](https://github.com/blueraai/bluera-knowledge/commit/d73c6ca6d640c3d15bd82756cabcda832f9ae245))
17
+ * **bridge:** stop() now waits for process to actually exit ([a92de41](https://github.com/blueraai/bluera-knowledge/commit/a92de41c89318fc106f996568ed88505352d5159))
18
+ * **cli:** ensure destroyServices runs before process.exit ([22e4267](https://github.com/blueraai/bluera-knowledge/commit/22e4267b7b9f698de3985a89b9c2b10759cfd49c))
19
+ * **code-unit:** brace counting now handles strings and comments ([1e857bb](https://github.com/blueraai/bluera-knowledge/commit/1e857bb297f357b97a6c067950e62495b3c8fc99))
20
+ * **code-unit:** support complex return types in signature extraction ([3bd2467](https://github.com/blueraai/bluera-knowledge/commit/3bd24675a67e73cc74a0c718f4b5a9e86cd826fb))
21
+ * **job:** validate PID before process.kill to prevent process group kill ([67c540f](https://github.com/blueraai/bluera-knowledge/commit/67c540fef6f2c55c5dca2c824104a91fe19aeff1))
22
+ * **scripts:** preserve test exit codes in piped commands ([865f491](https://github.com/blueraai/bluera-knowledge/commit/865f491858ef518fb74f3d7dfed269109cd62c72))
23
+ * **search:** apply threshold filtering after score normalization ([1ebc78e](https://github.com/blueraai/bluera-knowledge/commit/1ebc78e0e688ffde0fdbaf049f17a35d129ef055))
24
+ * **search:** enable FTS-only search mode ([4a0f371](https://github.com/blueraai/bluera-knowledge/commit/4a0f371f0c42f80bf87e28ae0e609ac95986964d))
25
+ * **services:** fail fast on corrupted config/registry files ([030f63c](https://github.com/blueraai/bluera-knowledge/commit/030f63c10b0a30bddcd8e9b27b291ab0f53263f1))
26
+ * **tests:** increase timeout for exit code test in CI ([a362dcd](https://github.com/blueraai/bluera-knowledge/commit/a362dcdae32b0c19e757270e5009b0c1c5ead4e4))
27
+ * **tests:** increase timeout for flaky store delete test ([738fb49](https://github.com/blueraai/bluera-knowledge/commit/738fb4975653703d800dee802730dedfdf9e85ba))
28
+ * **watch:** clear pending timeouts on unwatch to prevent timer leak ([4dcafc1](https://github.com/blueraai/bluera-knowledge/commit/4dcafc14417442f6eeed0257cf185e04ae9de12b))
29
+ * **worker:** fail fast on PID file write error ([d92ce42](https://github.com/blueraai/bluera-knowledge/commit/d92ce42eff63cee3c97056ef019f5a52ef699edd))
30
+ * **worker:** prevent division by zero and improve cancellation handling ([b7b40ab](https://github.com/blueraai/bluera-knowledge/commit/b7b40ab950b7ad0fbbe84af243be3138b1072a72))
31
+
5
32
  ## [0.9.39](https://github.com/blueraai/bluera-knowledge/compare/v0.9.32...v0.9.39) (2026-01-08)
6
33
 
7
34
 
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bluera-knowledge",
3
- "version": "0.9.39",
3
+ "version": "0.9.40",
4
4
  "description": "CLI tool for managing knowledge stores with semantic search",
5
5
  "type": "module",
6
6
  "bin": {
@@ -28,13 +28,14 @@
28
28
  "lint:quiet": "eslint src/ --quiet && echo 'โœ“ Lint passed' || { echo 'โŒ ESLint errors'; exit 1; }",
29
29
  "lint:deadcode:quiet": "knip --no-exit-code --quiet 2>&1 | grep -E '^(Unused|Configuration)' || echo 'โœ“ No unused code'",
30
30
  "typecheck:quiet": "tsc --noEmit --pretty false && echo 'โœ“ Type check passed'",
31
- "test:changed:quiet": "vitest run --changed --reporter=dot --silent 2>&1 | tail -3",
32
- "test:coverage:quiet": "vitest run --coverage --reporter=dot 2>&1 | grep -E '(FAIL|Test Files|passed|Coverage|threshold)' | tail -10",
31
+ "test:changed:quiet": "bash -c 'set -o pipefail && vitest run --changed --reporter=dot --silent 2>&1 | tail -3'",
32
+ "test:coverage:quiet": "bash -c 'set -o pipefail && vitest run --coverage --reporter=dot 2>&1 | grep -E \"(FAIL|Test Files|passed|Coverage|threshold)\" | tail -10'",
33
33
  "build:quiet": "tsup --silent && echo 'โœ“ Build complete'",
34
+ "prerelease": "bun run format:check:quiet && bun run lint:quiet && bun run lint:deadcode:quiet && bun run typecheck:quiet && bun run test:coverage:quiet && bun run build:quiet",
34
35
  "prepare": "husky",
35
- "version:major": "commit-and-tag-version --release-as major --skip.commit --skip.tag",
36
- "version:minor": "commit-and-tag-version --release-as minor --skip.commit --skip.tag",
37
- "version:patch": "commit-and-tag-version --release-as patch --skip.commit --skip.tag",
36
+ "version:major": "bun run prerelease && commit-and-tag-version --release-as major --skip.commit --skip.tag",
37
+ "version:minor": "bun run prerelease && commit-and-tag-version --release-as minor --skip.commit --skip.tag",
38
+ "version:patch": "bun run prerelease && commit-and-tag-version --release-as patch --skip.commit --skip.tag",
38
39
  "release:patch": "commit-and-tag-version --release-as patch && git push --follow-tags",
39
40
  "release:minor": "commit-and-tag-version --release-as minor && git push --follow-tags",
40
41
  "release:major": "commit-and-tag-version --release-as major && git push --follow-tags"
package/plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bluera-knowledge",
3
- "version": "0.9.39",
3
+ "version": "0.9.40",
4
4
  "description": "Clone repos, crawl docs, search locally. Fast, authoritative answers for AI coding agents.",
5
5
  "commands": "./commands",
6
6
  "hooks": "./hooks/hooks.json",