memorix 0.7.3 → 0.7.5

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/index.js CHANGED
@@ -2112,7 +2112,7 @@ async function storeObservation(input) {
2112
2112
  narrative: input.narrative,
2113
2113
  facts: (input.facts ?? []).join("\n"),
2114
2114
  filesModified: enrichedFiles.join("\n"),
2115
- concepts: enrichedConcepts.join(", "),
2115
+ concepts: enrichedConcepts.map((c) => c.replace(/-/g, " ")).join(", "),
2116
2116
  tokens,
2117
2117
  createdAt: now,
2118
2118
  projectId: input.projectId,
@@ -2151,7 +2151,7 @@ async function reindexObservations() {
2151
2151
  narrative: obs.narrative,
2152
2152
  facts: obs.facts.join("\n"),
2153
2153
  filesModified: obs.filesModified.join("\n"),
2154
- concepts: obs.concepts.join(", "),
2154
+ concepts: obs.concepts.map((c) => c.replace(/-/g, " ")).join(", "),
2155
2155
  tokens: obs.tokens,
2156
2156
  createdAt: obs.createdAt,
2157
2157
  projectId: obs.projectId,