feat: add first-run runtime initialization
This commit is contained in:
@@ -52,6 +52,10 @@ export interface AppSettings {
|
||||
sidebarCollapsed: boolean;
|
||||
devModeUnlocked: boolean;
|
||||
|
||||
// First-run initialization
|
||||
setupComplete: boolean;
|
||||
openclawInitializedAt?: number;
|
||||
|
||||
// Presets
|
||||
selectedBundles: string[];
|
||||
enabledSkills: string[];
|
||||
@@ -95,7 +99,7 @@ function createDefaultSettings(): AppSettings {
|
||||
|
||||
// Update
|
||||
updateChannel: 'stable',
|
||||
autoCheckUpdate: true,
|
||||
autoCheckUpdate: false,
|
||||
autoDownloadUpdate: false,
|
||||
skippedVersions: [],
|
||||
|
||||
@@ -103,6 +107,10 @@ function createDefaultSettings(): AppSettings {
|
||||
sidebarCollapsed: false,
|
||||
devModeUnlocked: false,
|
||||
|
||||
// First-run initialization
|
||||
setupComplete: false,
|
||||
openclawInitializedAt: undefined,
|
||||
|
||||
// Presets
|
||||
selectedBundles: ['productivity', 'developer'],
|
||||
enabledSkills: [],
|
||||
|
||||
Reference in New Issue
Block a user