pulse-framework-cli 0.4.5 → 0.4.6
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/commands/init.js +4 -6
- package/package.json +1 -1
package/dist/commands/init.js
CHANGED
|
@@ -88,8 +88,8 @@ async function ensurePulseMcpInstalled() {
|
|
|
88
88
|
// eslint-disable-next-line no-console
|
|
89
89
|
console.log("\n⚠️ pulse-mcp not found. Attempting to install...\n");
|
|
90
90
|
try {
|
|
91
|
-
//
|
|
92
|
-
(0, node_child_process_1.execSync)("npm
|
|
91
|
+
// Install from npm
|
|
92
|
+
(0, node_child_process_1.execSync)("npm install -g pulse-framework-mcp", {
|
|
93
93
|
encoding: "utf8",
|
|
94
94
|
stdio: "inherit",
|
|
95
95
|
});
|
|
@@ -104,11 +104,9 @@ async function ensurePulseMcpInstalled() {
|
|
|
104
104
|
// eslint-disable-next-line no-console
|
|
105
105
|
console.log(" Please run manually:");
|
|
106
106
|
// eslint-disable-next-line no-console
|
|
107
|
-
console.log(" npm install -g
|
|
107
|
+
console.log(" npm install -g pulse-framework-mcp");
|
|
108
108
|
// eslint-disable-next-line no-console
|
|
109
|
-
console.log("
|
|
110
|
-
// eslint-disable-next-line no-console
|
|
111
|
-
console.log(" npm link -w packages/pulse-mcp\n");
|
|
109
|
+
console.log("");
|
|
112
110
|
throw new Error("pulse-mcp installation failed");
|
|
113
111
|
}
|
|
114
112
|
}
|
package/package.json
CHANGED