fix(desktop): declare NSLocalNetworkUsageDescription for macOS 15+ (#81563)

Since macOS 15 (Sequoia), an app that accesses the local network without
declaring NSLocalNetworkUsageDescription in its Info.plist is denied
silently: no prompt, no entry in System Settings → Privacy & Security →
Local Network, and LAN connections are dropped at the network layer
(manifesting as 'No route to host').

The desktop's build.mac.extendInfo declares camera/microphone/audio
usage descriptions but not the local-network one, so the terminal and
SSH features inside the app could never reach LAN hosts on macOS 15+.
Add the missing declaration.
This commit is contained in:
Chen Jin
2026-08-08 15:27:29 +08:00
committed by Teknium
parent fc323cedf5
commit 5d28665410
+2 -1
View File
@@ -244,7 +244,8 @@
"NSCalendarsFullAccessUsageDescription": "Hermes needs full access to Calendar to read and manage events when explicitly requested.",
"NSRemindersUsageDescription": "Hermes needs access to Reminders to provide requested personal-assistant and scheduling support.",
"NSRemindersFullAccessUsageDescription": "Hermes needs full access to Reminders to read and manage reminders when explicitly requested.",
"NSScreenCaptureUsageDescription": "Hermes captures the screen when you ask the agent to screenshot or record it."
"NSScreenCaptureUsageDescription": "Hermes captures the screen when you ask the agent to screenshot or record it.",
"NSLocalNetworkUsageDescription": "Hermes connects to devices on your local network when a plugin or feature you enable requests it."
},
"gatekeeperAssess": false,
"hardenedRuntime": true,