feat: headscale mesh integration - auto-join on bind, logout on unbind

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
stswangzhiping
2026-05-03 19:39:16 +08:00
parent 5e82505c6a
commit 29c158f837
3 changed files with 121 additions and 10 deletions

View File

@@ -20,6 +20,7 @@ const DEFAULTS = {
/** 云端已激活:用于启动/重连时立即点亮 alarmpwr不等首包 connected */
activated: false,
ssh_secret_key: null,
headscale_server: 'https://hs.claw.cutos.ai',
};
function _generateSshSecretKey() {