yin52133/dsh-luban--packages-dsh-luban-keepalive0

@yin52133/dsh-luban-keepalive

Cross-platform managed sessions, restart recovery, health patrol, and checkpoints for DSH

AI 분석

核心用途是确保 DSH 会话在系统重启或异常退出后能够自动恢复。适合需要运行超长周期任务、保障服务高可用性的用户。Ubuntu 环境下依赖 tmux。

패키지
@yin52133/dsh-luban-keepalive
버전
0.1.1
라이선스
MIT
최근 업데이트
2026. 9. 1.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yin52133/dsh-luban#fd42aad0a6c5628a3bee24796f0caba131fb0252&path:packages/dsh-luban-keepalive

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.