local-mcp 2.8.0 → 2.9.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.
- package/index.js +7 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -81,6 +81,10 @@ async function main() {
|
|
|
81
81
|
const stat = fs.lstatSync(stableBin)
|
|
82
82
|
// Only use fast path if it's a real file (not a symlink — symlinks can break)
|
|
83
83
|
if (stat.isFile() && (stat.mode & 0o111)) {
|
|
84
|
+
// Download tray + teams-proxy in background (non-blocking)
|
|
85
|
+
const { ensureTray, ensureTeamsProxy } = require('./download')
|
|
86
|
+
ensureTray().catch(() => {})
|
|
87
|
+
ensureTeamsProxy().catch(() => {})
|
|
84
88
|
const child = spawn(stableBin, [], { stdio: 'inherit', env: process.env })
|
|
85
89
|
child.on('error', () => process.exit(1))
|
|
86
90
|
child.on('exit', (code) => process.exit(code ?? 0))
|
|
@@ -93,10 +97,11 @@ async function main() {
|
|
|
93
97
|
}
|
|
94
98
|
|
|
95
99
|
// Slow path: download/repair binary
|
|
96
|
-
const { ensureRuntime, ensureTray } = require('./download')
|
|
100
|
+
const { ensureRuntime, ensureTray, ensureTeamsProxy } = require('./download')
|
|
97
101
|
|
|
98
|
-
// Actualizar tray en background
|
|
102
|
+
// Actualizar tray + teams-proxy en background
|
|
99
103
|
ensureTray().catch(() => {})
|
|
104
|
+
ensureTeamsProxy().catch(() => {})
|
|
100
105
|
|
|
101
106
|
let runtime
|
|
102
107
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "local-mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0",
|
|
4
4
|
"description": "Pilot MCP — 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": {
|