mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-07-27 04:49:49 -07:00
4a10257bc9
- Remote merge step now passes --json to get NDJSON output - Parses merge-summary from remote stdout; emits as merge-summary/remote event - Falls back to remote-output for non-JSON runs - Updates docs and changelog to reflect per-machine merge summaries
1.6 KiB
1.6 KiB
type: added area: sync
- Added a sync window (
subminer sync --ui, or Sync Stats & History in the tray menu) for cross-machine immersion sync: saved devices with per-host direction (two-way/push/pull) and remove, one-click sync with live stage-by-stage progress and separate merge summaries for this machine and the remote device, connection testing for first-time setup, cancellable runs with a one-click--forceretry when the running-app guard trips, and manual database snapshots (create/merge/reveal/delete, stored in/tmp/subminer-db-snapshots/by default). Hosts with auto-sync enabled are synced in the background on a configurable interval while no mpv session or stats server is writing the database, with results reported as overlay notifications. Hosts synced from the CLI are remembered in<config dir>/sync-hosts.jsonand show up in the window automatically.subminer sync --uilaunches silently in the background and returns the shell immediately; closing that standalone Sync window shuts down the app. - Added
subminer sync <host> --checkto test the SSH connection and remote launcher availability without syncing, using bounded noninteractive probes and settling when the check process exits even if an inherited output pipe remains open, without dropping terminal progress that races process exit. Linux AppImage sync commands clear inherited GUI startup argument transport before launching the bundled engine, then exit directly, so sync window checks and remote snapshots never initialize the GUI or require a display server. Addedsubminer sync --jsonfor machine-readable NDJSON progress output (the protocol the sync window consumes).