Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
feat(desktop): 精简壁纸并新增五张 Cindy 动态壁纸
kirozengb77789b5e81e
diff --git a/apps/desktop/src/renderer/assets/wallpapers/amber-light.webp b/apps/desktop/src/renderer/assets/wallpapers/amber-light.webpdeleted file mode 100644index b305e76eec..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/amber-light.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/blue-gaze.webp b/apps/desktop/src/renderer/assets/wallpapers/blue-gaze.webpdeleted file mode 100644index 6a810c4f61..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/blue-gaze.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/blush-leaves.webp b/apps/desktop/src/renderer/assets/wallpapers/blush-leaves.webpdeleted file mode 100644index e3db0ca893..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/blush-leaves.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/cindy-crimson.webp b/apps/desktop/src/renderer/assets/wallpapers/cindy-crimson.webpdeleted file mode 100644index 24295c385b..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/cindy-crimson.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/cloud-roaming.webp b/apps/desktop/src/renderer/assets/wallpapers/cloud-roaming.webpdeleted file mode 100644index c6e09896db..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/cloud-roaming.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/dawn-arc.webp b/apps/desktop/src/renderer/assets/wallpapers/dawn-arc.webpdeleted file mode 100644index f185ccb570..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/dawn-arc.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/moon-solitude.webp b/apps/desktop/src/renderer/assets/wallpapers/moon-solitude.webpdeleted file mode 100644index 7f4cb55802..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/moon-solitude.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/neon-valley.webp b/apps/desktop/src/renderer/assets/wallpapers/neon-valley.webpdeleted file mode 100644index ac1930fac8..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/neon-valley.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/silent-circuit.webp b/apps/desktop/src/renderer/assets/wallpapers/silent-circuit.webpdeleted file mode 100644index de960529fe..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/silent-circuit.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/silver-veins.webp b/apps/desktop/src/renderer/assets/wallpapers/silver-veins.webpdeleted file mode 100644index 6bc2065e08..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/silver-veins.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/stardust-vortex.webp b/apps/desktop/src/renderer/assets/wallpapers/stardust-vortex.webpdeleted file mode 100644index 469297acbc..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/stardust-vortex.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/teacup-cat.webp b/apps/desktop/src/renderer/assets/wallpapers/teacup-cat.webpdeleted file mode 100644index 1ac7c99ef2..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/teacup-cat.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/amber-light.webp b/apps/desktop/src/renderer/assets/wallpapers/thumbnails/amber-light.webpdeleted file mode 100644index c9161b8607..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/amber-light.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/blue-gaze.webp b/apps/desktop/src/renderer/assets/wallpapers/thumbnails/blue-gaze.webpdeleted file mode 100644index d290a1bc59..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/blue-gaze.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/blush-leaves.webp b/apps/desktop/src/renderer/assets/wallpapers/thumbnails/blush-leaves.webpdeleted file mode 100644index 32821d9d3e..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/blush-leaves.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/cindy-crimson.webp b/apps/desktop/src/renderer/assets/wallpapers/thumbnails/cindy-crimson.webpdeleted file mode 100644index 57c73a008f..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/cindy-crimson.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/cloud-roaming.webp b/apps/desktop/src/renderer/assets/wallpapers/thumbnails/cloud-roaming.webpdeleted file mode 100644index 2f790e31e6..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/cloud-roaming.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/dawn-arc.webp b/apps/desktop/src/renderer/assets/wallpapers/thumbnails/dawn-arc.webpdeleted file mode 100644index a198f5c035..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/dawn-arc.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/moon-solitude.webp b/apps/desktop/src/renderer/assets/wallpapers/thumbnails/moon-solitude.webpdeleted file mode 100644index 9a78cf39e5..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/moon-solitude.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/neon-valley.webp b/apps/desktop/src/renderer/assets/wallpapers/thumbnails/neon-valley.webpdeleted file mode 100644index 766a87e825..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/neon-valley.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/silent-circuit.webp b/apps/desktop/src/renderer/assets/wallpapers/thumbnails/silent-circuit.webpdeleted file mode 100644index 57f4c60873..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/silent-circuit.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/silver-veins.webp b/apps/desktop/src/renderer/assets/wallpapers/thumbnails/silver-veins.webpdeleted file mode 100644index 251be9b306..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/silver-veins.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/stardust-vortex.webp b/apps/desktop/src/renderer/assets/wallpapers/thumbnails/stardust-vortex.webpdeleted file mode 100644index 412dcf3886..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/stardust-vortex.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/teacup-cat.webp b/apps/desktop/src/renderer/assets/wallpapers/thumbnails/teacup-cat.webpdeleted file mode 100644index 38be503cbc..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/teacup-cat.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/tidal-lines.webp b/apps/desktop/src/renderer/assets/wallpapers/thumbnails/tidal-lines.webpdeleted file mode 100644index 0ef95cd15c..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/tidal-lines.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/wheatfield-watch.webp b/apps/desktop/src/renderer/assets/wallpapers/thumbnails/wheatfield-watch.webpdeleted file mode 100644index e746747f76..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/wheatfield-watch.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/white-wilderness.webp b/apps/desktop/src/renderer/assets/wallpapers/thumbnails/white-wilderness.webpdeleted file mode 100644index f64033d020..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/thumbnails/white-wilderness.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/tidal-lines.webp b/apps/desktop/src/renderer/assets/wallpapers/tidal-lines.webpdeleted file mode 100644index 4a6b501b3e..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/tidal-lines.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/wheatfield-watch.webp b/apps/desktop/src/renderer/assets/wallpapers/wheatfield-watch.webpdeleted file mode 100644index cdf63234f4..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/wheatfield-watch.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/assets/wallpapers/white-wilderness.webp b/apps/desktop/src/renderer/assets/wallpapers/white-wilderness.webpdeleted file mode 100644index ed07ab2f7b..0000000000Binary files a/apps/desktop/src/renderer/assets/wallpapers/white-wilderness.webp and /dev/null differdiff --git a/apps/desktop/src/renderer/components/settings/WallpaperSection.tsx b/apps/desktop/src/renderer/components/settings/WallpaperSection.tsxindex 73796f0f4e..5250c40a55 100644--- a/apps/desktop/src/renderer/components/settings/WallpaperSection.tsx+++ b/apps/desktop/src/renderer/components/settings/WallpaperSection.tsx@@ -16,6 +16,7 @@ import {APPEARANCE_LIMITS,DEFAULT_APPEARANCE_SETTINGS,isCustomWallpaperVideo,+ RETIRED_WALLPAPER_IDS,SELECTABLE_WALLPAPER_IDS,type WallpaperId,} from '@/../shared/appearanceSettings';@@ -46,10 +47,13 @@ export function WallpaperSection() {setMotion,resetWallpaper,} = useWallpaperSettings();+ // A retired wallpaper stays visible (and selected) only while it is in use.+ const retiredInUse = RETIRED_WALLPAPER_IDS.find((id) => id === wallpaperId);+ const pickerIds: readonly WallpaperId[] = retiredInUse+ ? [SELECTABLE_WALLPAPER_IDS[0], retiredInUse, ...SELECTABLE_WALLPAPER_IDS.slice(1)]+ : SELECTABLE_WALLPAPER_IDS;const entryId =- focusedWallpaperId ??- SELECTABLE_WALLPAPER_IDS.find((id) => id === wallpaperId) ??- SELECTABLE_WALLPAPER_IDS[0];+ focusedWallpaperId ?? pickerIds.find((id) => id === wallpaperId) ?? pickerIds[0];// The shared slider restores its starting value during cancellation. Clear// that temporary preview after its handler, returning to the latest saved value.const cancelBlurPreview = useCallback(() => {@@ -141,7 +145,7 @@ export function WallpaperSection() {if (!event.currentTarget.contains(event.relatedTarget)) setFocusedWallpaperId(null);}}>- {SELECTABLE_WALLPAPER_IDS.map((id, index) => {+ {pickerIds.map((id, index) => {const selected = wallpaperId === id;const label = t('settings.appearance.wallpaper.options.' + id);const background =@@ -183,14 +187,14 @@ export function WallpaperSection() {next = 0;break;case 'End':- next = SELECTABLE_WALLPAPER_IDS.length - 1;+ next = pickerIds.length - 1;break;default:return;}event.preventDefault();- const count = SELECTABLE_WALLPAPER_IDS.length;- const target = SELECTABLE_WALLPAPER_IDS[(next + count) % count];+ const count = pickerIds.length;+ const target = pickerIds[(next + count) % count];buttons.current.get(target)?.focus();// An empty custom tile needs explicit activation to open the file picker.if (target !== wallpaperId && (target !== 'custom' || customWallpaperUrl)) {diff --git a/apps/desktop/src/renderer/components/settings/__tests__/AppearanceSection.accessibility.test.tsx b/apps/desktop/src/renderer/components/settings/__tests__/AppearanceSection.accessibility.test.tsxindex 308c292df6..37a4a26b76 100644--- a/apps/desktop/src/renderer/components/settings/__tests__/AppearanceSection.accessibility.test.tsx+++ b/apps/desktop/src/renderer/components/settings/__tests__/AppearanceSection.accessibility.test.tsx@@ -120,35 +120,19 @@ describe('AppearanceSection accessibility', () => {wallpapers.getAllByRole('radio').map((option) => option.getAttribute('aria-label')),).toEqual(['settings.appearance.wallpaper.options.none',- 'settings.appearance.wallpaper.options.cindy-window',- 'settings.appearance.wallpaper.options.cindy-studio',- 'settings.appearance.wallpaper.options.cindy-dream','settings.appearance.wallpaper.options.cindy-whisper',- 'settings.appearance.wallpaper.options.cindy-crimson','settings.appearance.wallpaper.options.cindy-night-glance','settings.appearance.wallpaper.options.cindy-scarlet-stroll','settings.appearance.wallpaper.options.cindy-neon','settings.appearance.wallpaper.options.cindy-prism',- 'settings.appearance.wallpaper.options.wheatfield-watch',- 'settings.appearance.wallpaper.options.teacup-cat',- 'settings.appearance.wallpaper.options.moon-solitude','settings.appearance.wallpaper.options.night-launch',- 'settings.appearance.wallpaper.options.stardust-vortex','settings.appearance.wallpaper.options.silent-orbits','settings.appearance.wallpaper.options.dune-dawn','settings.appearance.wallpaper.options.planet-dawn',- 'settings.appearance.wallpaper.options.neon-valley',- 'settings.appearance.wallpaper.options.silent-circuit','settings.appearance.wallpaper.options.indigo-folds',- 'settings.appearance.wallpaper.options.cloud-roaming','settings.appearance.wallpaper.options.dune-sphere','settings.appearance.wallpaper.options.ocean-clouds',- 'settings.appearance.wallpaper.options.blush-leaves',- 'settings.appearance.wallpaper.options.white-wilderness','settings.appearance.wallpaper.options.rose-quartz',- 'settings.appearance.wallpaper.options.silver-veins',- 'settings.appearance.wallpaper.options.dawn-arc',- 'settings.appearance.wallpaper.options.tidal-lines','settings.appearance.wallpaper.options.custom',]);expect(diff --git a/apps/desktop/src/renderer/components/settings/__tests__/WallpaperSection.download.test.tsx b/apps/desktop/src/renderer/components/settings/__tests__/WallpaperSection.download.test.tsxindex 08ab6c9cbc..5b79121ac4 100644--- a/apps/desktop/src/renderer/components/settings/__tests__/WallpaperSection.download.test.tsx+++ b/apps/desktop/src/renderer/components/settings/__tests__/WallpaperSection.download.test.tsx@@ -55,8 +55,8 @@ afterEach(() => {describe('wallpaper download feedback', () => {// User request 2026-10-17: still-only originals share download progress/retry// with scenes, but have no motion switch. Existing cases only exercised- // cindy-window; minimum additional input is cindy-whisper; unit tier.- it.each(['cindy-window', 'cindy-whisper'] as const)(+ // cindy-window; minimum additional input is night-launch (cindy-whisper gained motion on 2026-10-17); unit tier.+ it.each(['cindy-window', 'night-launch'] as const)('shows progress for %s while keeping its tile visible',(id) => {state.id = id;@@ -73,7 +73,7 @@ describe('wallpaper download feedback', () => {.getAttribute('aria-checked'),).toBe('true');expect(screen.getAllByRole('progressbar')).toEqual([status]);- if (id === 'cindy-whisper')+ if (id === 'night-launch')expect(screen.queryByText('settings.appearance.wallpaper.motionLabel')).toBeNull();expect(status.getAttribute('aria-valuenow')).toBe('0');for (const progress of [0.25, 0.75, 1]) {@@ -91,7 +91,7 @@ describe('wallpaper download feedback', () => {},);- it.each(['cindy-window', 'cindy-whisper'] as const)(+ it.each(['cindy-window', 'night-launch'] as const)('keeps manual retry reachable for %s and lets new tiles change selection',(id) => {state.id = id;@@ -107,10 +107,10 @@ describe('wallpaper download feedback', () => {expect(state.select).not.toHaveBeenCalled();fireEvent.click(screen.getByRole('radio', {- name: 'settings.appearance.wallpaper.options.cindy-whisper',+ name: 'settings.appearance.wallpaper.options.night-launch',}),);- expect(state.select).toHaveBeenCalledWith('cindy-whisper');+ expect(state.select).toHaveBeenCalledWith('night-launch');expect(state.retry).toHaveBeenCalledOnce();state.pending = true;diff --git a/apps/desktop/src/renderer/components/settings/__tests__/WallpaperSection.keyboard.test.tsx b/apps/desktop/src/renderer/components/settings/__tests__/WallpaperSection.keyboard.test.tsxindex 105831e8d6..eb85916e32 100644--- a/apps/desktop/src/renderer/components/settings/__tests__/WallpaperSection.keyboard.test.tsx+++ b/apps/desktop/src/renderer/components/settings/__tests__/WallpaperSection.keyboard.test.tsx@@ -102,25 +102,34 @@ describe('wallpaper keyboard navigation', () => {expect(document.activeElement).toBe(tile('dune-dawn'));});- it('offers the first tile for a hidden saved selection without rewriting that preference', async () => {- saved.wallpaperId = 'blue-gaze';+ it('shows a retired saved selection as the second tile without rewriting that preference', async () => {+ saved.wallpaperId = 'cindy-window';view();- expect(tabStops()).toEqual([tile('none')]);- act(() => tile('none').focus());- expect(saved.wallpaperId).toBe('blue-gaze');+ expect(options().map((o) => o.getAttribute('aria-label')).slice(0, 3)).toEqual([+ 'settings.appearance.wallpaper.options.none',+ 'settings.appearance.wallpaper.options.cindy-window',+ 'settings.appearance.wallpaper.options.cindy-whisper',+ ]);+ expect(tabStops()).toEqual([tile('cindy-window')]);+ expect(tile('cindy-window').getAttribute('aria-checked')).toBe('true');expect(setPatch).not.toHaveBeenCalled();});+ it('drops the retired tile from the picker once it is not in use', async () => {+ view();+ expect(screen.queryByRole('radio', { name: /cindy-window$/ })).toBeNull();+ });+it('moves focus and selection with all four arrows and Home', async () => {const user = userEvent.setup();view();act(() => tile('none').focus());await user.keyboard('{ArrowRight}');- await expectSelected('cindy-window');+ await expectSelected('cindy-whisper');await user.keyboard('{ArrowDown}');- await expectSelected('cindy-studio');+ await expectSelected('cindy-night-glance');await user.keyboard('{ArrowLeft}');- await expectSelected('cindy-window');+ await expectSelected('cindy-whisper');await user.keyboard('{ArrowUp}');await expectSelected('none');await user.keyboard('{ArrowRight}{Home}');@@ -175,16 +184,16 @@ describe('wallpaper keyboard navigation', () => {it('honors RTL for horizontal keys without reversing vertical navigation', async () => {const user = userEvent.setup();- saved.wallpaperId = 'cindy-window';+ saved.wallpaperId = 'cindy-whisper';view();for (const button of options()) button.style.direction = 'rtl';- act(() => tile('cindy-window').focus());+ act(() => tile('cindy-whisper').focus());await user.keyboard('{ArrowRight}');await expectSelected('none');await user.keyboard('{ArrowLeft}');- await expectSelected('cindy-window');+ await expectSelected('cindy-whisper');await user.keyboard('{ArrowDown}');- await expectSelected('cindy-studio');+ await expectSelected('cindy-night-glance');});it('keeps busy options out of the Tab order and ignores key presses while importing', async () => {diff --git a/apps/desktop/src/renderer/hooks/__tests__/useWallpaperAsset.test.tsx b/apps/desktop/src/renderer/hooks/__tests__/useWallpaperAsset.test.tsxindex 3454f7b9f4..013d47e67f 100644--- a/apps/desktop/src/renderer/hooks/__tests__/useWallpaperAsset.test.tsx+++ b/apps/desktop/src/renderer/hooks/__tests__/useWallpaperAsset.test.tsx@@ -93,12 +93,12 @@ describe('on-demand wallpaper assets', () => {{ initialProps: { id: 'none' as WallpaperId, enabled: false } },);rerender({ id: 'custom', enabled: true });- rerender({ id: 'wheatfield-watch', enabled: false });+ rerender({ id: 'dune-dawn', enabled: false });expect(image).not.toHaveBeenCalled();expect(video).not.toHaveBeenCalled();- rerender({ id: 'wheatfield-watch', enabled: true });+ rerender({ id: 'dune-dawn', enabled: true });await waitFor(() => expect(decode).toHaveBeenCalledOnce());- expect(image).toHaveBeenCalledWith('wheatfield-watch');+ expect(image).toHaveBeenCalledWith('dune-dawn');expect(video).not.toHaveBeenCalled();rerender({ id: 'cindy-window', enabled: true });await waitFor(() => expect(video).toHaveBeenCalledOnce());diff --git a/apps/desktop/src/renderer/hooks/__tests__/useWallpaperSettings.test.tsx b/apps/desktop/src/renderer/hooks/__tests__/useWallpaperSettings.test.tsxindex 89ae4f6c4c..1eb5e6b3d0 100644--- a/apps/desktop/src/renderer/hooks/__tests__/useWallpaperSettings.test.tsx+++ b/apps/desktop/src/renderer/hooks/__tests__/useWallpaperSettings.test.tsx@@ -12,7 +12,7 @@ function Controls() {return (<><button onClick={() => settings.setWallpaper('cindy-window')}>Choose</button>- <button onClick={() => settings.setWallpaper('cindy-whisper')}>Choose Still</button>+ <button onClick={() => settings.setWallpaper('night-launch')}>Choose Still</button><button onClick={settings.resetWallpaper}>Reset</button><button onClick={() => settings.setMotion('dynamic')}>Animate</button><button onClick={() => settings.setMotion('static')}>Static</button>@@ -79,17 +79,17 @@ describe('application wallpaper lifecycle', () => {await waitFor(() => expect(ensureImage).toHaveBeenCalledExactlyOnceWith('cindy-window'));fireEvent.click(screen.getByText('Choose Still'));await waitFor(() =>- expect(setPatch).toHaveBeenCalledExactlyOnceWith({ wallpaperId: 'cindy-whisper' }),+ expect(setPatch).toHaveBeenCalledExactlyOnceWith({ wallpaperId: 'night-launch' }),);const background = () =>document.documentElement.style.getPropertyValue('--app-wallpaper-image');- expect(background()).toContain('cindy-whisper.webp');+ expect(background()).toContain('night-launch.webp');await act(async () =>finishes.get('cindy-window')!(`cindy-media://client-wallpaper/${'a'.repeat(64)}.webp`),);- expect(background()).toContain('cindy-whisper.webp');+ expect(background()).toContain('night-launch.webp');const stillUrl = `cindy-media://client-wallpaper/${'b'.repeat(64)}.webp`;- await act(async () => finishes.get('cindy-whisper')!(stillUrl));+ await act(async () => finishes.get('night-launch')!(stillUrl));expect(background()).toContain(stillUrl);expect(ensureImage).toHaveBeenCalledTimes(2);expect(ensureVideo).not.toHaveBeenCalled();diff --git a/apps/desktop/src/renderer/i18n/locales/en/common.json b/apps/desktop/src/renderer/i18n/locales/en/common.jsonindex 1cc77ab5a2..967fcbaad6 100644--- a/apps/desktop/src/renderer/i18n/locales/en/common.json+++ b/apps/desktop/src/renderer/i18n/locales/en/common.json@@ -1724,31 +1724,18 @@"cindy-studio": "Cindy · Future Atelier","cindy-dream": "Cindy · Dream Voyage","cindy-whisper": "Cindy · Whisper",- "cindy-crimson": "Cindy · Crimson Realm","cindy-night-glance": "Cindy · Night Glance","cindy-scarlet-stroll": "Cindy · Scarlet Stroll","cindy-neon": "Cindy · Neon Silhouette","cindy-prism": "Cindy · Prism Shards",- "wheatfield-watch": "Wheatfield Watch",- "teacup-cat": "Teacup Cat",- "cloud-roaming": "Under the Clouds","night-launch": "Night Launch",- "stardust-vortex": "Stardust Vortex","silent-orbits": "Silent Orbits","dune-dawn": "Dune Dawn","planet-dawn": "Planet Dawn",- "neon-valley": "Neon Valley",- "silent-circuit": "Silent Circuit","indigo-folds": "Indigo Folds",- "moon-solitude": "Moon Gazer","dune-sphere": "Dune Sphere","ocean-clouds": "Ocean Clouds",- "blush-leaves": "Blush Leaves",- "white-wilderness": "White Wilderness","rose-quartz": "Rose Quartz",- "silver-veins": "Silver Veins",- "dawn-arc": "Dawn Arc",- "tidal-lines": "Tidal Lines","custom": "Custom wallpaper"},"visibilityLabel": "Wallpaper Visibility",diff --git a/apps/desktop/src/renderer/i18n/locales/ja/common.json b/apps/desktop/src/renderer/i18n/locales/ja/common.jsonindex c3e759b866..1ef87dfc4c 100644--- a/apps/desktop/src/renderer/i18n/locales/ja/common.json+++ b/apps/desktop/src/renderer/i18n/locales/ja/common.json@@ -1695,31 +1695,18 @@"cindy-studio": "Cindy · 未来のアトリエ","cindy-dream": "Cindy · 夢の旅","cindy-whisper": "Cindy · ささやき",- "cindy-crimson": "Cindy · 深紅の世界","cindy-night-glance": "Cindy · 夜の振り返り","cindy-scarlet-stroll": "Cindy · 赤い夜の散歩","cindy-neon": "Cindy · ネオンの横顔","cindy-prism": "Cindy · プリズムのかけら",- "wheatfield-watch": "麦畑の見守り",- "teacup-cat": "カップの黒猫",- "cloud-roaming": "雲の下の旅","night-launch": "夜空への飛翔",- "stardust-vortex": "星屑の渦","silent-orbits": "静かな軌道","dune-dawn": "砂丘の夜明け","planet-dawn": "惑星の夜明け",- "neon-valley": "ネオンの谷",- "silent-circuit": "静かな回路","indigo-folds": "藍色の重なり",- "moon-solitude": "月を望む孤影","dune-sphere": "砂丘の球体","ocean-clouds": "海と流れる雲",- "blush-leaves": "淡紅の葉影",- "white-wilderness": "白原のひとり旅","rose-quartz": "ローズクォーツ",- "silver-veins": "黒岩の銀脈",- "dawn-arc": "夜明けの弧",- "tidal-lines": "潮の流線","custom": "カスタム壁紙"},"visibilityLabel": "壁紙の表示濃度",diff --git a/apps/desktop/src/renderer/i18n/locales/ko/common.json b/apps/desktop/src/renderer/i18n/locales/ko/common.jsonindex 37776db4db..505cfe52aa 100644--- a/apps/desktop/src/renderer/i18n/locales/ko/common.json+++ b/apps/desktop/src/renderer/i18n/locales/ko/common.json@@ -1695,31 +1695,18 @@"cindy-studio": "Cindy · 미래의 아틀리에","cindy-dream": "Cindy · 꿈속 여행","cindy-whisper": "Cindy · 속삭임",- "cindy-crimson": "Cindy · 진홍빛 세계","cindy-night-glance": "Cindy · 밤의 눈길","cindy-scarlet-stroll": "Cindy · 붉은 밤 산책","cindy-neon": "Cindy · 네온 옆모습","cindy-prism": "Cindy · 프리즘 조각",- "wheatfield-watch": "밀밭의 파수꾼",- "teacup-cat": "찻잔 속 검은 고양이",- "cloud-roaming": "구름 아래 여행","night-launch": "밤하늘로의 비상",- "stardust-vortex": "별가루 소용돌이","silent-orbits": "고요한 궤도","dune-dawn": "모래 언덕의 새벽","planet-dawn": "행성의 새벽",- "neon-valley": "네온 계곡",- "silent-circuit": "고요한 회로","indigo-folds": "겹겹의 쪽빛",- "moon-solitude": "달을 바라보는 그림자","dune-sphere": "모래 언덕의 구체","ocean-clouds": "바다 위 흐르는 구름",- "blush-leaves": "연분홍 잎 그림자",- "white-wilderness": "하얀 들판의 홀로 여행","rose-quartz": "장미 수정",- "silver-veins": "검은 바위의 은빛 결",- "dawn-arc": "새벽의 곡선",- "tidal-lines": "물결의 선","custom": "사용자 지정 배경화면"},"visibilityLabel": "배경화면 표시 강도",diff --git a/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json b/apps/desktop/src/renderer/i18n/locales/zh-CN/common.jsonindex 19f0125717..a232fcb60f 100644--- a/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json+++ b/apps/desktop/src/renderer/i18n/locales/zh-CN/common.json@@ -1695,31 +1695,18 @@"cindy-studio": "Cindy · 未来工作室","cindy-dream": "Cindy · 梦境漫游","cindy-whisper": "Cindy · 悄悄话",- "cindy-crimson": "Cindy · 绯红之境","cindy-night-glance": "Cindy · 夜色回眸","cindy-scarlet-stroll": "Cindy · 赤夜漫步","cindy-neon": "Cindy · 霓光侧影","cindy-prism": "Cindy · 棱镜碎光",- "wheatfield-watch": "麦田守望",- "teacup-cat": "杯中黑猫",- "cloud-roaming": "云下远行","night-launch": "夜航流光",- "stardust-vortex": "星尘漩涡","silent-orbits": "静谧星轨","dune-dawn": "沙海晨光","planet-dawn": "星海晨曦",- "neon-valley": "霓虹峡谷",- "silent-circuit": "静默电路","indigo-folds": "靛蓝层叠",- "moon-solitude": "孤影望月","dune-sphere": "沙丘圆石","ocean-clouds": "沧海流云",- "blush-leaves": "浅绛疏影",- "white-wilderness": "白原孤旅","rose-quartz": "蔷薇晶矿",- "silver-veins": "黛岩银脉",- "dawn-arc": "暗界晨弧",- "tidal-lines": "潮汐流线","custom": "自定义壁纸"},"visibilityLabel": "壁纸可见度",diff --git a/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json b/apps/desktop/src/renderer/i18n/locales/zh-TW/common.jsonindex 097e7685e9..f1d2754f79 100644--- a/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json+++ b/apps/desktop/src/renderer/i18n/locales/zh-TW/common.json@@ -1695,31 +1695,18 @@"cindy-studio": "Cindy · 未來工作室","cindy-dream": "Cindy · 夢境漫遊","cindy-whisper": "Cindy · 悄悄話",- "cindy-crimson": "Cindy · 緋紅之境","cindy-night-glance": "Cindy · 夜色回眸","cindy-scarlet-stroll": "Cindy · 赤夜漫步","cindy-neon": "Cindy · 霓光側影","cindy-prism": "Cindy · 稜鏡碎光",- "wheatfield-watch": "麥田守望",- "teacup-cat": "杯中黑貓",- "cloud-roaming": "雲下遠行","night-launch": "夜航流光",- "stardust-vortex": "星塵漩渦","silent-orbits": "靜謐星軌","dune-dawn": "沙海晨光","planet-dawn": "星海晨曦",- "neon-valley": "霓虹峽谷",- "silent-circuit": "靜默電路","indigo-folds": "靛藍層疊",- "moon-solitude": "孤影望月","dune-sphere": "沙丘圓石","ocean-clouds": "滄海流雲",- "blush-leaves": "淺絳疏影",- "white-wilderness": "白原孤旅","rose-quartz": "薔薇晶礦",- "silver-veins": "黛岩銀脈",- "dawn-arc": "暗界晨弧",- "tidal-lines": "潮汐流線","custom": "自訂桌布"},"visibilityLabel": "桌布可見度",diff --git a/apps/desktop/src/renderer/lib/wallpaper.ts b/apps/desktop/src/renderer/lib/wallpaper.tsindex c38c7e3c06..990b7afca0 100644--- a/apps/desktop/src/renderer/lib/wallpaper.ts+++ b/apps/desktop/src/renderer/lib/wallpaper.ts@@ -6,31 +6,16 @@ import cindyDream from '@/assets/wallpapers/previews/cindy-dream.webp';import cindyWhisper from '@/assets/wallpapers/thumbnails/cindy-whisper.webp';import cindyNeon from '@/assets/wallpapers/thumbnails/cindy-neon.webp';import cindyPrism from '@/assets/wallpapers/thumbnails/cindy-prism.webp';-import cindyCrimson from '@/assets/wallpapers/thumbnails/cindy-crimson.webp';import cindyNightGlance from '@/assets/wallpapers/thumbnails/cindy-night-glance.webp';import cindyScarletStroll from '@/assets/wallpapers/thumbnails/cindy-scarlet-stroll.webp';-import cloudRoaming from '@/assets/wallpapers/thumbnails/cloud-roaming.webp';import nightLaunch from '@/assets/wallpapers/thumbnails/night-launch.webp';-import stardustVortex from '@/assets/wallpapers/thumbnails/stardust-vortex.webp';import silentOrbits from '@/assets/wallpapers/thumbnails/silent-orbits.webp';import duneDawn from '@/assets/wallpapers/thumbnails/dune-dawn.webp';import planetDawn from '@/assets/wallpapers/thumbnails/planet-dawn.webp';-import neonValley from '@/assets/wallpapers/thumbnails/neon-valley.webp';-import silentCircuit from '@/assets/wallpapers/thumbnails/silent-circuit.webp';import indigoFolds from '@/assets/wallpapers/thumbnails/indigo-folds.webp';-import wheatfieldWatch from '@/assets/wallpapers/thumbnails/wheatfield-watch.webp';-import moonSolitude from '@/assets/wallpapers/thumbnails/moon-solitude.webp';-import teacupCat from '@/assets/wallpapers/thumbnails/teacup-cat.webp';import duneSphere from '@/assets/wallpapers/thumbnails/dune-sphere.webp';-import amberLight from '@/assets/wallpapers/thumbnails/amber-light.webp';import oceanClouds from '@/assets/wallpapers/thumbnails/ocean-clouds.webp';-import blushLeaves from '@/assets/wallpapers/thumbnails/blush-leaves.webp';-import whiteWilderness from '@/assets/wallpapers/thumbnails/white-wilderness.webp';-import blueGaze from '@/assets/wallpapers/thumbnails/blue-gaze.webp';import roseQuartz from '@/assets/wallpapers/thumbnails/rose-quartz.webp';-import silverVeins from '@/assets/wallpapers/thumbnails/silver-veins.webp';-import dawnArc from '@/assets/wallpapers/thumbnails/dawn-arc.webp';-import tidalLines from '@/assets/wallpapers/thumbnails/tidal-lines.webp';/** All official originals use the main-process downloader; only previews are bundled. */export function isCdnWallpaper(id: WallpaperId): id is keyof typeof wallpaperManifest {@@ -55,31 +40,16 @@ const BUILTIN_WALLPAPER_BACKGROUNDS: Partial<Record<WallpaperId, string>> = {'cindy-whisper': `url("${cindyWhisper}")`,'cindy-neon': `url("${cindyNeon}")`,'cindy-prism': `url("${cindyPrism}")`,- 'cindy-crimson': `url("${cindyCrimson}")`,'cindy-night-glance': `url("${cindyNightGlance}")`,'cindy-scarlet-stroll': `url("${cindyScarletStroll}")`,- 'cloud-roaming': `url("${cloudRoaming}")`,'night-launch': `url("${nightLaunch}")`,- 'stardust-vortex': `url("${stardustVortex}")`,'silent-orbits': `url("${silentOrbits}")`,'dune-dawn': `url("${duneDawn}")`,'planet-dawn': `url("${planetDawn}")`,- 'neon-valley': `url("${neonValley}")`,- 'silent-circuit': `url("${silentCircuit}")`,'indigo-folds': `url("${indigoFolds}")`,- 'wheatfield-watch': `url("${wheatfieldWatch}")`,- 'moon-solitude': `url("${moonSolitude}")`,- 'teacup-cat': `url("${teacupCat}")`,'dune-sphere': `url("${duneSphere}")`,- 'amber-light': `url("${amberLight}")`,'ocean-clouds': `url("${oceanClouds}")`,- 'blush-leaves': `url("${blushLeaves}")`,- 'white-wilderness': `url("${whiteWilderness}")`,- 'blue-gaze': `url("${blueGaze}")`,'rose-quartz': `url("${roseQuartz}")`,- 'silver-veins': `url("${silverVeins}")`,- 'dawn-arc': `url("${dawnArc}")`,- 'tidal-lines': `url("${tidalLines}")`,};export function getBuiltinWallpaperBackground(id: WallpaperId): string | undefined {diff --git a/apps/desktop/src/shared/appearanceSettings.ts b/apps/desktop/src/shared/appearanceSettings.tsindex 4ba216cd40..bb65ed87e4 100644--- a/apps/desktop/src/shared/appearanceSettings.ts+++ b/apps/desktop/src/shared/appearanceSettings.ts@@ -75,40 +75,25 @@ export const APPEARANCE_LIMITS = {/** Current picker order; saved selections also accept the hidden compatibility IDs below. */export const SELECTABLE_WALLPAPER_IDS = ['none',- 'cindy-window',- 'cindy-studio',- 'cindy-dream','cindy-whisper',- 'cindy-crimson','cindy-night-glance','cindy-scarlet-stroll','cindy-neon','cindy-prism',- 'wheatfield-watch',- 'teacup-cat',- 'moon-solitude','night-launch',- 'stardust-vortex','silent-orbits','dune-dawn','planet-dawn',- 'neon-valley',- 'silent-circuit','indigo-folds',- 'cloud-roaming','dune-sphere','ocean-clouds',- 'blush-leaves',- 'white-wilderness','rose-quartz',- 'silver-veins',- 'dawn-arc',- 'tidal-lines','custom',] as const;-/** Keep already-selected artwork working when a choice is removed from the picker. */-export const WALLPAPER_IDS = [...SELECTABLE_WALLPAPER_IDS, 'blue-gaze', 'amber-light'] as const;+/** Removed from the picker; saved selections keep working until the user switches away. */+export const RETIRED_WALLPAPER_IDS = ['cindy-window', 'cindy-studio', 'cindy-dream'] as const;+export const WALLPAPER_IDS = [...SELECTABLE_WALLPAPER_IDS, ...RETIRED_WALLPAPER_IDS] as const;export type WallpaperId = (typeof WALLPAPER_IDS)[number];export function normalizeCustomWallpaperUrl(value: unknown): string {diff --git a/apps/desktop/src/shared/wallpaper-video-manifest.json b/apps/desktop/src/shared/wallpaper-video-manifest.jsonindex 37252e4ca6..13098358c7 100644--- a/apps/desktop/src/shared/wallpaper-video-manifest.json+++ b/apps/desktop/src/shared/wallpaper-video-manifest.json@@ -40,6 +40,12 @@},"cindy-whisper": {"delivery": "cdn",+ "sha256": "5a292e50cac2dbf08099440913984750e32df56c43e5ada1535da5958aabbe3d",+ "bytes": 18353638,+ "width": 1920,+ "height": 1080,+ "fps": 24,+ "duration": 10.042,"image": {"sha256": "20c6046e462d514b7fc7d4d5b30351c510f395915bb91fdbd23d8e3cd61ba24d","bytes": 570506@@ -47,6 +53,12 @@},"cindy-neon": {"delivery": "cdn",+ "sha256": "bd4cad0dc270ad2e8f243b4f2e8975bf9bfc44dc124200d2a27fa46f0a3d6a46",+ "bytes": 14085969,+ "width": 1920,+ "height": 1080,+ "fps": 24,+ "duration": 10.042,"image": {"sha256": "e8a38fc4e291e7f3930d1cafd6d0cf73c141be150ffac783754ec83fd28e2069","bytes": 192046@@ -54,20 +66,25 @@},"cindy-prism": {"delivery": "cdn",+ "sha256": "1a7f7f9dae1ecbb7b60e3e7968f6ae7847d2eb65b009437ce36ffc0e14e6bf01",+ "bytes": 22641879,+ "width": 1920,+ "height": 1080,+ "fps": 24,+ "duration": 10.042,"image": {"sha256": "84c73fc02a1232e7178ad22a6034c003f5d657c79f3db2199ae25a1a3b1c5d83","bytes": 369734}},- "cindy-crimson": {- "delivery": "cdn",- "image": {- "sha256": "6c5e7c5b21d398745ea833df21e3d6ab32aba12fbbb40ae0d7c73eed69cc0dc9",- "bytes": 376348- }- },"cindy-night-glance": {"delivery": "cdn",+ "sha256": "e56374d60a824e01e29dbaaa8da543634dae0ef3be6df57ad7ee7e45293ff5ff",+ "bytes": 14780511,+ "width": 1920,+ "height": 1080,+ "fps": 24,+ "duration": 10.042,"image": {"sha256": "091d6d0ad4c64c6d658cce219f35fe72021e3af849512d2cb8c50bdeeb37315d","bytes": 799156@@ -75,18 +92,17 @@},"cindy-scarlet-stroll": {"delivery": "cdn",+ "sha256": "2e4f78d07aa987f06e5da2fa0497f81cc1ca86c5f6a037dfd0f533dbcf6d7200",+ "bytes": 16397997,+ "width": 1920,+ "height": 1080,+ "fps": 24,+ "duration": 10.042,"image": {"sha256": "4cecd5b6ebefdc298c881eb17f56445565eea45ebb189dac8b8dc1ed01bb5c7c","bytes": 677244}},- "cloud-roaming": {- "delivery": "cdn",- "image": {- "sha256": "36ad77734856a34d4d21c89a8abb62cfbd2dc977d937e0a19ae04183aa8b7ab1",- "bytes": 186442- }- },"night-launch": {"delivery": "cdn","image": {@@ -94,13 +110,6 @@"bytes": 406080}},- "stardust-vortex": {- "delivery": "cdn",- "image": {- "sha256": "15961306156ff0d408598dc9679034186ebd0a4a2e424a45a9a90ff565cb7e6b",- "bytes": 480212- }- },"silent-orbits": {"delivery": "cdn","image": {@@ -122,20 +131,6 @@"bytes": 404226}},- "neon-valley": {- "delivery": "cdn",- "image": {- "sha256": "04dd0f82c890904f47c1198319375c69cfb62ad72e435d65133b6b56f57396e8",- "bytes": 655006- }- },- "silent-circuit": {- "delivery": "cdn",- "image": {- "sha256": "cad7e877de6c66e711ec2a80cc3f4316a539cdd7694cedf33177bfb6ad27fd11",- "bytes": 325584- }- },"indigo-folds": {"delivery": "cdn","image": {@@ -143,27 +138,6 @@"bytes": 323432}},- "wheatfield-watch": {- "delivery": "cdn",- "image": {- "sha256": "ae68d0404576c5df0aa5b9e7505737443b93a08c747efab71749b86b659a1880",- "bytes": 897422- }- },- "moon-solitude": {- "delivery": "cdn",- "image": {- "sha256": "efc5b241a1000d5bcc5edb5eff2eeb2e359f211ae23fa34c5886af0820f1693f",- "bytes": 477252- }- },- "teacup-cat": {- "delivery": "cdn",- "image": {- "sha256": "73ba1f2175ff328230bec093857c0138b7e5018a9a2fea05b26acfeb39be6f7f",- "bytes": 697458- }- },"dune-sphere": {"delivery": "cdn","image": {@@ -171,13 +145,6 @@"bytes": 381164}},- "amber-light": {- "delivery": "cdn",- "image": {- "sha256": "08209831fc2a495b878021862ebc6cd6e036b3509ca7fdcb2e21e81ddf12b0ed",- "bytes": 547930- }- },"ocean-clouds": {"delivery": "cdn","image": {@@ -185,53 +152,11 @@"bytes": 261362}},- "blush-leaves": {- "delivery": "cdn",- "image": {- "sha256": "1bfea5c8b698ba469f20494748a4757bef5f289fe1152752f119385e998fe1cb",- "bytes": 322246- }- },- "white-wilderness": {- "delivery": "cdn",- "image": {- "sha256": "384009a1ccf1a1310f0318c872161cff2521c2f3aef62b5d4e8d3a312725ed13",- "bytes": 256524- }- },- "blue-gaze": {- "delivery": "cdn",- "image": {- "sha256": "aa6cc107f477927b344fa5b39e523ac2ca61f85d64f80c164fc64478aa5e4a6b",- "bytes": 182562- }- },"rose-quartz": {"delivery": "cdn","image": {"sha256": "c627ee2ae28c87f19d19cedf4c89002c1a69864d5982e1173fa730eebe41346a","bytes": 622300}- },- "silver-veins": {- "delivery": "cdn",- "image": {- "sha256": "d824fcacb3bf3627da9eeb27aa9a30451928be9db4997ae1cac6a2bc407a29d0",- "bytes": 347328- }- },- "dawn-arc": {- "delivery": "cdn",- "image": {- "sha256": "76819a854079bc84c7d7420b3d2821300f64c0084927778bb06571c78ce3257c",- "bytes": 400652- }- },- "tidal-lines": {- "delivery": "cdn",- "image": {- "sha256": "cf5d38c78dc0da45e5092ef21eff75c3b23f0bbbf1923a7848abd21d8a5e06b0",- "bytes": 606158- }}}diff --git a/docs/dev-rules/media-storage-and-protocols.md b/docs/dev-rules/media-storage-and-protocols.mdindex 05bf6b7fcb..9a34043fed 100644--- a/docs/dev-rules/media-storage-and-protocols.md+++ b/docs/dev-rules/media-storage-and-protocols.md@@ -99,8 +99,11 @@- 所有官方壁纸原图均为 OSS/CDN 按需分发(2026-10-17 用户裁决,将三款场景的已有下载链路扩展到其余静态图片,替代静态原图随包的决定)。包内仅保留`renderer/assets/wallpapers/previews/` 中的三款 640×400 WebP 与 `thumbnails/` 中的静态缩略图;- 原始高清图和 2304×1440 MP4 保留为发布输入,不进入 Renderer 资源依赖图。- 清单中静态条目只有 `delivery` 与 `image`,顶层视频元数据仅用于三款动态场景;+ 原始高清图和 MP4 保留为发布输入,不进入 Renderer 资源依赖图。+ 清单中静态条目只有 `delivery` 与 `image`,顶层视频元数据仅用于带动态版的场景;+ 2026-10-17 起五张 Cindy 壁纸(悄悄话、夜色回眸、赤夜漫步、霓光侧影、棱镜碎光)增加 1920×1080 动态版,+ 窗边陪伴、未来工作室、梦境漫游从选择器下架(`RETIRED_WALLPAPER_IDS`),清单条目与 CDN 对象保留,+ 已选用户的静态与动态照常可用,并在其设置中临时显示为选中项;静态条目不暴露动态选项、不下载视频。默认无壁纸和浏览设置列表不下载,选中且可见时下载对应高清图,动态模式且未启用减少动态效果时再下载视频;下载或解码失败保留可用背景。传输复用统一下载器并保留 guardedOutboundFetch 的来源校验,清单大小及 SHA-256 校验后入仓。