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.
10 lines
392 B
Swift
10 lines
392 B
Swift
import Foundation
|
|
import TermindDomain
|
|
|
|
public nonisolated protocol SSHImportReading: Sendable {
|
|
func scan(root: URL, knownHostsOnly: Bool, grants: [URL]) async throws -> [SSHImportItem]
|
|
func unlock(id: UUID, name: String, passphrase: String) async throws -> SSHKeyRef
|
|
func credentials(for ids: Set<UUID>) async throws -> [UUID: StoredSSHKeyCredential]
|
|
func discard() async
|
|
}
|