local-mcp 1.100.0 → 1.102.0

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 (2) hide show
  1. package/download.js +4 -2
  2. package/package.json +1 -1
package/download.js CHANGED
@@ -129,9 +129,11 @@ async function ensureBinary() {
129
129
  // Asegurar que sea ejecutable
130
130
  fs.chmodSync(binPath, 0o755)
131
131
 
132
- // Re-firmar ad-hoc (macOS puede invalidar al copiar/extraer)
132
+ // Re-firmar ad-hoc con bundle identifier estable.
133
+ // --identifier da al binario una identidad TCC persistente aunque cambie la ruta de versión.
134
+ // Sin esto, macOS atribuye los permisos TCC al proceso padre (node) → diálogo cada reinicio.
133
135
  try {
134
- execFileSync('codesign', ['--force', '--sign', '-', binPath], { stdio: 'pipe' })
136
+ execFileSync('codesign', ['--force', '--sign', '-', '--identifier', 'com.local-mcp.server', binPath], { stdio: 'pipe' })
135
137
  } catch { /* no crítico */ }
136
138
 
137
139
  process.stderr.write(` Listo en ${versionDir}\n`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "local-mcp",
3
- "version": "1.100.0",
3
+ "version": "1.102.0",
4
4
  "description": "MCP server for macOS \u2014 connect Claude Desktop, Cursor, Windsurf to Mail, Calendar, Contacts, Teams, OneDrive. Privacy-first: all data stays on your Mac.",
5
5
  "main": "index.js",
6
6
  "bin": {