neuro-vault-mcp 5.0.0 → 5.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 +2 -2
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -16311,7 +16311,7 @@ async function resolveToPath(input, reader) {
|
|
|
16311
16311
|
if (matches.length > 1) {
|
|
16312
16312
|
throw new ToolHandlerError(
|
|
16313
16313
|
"AMBIGUOUS_MATCH",
|
|
16314
|
-
`Multiple notes match name '${name}'; pass an explicit path`,
|
|
16314
|
+
`Multiple notes match name '${name}': ${matches.join(", ")}; pass an explicit path`,
|
|
16315
16315
|
{ details: { name, matches } }
|
|
16316
16316
|
);
|
|
16317
16317
|
}
|
|
@@ -16595,7 +16595,7 @@ var FsVaultWriter = class {
|
|
|
16595
16595
|
}
|
|
16596
16596
|
throw new ToolHandlerError(
|
|
16597
16597
|
"AMBIGUOUS_MATCH",
|
|
16598
|
-
`Find text matched ${result.lines.length} times in ${input.path};
|
|
16598
|
+
`Find text matched ${result.lines.length} times in ${input.path} at lines ${result.lines.join(", ")}; make 'replace' more specific (extend the anchor with surrounding text) or omit it to rewrite the whole body`,
|
|
16599
16599
|
{ details: { path: input.path, matches: result.lines } }
|
|
16600
16600
|
);
|
|
16601
16601
|
}
|