local-mcp 3.0.259 → 3.0.260

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/package.json +1 -1
  2. package/setup.js +17 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "local-mcp",
3
- "version": "3.0.259",
3
+ "version": "3.0.260",
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
@@ -608,6 +608,23 @@ async function runSetup(opts = {}) {
608
608
  const failNames = failed.map(f => (typeof f === 'string' ? f : f.name)).join(', ')
609
609
  console.log(`⚠ Could not configure: ${failNames} — check permissions and try again.\n`)
610
610
  }
611
+
612
+ // Hermes Agent uses a YAML config (~/.hermes/config.yaml) + its own CLI, not the
613
+ // JSON files we write above — so we don't auto-configure it (a JSON write would be
614
+ // useless and a blind YAML merge could corrupt the user's config). If Hermes is
615
+ // present, print the exact CLI one-liner instead.
616
+ if (fs.existsSync(path.join(HOME, '.hermes')) || _cmdExists('hermes')) {
617
+ console.log('┌─────────────────────────────────────────────────────┐')
618
+ console.log('│ HERMES AGENT detected — add LMCP with its CLI: │')
619
+ console.log('│ │')
620
+ console.log('│ hermes mcp add local-mcp \\ │')
621
+ console.log('│ --command npx --args "-y,local-mcp@latest" │')
622
+ console.log('│ │')
623
+ console.log('│ Then restart Hermes. Remote/OpenClaw setup + │')
624
+ console.log('│ details: local-mcp.com/guides/hermes-openclaw-mac │')
625
+ console.log('└─────────────────────────────────────────────────────┘\n')
626
+ }
627
+
611
628
  console.log(' Setup guide & troubleshooting: https://local-mcp.com/setup\n')
612
629
 
613
630
  // Migrate legacy curl LaunchAgent before launching tray — must run first