zhuifengqug/dsh-quick-restart ↗★ 0
dsh-quick-restart
Quick restart command for dsh
AI Analysis
核心用途是提供快速重启 dsh 服务的命令行快捷方式。适合在开发调试或修改配置后,需要频繁重启服务且不想手动操作终端的用户。
Install
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhuifengqug/dsh-quick-restartREADME
Read the full README ↗dsh-quick-restart
A standalone dsh bundle that adds the human-facing /restart command.
Install it into a profile from this directory:
dsh plugin --profile web add D:/dsh/dsh-quick-restart
Then restart the running Web session with /restart. The command starts a detached Node relay with the current dsh entry point, execArgv, profile arguments, working directory, and application arguments. The relay waits for the current process to exit before launching the replacement, avoiding a Web port race.
/restart accepts no arguments. It returns a usage error for extra input and does not start a process for a pre-cancelled invocation. Active model or tool work is interrupted by the process shutdown; durable session state is reloaded by the replacement process.