rtk-ai/rtk

feat: add scp filter — compress transfer progress output

Open

#1257 aperta il 13 apr 2026

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Rust (2914 fork)batch import
area:clieffort-mediumenhancementgood first issuehelp wantedplatform:macospriority:low

Metriche repository

Star
 (48.085 star)
Metriche merge PR
 (Merge medio 11g 1h) (45 PR mergiate in 30 g)

Descrizione

Problem

scp outputs per-file progress bars and percentage updates that waste tokens. The only useful information is the final transfer result (success/failure, bytes transferred).

Evidence

rtk discover (last 30 days): 21 scp commands, currently unhandled.

Typical usage pattern:

scp -i ~/.ssh/id_ed25519 /local/file deploy@host:/remote/path

Suggested approach

  • Strip progress bar lines (percentage, ETA, transfer rate)
  • Keep: filename, final status (success/error), total bytes
  • Related to ssh support (#783, #333) but scp is a distinct binary

Environment

  • rtk 0.30.0, macOS Darwin 24.6.0
  • Claude Code PreToolUse hook

Guida contributor