跳到主要内容
Plugin

dsh-rtk

viogus/dsh-rtk

把符合条件的 bash 命令交给 rtk(Rust Token Killer)执行,让工具输出在进入模型之前就被压缩:插件调用本机 rtk 重写命令并采纳其结果;rtk 未安装时,执行器行为与原生完全一致。

形态
Plugin 插件
安装
npm 包安装
需要密钥
否
近月下载
1,295
最近推送
12 天前更新

项目说明

From README

dsh-rtk Route eligible shell commands through rtk (Rust Token Killer) inside the DeepSeek Harness ( dsh ) bash executor — compress tool output, save tokens, change nothing else.中文版 Heads-up: a workspace-write session keeps the compression but loses the ledger and the backups.

The rewrite works in every mode.Confinement is what bites: dsh allows writes only inside the workspace, /tmp and the platform temp dir, while rtk keeps history.db , recall.db and tee/ in /Library/Application Support/rtk — outside those roots.

rtk's writes are refused silently , so rtk gain stays empty and no tee backup is kept.Two ways out: run scripts/allow-rtk-state-in-sandbox.mjs ( apply , then restart the harness) to grant that one directory, or run the session with danger-full-access .Full detail: Sandboxed sessions.

--- Table of Contents - Quick Example - Requirements - Why - How it works - Install & enabl

Original description

DeepSeek Harness bash executor plugin that routes eligible commands through rtk (Rust Token Killer) to compress tool output and save tokens.

安装方式

npm 包安装 · 安装无需配置

README 解析
shell
dsh plugin --profile web add "@viogus/dsh-rtk"
shell
dsh plugin --profile web add "<path-to-this-dir>"
shell
dsh plugin --profile web add \

安全能力

静态扫描源码得到的权限画像 —— 回答的是「它要动什么」,而不是「它好不好」

  • 执行命令
  • 写入文件
  • 读取文件
  • 读取环境变量

未发现已知红线(明文传输、安装期执行代码、凭据外传等)。

能力与红线来自 awesome-dsh-plugin 的静态扫描结果(CC0 公有领域),本站未逐行复核源码; 它只覆盖能被静态识别的模式,不等于安全审计结论。

为什么是这个分数

近 12 天内有提交;README 给出了可直接复制的安装命令;装完即可用,无需额外配置;近月 npm 下载 1295 次,star 不多但真在被使用。

维护活跃
86
实用度
72
生态热度
62
上手便捷
100
信号质量
100
数据置信度
85%
评分怎么算