DSH-Rtk-rewrite

将 web profile 的 pwsh shell 执行器替换为执行前经 `rtk rewrite` 透明改写的子类以节省 token,任何改写失败(无等价、rtk 缺失、超时)都原样执行且沙箱语义完整保留。

插件介绍

将 web profile 的 pwsh shell 执行器替换为执行前经 `rtk rewrite` 透明改写的子类以节省 token,任何改写失败(无等价、rtk 缺失、超时)都原样执行且沙箱语义完整保留。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-pwsh-rtk-rewrite

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:mengqi1436/DSH-Rtk-rewrite

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令