Add extensible remote session backends, safe ownership and restore handling, and pane-scoped shell integration over the existing SSH connection. Keep iOS workspaces in memory and rebuild expired Activity targets on demand. Integrate session selection into Connection Journey with consistent controls, cancellation behavior, and localized counts.
13 lines
417 B
Swift
13 lines
417 B
Swift
import Foundation
|
|
|
|
public nonisolated enum SSHShellIntegrationEvent: Sendable {
|
|
case runtime(TerminalRuntimeUpdate)
|
|
case available(shell: String, systemInfo: RemoteSystemInfo?, homeDirectory: String?)
|
|
case systemInfo(RemoteSystemInfo)
|
|
case homeResolutionUnavailable
|
|
case promptReady
|
|
case commandStarted(String)
|
|
case commandFinished(Int32, duration: TimeInterval?)
|
|
case draft(String)
|
|
}
|