From 9c0f66817a90faea1af7db280fd538a859422c75 Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Fri, 26 Jun 2026 02:46:35 -0700 Subject: [PATCH] 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 --- comfy_api/feature_flags.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/comfy_api/feature_flags.py b/comfy_api/feature_flags.py index 0f30608a9..a74fe9e79 100644 --- a/comfy_api/feature_flags.py +++ b/comfy_api/feature_flags.py @@ -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)", + }, }