fix(tui): clarify update notifications (#47372)

This commit is contained in:
James Long
2026-09-04 18:03:12 -04:00
committed by GitHub
Unverified
parent 6d791dfe67
commit 0991e8b5a5
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ const make = Effect.gen(function* () {
Effect.orElseSucceed(() => undefined),
),
)
return values.findLast((value) => value !== undefined) ?? "auto"
return values.findLast((value) => value !== undefined) ?? "notify"
})
const exec = Effect.fnUntraced(function* (command: string[], timeout: Duration.Input = "10 seconds") {
+2 -2
View File
@@ -144,8 +144,8 @@ function UpdateNotification() {
onMouseUp={() => update.open?.("notification")}
>
<UpdateMessage
title="Update available"
description={`Version ${state.version} is available. Click for more details`}
title={state.type === "installed" ? "Update installed" : "Update available"}
description={`Version ${state.version} is ${state.type === "installed" ? "installed" : "available"}. Click for more details`}
backdrop={
hovered() === "primary" ? theme.background.action.primary.hovered : theme.background.default
}
+1 -1
View File
@@ -131,7 +131,7 @@ agents.
Control update checks from the global config. Set `update` to `"disable"` to
skip them, `"notify"` to show available updates before installing them, or
`"auto"` to install updates automatically. When omitted, `update` defaults to `"auto"`.
`"auto"` to install updates automatically. When omitted, `update` defaults to `"notify"`.
Automatic installation does not restart a running server. Restart it manually to activate the installed update.
Project-level values are ignored.