dsh-router-ext-rtk
RTK (Rust Token Killer) extension for dsh-router: rewrites each bash tool call through `rtk rewrite` so the agent reads compressed command output, and falls back to the original command when rtk is missing or has no equivalent.
dsh-router 的 RTK(Rust Token Killer)扩展插件:把每次 bash 工具调用经 `rtk rewrite` 改写,让 agent 读到压缩后的命令输出;rtk 缺失或无等价改写时原样执行。
How to install
dsh plugin add dsh-router-ext-rtk About
为 dsh-router 提供 **RTK(Rust Token Killer)** 真实代理:把 agent 每次 bash 工具调用改写成 rtk <cmd>(如 git status → rtk git status),削减发给 LLM 的 60–90% bash 输出。 单独装它没用——核心提供**面板与开关存储**,本插件提供**改写与拦截**。 快速安装 需要 **DSH 0.1.5-rc.1 及以上**。 先装核心,再装本插件,然后**重启 dsh web**: bash dsh plugin --profile web add dsh-router-core dsh plugin --profile web add dsh-router-ext-rtk dsh plugin add 会在 profile 里 pnpm add,并自动把声明了 dsh.bundle.patch 的包加入 dsh.profile.bundles(本插件即声明了,见 cordis.patch.yml)。 然后在「设置 → 路由 → **扩展**」页打开 **RTK** 开关。 前置:本机装 RTK RTK 是 rtk-ai/rtk(Rust Token Killer), **不是** Rust Type Kit(reachingforthejack/rtk)。 bash brew inst…
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 3
- mo. downloads
- –
- Last push
- 2026-09-10
- Created
- 2026-09-09
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- deepseek, deepseek-harness, dsh, dsh-plugin
Related plugins
openclaw
openclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
mobile-mcp
mobile-next/mobile-mcp
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)