claudemesh-cli 1.0.0-alpha.22 → 1.0.0-alpha.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/dist/entrypoints/cli.js
CHANGED
|
@@ -6593,25 +6593,18 @@ async function runTest() {
|
|
|
6593
6593
|
});
|
|
6594
6594
|
let memoryId = null;
|
|
6595
6595
|
await run("remember", async () => {
|
|
6596
|
-
memoryId = await client.remember("test
|
|
6596
|
+
memoryId = await client.remember("integration test battery memory probe", ["test", "e2e"]);
|
|
6597
6597
|
if (!memoryId)
|
|
6598
6598
|
throw new Error("no memory ID returned");
|
|
6599
6599
|
return `stored (${memoryId.slice(0, 8)}…)`;
|
|
6600
6600
|
});
|
|
6601
|
-
{
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
if (recallOk) {
|
|
6609
|
-
console.log(` ${green(icons.check)} ${"recall".padEnd(18)} ${dim("memory found")}`);
|
|
6610
|
-
results.push({ name: "recall", ok: true, detail: "found", ms: 0 });
|
|
6611
|
-
} else {
|
|
6612
|
-
console.log(` ${yellow(icons.warn)} ${"recall".padEnd(18)} ${dim("skipped (new mesh — Qdrant collection not ready)")}`);
|
|
6613
|
-
}
|
|
6614
|
-
}
|
|
6601
|
+
await run("recall", async () => {
|
|
6602
|
+
await new Promise((r) => setTimeout(r, 500));
|
|
6603
|
+
const memories = await client.recall("integration test battery");
|
|
6604
|
+
if (memories.length === 0)
|
|
6605
|
+
throw new Error("no memories found");
|
|
6606
|
+
return `${memories.length} result(s)`;
|
|
6607
|
+
});
|
|
6615
6608
|
const stateVal = "test-value-" + Date.now();
|
|
6616
6609
|
await run("state set", async () => {
|
|
6617
6610
|
await client.setState("test-e2e-key", stateVal);
|
|
@@ -10255,4 +10248,4 @@ main().catch((err) => {
|
|
|
10255
10248
|
process.exit(EXIT.INTERNAL_ERROR);
|
|
10256
10249
|
});
|
|
10257
10250
|
|
|
10258
|
-
//# debugId=
|
|
10251
|
+
//# debugId=B7FAE005EC6978EE64756E2164756E21
|