openclaw/src/memory
Vincent Koc 35be87b09b
fix(tui): strip inbound metadata blocks from user messages (clean rewrite) (#22345)
* fix(tui): strip inbound metadata blocks from user text

* chore: clean up metadata-strip format and changelog credit

* chore: format tui metadata-strip tests

* test: align metadata-strip regression expectations

* refactor: reuse canonical inbound metadata stripper

* test: allow tmp media fixture paths in media-understanding tests

* refactor: reuse canonical inbound metadata stripper

* format: fix changelog blank line after headings

* test: fix unrelated check typing regressions

* test: align memory async mock embedding signatures

* test: avoid tsgo mock typing pitfall

* test: restore async search mock typings in merge tree

* test: trigger ci rerun without behavior change

* chore: dedupe todays changelog entries

* fix: dedupe sqlite mock keys in qmd manager test

* Update qmd-manager.test.ts

* test: align chat metadata sanitization expectation
2026-02-20 23:52:43 -05:00
..
backend-config.test.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
backend-config.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
batch-error-utils.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
batch-gemini.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
batch-http.ts refactor(memory): share batch create retry 2026-02-15 06:43:20 +00:00
batch-openai.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
batch-output.ts refactor(memory): share batch output parsing 2026-02-14 15:39:45 +00:00
batch-runner.ts refactor(memory): consolidate embeddings and batch helpers 2026-02-17 00:11:02 +00:00
batch-upload.ts refactor(memory): consolidate embeddings and batch helpers 2026-02-17 00:11:02 +00:00
batch-utils.ts refactor(memory): dedupe batch helpers 2026-02-16 00:26:03 +00:00
batch-voyage.test.ts test: dedupe and optimize test suites 2026-02-19 15:19:38 +00:00
batch-voyage.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
embedding-chunk-limits.test.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
embedding-chunk-limits.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
embedding-input-limits.ts (fix): enforce embedding model token limit to prevent overflow (#13455) 2026-02-10 20:10:17 -06:00
embedding-manager.test-harness.ts chore(memory): tighten embedding harness types 2026-02-15 10:30:19 -05:00
embedding-model-limits.ts (fix): enforce embedding model token limit to prevent overflow (#13455) 2026-02-10 20:10:17 -06:00
embedding.test-mocks.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
embeddings-debug.ts refactor(memory): consolidate embeddings and batch helpers 2026-02-17 00:11:02 +00:00
embeddings-gemini.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
embeddings-openai.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
embeddings-remote-client.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
embeddings-remote-fetch.ts refactor(memory): consolidate embeddings and batch helpers 2026-02-17 00:11:02 +00:00
embeddings-voyage.test.ts test(memory): dedupe voyage embedding provider test setup 2026-02-19 07:37:06 +00:00
embeddings-voyage.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
embeddings.test.ts test(memory): dedupe model-auth mock setup 2026-02-18 13:17:44 +00:00
embeddings.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
fs-utils.ts Memory: share ENOENT helpers 2026-02-19 23:33:28 -08:00
headers-fingerprint.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
hybrid.test.ts feat(memory): Add opt-in temporal decay for hybrid search scoring 2026-02-16 23:59:19 +01:00
hybrid.ts feat(memory): Add opt-in temporal decay for hybrid search scoring 2026-02-16 23:59:19 +01:00
index.test.ts chore: Fix types in tests 17/N. 2026-02-17 12:00:29 +09:00
index.ts Add more tests; make fall back more resilient and visible 2026-02-02 23:45:05 -08:00
internal.test.ts Memory: share ENOENT helpers 2026-02-19 23:33:28 -08:00
internal.ts Memory: share ENOENT helpers 2026-02-19 23:33:28 -08:00
manager-cache-key.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
manager-embedding-ops.ts refactor: extract shared install and embedding utilities 2026-02-18 04:49:22 +00:00
manager-search.ts fix: enable FTS fallback when no embedding provider available (#17725) 2026-02-16 23:53:21 +01:00
manager-sync-ops.ts Memory: share ENOENT helpers 2026-02-19 23:33:28 -08:00
manager.async-search.test.ts fix(tui): strip inbound metadata blocks from user messages (clean rewrite) (#22345) 2026-02-20 23:52:43 -05:00
manager.atomic-reindex.test.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
manager.batch.test.ts test: add fetch mock helper and reaction coverage 2026-02-17 09:02:39 -05:00
manager.embedding-batches.test.ts chore: Fix types in tests 36/N. 2026-02-17 15:50:07 +09:00
manager.read-file.test.ts Memory: share ENOENT helpers 2026-02-19 23:33:28 -08:00
manager.sync-errors-do-not-crash.test.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
manager.ts Memory: fix async sync close race 2026-02-20 19:55:11 -08:00
manager.vector-dedupe.test.ts Memory: share ENOENT helpers 2026-02-19 23:33:28 -08:00
manager.watcher-config.test.ts chore: Fix types in tests 36/N. 2026-02-17 15:50:07 +09:00
memory-schema.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
mmr.test.ts test: dedupe empty-input mmr assertions 2026-02-18 23:33:15 +00:00
mmr.ts Memory: fix MMR tie-break and temporal timestamp dedupe 2026-02-16 23:59:19 +01:00
node-llama.ts fix: make node-llama-cpp optional 2026-01-15 18:37:02 +00:00
openai-batch.ts feat(memory): add gemini batches + safe reindex 2026-01-18 16:12:10 +00:00
provider-key.ts chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts. 2026-02-01 10:03:47 +09:00
qmd-manager.test.ts test(memory): avoid stmt mock shape flake by reusing typed busy stmt 2026-02-20 20:43:15 -08:00
qmd-manager.ts Memory/QMD: diversify mixed-source search results 2026-02-20 20:13:24 -08:00
qmd-query-parser.test.ts Memory/QMD: treat prefixed no-results markers as empty 2026-02-14 15:31:52 -08:00
qmd-query-parser.ts Memory/QMD: harden multi-collection search and embed scheduling 2026-02-20 19:41:51 -08:00
qmd-scope.test.ts fix(memory): prevent QMD scope deny bypass 2026-02-15 02:41:45 +00:00
qmd-scope.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
query-expansion.test.ts feat: LLM-based query expansion for FTS mode 2026-02-16 23:53:21 +01:00
query-expansion.ts feat: LLM-based query expansion for FTS mode 2026-02-16 23:53:21 +01:00
search-manager.test.ts test: stabilize infra tests 2026-02-16 22:37:34 -05:00
search-manager.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
session-files.test.ts fix: remap session JSONL chunk line numbers to original source positions (#12102) 2026-02-10 18:09:24 -06:00
session-files.ts fix: remap session JSONL chunk line numbers to original source positions (#12102) 2026-02-10 18:09:24 -06:00
sqlite-vec.ts chore(gate): fix lint and formatting 2026-01-18 06:01:25 +00:00
sqlite.ts fix: improve sqlite missing runtime error 2026-02-15 01:18:53 +01:00
status-format.ts chore: Enable "curly" rule to avoid single-statement if confusion/errors. 2026-01-31 16:19:20 +09:00
sync-index.ts refactor(memory): share sync indexing helper 2026-02-15 01:15:43 +00:00
sync-memory-files.ts Memory: share ENOENT helpers 2026-02-19 23:33:28 -08:00
sync-progress.ts refactor(memory): share sync progress helpers 2026-02-16 00:29:01 +00:00
sync-session-files.ts style: align formatting with oxfmt 0.33 2026-02-18 01:34:35 +00:00
sync-stale.ts refactor(memory): share stale index cleanup 2026-02-14 15:39:46 +00:00
temporal-decay.test.ts feat(memory): Add opt-in temporal decay for hybrid search scoring 2026-02-16 23:59:19 +01:00
temporal-decay.ts Memory: fix MMR tie-break and temporal timestamp dedupe 2026-02-16 23:59:19 +01:00
test-embeddings-mock.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
test-manager-helpers.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
test-manager.ts test: share memory manager bootstrap helper 2026-02-19 14:27:37 +00:00
test-runtime-mocks.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
types.ts Fix build regressions after merge 2026-02-02 23:45:05 -08:00