Please provide the specific file changes or a description of the modifications you have made so I can generate the commit message for you.

This commit is contained in:
liumangmang
2026-05-07 10:09:40 +08:00
parent 165cc0e35b
commit f24d0f69ed
19 changed files with 1757 additions and 367 deletions
+27
View File
@@ -3,6 +3,8 @@ export type ConnectionSetupMode = 'NONE' | 'PASSWORD_BOOTSTRAP'
export type SessionTreeNodeType = 'folder' | 'connection'
export type SessionTreeSortMode = 'manual' | 'nameAsc'
export type WorkspaceLayout = 'split' | 'terminal' | 'sftp'
export type TerminalConnectionStatus = 'idle' | 'connecting' | 'connected' | 'reconnecting' | 'error'
export type ConnectionReachabilityStatus = 'unknown' | 'checking' | 'online' | 'offline'
export interface LoginResponse {
token: string
@@ -41,6 +43,10 @@ export interface ConnectionCreateRequest {
bootstrapPassword?: string
}
export interface ConnectionModalSubmitPayload extends ConnectionCreateRequest {
targetFolderId: string | null
}
export interface SessionTreeNodePayload {
id: string
type: SessionTreeNodeType
@@ -58,6 +64,12 @@ export interface SessionTreeLayoutPayload {
sortMode?: SessionTreeSortMode
}
export interface SessionTreeFolderOption {
id: string
name: string
depth: number
}
export interface SftpFileInfo {
name: string
directory: boolean
@@ -115,6 +127,21 @@ export interface BatchCommandResponse {
results: BatchCommandResult[]
}
export interface ConnectionStatusItem {
connectionId: number
connectionName: string
status: 'online' | 'offline'
message: string
durationMs: number
}
export interface ConnectionStatusResponse {
total: number
onlineCount: number
offlineCount: number
results: ConnectionStatusItem[]
}
export interface MonitorMetrics {
cpuUsage?: number | null
memTotal?: number | null