bluera-knowledge 0.28.1 → 0.30.0
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 +30 -0
- package/README.md +194 -13
- package/dist/{chunk-UXT3BCAH.js → chunk-AEXFPA57.js} +398 -106
- package/dist/chunk-AEXFPA57.js.map +1 -0
- package/dist/{chunk-WP2GERAJ.js → chunk-B335UOU7.js} +1328 -467
- package/dist/chunk-B335UOU7.js.map +1 -0
- package/dist/{chunk-BYLIDCWD.js → chunk-KCI4U6FH.js} +2 -2
- package/dist/{chunk-H25AEF47.js → chunk-N3XYMAU3.js} +81 -2
- package/dist/chunk-N3XYMAU3.js.map +1 -0
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/dist/mcp/bootstrap.js +9 -1
- package/dist/mcp/bootstrap.js.map +1 -1
- package/dist/mcp/server.d.ts +135 -10
- package/dist/mcp/server.js +3 -3
- package/dist/{watch.service-THP6X5ZZ.js → watch.service-LRFCT52P.js} +2 -2
- package/dist/workers/background-worker-cli.js +3 -3
- package/package.json +12 -3
- package/dist/chunk-H25AEF47.js.map +0 -1
- package/dist/chunk-UXT3BCAH.js.map +0 -1
- package/dist/chunk-WP2GERAJ.js.map +0 -1
- /package/dist/{chunk-BYLIDCWD.js.map → chunk-KCI4U6FH.js.map} +0 -0
- /package/dist/{watch.service-THP6X5ZZ.js.map → watch.service-LRFCT52P.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,36 @@
|
|
|
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.30.0](https://github.com/blueraai/bluera-knowledge/compare/v0.28.0...v0.30.0) (2026-02-21)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **mcp:** add file count estimation and ETA to store creation responses ([3d71a30](https://github.com/blueraai/bluera-knowledge/commit/3d71a307275fa06b9810ed606583f4ec2acc5841))
|
|
11
|
+
* **mcp:** add stores:pull command for git pull + re-index ([7ca809c](https://github.com/blueraai/bluera-knowledge/commit/7ca809c3675be19d9d0e29e71c5f75d4f40fce35))
|
|
12
|
+
* search infrastructure, benchmark framework, and model registry ([285ff2f](https://github.com/blueraai/bluera-knowledge/commit/285ff2f5574c4d53b61b31e84fdec43553364e98))
|
|
13
|
+
* training pipeline, evaluation gate, and experiment docs ([d90b395](https://github.com/blueraai/bluera-knowledge/commit/d90b395a330f4ab09ac6d71db77d659c415aa87d))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **config:** wire BK_MODEL env var override in ConfigService.load() ([be56426](https://github.com/blueraai/bluera-knowledge/commit/be564263176410c3eb1441bf85c4fdce48ddc7c4))
|
|
19
|
+
* **mcp:** prevent browser postinstall from crashing bootstrap ([e27fe02](https://github.com/blueraai/bluera-knowledge/commit/e27fe021bdb34c8ca5b8bf93720a176435e7973c))
|
|
20
|
+
|
|
21
|
+
## [0.29.0](https://github.com/blueraai/bluera-knowledge/compare/v0.28.0...v0.29.0) (2026-02-20)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* search infrastructure, benchmark framework, and model registry ([285ff2f](https://github.com/blueraai/bluera-knowledge/commit/285ff2f5574c4d53b61b31e84fdec43553364e98))
|
|
27
|
+
* training pipeline, evaluation gate, and experiment docs ([d90b395](https://github.com/blueraai/bluera-knowledge/commit/d90b395a330f4ab09ac6d71db77d659c415aa87d))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* **config:** wire BK_MODEL env var override in ConfigService.load() ([be56426](https://github.com/blueraai/bluera-knowledge/commit/be564263176410c3eb1441bf85c4fdce48ddc7c4))
|
|
33
|
+
* **mcp:** prevent browser postinstall from crashing bootstrap ([e27fe02](https://github.com/blueraai/bluera-knowledge/commit/e27fe021bdb34c8ca5b8bf93720a176435e7973c))
|
|
34
|
+
|
|
5
35
|
## [0.28.1](https://github.com/blueraai/bluera-knowledge/compare/v0.28.0...v0.28.1) (2026-02-12)
|
|
6
36
|
|
|
7
37
|
## [0.28.0](https://github.com/blueraai/bluera-knowledge/compare/v0.27.3...v0.28.0) (2026-02-10)
|
package/README.md
CHANGED
|
@@ -339,7 +339,7 @@ This architecture means commands provide a clean user interface while MCP tools
|
|
|
339
339
|
| `execute` | ⚡ Meta-tool for store/job management commands |
|
|
340
340
|
|
|
341
341
|
The `execute` tool consolidates store and job management into a single tool with subcommands:
|
|
342
|
-
- **Store commands**: `stores`, `store:info`, `store:create`, `store:index`, `store:delete`
|
|
342
|
+
- **Store commands**: `stores`, `store:info`, `store:create`, `store:index`, `store:delete`, `stores:pull`
|
|
343
343
|
- **Job commands**: `jobs`, `job:status`, `job:cancel`
|
|
344
344
|
- **Help**: `help`, `commands`
|
|
345
345
|
|
|
@@ -452,18 +452,200 @@ Combine canonical library code with project-specific patterns:
|
|
|
452
452
|
|
|
453
453
|
## 🔧 Troubleshooting
|
|
454
454
|
|
|
455
|
-
|
|
455
|
+
### Quick Diagnostics
|
|
456
456
|
|
|
457
|
-
|
|
458
|
-
-
|
|
459
|
-
-
|
|
460
|
-
-
|
|
461
|
-
-
|
|
462
|
-
-
|
|
463
|
-
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
457
|
+
Run `/bluera-knowledge:doctor` to diagnose common issues. This checks:
|
|
458
|
+
- Build tools (make/gcc) - required for native modules
|
|
459
|
+
- Node.js installation
|
|
460
|
+
- Plugin dependencies (node_modules)
|
|
461
|
+
- MCP wrapper installation
|
|
462
|
+
- Python 3 (optional, for embeddings)
|
|
463
|
+
- Playwright browser (optional, for web crawling)
|
|
464
|
+
|
|
465
|
+
Works even when MCP is broken (uses Bash tool directly).
|
|
466
|
+
|
|
467
|
+
<details>
|
|
468
|
+
<summary><b>❌ Command not found or not recognized</b></summary>
|
|
469
|
+
|
|
470
|
+
Ensure the plugin is installed and enabled:
|
|
471
|
+
|
|
472
|
+
```bash
|
|
473
|
+
/plugin list
|
|
474
|
+
/plugin enable bluera-knowledge
|
|
475
|
+
```
|
|
476
|
+
|
|
477
|
+
If the plugin isn't listed, install it:
|
|
478
|
+
|
|
479
|
+
```bash
|
|
480
|
+
/plugin marketplace add blueraai/bluera-marketplace
|
|
481
|
+
/plugin install bluera-knowledge@bluera
|
|
482
|
+
```
|
|
483
|
+
</details>
|
|
484
|
+
|
|
485
|
+
<details>
|
|
486
|
+
<summary><b>🔌 MCP server shows as "failed" in /plugin</b></summary>
|
|
487
|
+
|
|
488
|
+
If the MCP server shows as failed after installation:
|
|
489
|
+
|
|
490
|
+
1. **Run `/bluera-knowledge:doctor`** - This diagnoses the most common issues
|
|
491
|
+
2. **Restart Claude Code** - MCP servers require a restart to initialize
|
|
492
|
+
3. **Check logs:** Run `/logs errors` to see recent errors or `/logs module bootstrap` for startup logs
|
|
493
|
+
4. **Check status:** Run `/mcp` to see connection status
|
|
494
|
+
5. **Reinstall:** Try `/plugin uninstall bluera-knowledge` then `/plugin install bluera-knowledge@bluera`
|
|
495
|
+
|
|
496
|
+
**Common MCP failure causes:**
|
|
497
|
+
|
|
498
|
+
| Symptom | Cause | Fix |
|
|
499
|
+
|---------|-------|-----|
|
|
500
|
+
| `npm ERR! ERESOLVE` in logs | Peer dependency conflict | Fixed in v0.22.6+ with npm flag |
|
|
501
|
+
| Old plugin version running | Multiple cached versions | Fixed in v0.22.7+ (version sorting) |
|
|
502
|
+
| `make not found` | Missing build tools | Install `build-essential` (Linux) |
|
|
503
|
+
| Compilation errors on Node 24 | V8 API changes | Use Node.js v20.x or v22.x |
|
|
504
|
+
|
|
505
|
+
If the issue persists, check that Claude Code is v2.0.65 or later (earlier versions had MCP loading bugs).
|
|
506
|
+
</details>
|
|
507
|
+
|
|
508
|
+
<details>
|
|
509
|
+
<summary><b>🌐 Web crawling fails</b></summary>
|
|
510
|
+
|
|
511
|
+
Check Playwright browser installation:
|
|
512
|
+
|
|
513
|
+
```bash
|
|
514
|
+
npx playwright install chromium
|
|
515
|
+
```
|
|
516
|
+
|
|
517
|
+
The plugin attempts to auto-install Playwright browsers on first use, but manual installation may be needed in some environments.
|
|
518
|
+
</details>
|
|
519
|
+
|
|
520
|
+
<details>
|
|
521
|
+
<summary><b>🔍 Search returns no results</b></summary>
|
|
522
|
+
|
|
523
|
+
1. Verify store exists: `/bluera-knowledge:stores`
|
|
524
|
+
2. Check store is indexed: `/bluera-knowledge:index <store-name>`
|
|
525
|
+
3. Try broader search terms
|
|
526
|
+
4. Verify you're searching the correct store with `--stores=<name>`
|
|
527
|
+
</details>
|
|
528
|
+
|
|
529
|
+
<details>
|
|
530
|
+
<summary><b>⚠️ "Model mismatch" error</b></summary>
|
|
531
|
+
|
|
532
|
+
This error occurs when a store was indexed with a different embedding model than the current configuration. As of v0.20+, stores are indexed with `bge-small-en-v1.5` (previously `all-MiniLM-L6-v2`).
|
|
533
|
+
|
|
534
|
+
**Solution:** Reindex the affected store:
|
|
535
|
+
|
|
536
|
+
```bash
|
|
537
|
+
/bluera-knowledge:index <store-name>
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
**Check model status for all stores:**
|
|
541
|
+
|
|
542
|
+
```bash
|
|
543
|
+
# Via MCP execute command
|
|
544
|
+
execute stores:check-models
|
|
545
|
+
```
|
|
546
|
+
|
|
547
|
+
This lists all stores with their embedding model and flags any that need reindexing.
|
|
548
|
+
</details>
|
|
549
|
+
|
|
550
|
+
<details>
|
|
551
|
+
<summary><b>❓ "Store not found" error</b></summary>
|
|
552
|
+
|
|
553
|
+
List all stores to see available names and IDs:
|
|
554
|
+
|
|
555
|
+
```bash
|
|
556
|
+
/bluera-knowledge:stores
|
|
557
|
+
```
|
|
558
|
+
|
|
559
|
+
Use the exact store name or ID shown in the table.
|
|
560
|
+
</details>
|
|
561
|
+
|
|
562
|
+
<details>
|
|
563
|
+
<summary><b>🔨 Native module compilation fails (Node.js v24)</b></summary>
|
|
564
|
+
|
|
565
|
+
tree-sitter and lancedb require native module compilation. Node.js v24 introduced V8 API changes that break these modules.
|
|
566
|
+
|
|
567
|
+
**Solution:** Use Node.js v20.x or v22.x (LTS versions):
|
|
568
|
+
|
|
569
|
+
```bash
|
|
570
|
+
# Using nvm
|
|
571
|
+
nvm install 22
|
|
572
|
+
nvm use 22
|
|
573
|
+
```
|
|
574
|
+
|
|
575
|
+
Run `/bluera-knowledge:doctor` to verify your environment.
|
|
576
|
+
</details>
|
|
577
|
+
|
|
578
|
+
<details>
|
|
579
|
+
<summary><b>🐧 Linux: "make not found" or build errors</b></summary>
|
|
580
|
+
|
|
581
|
+
Native modules require build tools:
|
|
582
|
+
|
|
583
|
+
```bash
|
|
584
|
+
# Debian/Ubuntu
|
|
585
|
+
sudo apt install build-essential
|
|
586
|
+
|
|
587
|
+
# Fedora/RHEL
|
|
588
|
+
sudo dnf groupinstall "Development Tools"
|
|
589
|
+
```
|
|
590
|
+
|
|
591
|
+
Then restart Claude Code for auto-setup to complete.
|
|
592
|
+
</details>
|
|
593
|
+
|
|
594
|
+
<details>
|
|
595
|
+
<summary><b>⏱️ Indexing is slow or fails</b></summary>
|
|
596
|
+
|
|
597
|
+
Large repositories (10,000+ files) take longer to index. If indexing fails:
|
|
598
|
+
|
|
599
|
+
1. Check available disk space
|
|
600
|
+
2. Ensure the source repository/folder is accessible
|
|
601
|
+
3. For repo stores, verify git is installed: `git --version`
|
|
602
|
+
4. Check for network connectivity (for repo stores)
|
|
603
|
+
5. Check logs for errors: `/logs errors` or `/logs search "index"`
|
|
604
|
+
</details>
|
|
605
|
+
|
|
606
|
+
<details>
|
|
607
|
+
<summary><b>🤖 "Claude CLI not found" during crawl</b></summary>
|
|
608
|
+
|
|
609
|
+
This means intelligent crawling is unavailable. The crawler will automatically use simple BFS mode instead.
|
|
610
|
+
|
|
611
|
+
To enable intelligent crawling with `--crawl` and `--extract`:
|
|
612
|
+
1. Install Claude Code: https://claude.com/code
|
|
613
|
+
2. Ensure `claude` command is in PATH: `which claude`
|
|
614
|
+
|
|
615
|
+
Simple mode still crawls effectively—it just doesn't use AI to select which pages to crawl or extract specific content.
|
|
616
|
+
</details>
|
|
617
|
+
|
|
618
|
+
<details>
|
|
619
|
+
<summary><b>📋 How to view logs for debugging</b></summary>
|
|
620
|
+
|
|
621
|
+
The plugin logs all MCP server operations to `.bluera/bluera-knowledge/logs/app.log` (relative to project root).
|
|
622
|
+
|
|
623
|
+
**View logs using the `/logs` command:**
|
|
624
|
+
|
|
625
|
+
```bash
|
|
626
|
+
/logs # Watch logs in real-time (tail -f)
|
|
627
|
+
/logs view 50 # View last 50 log entries
|
|
628
|
+
/logs errors # Show only error-level logs
|
|
629
|
+
/logs module mcp-store # Filter by module (mcp-server, mcp-store, mcp-execute, mcp-job, mcp-sync, bootstrap)
|
|
630
|
+
/logs search "pattern" # Search for a pattern
|
|
631
|
+
```
|
|
632
|
+
|
|
633
|
+
**Log modules:**
|
|
634
|
+
- `bootstrap` - MCP server startup and dependency installation
|
|
635
|
+
- `mcp-server` - Core MCP server operations
|
|
636
|
+
- `mcp-store` - Store create/list/delete operations
|
|
637
|
+
- `mcp-search` - Search queries and results
|
|
638
|
+
- `mcp-execute` - Meta-tool command execution
|
|
639
|
+
- `mcp-job` - Background job status
|
|
640
|
+
- `mcp-sync` - Store sync operations
|
|
641
|
+
|
|
642
|
+
**Manual access:**
|
|
643
|
+
```bash
|
|
644
|
+
tail -f .bluera/bluera-knowledge/logs/app.log
|
|
645
|
+
```
|
|
646
|
+
|
|
647
|
+
Logs are JSON formatted (NDJSON) and can be processed with `jq` for pretty-printing.
|
|
648
|
+
</details>
|
|
467
649
|
|
|
468
650
|
---
|
|
469
651
|
|
|
@@ -645,7 +827,6 @@ This ensures:
|
|
|
645
827
|
| [Commands Reference](docs/commands.md) | All slash commands with parameters and examples |
|
|
646
828
|
| [Crawler Architecture](docs/crawler-architecture.md) | How the intelligent web crawler works |
|
|
647
829
|
| [Token Efficiency](docs/token-efficiency.md) | How BK reduces token consumption vs web search |
|
|
648
|
-
| [Troubleshooting](docs/troubleshooting.md) | Common issues and solutions |
|
|
649
830
|
| [CONTRIBUTING](CONTRIBUTING.md) | Development setup, testing, and release process |
|
|
650
831
|
|
|
651
832
|
---
|