feat: 添加工作空间保持存活功能,更新相关依赖和配置

This commit is contained in:
2026-01-30 23:32:40 +08:00
parent 972d68b87e
commit 0d17d56628
12 changed files with 394 additions and 29 deletions

View File

@@ -0,0 +1,13 @@
import { createKeepAlive } from '@kevisual/cnb/keep';
const wsUrl = process.argv[2];
const cookie = process.argv[3];
createKeepAlive({
wsUrl,
cookie,
onConnect: () => console.log('已连接'),
debug: true
});
process.on('SIGINT', () => process.exit(0));