bluera-knowledge 0.19.6 → 0.19.7
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/CHANGELOG.md +13 -0
- package/dist/{chunk-VR5EDQTX.js → chunk-6BC5OG4M.js} +2 -2
- package/dist/{chunk-T7MENUKF.js → chunk-JPJI3VMA.js} +56 -11
- package/dist/{chunk-T7MENUKF.js.map → chunk-JPJI3VMA.js.map} +1 -1
- package/dist/{chunk-JJYYK726.js → chunk-TWX7MN5L.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/mcp/server.d.ts +11 -0
- package/dist/mcp/server.js +2 -2
- package/dist/workers/background-worker-cli.js +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-VR5EDQTX.js.map → chunk-6BC5OG4M.js.map} +0 -0
- /package/dist/{chunk-JJYYK726.js.map → chunk-TWX7MN5L.js.map} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createLogger,
|
|
3
3
|
summarizePayload,
|
|
4
4
|
truncateForLog
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JPJI3VMA.js";
|
|
6
6
|
|
|
7
7
|
// src/crawl/intelligent-crawler.ts
|
|
8
8
|
import { EventEmitter } from "events";
|
|
@@ -916,4 +916,4 @@ export {
|
|
|
916
916
|
getCrawlStrategy,
|
|
917
917
|
IntelligentCrawler
|
|
918
918
|
};
|
|
919
|
-
//# sourceMappingURL=chunk-
|
|
919
|
+
//# sourceMappingURL=chunk-TWX7MN5L.js.map
|
package/dist/index.js
CHANGED
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
ZilAdapter,
|
|
4
4
|
runMCPServer,
|
|
5
5
|
spawnBackgroundWorker
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6BC5OG4M.js";
|
|
7
7
|
import {
|
|
8
8
|
IntelligentCrawler,
|
|
9
9
|
getCrawlStrategy
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TWX7MN5L.js";
|
|
11
11
|
import {
|
|
12
12
|
ASTParser,
|
|
13
13
|
AdapterRegistry,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
isRepoStoreDefinition,
|
|
26
26
|
isWebStoreDefinition,
|
|
27
27
|
ok
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-JPJI3VMA.js";
|
|
29
29
|
import {
|
|
30
30
|
createDocumentId
|
|
31
31
|
} from "./chunk-CLIMKLTW.js";
|
package/dist/mcp/server.d.ts
CHANGED
|
@@ -340,10 +340,20 @@ declare class ManifestService {
|
|
|
340
340
|
|
|
341
341
|
declare class EmbeddingEngine {
|
|
342
342
|
private extractor;
|
|
343
|
+
private initPromise;
|
|
343
344
|
private _dimensions;
|
|
345
|
+
private disposed;
|
|
344
346
|
private readonly modelName;
|
|
345
347
|
private readonly batchSize;
|
|
346
348
|
constructor(modelName?: string, batchSize?: number);
|
|
349
|
+
/**
|
|
350
|
+
* Guard against use-after-dispose
|
|
351
|
+
*/
|
|
352
|
+
private assertNotDisposed;
|
|
353
|
+
/**
|
|
354
|
+
* Initialize the embedding pipeline (concurrency-safe).
|
|
355
|
+
* Multiple concurrent calls will share the same initialization promise.
|
|
356
|
+
*/
|
|
347
357
|
initialize(): Promise<void>;
|
|
348
358
|
embed(text: string): Promise<number[]>;
|
|
349
359
|
embedBatch(texts: string[]): Promise<number[][]>;
|
|
@@ -360,6 +370,7 @@ declare class EmbeddingEngine {
|
|
|
360
370
|
/**
|
|
361
371
|
* Dispose the embedding pipeline to free resources.
|
|
362
372
|
* Should be called before process exit to prevent ONNX runtime cleanup issues on macOS.
|
|
373
|
+
* After disposal, this engine cannot be used again.
|
|
363
374
|
*/
|
|
364
375
|
dispose(): Promise<void>;
|
|
365
376
|
}
|
package/dist/mcp/server.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createMCPServer,
|
|
3
3
|
runMCPServer
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-6BC5OG4M.js";
|
|
5
|
+
import "../chunk-JPJI3VMA.js";
|
|
6
6
|
import "../chunk-CLIMKLTW.js";
|
|
7
7
|
import "../chunk-HXBIIMYL.js";
|
|
8
8
|
import "../chunk-DGUM43GV.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
IntelligentCrawler
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-TWX7MN5L.js";
|
|
5
5
|
import {
|
|
6
6
|
JobService,
|
|
7
7
|
createLogger,
|
|
8
8
|
createServices,
|
|
9
9
|
destroyServices,
|
|
10
10
|
shutdownLogger
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-JPJI3VMA.js";
|
|
12
12
|
import {
|
|
13
13
|
createDocumentId,
|
|
14
14
|
createStoreId
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|