bluera-knowledge 0.19.7 → 0.20.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.
package/dist/index.js CHANGED
@@ -3,11 +3,11 @@ import {
3
3
  ZilAdapter,
4
4
  runMCPServer,
5
5
  spawnBackgroundWorker
6
- } from "./chunk-6BC5OG4M.js";
6
+ } from "./chunk-OZIVRLZE.js";
7
7
  import {
8
8
  IntelligentCrawler,
9
9
  getCrawlStrategy
10
- } from "./chunk-TWX7MN5L.js";
10
+ } from "./chunk-26MBEEKM.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-JPJI3VMA.js";
28
+ } from "./chunk-PZE2MO7H.js";
29
29
  import {
30
30
  createDocumentId
31
31
  } from "./chunk-CLIMKLTW.js";
@@ -149,7 +149,7 @@ function createCrawlCommand(getOptions) {
149
149
  const urlHash = createHash("md5").update(result.url).digest("hex");
150
150
  for (const chunk of chunks) {
151
151
  const chunkId = chunks.length > 1 ? `${store.id}-${urlHash}-${String(chunk.chunkIndex)}` : `${store.id}-${urlHash}`;
152
- const vector = await services.embeddings.embed(chunk.content);
152
+ const vector = await services.embeddings.embedDocument(chunk.content);
153
153
  docs.push({
154
154
  id: createDocumentId(chunkId),
155
155
  content: chunk.content,