yin52133/dsh-luban--packages-dsh-luban-keepalive ↗★ 0
@yin52133/dsh-luban-keepalive
Cross-platform managed sessions, restart recovery, health patrol, and checkpoints for DSH
AI 分析
核心用途是确保 DSH 会话在系统重启或异常退出后能够自动恢复。适合需要运行超长周期任务、保障服务高可用性的用户。Ubuntu 环境下依赖 tmux。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yin52133/dsh-luban#fd42aad0a6c5628a3bee24796f0caba131fb0252&path:packages/dsh-luban-keepaliveドキュメント
README 全文を読む ↗Configuration
- insert:
- id: luban-keepalive
name: @yin52133/dsh-luban-keepalive
config:
ledgerDir: ~/.dsh/luban/keepalive
patrolIntervalSec: 60
bootRestore: true
tmuxPrefix: luban
windowsTaskPrefix: Luban
bootRestore can also be controlled by LUBAN_BOOT_RESTORE=1. The service only
restores sessions already owned by its ledger; it does not discover or adopt
unrelated tmux sessions or Scheduled Tasks.