Share Vault, persistence, SSH/SFTP, forwarding, and SwiftUI components across platforms. Add mobile editors, terminal input, standalone Assistant, Metrics navigation, transfers, and a unified Live Activity with host system icons. Validation: 35 iOS tests and 100 focused macOS tests pass; formatting and zh-Hans checks pass. The full macOS run reports 14 issues in the documented timing, Keychain, and popover suites. Remaining Assistant tool and CloudKit work is tracked in Memory/MOBILE_ROLLOUT.md.
13 lines
372 B
Swift
13 lines
372 B
Swift
import CSSH2
|
|
import OpenSSL
|
|
|
|
public nonisolated enum SSHRuntimeVersions {
|
|
public static var libssh2: String {
|
|
guard let version = libssh2_version(0) else { return "Unknown" }
|
|
return String(cString: version)
|
|
}
|
|
public static var openSSL: String {
|
|
"\(OPENSSL_version_major()).\(OPENSSL_version_minor()).\(OPENSSL_version_patch())"
|
|
}
|
|
}
|