Relay (bterminal-relay): command handlers now send structured responses (pty_created, pong, error) back via shared event channel with commandId for correlation. New send_error() helper replaces log-only error reporting. RemoteManager (remote.rs): exponential backoff reconnection on disconnect (1s/2s/4s/8s/16s/30s cap). Uses attempt_ws_connect() probe with 5s timeout. Emits remote-machine-reconnecting and remote-machine-reconnect-ready events. Handles pty_created relay event as remote-pty-created Tauri event. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||