Releases: jifeng15/dsh-web-restart
Releases · jifeng15/dsh-web-restart
Release list
v2.0.1 — Patch: config-corruption protection & repair
Patch release: fix duplicate-loader-entry crash & add config recovery
Fixes the crash caused by hot-installing a plugin that is already in dsh.profile.bundles
(duplicate loader entry id → dsh web fails to boot). Adds tooling to diagnose and recover
from config corruption.
Fixed
- Hot install now rejects bundles already managed by
dsh plugin— no more duplicate
insertrows in cordis.patch.yml, no more boot crash (duplicate loader entry id).
Usedsh plugin --profile web add|removefor those instead.
Added
dsh-web repair— diagnose & auto-fix common config corruption:- duplicate entry ids in cordis.patch.yml (dedup, keep first)
- ghost bundles in
dsh.profile.bundles(remove missing packages) - dsh-web-hot state out of sync (reset to match config)
dsh-web health-check— after restart, verifies port + config tree; tells you
whether the problem is the process or the config (stop looping restarts on bad config).- Auto config backup —
install/remove/repairback up cordis.patch.yml &
state before changing them (kept inprofiles/web/backups/, last 10).
Docs
- README bilingual: added technical architecture section (components, hot-install &
safe-restart data flows, env dependencies).
v2.0.0 — Hot install, no restart 🎉
Hot install / uninstall — no restart
Installing/removing plugins no longer restarts dsh web. Bundled dsh-web-hot host plugin hot-applies patch rows via include.update at runtime — the PID never changes.
New commands
dsh-web install <spec>— hot install first, fallback to safe restartdsh-web remove <pkg>— hot uninstall first, fallback to safe restartdsh-web session— report the resolved tmux session (auto-discovered, never assumesdsh-web)
What else
- Restart logs now show the target tmux session explicitly
- install.sh ships the hot-plugin; auto-installs into the web profile
Structural limit
Module-level code updates still require a restart (Node require cache) — falls back automatically.
v1.0.0 — Safe restart via tmux
Safe auto-restart for DeepSeek Harness web
First release: tmux hosting + tmux-server independent delayed restart, so installing plugins, editing config, or upgrading dsh no longer means manually restarting from the terminal.
Features
- tmux hosting (terminal closed, still running)
- Safe restart via
tmux run-shell— completes even if the calling agent dies - Crash auto-restart with 3-strike circuit breaker
- Port auto-discovery (3080 / --port 8080 / --port 0 random)
- Session auto-discovery (any tmux session name)
- tmux auto-install (macOS/Linux)
- Bilingual README (English default + 简体中文)