rtk-ai/rtk

feat: add scp filter — compress transfer progress output

Open

#1.257 geöffnet am 13. Apr. 2026

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Rust (2.914 Forks)batch import
area:clieffort-mediumenhancementgood first issuehelp wantedplatform:macospriority:low

Repository-Metriken

Stars
 (48.085 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11T 1h) (45 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide