local-mcp 3.0.200 → 3.0.202
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 +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "local-mcp",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.202",
|
|
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
|
@@ -427,9 +427,11 @@ async function runSetup(opts = {}) {
|
|
|
427
427
|
// Detectar clientes
|
|
428
428
|
const detected = CLIENTS.filter(c => c.detect())
|
|
429
429
|
const notDetected = CLIENTS.filter(c => !c.detect())
|
|
430
|
+
const _npmPkgVersion = (() => { try { return require('./package.json').version } catch { return '' } })()
|
|
430
431
|
_trackSetupStep('detect', detected.length > 0 ? 'ok' : 'no_clients', '', {
|
|
431
432
|
clientsFound: detected.map(c => c.id),
|
|
432
433
|
clientsNotFound: notDetected.map(c => c.id),
|
|
434
|
+
npmVersion: _npmPkgVersion,
|
|
433
435
|
})
|
|
434
436
|
|
|
435
437
|
if (detected.length === 0) {
|
|
@@ -867,6 +869,7 @@ function _trackSetupStep(step, status, client, detail) {
|
|
|
867
869
|
if (detail.clientsNotFound) payload.clients_not_found = detail.clientsNotFound.join(',')
|
|
868
870
|
if (detail.toolCount >= 0) payload.tool_count = detail.toolCount
|
|
869
871
|
if (detail.binaryVersion) payload.binary_version = detail.binaryVersion
|
|
872
|
+
if (detail.npmVersion) payload.npm_version = detail.npmVersion
|
|
870
873
|
}
|
|
871
874
|
const data = JSON.stringify(payload)
|
|
872
875
|
const req = https.request({
|