ropilot 0.1.30 → 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.
Files changed (2) hide show
  1. package/lib/setup.js +8 -22
  2. package/package.json +1 -1
package/lib/setup.js CHANGED
@@ -246,31 +246,17 @@ function getDefaultPrompts() {
246
246
  }
247
247
 
248
248
  /**
249
- * Generate platform-specific .mcp.json
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
- const isWindows = platform() === 'win32';
254
-
255
- if (isWindows) {
256
- return JSON.stringify({
257
- mcpServers: {
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
- }, null, 2);
273
- }
258
+ }
259
+ }, null, 2);
274
260
  }
275
261
 
276
262
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ropilot",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "description": "AI-powered Roblox development assistant - MCP CLI",
5
5
  "author": "whut",
6
6
  "license": "MIT",