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/dist/index.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
StoreDefinitionService,
|
|
4
|
+
ZilAdapter,
|
|
4
5
|
isFileStoreDefinition,
|
|
5
6
|
isRepoStoreDefinition,
|
|
6
7
|
isWebStoreDefinition,
|
|
7
8
|
runMCPServer
|
|
8
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-565OVW3C.js";
|
|
9
10
|
import {
|
|
10
11
|
IntelligentCrawler
|
|
11
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2WBITQWZ.js";
|
|
12
13
|
import {
|
|
13
14
|
ASTParser,
|
|
15
|
+
AdapterRegistry,
|
|
14
16
|
ChunkingService,
|
|
15
17
|
classifyWebContentType,
|
|
16
18
|
createDocumentId,
|
|
@@ -20,7 +22,7 @@ import {
|
|
|
20
22
|
err,
|
|
21
23
|
extractRepoName,
|
|
22
24
|
ok
|
|
23
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TRDMYKGC.js";
|
|
24
26
|
import "./chunk-6FHWC36B.js";
|
|
25
27
|
|
|
26
28
|
// src/index.ts
|
|
@@ -1770,6 +1772,8 @@ function getGlobalOptions(program2) {
|
|
|
1770
1772
|
}
|
|
1771
1773
|
|
|
1772
1774
|
// src/index.ts
|
|
1775
|
+
var registry = AdapterRegistry.getInstance();
|
|
1776
|
+
registry.register(new ZilAdapter());
|
|
1773
1777
|
var DEFAULT_DATA_DIR = join4(homedir2(), ".bluera", "bluera-knowledge", "data");
|
|
1774
1778
|
var DEFAULT_CONFIG = join4(homedir2(), ".bluera", "bluera-knowledge", "config.json");
|
|
1775
1779
|
var DEFAULT_REPOS_DIR2 = join4(homedir2(), ".bluera", "bluera-knowledge", "repos");
|