mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 13:01:25 +00:00
feat(update): add core auto-updater and dry-run preview
This commit is contained in:
@@ -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?: {
|
||||
|
||||
Reference in New Issue
Block a user