feat(automation): add timezone-safe daily briefing dedupe
This commit is contained in:
@@ -251,6 +251,7 @@ const cronJobSchema = z.object({
|
||||
enabled: z.boolean().default(true),
|
||||
timezone: z.string().optional(),
|
||||
model_tier: modelTierEnum.optional(),
|
||||
once_per_local_day: z.boolean().default(false),
|
||||
});
|
||||
|
||||
const webhookSchema = z.object({
|
||||
@@ -350,6 +351,7 @@ const dailyBriefingSchema = z.object({
|
||||
name: z.string().min(1).default('daily-briefing'),
|
||||
schedule: z.string().min(1).default('0 8 * * *'),
|
||||
timezone: z.string().optional(),
|
||||
dedupe_per_local_day: z.boolean().default(true),
|
||||
output: z.object({
|
||||
channel: z.string().min(1),
|
||||
peer: z.string().min(1),
|
||||
|
||||
Reference in New Issue
Block a user