bitcompass 0.2.1 → 0.2.2
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/mcp.js +2 -4
- package/package.json +1 -1
package/dist/commands/mcp.js
CHANGED
|
@@ -2,10 +2,8 @@ import chalk from 'chalk';
|
|
|
2
2
|
import { isLoggedIn } from '../auth/config.js';
|
|
3
3
|
import { startMcpServer } from '../mcp/server.js';
|
|
4
4
|
export const runMcpStart = async () => {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
process.exit(1);
|
|
8
|
-
}
|
|
5
|
+
// Do not exit when not logged in: Cursor needs the process to stay alive to complete
|
|
6
|
+
// the MCP handshake. Tools return an auth message (run bitcompass login, then restart MCP) when needed.
|
|
9
7
|
await startMcpServer();
|
|
10
8
|
};
|
|
11
9
|
export const runMcpStatus = () => {
|