feat: refine sftp pane upload workflow

This commit is contained in:
liumangmang
2026-04-22 17:59:07 +08:00
parent 423cca97a6
commit 165cc0e35b
10 changed files with 1188 additions and 74 deletions
+8
View File
@@ -78,6 +78,14 @@ export interface UploadTask {
finishedAt: number
}
export interface UploadConflictResponse {
code: 'SFTP_UPLOAD_CONFLICT'
fileName: string
conflictType: 'file' | 'dir'
canOverwrite: boolean
message: string
}
export interface RemoteTransferTask {
taskId: string
status: 'queued' | 'running' | 'success' | 'error' | 'cancelled'