@larkup/vector-stores 0.1.22 → 0.1.23

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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @larkup/vector-stores
2
2
 
3
+ ## 0.1.23
4
+
5
+ ### Patch Changes
6
+
7
+ - 197c629: fix: Docker compatibility, AI agent tool priority, and indexing reliability
8
+
9
+ - Fix yt-dlp "No supported JavaScript runtime" error in Docker by passing --js-runtimes nodejs:node
10
+ - Fix LanceDB "Found field not in schema: metadata" by always serializing metadata column
11
+ - Speed up Marketplace tool installs in Docker with --prefer-offline
12
+ - Enforce RAG-first tool priority: searchKnowledgeBase → webSearch → other tools
13
+ - Instruct AI to use presentMedia for image previews instead of raw markdown (fixes [Image unavailable])
14
+ - Strengthen webSearch tool description to enforce secondary priority
15
+
3
16
  ## 0.1.22
4
17
 
5
18
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@larkup/vector-stores",
3
- "version": "0.1.22",
3
+ "version": "0.1.23",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -158,7 +158,7 @@ export class LanceDBAdapter implements VectorStoreAdapter {
158
158
  source: r.source,
159
159
  documentId: r.documentId,
160
160
  chunkIndex: r.chunkIndex,
161
- metadata: r.metadata ? JSON.stringify(r.metadata) : undefined,
161
+ metadata: JSON.stringify(r.metadata ?? {}),
162
162
  };
163
163
  }
164
164