mindgraph-mcp 0.13.3 → 0.13.4
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 +10 -8
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1827,7 +1827,7 @@ Capture knowledge when the user shares something worth remembering:
|
|
|
1827
1827
|
server = new import_server.Server(
|
|
1828
1828
|
{
|
|
1829
1829
|
name: "mindgraph",
|
|
1830
|
-
version: "0.13.
|
|
1830
|
+
version: "0.13.4"
|
|
1831
1831
|
},
|
|
1832
1832
|
{
|
|
1833
1833
|
capabilities: {
|
|
@@ -2283,9 +2283,9 @@ function installClaudeCode(apiKey, baseUrl) {
|
|
|
2283
2283
|
envArgs.push("--env", `MINDGRAPH_BASE_URL=${baseUrl}`);
|
|
2284
2284
|
}
|
|
2285
2285
|
try {
|
|
2286
|
-
(0, import_child_process.
|
|
2286
|
+
(0, import_child_process.execFileSync)(
|
|
2287
|
+
"claude",
|
|
2287
2288
|
[
|
|
2288
|
-
"claude",
|
|
2289
2289
|
"mcp",
|
|
2290
2290
|
"add",
|
|
2291
2291
|
"mindgraph",
|
|
@@ -2294,7 +2294,7 @@ function installClaudeCode(apiKey, baseUrl) {
|
|
|
2294
2294
|
"npx",
|
|
2295
2295
|
"-y",
|
|
2296
2296
|
"mindgraph-mcp@latest"
|
|
2297
|
-
]
|
|
2297
|
+
],
|
|
2298
2298
|
{ stdio: "inherit" }
|
|
2299
2299
|
);
|
|
2300
2300
|
console.log("Added MindGraph MCP server to Claude Code.");
|
|
@@ -2325,7 +2325,9 @@ function uninstallClaudeDesktop() {
|
|
|
2325
2325
|
}
|
|
2326
2326
|
function uninstallClaudeCode() {
|
|
2327
2327
|
try {
|
|
2328
|
-
(0, import_child_process.
|
|
2328
|
+
(0, import_child_process.execFileSync)("claude", ["mcp", "remove", "mindgraph"], {
|
|
2329
|
+
stdio: "inherit"
|
|
2330
|
+
});
|
|
2329
2331
|
console.log("Removed MindGraph MCP server from Claude Code.");
|
|
2330
2332
|
} catch {
|
|
2331
2333
|
console.error("Failed to run 'claude mcp remove'.");
|
|
@@ -2419,13 +2421,13 @@ function openBrowser(url) {
|
|
|
2419
2421
|
try {
|
|
2420
2422
|
switch (process.platform) {
|
|
2421
2423
|
case "darwin":
|
|
2422
|
-
(0, import_child_process.
|
|
2424
|
+
(0, import_child_process.execFileSync)("open", [url]);
|
|
2423
2425
|
break;
|
|
2424
2426
|
case "win32":
|
|
2425
|
-
(0, import_child_process.
|
|
2427
|
+
(0, import_child_process.execFileSync)("cmd", ["/c", "start", "", url]);
|
|
2426
2428
|
break;
|
|
2427
2429
|
case "linux":
|
|
2428
|
-
(0, import_child_process.
|
|
2430
|
+
(0, import_child_process.execFileSync)("xdg-open", [url]);
|
|
2429
2431
|
break;
|
|
2430
2432
|
}
|
|
2431
2433
|
} catch {
|
package/dist/index.js
CHANGED