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

@@ -63,6 +63,17 @@ export type OpenClawConfig = {
channel?: "stable" | "beta" | "dev";
/** Check for updates on gateway start (npm installs only). */
checkOnStart?: boolean;
/** Core auto-update policy for package installs. */
auto?: {
/** Enable background auto-update checks and apply logic. Default: false. */
enabled?: boolean;
/** Stable channel minimum delay before auto-apply. Default: 6. */
stableDelayHours?: number;
/** Additional stable-channel jitter window. Default: 12. */
stableJitterHours?: number;
/** Beta channel check cadence. Default: 1 hour. */
betaCheckIntervalHours?: number;
};
};
browser?: BrowserConfig;
ui?: {