lemma-mcp 0.10.0 → 0.10.1
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/memory/core.js +2 -2
- package/package.json +1 -1
package/dist/memory/core.js
CHANGED
|
@@ -69,7 +69,7 @@ export function createFragment(fragment, source, title = null, project = null, d
|
|
|
69
69
|
related_guides: [],
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
|
-
export async function findSimilarFragment(fragments, fragmentText, project, threshold = 0.
|
|
72
|
+
export async function findSimilarFragment(fragments, fragmentText, project, threshold = 0.80) {
|
|
73
73
|
const scopedFragments = filterByProject(fragments, project);
|
|
74
74
|
if (scopedFragments.length === 0)
|
|
75
75
|
return null;
|
|
@@ -672,7 +672,7 @@ export function migrateConfidenceFloor() {
|
|
|
672
672
|
logger.flow("migration", "migrated", { count: migrated });
|
|
673
673
|
return migrated;
|
|
674
674
|
}
|
|
675
|
-
export function findSimilarByText(text, project, threshold = 0.
|
|
675
|
+
export function findSimilarByText(text, project, threshold = 0.80) {
|
|
676
676
|
try {
|
|
677
677
|
const db = getDb();
|
|
678
678
|
const ftsQuery = text
|