context-vault 2.8.9 → 2.8.10
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/bin/cli.js
CHANGED
|
@@ -649,14 +649,14 @@ async function configureClaude(tool, vaultDir) {
|
|
|
649
649
|
const cmdArgs = [`"${launcherPath}"`];
|
|
650
650
|
if (vaultDir) cmdArgs.push("--vault-dir", `"${vaultDir}"`);
|
|
651
651
|
execSync(
|
|
652
|
-
`claude mcp add -s user context-vault --
|
|
652
|
+
`claude mcp add -s user context-vault -- ${process.execPath} ${cmdArgs.join(" ")}`,
|
|
653
653
|
{ stdio: "pipe", env },
|
|
654
654
|
);
|
|
655
655
|
} else {
|
|
656
656
|
const cmdArgs = [`"${SERVER_PATH}"`];
|
|
657
657
|
if (vaultDir) cmdArgs.push("--vault-dir", `"${vaultDir}"`);
|
|
658
658
|
execSync(
|
|
659
|
-
`claude mcp add -s user context-vault --
|
|
659
|
+
`claude mcp add -s user context-vault -- ${process.execPath} ${cmdArgs.join(" ")}`,
|
|
660
660
|
{ stdio: "pipe", env },
|
|
661
661
|
);
|
|
662
662
|
}
|
|
@@ -687,15 +687,21 @@ async function configureCodex(tool, vaultDir) {
|
|
|
687
687
|
const launcherPath = join(HOME, ".context-mcp", "server.mjs");
|
|
688
688
|
const cmdArgs = [`"${launcherPath}"`];
|
|
689
689
|
if (vaultDir) cmdArgs.push("--vault-dir", `"${vaultDir}"`);
|
|
690
|
-
execSync(
|
|
691
|
-
|
|
692
|
-
|
|
690
|
+
execSync(
|
|
691
|
+
`codex mcp add context-vault -- ${process.execPath} ${cmdArgs.join(" ")}`,
|
|
692
|
+
{
|
|
693
|
+
stdio: "pipe",
|
|
694
|
+
},
|
|
695
|
+
);
|
|
693
696
|
} else {
|
|
694
697
|
const cmdArgs = [`"${SERVER_PATH}"`];
|
|
695
698
|
if (vaultDir) cmdArgs.push("--vault-dir", `"${vaultDir}"`);
|
|
696
|
-
execSync(
|
|
697
|
-
|
|
698
|
-
|
|
699
|
+
execSync(
|
|
700
|
+
`codex mcp add context-vault -- ${process.execPath} ${cmdArgs.join(" ")}`,
|
|
701
|
+
{
|
|
702
|
+
stdio: "pipe",
|
|
703
|
+
},
|
|
704
|
+
);
|
|
699
705
|
}
|
|
700
706
|
} catch (e) {
|
|
701
707
|
const stderr = e.stderr?.toString().trim();
|
|
@@ -742,14 +748,14 @@ function configureJsonTool(tool, vaultDir) {
|
|
|
742
748
|
const serverArgs = [];
|
|
743
749
|
if (vaultDir) serverArgs.push("--vault-dir", vaultDir);
|
|
744
750
|
config[tool.configKey]["context-vault"] = {
|
|
745
|
-
command:
|
|
751
|
+
command: process.execPath,
|
|
746
752
|
args: [launcherPath, ...serverArgs],
|
|
747
753
|
};
|
|
748
754
|
} else {
|
|
749
755
|
const serverArgs = [SERVER_PATH];
|
|
750
756
|
if (vaultDir) serverArgs.push("--vault-dir", vaultDir);
|
|
751
757
|
config[tool.configKey]["context-vault"] = {
|
|
752
|
-
command:
|
|
758
|
+
command: process.execPath,
|
|
753
759
|
args: serverArgs,
|
|
754
760
|
};
|
|
755
761
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "context-vault",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Persistent memory for AI agents — saves and searches knowledge across sessions",
|
|
6
6
|
"bin": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@context-vault/core"
|
|
56
56
|
],
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@context-vault/core": "^2.8.
|
|
58
|
+
"@context-vault/core": "^2.8.10",
|
|
59
59
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
60
60
|
"better-sqlite3": "^12.6.2",
|
|
61
61
|
"sqlite-vec": "^0.1.0"
|