bluera-knowledge 0.11.16 → 0.11.18
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 +42 -0
- package/commands/test-plugin.md +16 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,48 @@
|
|
|
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.18](https://github.com/blueraai/bluera-knowledge/compare/v0.11.6...v0.11.18) (2026-01-10)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **commands:** add test-plugin command for comprehensive plugin testing ([c6eb5e7](https://github.com/blueraai/bluera-knowledge/commit/c6eb5e7762376810a9ff3e79f794f05ff0c77b97))
|
|
11
|
+
* **scripts:** add post-release npm validation script ([e4c29a0](https://github.com/blueraai/bluera-knowledge/commit/e4c29a0c83907de4bc293a69a58412629457fb22))
|
|
12
|
+
* **scripts:** add suggest, sync, serve, mcp tests to npm validation ([49d85da](https://github.com/blueraai/bluera-knowledge/commit/49d85dad1a89691060c12f152d644844baf6e6e6))
|
|
13
|
+
* **scripts:** log expected vs installed version in validation script ([c77d039](https://github.com/blueraai/bluera-knowledge/commit/c77d039b27a3ccf54d50006af161ac4dcfea7b21))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **cli:** plugin-api commands now respect global options ([d3cca02](https://github.com/blueraai/bluera-knowledge/commit/d3cca02ffc679ffc187b76c7682f3cc177eabdea))
|
|
19
|
+
* **commands:** fix test-plugin reliability issues ([2841e9a](https://github.com/blueraai/bluera-knowledge/commit/2841e9aa6438f9fd60c70ab921575088b2921810))
|
|
20
|
+
* **commands:** move test-plugin to commands/ for plugin distribution ([0a3ff5f](https://github.com/blueraai/bluera-knowledge/commit/0a3ff5f91666db7efa213d5abd4c447fb07749fc))
|
|
21
|
+
* **plugin:** properly close services after command execution ([eeaf743](https://github.com/blueraai/bluera-knowledge/commit/eeaf743750be73fd9c7a9e72440b2fd0fb5a53fa))
|
|
22
|
+
* **scripts:** show real-time output in validation script ([8a4bdec](https://github.com/blueraai/bluera-knowledge/commit/8a4bdec8b63c504d34ba35bfe19da795f7f7fd07))
|
|
23
|
+
* **scripts:** use mktemp for temp directories in validation script ([3107861](https://github.com/blueraai/bluera-knowledge/commit/3107861bd7a966016fde2a121469dd84756f39be))
|
|
24
|
+
* **search:** add defaults for env vars so CLI works standalone ([b2d2ce5](https://github.com/blueraai/bluera-knowledge/commit/b2d2ce534e8cd2ba0fc0abdac505c912a1a76035))
|
|
25
|
+
|
|
26
|
+
## [0.11.17](https://github.com/blueraai/bluera-knowledge/compare/v0.11.6...v0.11.17) (2026-01-10)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* **commands:** add test-plugin command for comprehensive plugin testing ([c6eb5e7](https://github.com/blueraai/bluera-knowledge/commit/c6eb5e7762376810a9ff3e79f794f05ff0c77b97))
|
|
32
|
+
* **scripts:** add post-release npm validation script ([e4c29a0](https://github.com/blueraai/bluera-knowledge/commit/e4c29a0c83907de4bc293a69a58412629457fb22))
|
|
33
|
+
* **scripts:** add suggest, sync, serve, mcp tests to npm validation ([49d85da](https://github.com/blueraai/bluera-knowledge/commit/49d85dad1a89691060c12f152d644844baf6e6e6))
|
|
34
|
+
* **scripts:** log expected vs installed version in validation script ([c77d039](https://github.com/blueraai/bluera-knowledge/commit/c77d039b27a3ccf54d50006af161ac4dcfea7b21))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Bug Fixes
|
|
38
|
+
|
|
39
|
+
* **cli:** plugin-api commands now respect global options ([d3cca02](https://github.com/blueraai/bluera-knowledge/commit/d3cca02ffc679ffc187b76c7682f3cc177eabdea))
|
|
40
|
+
* **commands:** fix test-plugin reliability issues ([2841e9a](https://github.com/blueraai/bluera-knowledge/commit/2841e9aa6438f9fd60c70ab921575088b2921810))
|
|
41
|
+
* **commands:** move test-plugin to commands/ for plugin distribution ([0a3ff5f](https://github.com/blueraai/bluera-knowledge/commit/0a3ff5f91666db7efa213d5abd4c447fb07749fc))
|
|
42
|
+
* **plugin:** properly close services after command execution ([eeaf743](https://github.com/blueraai/bluera-knowledge/commit/eeaf743750be73fd9c7a9e72440b2fd0fb5a53fa))
|
|
43
|
+
* **scripts:** show real-time output in validation script ([8a4bdec](https://github.com/blueraai/bluera-knowledge/commit/8a4bdec8b63c504d34ba35bfe19da795f7f7fd07))
|
|
44
|
+
* **scripts:** use mktemp for temp directories in validation script ([3107861](https://github.com/blueraai/bluera-knowledge/commit/3107861bd7a966016fde2a121469dd84756f39be))
|
|
45
|
+
* **search:** add defaults for env vars so CLI works standalone ([b2d2ce5](https://github.com/blueraai/bluera-knowledge/commit/b2d2ce534e8cd2ba0fc0abdac505c912a1a76035))
|
|
46
|
+
|
|
5
47
|
## [0.11.16](https://github.com/blueraai/bluera-knowledge/compare/v0.11.6...v0.11.16) (2026-01-10)
|
|
6
48
|
|
|
7
49
|
|
package/commands/test-plugin.md
CHANGED
|
@@ -6,6 +6,16 @@ Comprehensive test of all Bluera Knowledge plugin functionality (MCP tools + sla
|
|
|
6
6
|
|
|
7
7
|
!`echo "=== BK Plugin Test ===" && ls -la .bluera/bluera-knowledge/ 2>/dev/null || echo "No BK data dir yet (will be created)"`
|
|
8
8
|
|
|
9
|
+
## Pre-Test Cleanup
|
|
10
|
+
|
|
11
|
+
First, clean up any leftover artifacts from previous test runs (ignore errors if they don't exist):
|
|
12
|
+
|
|
13
|
+
1. Delete test store if exists: Call MCP tool `execute` with `{ command: "store:delete", args: { store: "bk-test-store" } }` - ignore "not found" errors
|
|
14
|
+
2. Remove test content directory:
|
|
15
|
+
```bash
|
|
16
|
+
rm -rf .bluera/bluera-knowledge/test-content
|
|
17
|
+
```
|
|
18
|
+
|
|
9
19
|
## Test Content Setup
|
|
10
20
|
|
|
11
21
|
First, create test content for indexing:
|
|
@@ -42,7 +52,7 @@ Execute each test in order. Mark each as PASS or FAIL.
|
|
|
42
52
|
|
|
43
53
|
3. **Create Store**: Call MCP tool `execute` with:
|
|
44
54
|
```json
|
|
45
|
-
{ "command": "store:create", "args": { "name": "bk-test-store", "type": "file", "
|
|
55
|
+
{ "command": "store:create", "args": { "name": "bk-test-store", "type": "file", "source": ".bluera/bluera-knowledge/test-content" } }
|
|
46
56
|
```
|
|
47
57
|
- Expected: Store created successfully
|
|
48
58
|
- PASS if response indicates success
|
|
@@ -54,12 +64,12 @@ Execute each test in order. Mark each as PASS or FAIL.
|
|
|
54
64
|
- Expected: Returns store metadata including name, type, path
|
|
55
65
|
- PASS if response contains store details
|
|
56
66
|
|
|
57
|
-
5. **Index Store**:
|
|
58
|
-
```
|
|
59
|
-
|
|
67
|
+
5. **Index Store**: Run CLI command via Bash (MCP's store:index spawns background jobs that don't complete reliably):
|
|
68
|
+
```bash
|
|
69
|
+
node dist/index.js index bk-test-store
|
|
60
70
|
```
|
|
61
|
-
- Expected:
|
|
62
|
-
- PASS if
|
|
71
|
+
- Expected: Output shows "Indexed X documents, Y chunks"
|
|
72
|
+
- PASS if indexing completes successfully
|
|
63
73
|
|
|
64
74
|
6. **Search (MCP)**: Call MCP tool `search` with:
|
|
65
75
|
```json
|