builderos-cli 2.0.5 → 2.0.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/index.js CHANGED
@@ -42,7 +42,15 @@ if (command === 'mcp') {
42
42
  console.error('Fatal error:', error);
43
43
  process.exit(1);
44
44
  });
45
- // MCP server is now running, this code won't be reached
45
+ // MCP server is now running and handling requests
46
+ // The server keeps the process alive, so we should not reach here
47
+ // But if we do, just exit cleanly
48
+ process.exit(0);
49
+ }
50
+
51
+ // Only execute main() if NOT running MCP server
52
+ if (command !== 'mcp') {
53
+ main();
46
54
  }
47
55
 
48
56
  // Default options
@@ -418,5 +426,3 @@ async function main() {
418
426
  process.exit(1);
419
427
  }
420
428
  }
421
-
422
- main();
package/mcp-server.js CHANGED
@@ -143,7 +143,7 @@ export async function startMCPServer() {
143
143
  const server = new Server(
144
144
  {
145
145
  name: 'builderos-cli-mcp',
146
- version: '2.0.5',
146
+ version: '2.0.6',
147
147
  },
148
148
  {
149
149
  capabilities: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "builderos-cli",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "BuilderOS CLI - Initialize BuilderOS in any project without requiring local code",
5
5
  "type": "module",
6
6
  "main": "index.js",