feat(update): add core auto-updater and dry-run preview

This commit is contained in:
Peter Steinberger
2026-02-22 17:11:24 +01:00
parent 13690d406a
commit f442a3539f
15 changed files with 673 additions and 45 deletions

View File

@@ -213,6 +213,15 @@ export const OpenClawSchema = z
.object({
channel: z.union([z.literal("stable"), z.literal("beta"), z.literal("dev")]).optional(),
checkOnStart: z.boolean().optional(),
auto: z
.object({
enabled: z.boolean().optional(),
stableDelayHours: z.number().nonnegative().max(168).optional(),
stableJitterHours: z.number().nonnegative().max(168).optional(),
betaCheckIntervalHours: z.number().positive().max(24).optional(),
})
.strict()
.optional(),
})
.strict()
.optional(),