dsh-router-ext-rtk
dsh-router 的 RTK(Rust Token Killer)扩展插件:把每次 bash 工具调用经 `rtk rewrite` 改写,让 agent 读到压缩后的命令输出;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 plugin add dsh-router-ext-rtk 简介
为 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…
推荐参考
信息
- 协议
- MIT
- 语言
- TypeScript
- GitHub 星标
- 3
- 月下载
- –
- 最近更新
- 2026-09-10
- 创建于
- 2026-09-09
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- deepseek, deepseek-harness, dsh, dsh-plugin