neuro-vault-mcp 9.0.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 -1
- package/dist/cli.js +209 -115
- 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
|
@@ -143,7 +143,6 @@ interface CreateNoteInput {
|
|
|
143
143
|
name?: string;
|
|
144
144
|
path?: string;
|
|
145
145
|
content?: string;
|
|
146
|
-
template?: string;
|
|
147
146
|
overwrite?: boolean;
|
|
148
147
|
}
|
|
149
148
|
interface CreateNoteResult {
|
|
@@ -220,6 +219,7 @@ interface IVaultEntryDeps {
|
|
|
220
219
|
}) => ListMatchingPaths;
|
|
221
220
|
providerFactory: (opts: {
|
|
222
221
|
vaultName: string;
|
|
222
|
+
vaultRoot: string;
|
|
223
223
|
binaryPath?: string;
|
|
224
224
|
}) => VaultProvider;
|
|
225
225
|
corpusFactory: (opts: {
|
|
@@ -239,11 +239,14 @@ type ExecFn = (binary: string, args: string[], options: {
|
|
|
239
239
|
stdout: string;
|
|
240
240
|
stderr: string;
|
|
241
241
|
}>;
|
|
242
|
+
type FsStat = (absPath: string) => Promise<unknown>;
|
|
242
243
|
interface ObsidianCLIProviderOptions {
|
|
243
244
|
binaryPath?: string;
|
|
244
245
|
vaultName?: string;
|
|
246
|
+
vaultRoot?: string;
|
|
245
247
|
timeoutMs?: number;
|
|
246
248
|
exec?: ExecFn;
|
|
249
|
+
stat?: FsStat;
|
|
247
250
|
}
|
|
248
251
|
|
|
249
252
|
interface IOperationsModuleDeps {
|