Add show_version_updates CLI feature flag

Registers a show_version_updates bool flag (default true) in CLI_FEATURE_FLAG_REGISTRY so launchers can override the frontend default for new-release/version-update notifications via --feature-flag.

Amp-Thread-ID: https://ampcode.com/threads/T-019f0347-dc00-723a-a4d2-558539329035
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Jedrzej Kosinski 2026-06-26 02:46:35 -07:00
parent 7cb784e0f4
commit 9c0f66817a

View File

@ -30,6 +30,11 @@ CLI_FEATURE_FLAG_REGISTRY: dict[str, FeatureFlagInfo] = {
"default": False,
"description": "Signal the frontend that telemetry collection is enabled",
},
"show_version_updates": {
"type": "bool",
"default": True,
"description": "Default for whether the frontend shows new-release/version-update notifications (the user setting can still override it)",
},
}