mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-26 20:45:37 +02:00
Desktop-launched daemons have their CLI binary overwritten by the Desktop app on every launch, so any in-app update is reset. The detail panel already renders 'Managed by Desktop' and hides the Update button when metadata.launched_by === 'desktop', but the sidebar red dot (useMyRuntimesNeedUpdate) and the list arrow (useUpdatableRuntimeIds) still flagged them because runtimeNeedsUpdate() only considered mode/owner/version. Short-circuit runtimeNeedsUpdate() on launched_by === 'desktop' so all three surfaces (sidebar dot, list arrow, detail panel) agree and defer CLI upgrades to the Desktop auto-updater. Co-authored-by: CC-Girl <cc-girl@multica.ai> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>