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

@yin52133/dsh-luban-keepalive

跨平台的 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.