openclaw/extensions/memory-lancedb
Mike Nott 068e9085b1 fix(memory-lancedb): improve autoCapture with turn-by-turn processing
Two fixes for autoCapture reliability:

1. Strip injected memory context before capture filtering
   - autoRecall prepends <relevant-memories> to user messages
   - This was causing shouldCapture() to skip all user messages
   - Now strips the context before evaluating capture criteria

2. Process only current turn instead of full history
   - Previously scanned all messages and picked arbitrary 3
   - In long sessions (100+ messages), recent content was missed
   - Now captures only last user + last assistant message
   - Previous turns were already captured when they occurred

These fixes ensure that autoCapture reliably stores each conversation
turn as it happens, rather than missing recent exchanges.
2026-01-28 15:07:24 +00:00
..
clawdbot.plugin.json fix: enforce plugin config schemas (#1272) (thanks @thewilloftheshadow) 2026-01-20 11:03:17 +00:00
config.ts fix: enforce strict config validation 2026-01-19 03:39:25 +00:00
index.test.ts refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
index.ts fix(memory-lancedb): improve autoCapture with turn-by-turn processing 2026-01-28 15:07:24 +00:00
package.json chore: prep 2026.1.27-beta.1 release 2026-01-28 01:35:58 +01:00