fix(eve): scope forget, persist capture idempotency, and fail closed
Review findings: delete was not partitioned by scope.key, capture replay after restart could double-write, and Mem0 errors were swallowed as empty recall. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
1d83bb0835
commit
10d6717068
@@ -20,6 +20,10 @@ describe("extractText", () => {
|
||||
).toBe("I like\ntea");
|
||||
});
|
||||
|
||||
it("reads a single text object", () => {
|
||||
expect(extractText({ type: "text", text: " solo " })).toBe("solo");
|
||||
});
|
||||
|
||||
it("ignores non-text parts", () => {
|
||||
expect(extractText([{ type: "image", url: "x" }])).toBe("");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user