@deeptrial/dsh-bash-rtk
基于 rtk(Rust Token Killer)的 bash 执行器插件,用于压缩工具输出以节省 Token。
AI 分析
核心用途是通过压缩 Bash 命令的输出内容来减少 Token 消耗。适合频繁运行命令行工具、希望降低 API 账单成本的开发者。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DeepTrial/dsh-bash-rtk說明文件
閱讀完整 README ↗API / Configuration
Both executors accept the same base config as their stock counterparts (LocalBashExecutor / SandboxBashExecutor) plus one optional field:
| Option | Type | Default | Description |
|---|---|---|---|
rtkAvailable | boolean | resolveRtk() result | Force-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.