neuro-vault-mcp 4.0.0 → 4.0.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/cli.js +1 -4
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -15122,7 +15122,6 @@ function buildFindDuplicatesTool(deps) {
|
|
|
15122
15122
|
// src/modules/semantic/tools/get-similar-notes.ts
|
|
15123
15123
|
var DEFAULT_LIMIT2 = 10;
|
|
15124
15124
|
var DEFAULT_THRESHOLD = 0.5;
|
|
15125
|
-
var DEFAULT_EXCLUDE_FOLDERS = ["Templates", "System", "Daily", "Archive"];
|
|
15126
15125
|
var inputSchema2 = external_exports.object({
|
|
15127
15126
|
path: external_exports.string(),
|
|
15128
15127
|
limit: external_exports.number().int().positive().optional(),
|
|
@@ -15229,9 +15228,7 @@ function buildGetSimilarNotesTool(deps) {
|
|
|
15229
15228
|
}
|
|
15230
15229
|
const limit = readPositiveInteger(input.limit, DEFAULT_LIMIT2, "limit");
|
|
15231
15230
|
const threshold = readThreshold(input.threshold, DEFAULT_THRESHOLD, "threshold");
|
|
15232
|
-
const excludePrefixes = (input.exclude_folders ??
|
|
15233
|
-
normalizeExcludeEntry
|
|
15234
|
-
);
|
|
15231
|
+
const excludePrefixes = (input.exclude_folders ?? []).map(normalizeExcludeEntry);
|
|
15235
15232
|
try {
|
|
15236
15233
|
const candidates = collectSemanticCandidates({
|
|
15237
15234
|
searchEngine,
|