SeireiA/dsh-plugin-rtk0

dsh-plugin-rtk

DeepSeek Harness 插件:将符合条件的 Shell 输出路由至 RTK,委托其进行命令重写与输出压缩,保留 DSH 沙箱与审批语义。

AI 分析

核心用途是利用 RTK 项目优化 Shell 命令执行与输出。适合需要在 DSH 沙箱中进行高效、精简的命令行交互与自动化运维任务。

套件
dsh-plugin-rtk
版本
0.1.0
授權
MIT
最近更新
2026年8月21日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 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

License

MIT