fix: handle same-version agent runtime updates (#2120)

This commit is contained in:
Carlos Florêncio
2026-08-01 11:18:37 +01:00
committed by GitHub
parent 03e179c4d3
commit 01beeb3753
11 changed files with 508 additions and 41 deletions
+6 -1
View File
@@ -36,7 +36,12 @@ release.
Select the update icon to deliberately check npm and refresh the managed
runtime on the Kandev host. Before anything changes, the update dialog shows
the current and upstream target versions, the exact command Kandev will run,
and how the update affects sessions. Select **Approve update** to start it.
and how the update affects sessions. When the reported current and target
versions match, the dialog shows the version once as **Up to date** and keeps
**Approve update** disabled. After a successful preview provides both current
and target versions and they differ, select **Approve update** to start it;
the action stays disabled when either version is missing, the preview is
loading, or the preview has an error.
The dialog streams progress and stdout/stderr until the update finishes; those
details do not appear on the agent card and are cleared when you restart the
page. After the package update, Kandev automatically starts a fresh ACP