local-mcp 3.0.191 → 3.0.193
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/download.js +1 -3
- package/index.js +3 -2
- package/package.json +1 -1
package/download.js
CHANGED
|
@@ -378,10 +378,8 @@ async function ensureTray() {
|
|
|
378
378
|
throw new Error(`Tray no encontrado tras extraer: ${trayApp}`)
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
// Quitar quarantine
|
|
381
|
+
// Quitar quarantine — la app viene firmada con Developer ID desde CI, no re-firmar
|
|
382
382
|
try { execFileSync('xattr', ['-rd', 'com.apple.quarantine', trayApp], { stdio: 'pipe' }) } catch { /* no crítico */ }
|
|
383
|
-
const trayBin = path.join(trayApp, 'Contents', 'MacOS', 'LocalMCPTray')
|
|
384
|
-
try { execFileSync('codesign', ['--force', '--sign', '-', trayBin], { stdio: 'pipe' }) } catch { /* no crítico */ }
|
|
385
383
|
|
|
386
384
|
fs.writeFileSync(verFile, version, 'utf8')
|
|
387
385
|
|
package/index.js
CHANGED
|
@@ -249,8 +249,9 @@ async function main() {
|
|
|
249
249
|
if (fs.existsSync(settingsSrc)) fs.copyFileSync(settingsSrc, settingsDst)
|
|
250
250
|
} catch {}
|
|
251
251
|
|
|
252
|
-
// Run the binary
|
|
253
|
-
const
|
|
252
|
+
// Run the binary (macOS binary requires 'stdio' arg to enter MCP stdio mode)
|
|
253
|
+
const spawnArgs = process.platform === 'darwin' ? ['stdio'] : []
|
|
254
|
+
const child = spawn(binPath, spawnArgs, { stdio: 'inherit', env: process.env })
|
|
254
255
|
child.on('error', (err) => {
|
|
255
256
|
process.stderr.write(`Error ejecutando LMCP: ${err.message}\n`)
|
|
256
257
|
process.exit(1)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "local-mcp",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.193",
|
|
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": {
|