ropilot 0.1.29 → 0.1.31
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/lib/setup.js +8 -22
- package/package.json +1 -1
package/lib/setup.js
CHANGED
|
@@ -246,31 +246,17 @@ function getDefaultPrompts() {
|
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
/**
|
|
249
|
-
* Generate
|
|
250
|
-
* Windows needs cmd /c wrapper for npx to work properly
|
|
249
|
+
* Generate .mcp.json for Claude Code MCP server configuration
|
|
251
250
|
*/
|
|
252
251
|
function generateMcpJson() {
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
ropilot: {
|
|
259
|
-
command: "cmd",
|
|
260
|
-
args: ["/c", "npx", "ropilot", "serve"]
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}, null, 2);
|
|
264
|
-
} else {
|
|
265
|
-
return JSON.stringify({
|
|
266
|
-
mcpServers: {
|
|
267
|
-
ropilot: {
|
|
268
|
-
command: "npx",
|
|
269
|
-
args: ["ropilot", "serve"]
|
|
270
|
-
}
|
|
252
|
+
return JSON.stringify({
|
|
253
|
+
mcpServers: {
|
|
254
|
+
ropilot: {
|
|
255
|
+
command: "npx",
|
|
256
|
+
args: ["ropilot", "serve"]
|
|
271
257
|
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
258
|
+
}
|
|
259
|
+
}, null, 2);
|
|
274
260
|
}
|
|
275
261
|
|
|
276
262
|
/**
|