opt.: ask ai hint

This commit is contained in:
lollipopkit🏳️‍⚧️
2025-10-19 23:38:08 +08:00
parent d6c2cafce7
commit a84231393d
31 changed files with 1051 additions and 1224 deletions

View File

@@ -96,6 +96,7 @@ Future<SSHClient> genClient(
username: alterUser ?? spi.user,
onPasswordRequest: () => spi.pwd,
onUserInfoRequest: onKeyboardInteractive,
onVerifyHostKey: (type, fingerprint) => true,
// printDebug: debugPrint,
// printTrace: debugPrint,
);
@@ -109,6 +110,7 @@ Future<SSHClient> genClient(
// Must use [compute] here, instead of [Computer.shared.start]
identities: await compute(loadIndentity, privateKey),
onUserInfoRequest: onKeyboardInteractive,
onVerifyHostKey: (type, fingerprint) => true,
// printDebug: debugPrint,
// printTrace: debugPrint,
);