@enactprotocol/cli 1.2.7 → 1.2.8
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/index.js +4 -13
- package/dist/index.js.bak +4 -13
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -216406,14 +216406,6 @@ var MCP_CLIENTS = {
|
|
|
216406
216406
|
win32: join8(homedir6(), ".gemini/settings.json"),
|
|
216407
216407
|
linux: join8(homedir6(), ".gemini/settings.json")
|
|
216408
216408
|
}
|
|
216409
|
-
},
|
|
216410
|
-
cursor: {
|
|
216411
|
-
name: "Cursor",
|
|
216412
|
-
configPaths: {
|
|
216413
|
-
darwin: join8(homedir6(), ".cursor/mcp.json"),
|
|
216414
|
-
win32: join8(homedir6(), ".cursor/mcp.json"),
|
|
216415
|
-
linux: join8(homedir6(), ".cursor/mcp.json")
|
|
216416
|
-
}
|
|
216417
216409
|
}
|
|
216418
216410
|
};
|
|
216419
216411
|
var MCP_SERVERS = {
|
|
@@ -216447,7 +216439,7 @@ Subcommands:
|
|
|
216447
216439
|
|
|
216448
216440
|
Options:
|
|
216449
216441
|
--help, -h Show this help message
|
|
216450
|
-
--client <name> Target specific client (claude-desktop, claude-code, vscode, goose, gemini
|
|
216442
|
+
--client <name> Target specific client (claude-desktop, claude-code, vscode, goose, gemini)
|
|
216451
216443
|
--server <type> Choose server type (main, dev, both) - default: main
|
|
216452
216444
|
`);
|
|
216453
216445
|
return;
|
|
@@ -216481,8 +216473,7 @@ Supported clients:
|
|
|
216481
216473
|
• Claude Code
|
|
216482
216474
|
• VS Code MCP
|
|
216483
216475
|
• Goose AI
|
|
216484
|
-
• Gemini
|
|
216485
|
-
• Cursor`), "No clients found");
|
|
216476
|
+
• Gemini`), "No clients found");
|
|
216486
216477
|
Se("Please install a supported MCP client first.");
|
|
216487
216478
|
return;
|
|
216488
216479
|
}
|
|
@@ -216701,7 +216692,7 @@ async function installMcpServer(client, serverType = "main") {
|
|
|
216701
216692
|
args: ["-y", "@enactprotocol/mcp-dev-server"]
|
|
216702
216693
|
};
|
|
216703
216694
|
}
|
|
216704
|
-
if (client.id === "claude-desktop" || client.id === "claude-code" || client.id === "gemini"
|
|
216695
|
+
if (client.id === "claude-desktop" || client.id === "claude-code" || client.id === "gemini") {
|
|
216705
216696
|
if (!config2.mcpServers) {
|
|
216706
216697
|
config2.mcpServers = {};
|
|
216707
216698
|
}
|
|
@@ -216741,7 +216732,7 @@ async function checkMcpServerInstalled(client, serverType = "main") {
|
|
|
216741
216732
|
try {
|
|
216742
216733
|
const configContent = await readFile6(client.configPath, "utf-8");
|
|
216743
216734
|
const config2 = JSON.parse(configContent);
|
|
216744
|
-
if (client.id === "claude-desktop" || client.id === "claude-code" || client.id === "gemini"
|
|
216735
|
+
if (client.id === "claude-desktop" || client.id === "claude-code" || client.id === "gemini") {
|
|
216745
216736
|
const servers = config2.mcpServers || {};
|
|
216746
216737
|
if (serverType === "main") {
|
|
216747
216738
|
return Boolean(servers.enact);
|
package/dist/index.js.bak
CHANGED
|
@@ -216405,14 +216405,6 @@ var MCP_CLIENTS = {
|
|
|
216405
216405
|
win32: join8(homedir6(), ".gemini/settings.json"),
|
|
216406
216406
|
linux: join8(homedir6(), ".gemini/settings.json")
|
|
216407
216407
|
}
|
|
216408
|
-
},
|
|
216409
|
-
cursor: {
|
|
216410
|
-
name: "Cursor",
|
|
216411
|
-
configPaths: {
|
|
216412
|
-
darwin: join8(homedir6(), ".cursor/mcp.json"),
|
|
216413
|
-
win32: join8(homedir6(), ".cursor/mcp.json"),
|
|
216414
|
-
linux: join8(homedir6(), ".cursor/mcp.json")
|
|
216415
|
-
}
|
|
216416
216408
|
}
|
|
216417
216409
|
};
|
|
216418
216410
|
var MCP_SERVERS = {
|
|
@@ -216446,7 +216438,7 @@ Subcommands:
|
|
|
216446
216438
|
|
|
216447
216439
|
Options:
|
|
216448
216440
|
--help, -h Show this help message
|
|
216449
|
-
--client <name> Target specific client (claude-desktop, claude-code, vscode, goose, gemini
|
|
216441
|
+
--client <name> Target specific client (claude-desktop, claude-code, vscode, goose, gemini)
|
|
216450
216442
|
--server <type> Choose server type (main, dev, both) - default: main
|
|
216451
216443
|
`);
|
|
216452
216444
|
return;
|
|
@@ -216480,8 +216472,7 @@ Supported clients:
|
|
|
216480
216472
|
• Claude Code
|
|
216481
216473
|
• VS Code MCP
|
|
216482
216474
|
• Goose AI
|
|
216483
|
-
• Gemini
|
|
216484
|
-
• Cursor`), "No clients found");
|
|
216475
|
+
• Gemini`), "No clients found");
|
|
216485
216476
|
Se("Please install a supported MCP client first.");
|
|
216486
216477
|
return;
|
|
216487
216478
|
}
|
|
@@ -216700,7 +216691,7 @@ async function installMcpServer(client, serverType = "main") {
|
|
|
216700
216691
|
args: ["-y", "@enactprotocol/mcp-dev-server"]
|
|
216701
216692
|
};
|
|
216702
216693
|
}
|
|
216703
|
-
if (client.id === "claude-desktop" || client.id === "claude-code" || client.id === "gemini"
|
|
216694
|
+
if (client.id === "claude-desktop" || client.id === "claude-code" || client.id === "gemini") {
|
|
216704
216695
|
if (!config2.mcpServers) {
|
|
216705
216696
|
config2.mcpServers = {};
|
|
216706
216697
|
}
|
|
@@ -216740,7 +216731,7 @@ async function checkMcpServerInstalled(client, serverType = "main") {
|
|
|
216740
216731
|
try {
|
|
216741
216732
|
const configContent = await readFile6(client.configPath, "utf-8");
|
|
216742
216733
|
const config2 = JSON.parse(configContent);
|
|
216743
|
-
if (client.id === "claude-desktop" || client.id === "claude-code" || client.id === "gemini"
|
|
216734
|
+
if (client.id === "claude-desktop" || client.id === "claude-code" || client.id === "gemini") {
|
|
216744
216735
|
const servers = config2.mcpServers || {};
|
|
216745
216736
|
if (serverType === "main") {
|
|
216746
216737
|
return Boolean(servers.enact);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enactprotocol/cli",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.8",
|
|
4
4
|
"description": "Official CLI for the Enact Protocol - package, secure, and discover AI tools",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"node": ">=18.0.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@enactprotocol/shared": "1.2.
|
|
45
|
+
"@enactprotocol/shared": "1.2.8",
|
|
46
46
|
"@clack/core": "^0.4.2",
|
|
47
47
|
"@clack/prompts": "^0.10.1",
|
|
48
48
|
"picocolors": "^1.1.1"
|