修复会话切换兼容并重新打包发布

This commit is contained in:
shiyue
2026-09-13 23:59:27 +08:00
parent d9db66ca8f
commit e785e3c5dd
15 changed files with 1224 additions and 70 deletions

View File

@@ -9172,6 +9172,7 @@ wss.on('connection', (ws, req) => {
features: {
usageStatistics: USAGE_STATISTICS_ENABLED,
taskBoard: TASK_BOARD_ENABLED,
clientHeartbeat: true,
},
});
sendSessionList(ws);
@@ -9188,6 +9189,12 @@ wss.on('connection', (ws, req) => {
}
switch (msg.type) {
case 'client_heartbeat':
wsSend(ws, {
type: 'client_heartbeat_ack',
requestId: String(msg.requestId || ''),
});
break;
case 'task_board_query':
case 'task_tracking_set':
case 'task_status_set':