Add SSH-authenticated transports with independent settings, protocol-aware menus and snippets, and tmux session persistence. Restore eligible iOS workspaces from encrypted transport checkpoints without adding a macOS recovery entry. Include schema migrations and regression coverage.
19 lines
529 B
Swift
19 lines
529 B
Swift
import Foundation
|
|
import TermindDomain
|
|
|
|
nonisolated struct MobileWorkspaceDescriptor: Codable, Hashable, Identifiable, Sendable {
|
|
var id = UUID()
|
|
var hostID: UUID
|
|
var title: String
|
|
var kind: ConnectionHistoryEntry.Kind
|
|
var remoteSession: RemoteSessionReference?
|
|
|
|
var destinationURL: URL { WorkspaceActivityAttributes.destinationURL(for: id) }
|
|
}
|
|
|
|
nonisolated struct MobileWorkspaceDirectoryLaunch: Equatable, Sendable {
|
|
var hostID: UUID
|
|
var kind: ConnectionHistoryEntry.Kind
|
|
var path: String
|
|
}
|