feat: move terminal settings, look and ssh tools into ssh-terminal plugin

This commit is contained in:
LukeGus committed 2026-09-29 02:38:37 -05:00
1 parent ffa872ebd3
commit d9bba10612
242 files changed
+25071 -7207

No files matched your search

@@ -129,15 +129,10 @@ async function resolveManagerHost(
if (!access.hasAccess) throw new AccessDeniedError();
const host = await ctx.ssh.resolveHost(hostId);
if (!host) throw new AccessDeniedError("Host not found");
const terminalConfig = host.terminalConfig as
{ sudoPassword?: string } | undefined;
return {
id: hostId,
userId: String(host.userId ?? ""),
sudoPassword:
(host.sudoPassword as string | undefined) ||
terminalConfig?.sudoPassword ||
undefined,
sudoPassword: (host.sudoPassword as string | undefined) || undefined,
};
}