From 1df4feb005a7e69a0a736245e2ae7101efed7115 Mon Sep 17 00:00:00 2001 From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com> Date: Mon, 13 Jul 2026 02:31:14 -0700 Subject: [PATCH] fix(skills): stub autoUpdateManaged in the web preload API The web client has no local skill filesystem, so the background batch resolves to the same empty declined result the desktop returns when auto-update is unavailable. --- src/renderer/src/web/web-preload-api.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/renderer/src/web/web-preload-api.ts b/src/renderer/src/web/web-preload-api.ts index 8879d729d16..021ba8b0a98 100644 --- a/src/renderer/src/web/web-preload-api.ts +++ b/src/renderer/src/web/web-preload-api.ts @@ -2608,6 +2608,10 @@ function createSkillsApi(): NonNullable['skills']> { replace: () => Promise.reject(new Error('Skill management is unavailable in the web client.')), updateManaged: () => Promise.reject(new Error('Skill management is unavailable in the web client.')), + // Why: auto-update is a silent background batch, so the web client + // declines with the same empty result the desktop uses when unavailable. + autoUpdateManaged: () => + Promise.resolve({ updatedSkillNames: [], failedSkillNames: [], inventory: null }), recordOrcaInstall: () => Promise.reject(new Error('Skill management is unavailable in the web client.')) }