StvLi/dsh-phoenix ↗★ 5

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、自动重连页面并恢复未完目标任务的用户。

패키지
dsh-phoenix
호환성
미검증
Harness peer 범위
^0.1.1-rc.2
버전
0.2.6
라이선스
MIT
최근 업데이트
2026. 9. 2.

같은 패키지 이름의 다른 저장소

설치

$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_SOFT_MS300000soft safety deadline — log a warning at this point, keep waiting
DSH_PHOENIX_DEFER_HARD_MS900000hard safety deadline — force the restart (if policy is auto)
DSH_PHOENIX_DEFER_POLICYautoauto (force at hard deadline) or wait (never force; may defer indefinitely)
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_MS8000boot delay before the lifecycle recovery/resume check
DSH_PHOENIX_MAX_RESUME_ATTEMPTS1resume attempts per restart (1 = one resume per restart; >1 retries; reaching it ends the continuation)
DSH_PHOENIX_STATE_FILE(empty)path to the durable lifecycle checkpoint; empty disables the lifecycle