fix(config): add gateway remote ssh fields

This commit is contained in:
Peter Steinberger
2026-01-09 11:18:37 +01:00
parent 6b107e9e74
commit 08cceb6435
2 changed files with 6 additions and 0 deletions

View File

@@ -940,6 +940,10 @@ export type GatewayRemoteConfig = {
token?: string; token?: string;
/** Password for remote auth (when the gateway requires password auth). */ /** Password for remote auth (when the gateway requires password auth). */
password?: string; password?: string;
/** SSH target for tunneling remote Gateway (user@host). */
sshTarget?: string;
/** SSH identity file path for tunneling remote Gateway. */
sshIdentity?: string;
}; };
export type GatewayReloadMode = "off" | "restart" | "hot" | "hybrid"; export type GatewayReloadMode = "off" | "restart" | "hot" | "hybrid";

View File

@@ -1333,6 +1333,8 @@ export const ClawdbotSchema = z.object({
url: z.string().optional(), url: z.string().optional(),
token: z.string().optional(), token: z.string().optional(),
password: z.string().optional(), password: z.string().optional(),
sshTarget: z.string().optional(),
sshIdentity: z.string().optional(),
}) })
.optional(), .optional(),
reload: z reload: z