v3.6.3 — ssh_sync reports the real transfer count
Fixed
ssh_sync no longer falsely reports "No files needed to be transferred" (#42 — thanks @MakksSh)
--statswas only passed in verbose mode and the count regex only matched rsync 2.x wording, sofilesTransferredstayed0even on successful syncs.--statsis now always passed and both rsync 2.x (Number of files transferred) and 3.x (Number of regular files transferred) output is parsed.
Follow-up hardening
- macOS / openrsync: byte counts suffixed with
B(notbytes) are now matched, sototalSizeis correct on recent macOS (raw bytes even at 5 MB, no K/M/G). - Locales: thousands/decimal separators (
,/.) are parsed correctly for the file count, size and speed. - Parsing extracted to
src/rsync-stats.jsfor testability.
Tests
- New
tests/test-sync-stats.js(wired intonpm testastest:sync): 46 assertions — openrsync output captured live, GNU rsync 3.x/2.x, US/EU locales, zero-files, and missing--stats.
Install: npm i mcp-ssh-manager@3.6.3
Full changelog: https://github.com/bvisible/mcp-ssh-manager/blob/main/CHANGELOG.md#363---2026-06-18