fix(config): add gateway remote ssh fields
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user