local-mcp 3.0.132 → 3.0.133

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 (3) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
  3. package/setup.js +4 -0
package/index.js CHANGED
@@ -30,7 +30,7 @@ async function main() {
30
30
  if (cmd === 'setup') {
31
31
  const { runSetup } = require('./setup')
32
32
  await runSetup()
33
- return
33
+ process.exit(0)
34
34
  }
35
35
 
36
36
  if (cmd === 'update') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "local-mcp",
3
- "version": "3.0.132",
3
+ "version": "3.0.133",
4
4
  "description": "LMCP — connect Claude Desktop, Cursor, Windsurf to Mail, Calendar, Contacts, Teams, OneDrive on macOS. Privacy-first: all data stays on your Mac.",
5
5
  "main": "index.js",
6
6
  "bin": {
package/setup.js CHANGED
@@ -556,6 +556,7 @@ function _trackEmailPrompt(result) {
556
556
  headers: { 'Content-Type': 'application/json', 'Content-Length': data.length },
557
557
  timeout: 5000,
558
558
  })
559
+ req.on('response', (res) => res.resume())
559
560
  req.on('error', () => {})
560
561
  req.write(data)
561
562
  req.end()
@@ -589,6 +590,7 @@ function _pingInstall(clients, method, email = '', binaryVersion = '') {
589
590
  headers: { 'Content-Type': 'application/json', 'Content-Length': data.length },
590
591
  timeout: 5000,
591
592
  })
593
+ req.on('response', (res) => res.resume())
592
594
  req.on('error', () => {})
593
595
  req.write(data)
594
596
  req.end()
@@ -608,6 +610,7 @@ function _pingInstall(clients, method, email = '', binaryVersion = '') {
608
610
  headers: { 'Content-Type': 'application/json', 'Content-Length': pingData.length },
609
611
  timeout: 5000,
610
612
  })
613
+ pingReq.on('response', (res) => res.resume())
611
614
  pingReq.on('error', () => {})
612
615
  pingReq.write(pingData)
613
616
  pingReq.end()
@@ -632,6 +635,7 @@ function _pingInstall(clients, method, email = '', binaryVersion = '') {
632
635
  headers: { 'Content-Type': 'application/json', 'Content-Length': hb.length },
633
636
  timeout: 5000,
634
637
  })
638
+ hbReq.on('response', (res) => res.resume())
635
639
  hbReq.on('error', () => {})
636
640
  hbReq.write(hb)
637
641
  hbReq.end()