DeepTrial/dsh-bash-rtk2

@deeptrial/dsh-bash-rtk

基于 rtk(Rust Token Killer)的 bash 执行器插件,用于压缩工具输出以节省 Token。

AI 分析

核心用途是通过压缩 Bash 命令的输出内容来减少 Token 消耗。适合频繁运行命令行工具、希望降低 API 账单成本的开发者。

套件
@deeptrial/dsh-bash-rtk
版本
0.1.0
授權
MIT
最近更新
2026年8月16日

安裝

$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.