fix: honor SSH agent opt-out

This commit is contained in:
bincxz committed 2026-07-12 17:49:57 +08:00
1 parent 7cb722a5c5
commit 0046291376
14 files changed
+61 -13

No files matched your search

+6 -1
View File
@@ -163,7 +163,12 @@ declare global {
bits?: number;
comment?: string;
}): Promise<{ success: boolean; privateKey?: string; publicKey?: string; error?: string }>;
checkSshAgent?(identityAgent?: string): Promise<{ running: boolean; startupType: string | null; error: string | null }>;
checkSshAgent?(options?: {
identityAgent?: string;
hostname?: string;
port?: number;
username?: string;
}): Promise<{ running: boolean; startupType: string | null; error: string | null }>;
getDefaultKeys?(): Promise<Array<{ name: string; path: string }>>;
execCommand(options: {
hostname: string;