@openclaw/memory-lancedb 2026.5.19-beta.2 → 2026.5.20-beta.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/dist/test-helpers.js +2 -9
- package/package.json +5 -5
package/dist/test-helpers.js
CHANGED
|
@@ -2149,10 +2149,6 @@ function splitByComma(s) {
|
|
|
2149
2149
|
if (lastToken) result.push(lastToken);
|
|
2150
2150
|
return result;
|
|
2151
2151
|
}
|
|
2152
|
-
let _test;
|
|
2153
|
-
function getCurrentTest() {
|
|
2154
|
-
return _test;
|
|
2155
|
-
}
|
|
2156
2152
|
const kChainableContext = Symbol("kChainableContext");
|
|
2157
2153
|
function getChainableContext(chainable) {
|
|
2158
2154
|
return chainable?.[kChainableContext];
|
|
@@ -2456,7 +2452,6 @@ function createTaskName(names, separator = " > ") {
|
|
|
2456
2452
|
*/
|
|
2457
2453
|
const suite = createSuite();
|
|
2458
2454
|
createTest(function(name, optionsOrFn, optionsOrTest) {
|
|
2459
|
-
if (getCurrentTest()) throw new Error("Calling the test function inside another test function is not allowed. Please put it inside \"describe\" or \"suite\" so it can be properly collected.");
|
|
2460
2455
|
getCurrentSuite().test.fn.call(this, formatName(name), optionsOrFn, optionsOrTest);
|
|
2461
2456
|
});
|
|
2462
2457
|
let runner;
|
|
@@ -2472,7 +2467,6 @@ function assert(condition, message) {
|
|
|
2472
2467
|
}
|
|
2473
2468
|
function getRunner() {
|
|
2474
2469
|
assert(runner, "the runner");
|
|
2475
|
-
return runner;
|
|
2476
2470
|
}
|
|
2477
2471
|
function getCurrentSuite() {
|
|
2478
2472
|
const currentSuite = collectorContext.currentSuite || defaultSuite;
|
|
@@ -2662,7 +2656,6 @@ function withAwaitAsyncAssertions(fn, task) {
|
|
|
2662
2656
|
}
|
|
2663
2657
|
function createSuite() {
|
|
2664
2658
|
function suiteFn(name, factoryOrOptions, optionsOrFactory) {
|
|
2665
|
-
if (getCurrentTest()) throw new Error("Calling the suite function inside test function is not allowed. It can be only called at the top level or inside another suite function.");
|
|
2666
2659
|
const currentSuite = collectorContext.currentSuite || defaultSuite;
|
|
2667
2660
|
let { options, handler: factory } = parseArguments(factoryOrOptions, optionsOrFactory);
|
|
2668
2661
|
const isConcurrentSpecified = options.concurrent || this.concurrent || options.sequential === false;
|
|
@@ -2672,7 +2665,7 @@ function createSuite() {
|
|
|
2672
2665
|
...parentOptions,
|
|
2673
2666
|
...options
|
|
2674
2667
|
};
|
|
2675
|
-
const shuffle = this.shuffle ?? options.shuffle ?? currentSuite?.options?.shuffle ??
|
|
2668
|
+
const shuffle = this.shuffle ?? options.shuffle ?? currentSuite?.options?.shuffle ?? void 0;
|
|
2676
2669
|
if (shuffle != null) options.shuffle = shuffle;
|
|
2677
2670
|
let mode = this.only ?? options.only ? "only" : this.skip ?? options.skip ? "skip" : this.todo ?? options.todo ? "todo" : "run";
|
|
2678
2671
|
if (mode === "run" && !factory) mode = "todo";
|
|
@@ -2864,7 +2857,7 @@ function formatTitle(template, items, idx) {
|
|
|
2864
2857
|
const isArrayKey = /^\d+$/.test(key);
|
|
2865
2858
|
if (!isObjectItem && !isArrayKey) return `$${key}`;
|
|
2866
2859
|
const arrayElement = isArrayKey ? objectAttr(items, key) : void 0;
|
|
2867
|
-
return objDisplay(isObjectItem ? objectAttr(items[0], key, arrayElement) : arrayElement, { truncate:
|
|
2860
|
+
return objDisplay(isObjectItem ? objectAttr(items[0], key, arrayElement) : arrayElement, { truncate: void 0 });
|
|
2868
2861
|
});
|
|
2869
2862
|
}
|
|
2870
2863
|
let output = "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/memory-lancedb",
|
|
3
|
-
"version": "2026.5.
|
|
3
|
+
"version": "2026.5.20-beta.1",
|
|
4
4
|
"description": "OpenClaw LanceDB-backed long-term memory plugin with auto-recall/capture",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@lancedb/lancedb": "0.27.2",
|
|
12
12
|
"apache-arrow": "18.1.0",
|
|
13
|
-
"openai": "6.
|
|
13
|
+
"openai": "6.38.0",
|
|
14
14
|
"typebox": "1.1.38"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"minHostVersion": ">=2026.4.10"
|
|
27
27
|
},
|
|
28
28
|
"compat": {
|
|
29
|
-
"pluginApi": ">=2026.5.
|
|
29
|
+
"pluginApi": ">=2026.5.20-beta.1"
|
|
30
30
|
},
|
|
31
31
|
"build": {
|
|
32
|
-
"openclawVersion": "2026.5.
|
|
32
|
+
"openclawVersion": "2026.5.20-beta.1"
|
|
33
33
|
},
|
|
34
34
|
"release": {
|
|
35
35
|
"publishToClawHub": true,
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"openclaw.plugin.json"
|
|
45
45
|
],
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"openclaw": ">=2026.5.
|
|
47
|
+
"openclaw": ">=2026.5.20-beta.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependenciesMeta": {
|
|
50
50
|
"openclaw": {
|