Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(runtimes): skip CLI update prompts for desktop-managed runtimes (#1243)
LinYushenc22a9bd88eea
diff --git a/packages/core/runtimes/hooks.ts b/packages/core/runtimes/hooks.tsindex 55daa23bf1..59bded69ca 100644--- a/packages/core/runtimes/hooks.ts+++ b/packages/core/runtimes/hooks.ts@@ -28,6 +28,11 @@ function runtimeNeedsUpdate(if (rt.runtime_mode !== "local") return false;// Only show to the user who owns this runtime.if (rt.owner_id !== userId) return false;+ // Desktop-managed runtimes are updated by the Desktop app's own auto-updater;+ // the platform should not surface CLI update prompts for them.+ if (rt.metadata && rt.metadata.launched_by === "desktop") {+ return false;+ }const cliVersion =rt.metadata && typeof rt.metadata.cli_version === "string"? rt.metadata.cli_version