@deeptrial/dsh-bash-rtk
DeepSeek Harness bash executor plugin that routes eligible commands through rtk (Rust Token Killer) to compress tool output and save tokens. Optional overlay: install, then enable via --patch.
AI Analysis
核心用途是通过压缩 Bash 命令的输出内容来减少 Token 消耗。适合频繁运行命令行工具、希望降低 API 账单成本的开发者。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DeepTrial/dsh-bash-rtkREADME
Read the full 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.