fix(config): add gateway remote ssh fields
This commit is contained in:
parent
6b107e9e74
commit
08cceb6435
2 changed files with 6 additions and 0 deletions
|
|
@ -940,6 +940,10 @@ export type GatewayRemoteConfig = {
|
|||
token?: string;
|
||||
/** Password for remote auth (when the gateway requires password auth). */
|
||||
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";
|
||||
|
|
|
|||
|
|
@ -1333,6 +1333,8 @@ export const ClawdbotSchema = z.object({
|
|||
url: z.string().optional(),
|
||||
token: z.string().optional(),
|
||||
password: z.string().optional(),
|
||||
sshTarget: z.string().optional(),
|
||||
sshIdentity: z.string().optional(),
|
||||
})
|
||||
.optional(),
|
||||
reload: z
|
||||
|
|
|
|||
Loading…
Reference in a new issue