Skip to content

v3.6.3 — ssh_sync reports the real transfer count

Choose a tag to compare

@bvisible bvisible released this 18 Jun 07:35
· 52 commits to main since this release

Fixed

ssh_sync no longer falsely reports "No files needed to be transferred" (#42 — thanks @MakksSh)

  • --stats was only passed in verbose mode and the count regex only matched rsync 2.x wording, so filesTransferred stayed 0 even on successful syncs. --stats is 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 (not bytes) are now matched, so totalSize is 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.js for testability.

Tests

  • New tests/test-sync-stats.js (wired into npm test as test: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