dsh-plugin-rtk
DeepSeek Harness plugin that routes eligible shell output through RTK
AI Analysis
核心用途是利用 RTK 项目优化 Shell 命令执行与输出。适合需要在 DSH 沙箱中进行高效、精简的命令行交互与自动化运维任务。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗dsh-plugin-rtk
A DeepSeek Harness plugin that delegates shell-command rewriting and output compaction to the official RTK project.
Status: implementation is in progress. The repository is not yet installable as a DSH plugin.
Goals
- Preserve DSH sandbox, approval, timeout, workdir, background-process, and exit-code semantics.
- Delegate supported shell syntax to the active RTK binary through
rtk rewrite. - Browse every public RTK GitHub Release, including stable, prerelease, and historical releases.
- Require an official platform asset, SHA-256 verification, and compatibility tests before activation.
- Keep RTK versions and history databases isolated so updates can roll back safely.
- Show estimated handled and saved Tokens in a draggable DSH Web overlay.
- Keep all data local and disable RTK telemetry.
Development
Prerequisites:
- Node.js 20.19 or later
- pnpm 11.22.0
- Git
pnpm install --frozen-lockfile
pnpm run check
The quality pipeline enforces formatting, linting, a 400-line hard limit for hand-maintained files, dependency boundaries, unused-code checks, duplication limits, strict TypeScript, coverage, bundling, and package metadata.
Project status
Implementation follows the approved Chinese plans in docs/开发计划.md. Each stage is verified, committed, pushed to origin/main, and checked against the remote SHA before the next stage starts.
Privacy and safety
The plugin will not run rtk init, install global hooks, modify shell profiles, or upload command history. DSH remains the sole permission authority. See SECURITY.md for vulnerability reporting.
Documentation
- 中文说明
- Development plan
- Architecture and runtime
- Data and interface
- Engineering rules
- Implementation and acceptance