CARVIN94/dsh-router-ext-rtk ↗★ 3

dsh-router-ext-rtk

DSH plugin: RTK (Rust Token Killer) extension for dsh-router. Registers a command-rewrite ext via the router.ext cordis service so dsh-router ships every bash tool call through `rtk rewrite`, cutting 60-90% of LLM-bound bash output. 适合频繁运行Bash工具、需要极力压缩冗余终端输出以节省Token的用户。

Package
dsh-router-ext-rtk
Compatibility
Unverified
Cordis peer range
^4.0.2
Version
0.3.20
License
MIT
Last updated
Sep 22, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:CARVIN94/dsh-router-ext-rtk

配置

环境变量作用
DSH_RTK_BIN显式指定 rtk 可执行文件路径。缺省走 PATH,再兜底常见安装路径(~/.local/bin/rtk、/opt/homebrew/bin/rtk、/usr/local/bin/rtk、~/.cargo/bin/rtk)。