- Accueil
- Plugins
- Outils et capacités
- dsh-rtk-minimal
dsh-rtk-minimal
paranoidphantom/dsh-rtk-minimal
Rewrites bash tool calls through `rtk rewrite` on the `tools/execute` hook, so it applies to any provider route. Zero dependencies and no build step: a single ESM module that adopts exit codes 0 and 3, runs the original command otherwise (no equivalent, deny rule, missing rtk, spawn failure), restores the original arguments after dispatch, and honors `RTK_PREFIX_ONLY` for direct `rtk <cmd>` prefixing and `DSH_RTK_BIN` to pin the binary.
Installer
dsh plugin --profile web add github:paranoidphantom/dsh-rtk-minimalREADME
dsh-rtk-minimal
Minimal DSH plugin: every bash tool call goes through
rtk before it runs.
Install
dsh plugin --profile web add dsh-rtk-minimal
# restart `dsh web`, then run any bash tool call
Uninstall: remove the dsh-rtk-minimal entry from the profile's
cordis.patch.yml / bundles and dsh plugin --profile web remove dsh-rtk-minimal.
The bundle patch is applied automatically on install, so it is active as soon as
the host restarts — there is no on/off switch.
Test
node --test test.js # 6 cases against a fake rtk binary
Plugins associés
archify (deepseek-harness)
tt-a1i/archify
WeKnora (dsh-weknora)
tencent/weknora
next-ai-draw-io (dsh-plugin)
dayuanjiang/next-ai-draw-io
weknora
tencent/weknora