feat(hooks): allow gmail tailscale target URLs
This commit is contained in:
@@ -297,6 +297,8 @@ export type HooksGmailConfig = {
|
||||
tailscale?: {
|
||||
mode?: HooksGmailTailscaleMode;
|
||||
path?: string;
|
||||
/** Optional tailscale serve/funnel target (port, host:port, or full URL). */
|
||||
target?: string;
|
||||
};
|
||||
/** Optional model override for Gmail hook processing (provider/model or alias). */
|
||||
model?: string;
|
||||
|
||||
@@ -962,6 +962,7 @@ const HooksGmailSchema = z
|
||||
.union([z.literal("off"), z.literal("serve"), z.literal("funnel")])
|
||||
.optional(),
|
||||
path: z.string().optional(),
|
||||
target: z.string().optional(),
|
||||
})
|
||||
.optional(),
|
||||
model: z.string().optional(),
|
||||
|
||||
Reference in New Issue
Block a user