Make older app-server notices configurable in the TUI (#43698)

## What changed

Add `tui.show_server_version_notice`, enabled by default. Set it to `false` to suppress informational notices about older stable app servers at startup, on reconnect, and in the agents overview. Compatibility errors and version status remain unaffected.

Refresh the overview notice when local settings change, clearing pending notices when the setting is disabled.

## Testing

Add coverage for disabling and re-enabling overview notices, clearing pending notice state, and preserving remote version status. Extend reconnect and local-settings tests to cover the new setting.

GitOrigin-RevId: d50dcf4472ee221ce31cdd7ab2cd766f901a8039
This commit is contained in:
Eric Traut authored and copyberry committed 2026-09-08 04:35:21 +00:00
1 parent 9a3af22d01
commit 49a9d78999
18 files changed
+204 -28

No files matched your search

+5
View File
@@ -4119,6 +4119,11 @@
"default": null,
"description": "Preferred layout for resume/fork session picker results."
},
"show_server_version_notice": {
"default": true,
"description": "Show an informational notice when the connected app server is an older stable release. Defaults to `true`; this does not control compatibility errors or version status.",
"type": "boolean"
},
"show_tooltips": {
"default": true,
"description": "Show startup tooltips in the TUI welcome screen. Defaults to `true`.",