Add universal forge, fusion disguise, remote deploy, and stability fixes.
Ship cross-platform spread kits and fusion ZIPs with per-OS launchers, one-liner dropper endpoints, Windows file disguise, and a large batch of wiring/bug fixes so agents connect reliably across a LAN test fleet.
This commit is contained in:
@@ -88,3 +88,11 @@ func (m *MeshNode) BroadcastToMesh(msg Message) {
|
||||
s.Close()
|
||||
}
|
||||
}
|
||||
|
||||
// PeerCount returns the number of connected mesh peers.
|
||||
func (m *MeshNode) PeerCount() int {
|
||||
if m.host == nil {
|
||||
return 0
|
||||
}
|
||||
return len(m.host.Network().Peers())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user