bluera-knowledge 0.31.0 → 0.33.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.
Files changed (70) hide show
  1. package/.claude-plugin/plugin.json +23 -0
  2. package/.mcp.json +13 -0
  3. package/CHANGELOG.md +42 -0
  4. package/NOTICE +47 -0
  5. package/README.md +2 -2
  6. package/bun.lock +1978 -0
  7. package/dist/{chunk-B335UOU7.js → chunk-3TB7TDVF.js} +24 -3
  8. package/dist/chunk-3TB7TDVF.js.map +1 -0
  9. package/dist/{chunk-KCI4U6FH.js → chunk-KDZDLJUY.js} +2 -2
  10. package/dist/{chunk-AEXFPA57.js → chunk-YDTTD53Y.js} +158 -26
  11. package/dist/chunk-YDTTD53Y.js.map +1 -0
  12. package/dist/index.js +3 -3
  13. package/dist/mcp/bootstrap.js +10 -0
  14. package/dist/mcp/bootstrap.js.map +1 -1
  15. package/dist/mcp/server.d.ts +5 -3
  16. package/dist/mcp/server.js +2 -2
  17. package/dist/workers/background-worker-cli.js +2 -2
  18. package/hooks/check-ready.sh +109 -0
  19. package/hooks/hooks.json +97 -0
  20. package/hooks/job-status-hook.sh +51 -0
  21. package/hooks/posttooluse-bk-reminder.py +126 -0
  22. package/hooks/posttooluse-web-research.py +209 -0
  23. package/hooks/posttooluse-websearch-bk.py +158 -0
  24. package/hooks/pretooluse-bk-suggest.py +296 -0
  25. package/hooks/skill-activation.py +221 -0
  26. package/hooks/skill-rules.json +131 -0
  27. package/package.json +9 -2
  28. package/scripts/CLAUDE.md +65 -0
  29. package/scripts/auto-setup.sh +65 -0
  30. package/scripts/bench-regression.sh +345 -0
  31. package/scripts/dev.sh +16 -0
  32. package/scripts/doctor.sh +103 -0
  33. package/scripts/download-models.ts +188 -0
  34. package/scripts/export-web-store.ts +142 -0
  35. package/scripts/lib/mock-server.sh +70 -0
  36. package/scripts/mcp-wrapper.sh +91 -0
  37. package/scripts/setup.sh +224 -0
  38. package/scripts/statusline-module.sh +29 -0
  39. package/scripts/test-mcp-dev.js +260 -0
  40. package/scripts/validate-local.sh +412 -0
  41. package/scripts/validate-npm-release.sh +406 -0
  42. package/skills/add-folder/SKILL.md +48 -0
  43. package/skills/add-repo/SKILL.md +50 -0
  44. package/skills/advanced-workflows/SKILL.md +273 -0
  45. package/skills/cancel/SKILL.md +63 -0
  46. package/skills/check-status/SKILL.md +130 -0
  47. package/skills/crawl/SKILL.md +61 -0
  48. package/skills/doctor/SKILL.md +27 -0
  49. package/skills/eval/SKILL.md +222 -0
  50. package/skills/health/SKILL.md +72 -0
  51. package/skills/index/SKILL.md +48 -0
  52. package/skills/knowledge-search/SKILL.md +110 -0
  53. package/skills/remove-store/SKILL.md +52 -0
  54. package/skills/search/SKILL.md +80 -0
  55. package/skills/search/search.sh +63 -0
  56. package/skills/search-optimization/SKILL.md +199 -0
  57. package/skills/search-optimization/references/mistakes.md +21 -0
  58. package/skills/search-optimization/references/strategies.md +80 -0
  59. package/skills/skill-activation/SKILL.md +131 -0
  60. package/skills/statusline/SKILL.md +19 -0
  61. package/skills/store-lifecycle/SKILL.md +470 -0
  62. package/skills/stores/SKILL.md +54 -0
  63. package/skills/suggest/SKILL.md +118 -0
  64. package/skills/sync/SKILL.md +96 -0
  65. package/skills/test-plugin/SKILL.md +547 -0
  66. package/skills/uninstall/SKILL.md +65 -0
  67. package/skills/when-to-query/SKILL.md +160 -0
  68. package/dist/chunk-AEXFPA57.js.map +0 -1
  69. package/dist/chunk-B335UOU7.js.map +0 -1
  70. /package/dist/{chunk-KCI4U6FH.js.map → chunk-KDZDLJUY.js.map} +0 -0
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "bluera-knowledge",
3
+ "version": "0.33.0",
4
+ "description": "Clone repos, crawl docs, search locally. Fast, authoritative answers for AI coding agents.",
5
+ "author": {
6
+ "name": "Bluera Inc",
7
+ "url": "https://bluera.ai"
8
+ },
9
+ "homepage": "https://github.com/blueraai/bluera-knowledge",
10
+ "repository": "https://github.com/blueraai/bluera-knowledge",
11
+ "license": "MIT",
12
+ "keywords": [
13
+ "search",
14
+ "knowledge",
15
+ "semantic",
16
+ "indexing",
17
+ "mcp",
18
+ "vector",
19
+ "embeddings"
20
+ ],
21
+ "skills": "./skills/",
22
+ "mcpServers": "./.mcp.json"
23
+ }
package/.mcp.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "_comment": "DATA_DIR and CONFIG_PATH resolve relative to PROJECT_ROOT (${PWD})",
3
+ "mcpServers": {
4
+ "bluera-knowledge": {
5
+ "command": "bluera-knowledge-mcp",
6
+ "env": {
7
+ "PROJECT_ROOT": "${PWD}",
8
+ "DATA_DIR": ".bluera/bluera-knowledge/data",
9
+ "CONFIG_PATH": ".bluera/bluera-knowledge/config.json"
10
+ }
11
+ }
12
+ }
13
+ }
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.33.0](https://github.com/blueraai/bluera-knowledge/compare/v0.28.0...v0.33.0) (2026-03-01)
6
+
7
+
8
+ ### Features
9
+
10
+ * add statusline module with store count display ([4446501](https://github.com/blueraai/bluera-knowledge/commit/44465015a4734cd7c253bda51c98ce149561fda8))
11
+ * **eval:** 3-agent comparison with BK Grep agent and token tracking ([b3045a8](https://github.com/blueraai/bluera-knowledge/commit/b3045a8ae7df7a2e13ecdf992ff4d1055521460b))
12
+ * **eval:** add agent quality eval comparing with-BK vs without-BK answers ([d8c62d8](https://github.com/blueraai/bluera-knowledge/commit/d8c62d804bd10d572049f4f2a01deb30cb00ccf5))
13
+ * **hooks:** add PostToolUse hook for WebSearch BK suggestions ([d0420b4](https://github.com/blueraai/bluera-knowledge/commit/d0420b473c73092b5e6a28be2699f5fc40e090c3))
14
+ * **mcp:** add file count estimation and ETA to store creation responses ([3d71a30](https://github.com/blueraai/bluera-knowledge/commit/3d71a307275fa06b9810ed606583f4ec2acc5841))
15
+ * **mcp:** add stores:pull command for git pull + re-index ([7ca809c](https://github.com/blueraai/bluera-knowledge/commit/7ca809c3675be19d9d0e29e71c5f75d4f40fce35))
16
+ * **mcp:** optimize search-to-read workflow with store paths, relatedFiles, find-files intent, and file-based get_full_context ([4eb9be9](https://github.com/blueraai/bluera-knowledge/commit/4eb9be97598e475576603b2b9a565946197986ac))
17
+ * search infrastructure, benchmark framework, and model registry ([285ff2f](https://github.com/blueraai/bluera-knowledge/commit/285ff2f5574c4d53b61b31e84fdec43553364e98))
18
+ * training pipeline, evaluation gate, and experiment docs ([d90b395](https://github.com/blueraai/bluera-knowledge/commit/d90b395a330f4ab09ac6d71db77d659c415aa87d))
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * **config:** wire BK_MODEL env var override in ConfigService.load() ([be56426](https://github.com/blueraai/bluera-knowledge/commit/be564263176410c3eb1441bf85c4fdce48ddc7c4))
24
+ * **mcp:** add runtime files to package.json files array and improve bootstrap error on corrupt cache ([e195f93](https://github.com/blueraai/bluera-knowledge/commit/e195f93a4600c65bcd0fcbb45380aaa1d32bb356))
25
+ * **mcp:** prevent browser postinstall from crashing bootstrap ([e27fe02](https://github.com/blueraai/bluera-knowledge/commit/e27fe021bdb34c8ca5b8bf93720a176435e7973c))
26
+
27
+ ## [0.32.0](https://github.com/blueraai/bluera-knowledge/compare/v0.28.0...v0.32.0) (2026-02-28)
28
+
29
+
30
+ ### Features
31
+
32
+ * **eval:** 3-agent comparison with BK Grep agent and token tracking ([b3045a8](https://github.com/blueraai/bluera-knowledge/commit/b3045a8ae7df7a2e13ecdf992ff4d1055521460b))
33
+ * **eval:** add agent quality eval comparing with-BK vs without-BK answers ([d8c62d8](https://github.com/blueraai/bluera-knowledge/commit/d8c62d804bd10d572049f4f2a01deb30cb00ccf5))
34
+ * **mcp:** add file count estimation and ETA to store creation responses ([3d71a30](https://github.com/blueraai/bluera-knowledge/commit/3d71a307275fa06b9810ed606583f4ec2acc5841))
35
+ * **mcp:** add stores:pull command for git pull + re-index ([7ca809c](https://github.com/blueraai/bluera-knowledge/commit/7ca809c3675be19d9d0e29e71c5f75d4f40fce35))
36
+ * **mcp:** optimize search-to-read workflow with store paths, relatedFiles, find-files intent, and file-based get_full_context ([4eb9be9](https://github.com/blueraai/bluera-knowledge/commit/4eb9be97598e475576603b2b9a565946197986ac))
37
+ * search infrastructure, benchmark framework, and model registry ([285ff2f](https://github.com/blueraai/bluera-knowledge/commit/285ff2f5574c4d53b61b31e84fdec43553364e98))
38
+ * training pipeline, evaluation gate, and experiment docs ([d90b395](https://github.com/blueraai/bluera-knowledge/commit/d90b395a330f4ab09ac6d71db77d659c415aa87d))
39
+
40
+
41
+ ### Bug Fixes
42
+
43
+ * **config:** wire BK_MODEL env var override in ConfigService.load() ([be56426](https://github.com/blueraai/bluera-knowledge/commit/be564263176410c3eb1441bf85c4fdce48ddc7c4))
44
+ * **mcp:** add runtime files to package.json files array and improve bootstrap error on corrupt cache ([e195f93](https://github.com/blueraai/bluera-knowledge/commit/e195f93a4600c65bcd0fcbb45380aaa1d32bb356))
45
+ * **mcp:** prevent browser postinstall from crashing bootstrap ([e27fe02](https://github.com/blueraai/bluera-knowledge/commit/e27fe021bdb34c8ca5b8bf93720a176435e7973c))
46
+
5
47
  ## [0.31.0](https://github.com/blueraai/bluera-knowledge/compare/v0.28.0...v0.31.0) (2026-02-26)
6
48
 
7
49
 
package/NOTICE ADDED
@@ -0,0 +1,47 @@
1
+ Bluera Knowledge
2
+ Copyright (c) 2024-2025 Bluera Inc
3
+
4
+ This product includes software developed by third parties:
5
+
6
+ ---
7
+
8
+ Crawl4AI
9
+ https://github.com/unclecode/crawl4ai
10
+ Licensed under Apache License 2.0
11
+
12
+ This product includes software developed by UncleCode
13
+ (https://x.com/unclecode) as part of the Crawl4AI project
14
+ (https://github.com/unclecode/crawl4ai).
15
+
16
+ ---
17
+
18
+ Playwright
19
+ https://github.com/microsoft/playwright-python
20
+ Licensed under Apache License 2.0
21
+ Copyright (c) Microsoft Corporation
22
+
23
+ ---
24
+
25
+ sharp / libvips
26
+ https://github.com/lovell/sharp
27
+ https://github.com/libvips/libvips
28
+ sharp is licensed under Apache License 2.0
29
+ libvips is licensed under LGPL-3.0-or-later
30
+
31
+ ---
32
+
33
+ @huggingface/transformers
34
+ https://github.com/huggingface/transformers.js
35
+ Licensed under Apache License 2.0
36
+ Copyright (c) Hugging Face
37
+
38
+ ---
39
+
40
+ LanceDB
41
+ https://github.com/lancedb/lancedb
42
+ Licensed under Apache License 2.0
43
+ Copyright (c) LanceDB Inc
44
+
45
+ ---
46
+
47
+ For complete license texts, see the respective project repositories.
package/README.md CHANGED
@@ -334,8 +334,8 @@ This architecture means commands provide a clean user interface while MCP tools
334
334
 
335
335
  | Tool | Purpose |
336
336
  |------|---------|
337
- | `search` | 🔍 Semantic vector search across all stores |
338
- | `get_full_context` | 📖 Retrieve complete code context for a search result |
337
+ | `search` | 🔍 Semantic vector search across all stores (includes store paths for direct file access) |
338
+ | `get_full_context` | 📖 Retrieve complete code context by result ID or file path |
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: