bluera-knowledge 0.22.4 → 0.22.6

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +53 -1
  3. package/package.json +7 -5
package/CHANGELOG.md CHANGED
@@ -2,6 +2,21 @@
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.22.6](https://github.com/blueraai/bluera-knowledge/compare/v0.22.4...v0.22.6) (2026-02-01)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **deps:** make tree-sitter optional for Node.js v24 compatibility ([acd6618](https://github.com/blueraai/bluera-knowledge/commit/acd66185813b4841a4c0abdd2edce10db9e08fef))
11
+ * **setup:** add --legacy-peer-deps to resolve tree-sitter peer conflict ([9b0b101](https://github.com/blueraai/bluera-knowledge/commit/9b0b1014e9ec0cec90c63a6a4cfdd81533248b2b))
12
+
13
+ ## [0.22.5](https://github.com/blueraai/bluera-knowledge/compare/v0.22.4...v0.22.5) (2026-02-01)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * **deps:** make tree-sitter optional for Node.js v24 compatibility ([acd6618](https://github.com/blueraai/bluera-knowledge/commit/acd66185813b4841a4c0abdd2edce10db9e08fef))
19
+
5
20
  ## [0.22.4](https://github.com/blueraai/bluera-knowledge/compare/v0.21.6...v0.22.4) (2026-02-01)
6
21
 
7
22
 
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  ![NPM Version](https://img.shields.io/npm/v/bluera-knowledge)
5
5
  ![NPM Downloads](https://img.shields.io/npm/dm/bluera-knowledge)
6
6
  ![License](https://img.shields.io/badge/license-MIT-green)
7
- ![Node](https://img.shields.io/badge/node-%3E%3D20-brightgreen)
7
+ ![Node](https://img.shields.io/badge/node-20.x%20%7C%2022.x-brightgreen)
8
8
  ![Python](https://img.shields.io/badge/python-optional-lightgrey)
9
9
 
10
10
  > 🚀 **Build a local knowledge base for your AI coding agent—dependency source code, crawled docs, and your own files, all instantly searchable.**
@@ -84,6 +84,14 @@ Adds slash commands, MCP tools, and Skills for optimal Claude Code integration.
84
84
  > [!NOTE]
85
85
  > Setup runs automatically on first session start (installs dependencies and Playwright browser). If you see "Setup running in background...", wait ~30s and restart Claude Code.
86
86
 
87
+ ### Prerequisites
88
+
89
+ | Requirement | Version | Notes |
90
+ |-------------|---------|-------|
91
+ | Node.js | v20.x or v22.x | LTS recommended. v24+ not yet supported (native module compatibility) |
92
+ | Build tools | - | `make` + C++ compiler (`build-essential` on Debian/Ubuntu, Xcode CLI on macOS) |
93
+ | Python 3 | Optional | Enables code-graph features |
94
+
87
95
  ---
88
96
 
89
97
  ## ✨ Why Bluera Knowledge?
@@ -444,6 +452,18 @@ Combine canonical library code with project-specific patterns:
444
452
 
445
453
  ## 🔧 Troubleshooting
446
454
 
455
+ ### Quick Diagnostics
456
+
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
+
447
467
  <details>
448
468
  <summary><b>❌ Command not found or not recognized</b></summary>
449
469
 
@@ -529,6 +549,38 @@ List all stores to see available names and IDs:
529
549
  Use the exact store name or ID shown in the table.
530
550
  </details>
531
551
 
552
+ <details>
553
+ <summary><b>🔨 Native module compilation fails (Node.js v24)</b></summary>
554
+
555
+ tree-sitter and lancedb require native module compilation. Node.js v24 introduced V8 API changes that break these modules.
556
+
557
+ **Solution:** Use Node.js v20.x or v22.x (LTS versions):
558
+
559
+ ```bash
560
+ # Using nvm
561
+ nvm install 22
562
+ nvm use 22
563
+ ```
564
+
565
+ Run `/bluera-knowledge:doctor` to verify your environment.
566
+ </details>
567
+
568
+ <details>
569
+ <summary><b>🐧 Linux: "make not found" or build errors</b></summary>
570
+
571
+ Native modules require build tools:
572
+
573
+ ```bash
574
+ # Debian/Ubuntu
575
+ sudo apt install build-essential
576
+
577
+ # Fedora/RHEL
578
+ sudo dnf groupinstall "Development Tools"
579
+ ```
580
+
581
+ Then restart Claude Code for auto-setup to complete.
582
+ </details>
583
+
532
584
  <details>
533
585
  <summary><b>⏱️ Indexing is slow or fails</b></summary>
534
586
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bluera-knowledge",
3
- "version": "0.22.4",
3
+ "version": "0.22.6",
4
4
  "description": "CLI tool for managing knowledge stores with semantic search",
5
5
  "type": "module",
6
6
  "bin": {
@@ -56,7 +56,7 @@
56
56
  "author": "Bluera",
57
57
  "license": "MIT",
58
58
  "engines": {
59
- "node": ">=20.0.0"
59
+ "node": ">=20.0.0 <24.0.0"
60
60
  },
61
61
  "repository": {
62
62
  "type": "git",
@@ -118,11 +118,13 @@
118
118
  "pino-roll": "^4.0.0",
119
119
  "playwright": "^1.58.0",
120
120
  "slurp-ai": "^1.0.6",
121
- "tree-sitter": "^0.25.0",
122
- "tree-sitter-go": "^0.25.0",
123
- "tree-sitter-rust": "^0.24.0",
124
121
  "turndown": "^7.2.2",
125
122
  "turndown-plugin-gfm": "^1.0.2",
126
123
  "zod": "^4.3.5"
124
+ },
125
+ "optionalDependencies": {
126
+ "tree-sitter": "^0.25.0",
127
+ "tree-sitter-go": "^0.25.0",
128
+ "tree-sitter-rust": "^0.24.0"
127
129
  }
128
130
  }