tailcfg: add mac-ui-v2 node capability (#16940)

updates tailscale/corp#29841

Adds a  node cap macOS UIs can query to determine
whether then should enable the new windowed UI.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
This commit is contained in:
Jonathan Nobels 2025-08-27 09:45:31 -04:00 committed by GitHub
parent 575664b263
commit 6542a00ab0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2405,6 +2405,9 @@ const (
CapabilityDebug NodeCapability = "https://tailscale.com/cap/debug" // exposes debug endpoints over the PeerAPI
CapabilityHTTPS NodeCapability = "https"
// CapabilityMacUIV2 makes the macOS GUI enable its v2 mode.
CapabilityMacUIV2 NodeCapability = "https://tailscale.com/cap/mac-ui-v2"
// CapabilityBindToInterfaceByRoute changes how Darwin nodes create
// sockets (in the net/netns package). See that package for more
// details on the behaviour of this capability.