StvLi/dsh-phoenix0

dsh-phoenix

Graceful restart + client auto-reconnect + cross-restart goal continuation for DeepSeek Harness (dsh). After a plugin update dsh-phoenix restarts dsh at a safe idle boundary, keeps the browser page connected, and resumes a running goal so a task can keep evolving across restarts.

包名
dsh-phoenix
版本
0.1.1
许可证
MIT
最近更新
2026年8月30日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:StvLi/dsh-phoenix

⚙️ Configuration

All knobs are environment variables with safe defaults — no configuration file required.

EnvDefaultPurpose
DSH_PHOENIX_UNITdsh-websystemd user unit to restart
DSH_PHOENIX_DELAY8seconds between stop and start
DSH_PHOENIX_ARMING_MS5000ignore signals for N ms after load (prevents self-trigger)
DSH_PHOENIX_DEBOUNCE_MS3000collapse burst signals into one reboot
DSH_PHOENIX_DEFER_POLL_MS3000idle re-check interval while deferring
DSH_PHOENIX_DEFER_CAP_MS300000max deferral before forcing a reboot
DSH_PHOENIX_HEALTH_MS4000browser heartbeat interval
DSH_PHOENIX_RESTART_CMD(empty)custom restart command override for non-systemd deployments (see the Requirements warning)
DSH_PHOENIX_REARM_MS8000initial delay before the goal re-arm check
DSH_PHOENIX_REARM_RETRY_MS5000re-check interval while waiting for a re-armable goal
DSH_PHOENIX_MAX_REARM_ATTEMPTS20cap on re-arm checks before giving up
DSH_PHOENIX_STATE_FILE(empty)path to the checkpoint file that enables goal re-arm; empty disables it