dsh-plugin-rtk
DeepSeek Harness plugin for RTK-powered shell output compaction
- Stars
- 0
- Language
- JavaScript
- Created
- Aug 21, 2026
- Updated
- Aug 21, 2026
Introduction
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 10.34.5
- 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