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