feat: 为文件管理器添加右键“解/压缩”功能

Refs #28
This commit is contained in:
Baobhan Sith
2025-05-13 00:26:55 +08:00
parent 688b9df707
commit 52b797837e
18 changed files with 1126 additions and 82 deletions
+2 -2
View File
@@ -117,6 +117,8 @@ export function initializeConnectionHandler(wss: WebSocketServer, sshSuspendServ
case 'sftp:realpath':
case 'sftp:copy':
case 'sftp:move':
case 'sftp:compress':
case 'sftp:decompress':
await handleSftpOperation(ws, type, payload, requestId);
break;
@@ -132,8 +134,6 @@ export function initializeConnectionHandler(wss: WebSocketServer, sshSuspendServ
break;
// --- SSH Suspend Cases ---
// 旧的 SSH_SUSPEND_START 逻辑已被新的 SSH_MARK_FOR_SUSPEND 和 SshSuspendService.takeOverMarkedSession 取代
// case 'SSH_SUSPEND_START': { ... } // Removed
case 'SSH_SUSPEND_LIST_REQUEST': {
if (!ws.userId) {