DeepTrial/dsh-bash-rtk ↗★ 12

@deeptrial/dsh-bash-rtk

基于 rtk(Rust Token Killer)的 bash 执行器插件,用于压缩工具输出以节省 Token。 核心用途是通过压缩 Bash 命令的输出内容来减少 Token 消耗。适合频繁运行命令行工具、希望降低 API 账单成本的开发者。

包名
@deeptrial/dsh-bash-rtk
兼容性
待验证
Harness 依赖范围
>=0.0.1-rc.1 <0.1.0 || >=0.1.0-rc.1 <0.1.1 || >=0.1.1-rc.1 <0.2.0-0
版本
0.1.1
许可证
MIT
最近更新
2026年8月25日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DeepTrial/dsh-bash-rtk

API / Configuration

Both executors accept the same base config as their stock counterparts (LocalBashExecutor / SandboxBashExecutor) plus one optional field:

OptionTypeDefaultDescription
rtkAvailablebooleanresolveRtk() resultForce-enable or force-disable rtk wrapping. Useful for tests or deployments where the binary path is non-standard.

All other options — cwd, timeoutMs, graceMs, etc. — are inherited unchanged from the upstream executors.