feat(storage): migrate Life OS cloud state to versioned records

This commit is contained in:
Codex committed 2026-09-28 18:38:29 +08:00
1 parent 6972a00445
commit 1606c41f43
17 files changed
+502 -72

No files matched your search

+3 -2
View File
@@ -13,7 +13,8 @@ assert.match(assets.addonsJs, /schemaVersion: 2/);
assert.match(assets.addonsJs, /settings: settings\(\), system: sys\(\)/);
assert.match(assets.addonsJs, /widgetLayout/);
assert.match(assets.i18nRenderersJs, /lifeos_widget_layout_v1/);
assert.match(assets.addonsJs, /if \(mergedLocalBoard\) await uploadCloudState\(\)/);
assert.match(assets.addonsJs, /lifeos_cloud_baseline_v3/);
assert.match(assets.addonsJs, /api\/lifeos-sync/);
assert.match(assets.i18nRenderersJs, /dialog\.goals/);
assert.match(assets.i18nRenderersJs, /shell\.wallpaperTitle/);
assert.match(assets.i18nRenderersJs, /window\.museumApp/);
@@ -172,7 +173,7 @@ assert.ok(command('date').message.length > 8);
assert.ok(command('time').message.includes(':'));
assert.ok(command('datetime').message.length > 12);
assert.equal(command('uptime').message, 'terminal.uptime');
assert.equal(command('version').message, 'Life OS v1.12.0');
assert.equal(command('version').message, 'Life OS v1.13.0');
assert.equal(command('status').message, 'terminal.status');
assert.match(command('apps').message, /calendar/);
assert.equal(command('echo "hello Life OS"').message, 'hello Life OS');