memory-lancedb-pro 1.0.14 → 1.0.15

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,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.15
4
+
5
+ - Docs: add troubleshooting note for LanceDB/Arrow returning `BigInt` numeric columns, and confirm the plugin coerces numeric fields via `Number(...)` for compatibility.
6
+
7
+ ## 1.0.14
8
+
9
+ - Fix: coerce LanceDB/Arrow numeric columns that may arrive as `BigInt` (`timestamp`, `importance`, `_distance`, `_score`) into `Number(...)` to avoid runtime errors like "Cannot mix BigInt and other types" on LanceDB 0.26+.
10
+
3
11
  ## 1.0.13
4
12
 
5
13
  - Fix: Force `encoding_format: "float"` for OpenAI-compatible embedding requests to avoid base64/float ambiguity and dimension mismatch issues with some providers/gateways.
package/README.md CHANGED
@@ -698,6 +698,16 @@ LanceDB table `memories`:
698
698
 
699
699
  ---
700
700
 
701
+ ## Troubleshooting
702
+
703
+ ### "Cannot mix BigInt and other types" (LanceDB / Apache Arrow)
704
+
705
+ On LanceDB 0.26+ (via Apache Arrow), some numeric columns may be returned as `BigInt` at runtime (commonly: `timestamp`, `importance`, `_distance`, `_score`). If you see errors like:
706
+
707
+ - `TypeError: Cannot mix BigInt and other types, use explicit conversions`
708
+
709
+ upgrade to **memory-lancedb-pro >= 1.0.14**. This plugin now coerces these values using `Number(...)` before doing arithmetic (for example, when computing scores or sorting by timestamp).
710
+
701
711
  ## Dependencies
702
712
 
703
713
  | Package | Purpose |
package/README_CN.md CHANGED
@@ -573,6 +573,16 @@ LanceDB 表 `memories`:
573
573
 
574
574
  ---
575
575
 
576
+ ## 常见问题 / 排错
577
+
578
+ ### "Cannot mix BigInt and other types"(LanceDB / Apache Arrow)
579
+
580
+ 在 LanceDB 0.26+(底层 Apache Arrow)中,部分数值列在运行时可能会以 `BigInt` 的形式返回(常见:`timestamp`、`importance`、`_distance`、`_score`)。如果你遇到类似报错:
581
+
582
+ - `TypeError: Cannot mix BigInt and other types, use explicit conversions`
583
+
584
+ 请升级到 **memory-lancedb-pro >= 1.0.14**。插件已对这些字段统一做 `Number(...)` 转换后再参与运算(例如:计算分数、按时间排序)。
585
+
576
586
  ## 依赖
577
587
 
578
588
  | 包 | 用途 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memory-lancedb-pro",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "OpenClaw enhanced LanceDB memory plugin with hybrid retrieval (Vector + BM25), cross-encoder rerank, multi-scope isolation, and management CLI",
5
5
  "type": "module",
6
6
  "main": "index.ts",