dsh-window-control

如果你嫌每次打开 Harness 都要手动全屏,这个插件可以帮你自动铺满:启动时自动最大化(保留右上角窗口按钮)或真全屏;随时可最大化/还原/最小化/窗口置顶;退出前弹原生确认框,快捷键可选 Esc、双击 Esc 或 Ctrl+Q,且全屏下 Esc 先退出全屏。窗口通道由插件自己安装,无需脚本或 Python,首次安装需重启两次 DSH 生效。

插件介绍

如果你嫌每次打开 Harness 都要手动全屏,这个插件可以帮你自动铺满:启动时自动最大化(保留右上角窗口按钮)或真全屏;随时可最大化/还原/最小化/窗口置顶;退出前弹原生确认框,快捷键可选 Esc、双击 Esc 或 Ctrl+Q,且全屏下 Esc 先退出全屏。窗口通道由插件自己安装,无需脚本或 Python,首次安装需重启两次 DSH 生效。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-window-control

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:YunLiZeMeng/dsh-window-control

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.

版本兼容情况

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