b621d1754a
CommandServer 装配(LibboxSetup→NewCommandServer→start→startOrReloadService)+ 完整 LibboxPlatformInterface:openTun(TunOptions→NEPacketTunnelNetworkSettings, getpeername+utun ctl_id 取 fd)、默认接口监控(NWPathMonitor)、接口枚举、socket 绑定;LibboxCommandServerHandler 回调。 gomobile 桥接要点:实现接口用 XxxProtocol、接口型参数/返回用 (any XxxProtocol)、 三个方法被 Swift 重命名(autoDetectControl/send/usePlatformAutoDetectControl)、 CTLIOCGINFO 按 _IOWR 定义计算。 链接需补系统框架:SystemConfiguration + AppKit + libresolv(libbox 内部 系统代理/网络监控代码引用)。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>