bluera-knowledge 0.15.2 → 0.15.3

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.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "bluera-knowledge",
3
- "version": "0.15.2",
3
+ "version": "0.15.3",
4
4
  "description": "Clone repos, crawl docs, search locally. Fast, authoritative answers for AI coding agents."
5
5
  }
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
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.15.3](https://github.com/blueraai/bluera-knowledge/compare/v0.15.1...v0.15.3) (2026-01-16)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **mcp:** add wrapper script to install deps before server start ([0029bd4](https://github.com/blueraai/bluera-knowledge/commit/0029bd485cdd7d6d3317987807415b454f3f40ac))
11
+ * **mcp:** use BASH_SOURCE with absolute path resolution ([4c99e28](https://github.com/blueraai/bluera-knowledge/commit/4c99e28227b8d692d8b7856ac9681bba950c259e))
12
+
5
13
  ## [0.15.2](https://github.com/blueraai/bluera-knowledge/compare/v0.15.1...v0.15.2) (2026-01-16)
6
14
 
7
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bluera-knowledge",
3
- "version": "0.15.2",
3
+ "version": "0.15.3",
4
4
  "description": "CLI tool for managing knowledge stores with semantic search",
5
5
  "type": "module",
6
6
  "bin": {
@@ -5,7 +5,11 @@
5
5
  # MCP servers start before SessionStart hooks fire, so we must install
6
6
  # dependencies here before starting the server.
7
7
 
8
- PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-$(dirname "$(dirname "$0")")}"
8
+ # Resolve absolute path to plugin root
9
+ # BASH_SOURCE[0] is more reliable than $0 for sourced scripts
10
+ # cd + pwd ensures we get an absolute path even if invoked with relative path
11
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
12
+ PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-$(dirname "$SCRIPT_DIR")}"
9
13
 
10
14
  # Install dependencies if missing
11
15
  if [ ! -d "$PLUGIN_ROOT/node_modules" ]; then