Snapshot uncommitted work: proxy UI, sing-box integration, socks bridge
- Lab app: proxy panel, node editor, configuration and detail pages, responsive layout, and related tests - Add meshport-socks crate and sing-box bridge scripts/docs - Add singbox_flutter binding and meshport_client_core package - FFI, VPN helper (unified mac path), and Android/macOS runner updates - Docs for architecture, client runtime, UI design, and validation - UI design output artifacts under outputs/ui Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Haiku 5.5
parent
10b10e5bdf
commit
2f185f914d
@@ -107,6 +107,21 @@ class MeshPortClient {
|
||||
await request({'op': 'stop'});
|
||||
}
|
||||
|
||||
/// Local IPv4 TCP/UDP bridge for a host proxy engine. Application mode only.
|
||||
/// Data travels on native sockets, outside the serial JSON I/O interface.
|
||||
Future<Map<String, dynamic>> startSocksBridge({
|
||||
int port = 0,
|
||||
int maxSessions = 128,
|
||||
}) =>
|
||||
request({'op': 'socks_start', 'port': port, 'max_sessions': maxSessions});
|
||||
|
||||
Future<void> stopSocksBridge() async {
|
||||
await request({'op': 'socks_stop'});
|
||||
}
|
||||
|
||||
Future<Map<String, dynamic>> socksBridgeStatus() =>
|
||||
request({'op': 'socks_status'});
|
||||
|
||||
/// Opt in to bounded process-wide punch tracing. Does not replace host logging.
|
||||
Future<Map<String, dynamic>> enableDiagnostics() =>
|
||||
request({'op': 'diagnostics_enable'});
|
||||
|
||||
Reference in New Issue
Block a user