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的用户。

패키지
dsh-router-ext-rtk
호환성
미검증
Cordis peer 범위
^4.0.2
버전
0.3.20
라이선스
MIT
최근 업데이트
2026. 9. 22.

설치

$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)。