dsh-auto-exit
Exits the dsh CLI process automatically when the Web UI closes, with a configurable grace period and dry-run mode.
关闭 DSH Web UI 后自动退出 CLI 进程(等效 Ctrl+C),支持可配置宽限期与试运行模式。
How to install
dsh plugin add dsh-auto-exit About
dsh-auto-exit English | 中文 这是什么 dsh --profile web 会在终端里长驻一个进程,通过浏览器 Web UI 使用。本插件让 「关掉 Web UI 页面」就等于「退出进程」:所有页面关闭后,CLI 进程自动以等效 Ctrl+C 的方式退出(exit code 130),不用再回终端手动操作。 工作原理 1. **检测**:浏览器页面与 CLI 进程之间保持 WebSocket 连接,页面关闭即断开。 2. **宽限**:连接全部断开后等待 15 秒(可配置)再退出——页面刷新、短暂重开 不会误退;期间重开页面即取消退出。 3. **退出**:宽限期满后调用与 Ctrl+C 相同的优雅退出通道,进程以 exit code 130 结束,数据与状态照常落盘。 安装 bash dsh plugin --profile web add dsh-auto-exit 或从 GitHub 源安装(等同内容): bash dsh plugin --profile web add github:xiaxingtianxia2-glitch/dsh-auto-exit 使用 1. 启动 dsh --profile web,用浏览器打开 Web UI(默认 <http://127.0.0.1:3080>)。 2. 直接关闭浏览器标签页/窗口(多个页面需**全部**…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 1
- mo. downloads
- 658
- Last push
- 2026-08-19
- Created
- 2026-08-17
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- automation, deepseek-harness, dsh, dsh-plugin, terminal, watchdog
Related plugins
langfuse
langfuse/langfuse
🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
claude-code-templates
davila7/claude-code-templates
CLI tool for configuring and monitoring Claude Code
semiotic
nteract/semiotic
React data visualization library for streaming, networks, and AI-assisted development
dsh-desktop
dataelement/dsh-desktop
DSHDesktop:DeepSeek Harness Desktop / DeepSeek Harness 桌面版