memorix 0.7.3 → 0.7.4

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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [0.7.4] — 2026-02-22
6
+
7
+ ### Fixed
8
+ - **Hyphenated concepts not searchable** — Concepts like `project-detection` and `bug-fix` are now normalized to `project detection` and `bug fix` in the search index so Orama's tokenizer can split them into individual searchable terms. Original observation data is preserved unchanged.
9
+
5
10
  ## [0.7.3] — 2026-02-22
6
11
 
7
12
  ### Fixed
package/dist/cli/index.js CHANGED
@@ -1007,7 +1007,7 @@ async function storeObservation(input) {
1007
1007
  narrative: input.narrative,
1008
1008
  facts: (input.facts ?? []).join("\n"),
1009
1009
  filesModified: enrichedFiles.join("\n"),
1010
- concepts: enrichedConcepts.join(", "),
1010
+ concepts: enrichedConcepts.map((c) => c.replace(/-/g, " ")).join(", "),
1011
1011
  tokens,
1012
1012
  createdAt: now,
1013
1013
  projectId: input.projectId,
@@ -1052,7 +1052,7 @@ async function reindexObservations() {
1052
1052
  narrative: obs.narrative,
1053
1053
  facts: obs.facts.join("\n"),
1054
1054
  filesModified: obs.filesModified.join("\n"),
1055
- concepts: obs.concepts.join(", "),
1055
+ concepts: obs.concepts.map((c) => c.replace(/-/g, " ")).join(", "),
1056
1056
  tokens: obs.tokens,
1057
1057
  createdAt: obs.createdAt,
1058
1058
  projectId: obs.projectId,