DeepTrial/dsh-bash-rtk: Pass DSH bash commands meeting conditions to rtk for compressed output
`dsh-bash-rtk` is a DSH bash executor plugin maintained by DeepTrial, designed to route eligible Shell commands to `rtk` for processing to compress tool output and reduce Token consumption while preserving the original execution semantics. The plugin adopts a conservative approach, only applying `rtk` wrapping to simple commands within a whitelist (such as `git status`, `cargo build`). For complex commands containing Shell metacharacters, non-whitelisted commands, or when `rtk` is unavailable, it automatically falls back to pass-through execution. It provides both standard and sandboxed Executors and supports forced activation via configuration settings. Prior usage requires separate installation of `rtk`, and the plugin is disabled by default, requiring explicit enablement in the configuration to take effect.
Read More