StvLi/dsh-phoenix0

dsh-phoenix

为 DeepSeek Harness 提供优雅重启、客户端自动重连及跨重启目标延续功能,在插件更新后于空闲期重启并恢复运行中的任务。

AI 分析

核心用途是保证 DSH 在插件升级或重启时的任务连续性。适合运行长时间推理、复杂自治任务,且不希望因系统重启中断 Agent 进度的用户。

套件
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