neuro-vault-mcp 8.2.0 → 10.0.0
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/README.md +2 -0
- package/dist/cli.d.ts +4 -2
- package/dist/cli.js +362 -272
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -112,6 +112,8 @@ Add to your MCP client config (here: Claude Code's `~/.claude/settings.json`):
|
|
|
112
112
|
}
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
+
> **Vault directory names** must match `^[a-zA-Z0-9_-]{1,64}$` — ASCII letters, digits, `_`, or `-`; 1–64 chars. Spaces and Unicode are rejected. The MCP-side alias is the directory basename, so if Obsidian shows the vault as "My Vault", the directory itself must be `My_Vault` or similar.
|
|
116
|
+
|
|
115
117
|
### 🗂 Multi-vault — two vaults, one server
|
|
116
118
|
|
|
117
119
|
Pass `--vault` once per vault:
|
package/dist/cli.d.ts
CHANGED
|
@@ -88,7 +88,6 @@ interface BlockSearchResult {
|
|
|
88
88
|
interface SearchResult {
|
|
89
89
|
path: string;
|
|
90
90
|
similarity: number;
|
|
91
|
-
via_expansion?: true;
|
|
92
91
|
}
|
|
93
92
|
interface DuplicatePair {
|
|
94
93
|
note_a: string;
|
|
@@ -144,7 +143,6 @@ interface CreateNoteInput {
|
|
|
144
143
|
name?: string;
|
|
145
144
|
path?: string;
|
|
146
145
|
content?: string;
|
|
147
|
-
template?: string;
|
|
148
146
|
overwrite?: boolean;
|
|
149
147
|
}
|
|
150
148
|
interface CreateNoteResult {
|
|
@@ -221,6 +219,7 @@ interface IVaultEntryDeps {
|
|
|
221
219
|
}) => ListMatchingPaths;
|
|
222
220
|
providerFactory: (opts: {
|
|
223
221
|
vaultName: string;
|
|
222
|
+
vaultRoot: string;
|
|
224
223
|
binaryPath?: string;
|
|
225
224
|
}) => VaultProvider;
|
|
226
225
|
corpusFactory: (opts: {
|
|
@@ -240,11 +239,14 @@ type ExecFn = (binary: string, args: string[], options: {
|
|
|
240
239
|
stdout: string;
|
|
241
240
|
stderr: string;
|
|
242
241
|
}>;
|
|
242
|
+
type FsStat = (absPath: string) => Promise<unknown>;
|
|
243
243
|
interface ObsidianCLIProviderOptions {
|
|
244
244
|
binaryPath?: string;
|
|
245
245
|
vaultName?: string;
|
|
246
|
+
vaultRoot?: string;
|
|
246
247
|
timeoutMs?: number;
|
|
247
248
|
exec?: ExecFn;
|
|
249
|
+
stat?: FsStat;
|
|
248
250
|
}
|
|
249
251
|
|
|
250
252
|
interface IOperationsModuleDeps {
|