
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-auto-exit
Advanced tools
Exit the DSH CLI process automatically when the Web UI closes (equivalent to Ctrl+C). DSH plugin: 关闭 Web UI 自动退出 CLI 进程.
本项目由 dsh创造模式 + Deepseek-V4-Flash0731 独立完成
English | 中文
dsh --profile web 会在终端里长驻一个进程,通过浏览器 Web UI 使用。本插件让
「关掉 Web UI 页面」就等于「退出进程」:所有页面关闭后,CLI 进程自动以等效
Ctrl+C 的方式退出(exit code 130),不用再回终端手动操作。
dsh plugin --profile web add dsh-auto-exit
或从 GitHub 源安装(等同内容):
dsh plugin --profile web add github:xiaxingtianxia2-glitch/dsh-auto-exit
dsh --profile web,用浏览器打开 Web UI(默认 http://127.0.0.1:3080)。curl http://127.0.0.1:3080/auto-exit/status
{"enabled":true,"armed":true,"sockets":2,"countdownMs":0,"graceSeconds":15,"pollMs":1000,"dryRun":false,"lastEvent":"armed","fired":false}
字段含义:sockets 当前页面连接数;countdownMs 剩余倒计时(0 = 未在倒计时);
lastEvent 最近一次状态变化(idle/armed/lost/cancel/exit)。
| 字段 | 默认值 | 说明 |
|---|---|---|
enabled | true | 总开关 |
graceSeconds | 15 | 连接全部断开后等待的秒数再退出 |
pollMs | 1000 | 检测间隔(毫秒) |
armAfterFirstConnect | true | 见到首个页面连接后才生效(启动时未开页面不退出) |
dryRun | false | 试运行:只记录「将要退出」日志,不真正退出 |
graceSeconds。enabled 配置为 false,或卸载插件:
dsh plugin --profile web remove dsh-auto-exit。FAQs
Exit the DSH CLI process automatically when the Web UI closes (equivalent to Ctrl+C). DSH plugin: 关闭 Web UI 自动退出 CLI 进程.
We found that dsh-auto-exit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.