@insforge/install 0.0.8 → 0.0.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/dist/index.js +2 -2
- package/dist/utils.js +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
logger.info("Removed existing insforge MCP installation.");
|
|
77
77
|
} catch (removeError) {
|
|
78
78
|
// It's okay if remove fails - the MCP might not exist
|
|
79
|
-
logger.info("No existing insforge MCP found
|
|
79
|
+
logger.info("No existing insforge MCP found");
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
// Now add the MCP server
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
114
|
writeConfig(config, argv.client);
|
|
115
|
-
} else if (argv.client === "cline" || argv.client === "roocode") {
|
|
115
|
+
} else if (argv.client === "cline" || argv.client === "roocode" || argv.client === "trae") {
|
|
116
116
|
if (!config.mcpServers) config.mcpServers = {};
|
|
117
117
|
config.mcpServers[name] = {
|
|
118
118
|
command: "npx",
|
package/dist/utils.js
CHANGED
|
@@ -48,6 +48,10 @@ var clientPaths = {
|
|
|
48
48
|
roocode: {
|
|
49
49
|
type: "file",
|
|
50
50
|
path: path.join(baseDir, vscodePath, "rooveterinaryinc.roo-cline", "settings", "mcp_settings.json")
|
|
51
|
+
},
|
|
52
|
+
trae: {
|
|
53
|
+
type: "file",
|
|
54
|
+
path: path.join(baseDir, "Trae", "User", "mcp.json")
|
|
51
55
|
}
|
|
52
56
|
};
|
|
53
57
|
var clientNames = Object.keys(clientPaths);
|