bluera-knowledge 0.10.1 → 0.11.1
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/.github/workflows/ci.yml +14 -1
- package/CHANGELOG.md +26 -0
- package/README.md +25 -0
- package/dist/{chunk-6U45VP5Z.js → chunk-2WBITQWZ.js} +2 -2
- package/dist/{chunk-DP5XBPQV.js → chunk-565OVW3C.js} +629 -2
- package/dist/chunk-565OVW3C.js.map +1 -0
- package/dist/{chunk-UE4ZIJYA.js → chunk-TRDMYKGC.js} +117 -1
- package/dist/chunk-TRDMYKGC.js.map +1 -0
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/mcp/server.js +2 -2
- package/dist/workers/background-worker-cli.js +2 -2
- package/package.json +1 -1
- package/src/analysis/adapter-registry.test.ts +211 -0
- package/src/analysis/adapter-registry.ts +155 -0
- package/src/analysis/language-adapter.ts +127 -0
- package/src/analysis/parser-factory.test.ts +79 -1
- package/src/analysis/parser-factory.ts +8 -0
- package/src/analysis/zil/index.ts +34 -0
- package/src/analysis/zil/zil-adapter.test.ts +187 -0
- package/src/analysis/zil/zil-adapter.ts +121 -0
- package/src/analysis/zil/zil-lexer.test.ts +222 -0
- package/src/analysis/zil/zil-lexer.ts +239 -0
- package/src/analysis/zil/zil-parser.test.ts +210 -0
- package/src/analysis/zil/zil-parser.ts +360 -0
- package/src/analysis/zil/zil-special-forms.ts +193 -0
- package/src/index.ts +6 -0
- package/src/mcp/server.ts +9 -1
- package/dist/chunk-DP5XBPQV.js.map +0 -1
- package/dist/chunk-UE4ZIJYA.js.map +0 -1
- /package/dist/{chunk-6U45VP5Z.js.map → chunk-2WBITQWZ.js.map} +0 -0
package/.github/workflows/ci.yml
CHANGED
|
@@ -61,10 +61,23 @@ jobs:
|
|
|
61
61
|
restore-keys: |
|
|
62
62
|
pip-${{ runner.os }}-
|
|
63
63
|
|
|
64
|
+
- name: Cache Playwright browsers
|
|
65
|
+
uses: actions/cache@v4
|
|
66
|
+
with:
|
|
67
|
+
path: ~/.cache/ms-playwright
|
|
68
|
+
key: playwright-${{ runner.os }}-chromium
|
|
69
|
+
restore-keys: |
|
|
70
|
+
playwright-${{ runner.os }}-
|
|
71
|
+
|
|
64
72
|
- name: Install crawl4ai
|
|
65
73
|
run: |
|
|
66
74
|
pip install crawl4ai
|
|
67
|
-
|
|
75
|
+
# Only run setup if Playwright not cached (checks for chromium)
|
|
76
|
+
if [ ! -d ~/.cache/ms-playwright/chromium-* ]; then
|
|
77
|
+
crawl4ai-setup
|
|
78
|
+
else
|
|
79
|
+
echo "Playwright browsers already cached, skipping setup"
|
|
80
|
+
fi
|
|
68
81
|
|
|
69
82
|
- name: Setup Bun
|
|
70
83
|
uses: oven-sh/setup-bun@v2
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,32 @@
|
|
|
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.1](https://github.com/blueraai/bluera-knowledge/compare/v0.10.0...v0.11.1) (2026-01-09)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **analysis:** add custom language extensibility framework with ZIL adapter ([c4dc526](https://github.com/blueraai/bluera-knowledge/commit/c4dc526467c70dbc3fb28e7e5d7620a90cc3bf95))
|
|
11
|
+
* **sync:** add git-committable store definitions with sync command ([5cfa925](https://github.com/blueraai/bluera-knowledge/commit/5cfa92580397f193fda75ea61197fb4c9d9d4b0a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **crawl:** handle Claude CLI structured_output wrapper in intelligent crawl ([54ea74b](https://github.com/blueraai/bluera-knowledge/commit/54ea74bca6d4b7263ef11a8290416e0d66b8d37f))
|
|
17
|
+
|
|
18
|
+
## [0.11.0](https://github.com/blueraai/bluera-knowledge/compare/v0.10.0...v0.11.0) (2026-01-09)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **analysis:** add custom language extensibility framework with ZIL adapter ([c4dc526](https://github.com/blueraai/bluera-knowledge/commit/c4dc526467c70dbc3fb28e7e5d7620a90cc3bf95))
|
|
24
|
+
* **sync:** add git-committable store definitions with sync command ([5cfa925](https://github.com/blueraai/bluera-knowledge/commit/5cfa92580397f193fda75ea61197fb4c9d9d4b0a))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
* **crawl:** handle Claude CLI structured_output wrapper in intelligent crawl ([54ea74b](https://github.com/blueraai/bluera-knowledge/commit/54ea74bca6d4b7263ef11a8290416e0d66b8d37f))
|
|
30
|
+
|
|
5
31
|
## [0.10.1](https://github.com/blueraai/bluera-knowledge/compare/v0.10.0...v0.10.1) (2026-01-09)
|
|
6
32
|
|
|
7
33
|
|
package/README.md
CHANGED
|
@@ -267,11 +267,36 @@ While bluera-knowledge indexes and searches code in any language, certain advanc
|
|
|
267
267
|
| **Python** | ✅ Full Support | ✅ Functions & Methods | ✅ Full | ✅ Class Methods |
|
|
268
268
|
| **Rust** | ✅ Full Support | ✅ Functions & Methods | ✅ Full | ✅ Struct/Trait Methods |
|
|
269
269
|
| **Go** | ✅ Full Support | ✅ Functions & Methods | ✅ Full | ✅ Struct/Interface Methods |
|
|
270
|
+
| **ZIL** | ✅ Full Support | ✅ Routines | ✅ INSERT-FILE | ✅ Objects/Rooms |
|
|
270
271
|
| **Other Languages** | ⚠️ Basic Support | ❌ | ❌ | ❌ |
|
|
271
272
|
|
|
272
273
|
> [!NOTE]
|
|
273
274
|
> Code graph features enhance search results by showing usage context (e.g., "this function is called by 15 other functions"), but all languages benefit from vector search and full-text search capabilities.
|
|
274
275
|
|
|
276
|
+
### 🔌 Custom Language Support
|
|
277
|
+
|
|
278
|
+
Bluera Knowledge provides an extensible adapter system for adding full graph support to any language. The built-in ZIL adapter (for Infocom/Zork-era source code) demonstrates this capability.
|
|
279
|
+
|
|
280
|
+
**What adapters provide:**
|
|
281
|
+
- **Smart chunking** - Split files by language constructs (functions, classes, objects)
|
|
282
|
+
- **Symbol extraction** - Parse definitions with signatures and line numbers
|
|
283
|
+
- **Import tracking** - Resolve include/import relationships
|
|
284
|
+
- **Call graph analysis** - Track function calls with special form filtering
|
|
285
|
+
|
|
286
|
+
**Built-in adapters:**
|
|
287
|
+
| Language | Extensions | Symbols | Imports |
|
|
288
|
+
|----------|------------|---------|---------|
|
|
289
|
+
| ZIL | `.zil`, `.mud` | ROUTINE, OBJECT, ROOM, GLOBAL, CONSTANT | INSERT-FILE |
|
|
290
|
+
|
|
291
|
+
**Example - ZIL indexing:**
|
|
292
|
+
```bash
|
|
293
|
+
# Index a Zork source repository
|
|
294
|
+
bluera-knowledge store create zork1 --type repo --source https://github.com/historicalsource/zork1
|
|
295
|
+
|
|
296
|
+
# Search for routines
|
|
297
|
+
bluera-knowledge search "V-LOOK routine" --stores zork1
|
|
298
|
+
```
|
|
299
|
+
|
|
275
300
|
---
|
|
276
301
|
|
|
277
302
|
## 🎯 How It Works
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createLogger,
|
|
4
4
|
summarizePayload,
|
|
5
5
|
truncateForLog
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TRDMYKGC.js";
|
|
7
7
|
|
|
8
8
|
// src/crawl/intelligent-crawler.ts
|
|
9
9
|
import { EventEmitter } from "events";
|
|
@@ -801,4 +801,4 @@ var IntelligentCrawler = class extends EventEmitter {
|
|
|
801
801
|
export {
|
|
802
802
|
IntelligentCrawler
|
|
803
803
|
};
|
|
804
|
-
//# sourceMappingURL=chunk-
|
|
804
|
+
//# sourceMappingURL=chunk-2WBITQWZ.js.map
|