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的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:CARVIN94/dsh-router-ext-rtkREADME
Read the full README ↗配置
| 环境变量 | 作用 |
|---|---|
DSH_RTK_BIN | 显式指定 rtk 可执行文件路径。缺省走 PATH,再兜底常见安装路径(~/.local/bin/rtk、/opt/homebrew/bin/rtk、/usr/local/bin/rtk、~/.cargo/bin/rtk)。 |