yin52133/dsh-luban--packages-dsh-luban-session-share ↗★ 0
@yin52133/dsh-luban-session-share
支持身份验证的跨主机 DSH 会话查看与独占接管插件。
AI 分析
核心用途是允许在不同设备间共享和接管同一个 DSH 会话。适合多设备协同办公、需要在电脑和手机/平板间无缝切换会话的用户。需配合 auth 和 keepalive 插件。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yin52133/dsh-luban#fd42aad0a6c5628a3bee24796f0caba131fb0252&path:packages/dsh-luban-session-share说明文档
阅读完整 README ↗Configuration
- insert:
- id: luban-session-share
name: @yin52133/dsh-luban-session-share
config:
host: auto
ownerUser: owner
takeoverTimeoutSec: 120
peerRefreshSec: 10
requestTimeoutSec: 10
replayLimit: 256
peers:
- name: win-debug
baseUrl: http://win-debug.lan:42600
credentialEnv: LUBAN_SESSION_SHARE_WIN_COOKIE
Set LUBAN_SESSION_SHARE_WIN_COOKIE in the host service environment to the
current M01 login Cookie. The account must be the same on both hosts. A
different account does not receive an observation view.
ownerUser is a compatibility default for existing single-account profiles.
New session ownership comes from the M01 account/session registry.
Session IDs must be globally unique across configured hosts. A cross-origin
collision is reported as session-id-collision; the existing registry entry is
preserved and no control operation is routed through the conflicting peer.