local-mcp 3.0.127 → 3.0.128
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/package.json +1 -1
- package/setup.js +10 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "local-mcp",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.128",
|
|
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
|
@@ -272,9 +272,16 @@ async function runSetup(opts = {}) {
|
|
|
272
272
|
|
|
273
273
|
process.stdout.write('\n 📧 Email for update notifications (optional, press Enter to skip): ')
|
|
274
274
|
emailPromptResult = 'shown'
|
|
275
|
-
const ans = await
|
|
276
|
-
|
|
277
|
-
|
|
275
|
+
const ans = await Promise.race([
|
|
276
|
+
new Promise(res => {
|
|
277
|
+
rl.once('line', a => { rl.close(); try { fs.closeSync(ttyFd) } catch {} ; res((a || '').trim()) })
|
|
278
|
+
}),
|
|
279
|
+
new Promise(res => setTimeout(() => {
|
|
280
|
+
try { rl.close() } catch {}
|
|
281
|
+
try { fs.closeSync(ttyFd) } catch {}
|
|
282
|
+
res('')
|
|
283
|
+
}, 30000)),
|
|
284
|
+
])
|
|
278
285
|
|
|
279
286
|
if (ans && ans.includes('@')) {
|
|
280
287
|
email = ans
|