rtk-ai/rtk

feat: add scp filter — compress transfer progress output

Open

#1,257 建立於 2026年4月13日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Rust (2,914 fork)batch import
area:clieffort-mediumenhancementgood first issuehelp wantedplatform:macospriority:low

倉庫指標

Star
 (48,085 star)
PR 合併指標
 (平均合併 11天 1小時) (30 天內合併 45 個 PR)

描述

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

貢獻者指南