feat(pairing): add silent SSH auto-approve

This commit is contained in:
Peter Steinberger
2025-12-19 01:04:35 +01:00
parent 0b4e70e38b
commit 77a67484ea
8 changed files with 146 additions and 5 deletions

View File

@@ -14,6 +14,7 @@ export type NodePairingPendingRequest = {
caps?: string[];
commands?: string[];
remoteIp?: string;
silent?: boolean;
isRepair?: boolean;
ts: number;
};
@@ -185,6 +186,7 @@ export async function requestNodePairing(
caps: req.caps,
commands: req.commands,
remoteIp: req.remoteIp,
silent: req.silent,
isRepair,
ts: Date.now(),
};