@insforge/install 0.0.24 → 0.0.25
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 +5 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -56,10 +56,8 @@ import {
|
|
|
56
56
|
}
|
|
57
57
|
const name = "insforge";
|
|
58
58
|
const mcpVersion = argv.dev ? "@insforge/mcp@dev" : "@insforge/mcp@latest";
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
try {
|
|
62
|
-
const config = readConfig(argv.client);
|
|
59
|
+
try {
|
|
60
|
+
const config = readConfig(argv.client);
|
|
63
61
|
|
|
64
62
|
// Handle different config structures for different clients
|
|
65
63
|
if (argv.client === "claude-code") {
|
|
@@ -165,11 +163,10 @@ import {
|
|
|
165
163
|
}
|
|
166
164
|
};
|
|
167
165
|
writeConfig(config, argv.client);
|
|
168
|
-
}
|
|
169
|
-
logger.box(green(`Successfully installed Insforge MCP server in ${argv.client}.`));
|
|
170
|
-
} catch (e) {
|
|
171
|
-
logger.error(red(e.message));
|
|
172
166
|
}
|
|
167
|
+
logger.box(green(`Successfully installed Insforge MCP server in ${argv.client}.`));
|
|
168
|
+
} catch (e) {
|
|
169
|
+
logger.error(red(e.message));
|
|
173
170
|
}
|
|
174
171
|
}
|
|
175
172
|
|