LCOV - code coverage report
Current view: top level - src/platform/settings/constants - coreSettings.ts Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 89.7 % 39 35
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1              : import { LinkMarkerShape, LiteGraph } from '@/lib/litegraph/src/litegraph'
       2              : import {
       3              :   getDefaultLocale,
       4              :   SUPPORTED_LOCALE_OPTIONS
       5              : } from '@/locales/localeConfig'
       6              : import { isCloud, isDesktop, isNightly } from '@/platform/distribution/types'
       7              : import { TOUR_SEEN_SETTING } from '@/platform/onboarding/onboardingTours'
       8              : import { CANVAS_NAVIGATION_PRESETS } from '@comfyorg/settings-core/canvasNavigation'
       9              : import { AGENT_ONBOARDED_SCOPES_SETTING_ID } from '@/platform/settings/constants/agent'
      10              : import { useSettingStore } from '@/platform/settings/settingStore'
      11              : import type { SettingParams } from '@comfyorg/settings-core/types'
      12              : import { normalizeDisabledExtensionPaths } from '@/platform/settings/utils/extensionPath'
      13              : import type { Keybinding } from '@comfyorg/keybindings/types'
      14              : import { NodeBadgeMode } from '@/types/nodeSource'
      15              : import { LinkReleaseTriggerAction } from '@comfyorg/settings-core/searchBoxTypes'
      16              : import { breakpointsTailwind } from '@vueuse/core'
      17              : 
      18              : /**
      19              :  * Core settings are essential configuration parameters required for ComfyUI's basic functionality.
      20              :  * These settings must be present in the settings store and cannot be omitted.
      21              :  *
      22              :  * IMPORTANT: To prevent ID conflicts, settings should be marked as deprecated rather than removed
      23              :  * when they are no longer needed.
      24              :  */
      25         2355 : export const CORE_SETTINGS: SettingParams[] = [
      26              :   {
      27              :     id: 'Comfy.Memory.AllowManualUnload',
      28              :     name: 'Allow manual unload of models and execution cache via user command',
      29              :     type: 'hidden',
      30              :     defaultValue: isCloud ? false : true,
      31              :     versionAdded: '1.18.0'
      32              :   },
      33              :   {
      34              :     id: 'Comfy.Validation.Workflows',
      35              :     name: 'Validate workflows',
      36              :     type: 'boolean',
      37              :     defaultValue: false
      38              :   },
      39              :   {
      40              :     id: 'Comfy.NodeSearchBoxImpl',
      41              :     category: ['Comfy', 'Node Search Box', 'Implementation'],
      42              :     experimental: true,
      43              :     name: 'Node search box implementation',
      44              :     type: 'combo',
      45              :     options: ['default', 'v1 (legacy)', 'litegraph (legacy)'],
      46              :     defaultValue: 'default'
      47              :   },
      48              :   {
      49              :     id: 'Comfy.LinkRelease.Action',
      50              :     category: ['LiteGraph', 'LinkRelease', 'Action'],
      51              :     name: 'Action on link release (No modifier)',
      52              :     type: 'combo',
      53              :     options: Object.values(LinkReleaseTriggerAction),
      54              :     defaultValue: LinkReleaseTriggerAction.CONTEXT_MENU,
      55              :     defaultsByInstallVersion: {
      56              :       '1.24.1': LinkReleaseTriggerAction.SEARCH_BOX
      57              :     }
      58              :   },
      59              :   {
      60              :     id: 'Comfy.LinkRelease.ActionShift',
      61              :     category: ['LiteGraph', 'LinkRelease', 'ActionShift'],
      62              :     name: 'Action on link release (Shift)',
      63              :     type: 'combo',
      64              :     options: Object.values(LinkReleaseTriggerAction),
      65              :     defaultValue: LinkReleaseTriggerAction.SEARCH_BOX,
      66              :     defaultsByInstallVersion: {
      67              :       '1.24.1': LinkReleaseTriggerAction.CONTEXT_MENU
      68              :     }
      69              :   },
      70              :   {
      71              :     id: 'Comfy.NodeSearchBoxImpl.NodePreview',
      72              :     category: ['Comfy', 'Node Search Box', 'NodePreview'],
      73              :     name: 'Node preview',
      74              :     tooltip: 'Only applies to the default implementation',
      75              :     type: 'boolean',
      76              :     defaultValue: true
      77              :   },
      78              :   {
      79              :     id: 'Comfy.NodeSearchBoxImpl.FollowCursor',
      80              :     category: ['Comfy', 'Node Search Box', 'FollowCursor'],
      81              :     name: 'Added nodes follow the cursor',
      82              :     tooltip:
      83              :       'When enabled, nodes added from the search box follow the cursor until clicked to place. Only applies to the default implementation.',
      84              :     type: 'boolean',
      85              :     defaultValue: true,
      86              :     versionAdded: '1.44.4'
      87              :   },
      88              :   {
      89              :     id: 'Comfy.NodeSearchBoxImpl.ShowCategory',
      90              :     category: ['Comfy', 'Node Search Box', 'ShowCategory'],
      91              :     name: 'Show node category in search results',
      92              :     tooltip: 'Only applies to v1 (legacy)',
      93              :     type: 'boolean',
      94              :     defaultValue: true
      95              :   },
      96              :   {
      97              :     id: 'Comfy.NodeSearchBoxImpl.ShowIdName',
      98              :     category: ['Comfy', 'Node Search Box', 'ShowIdName'],
      99              :     name: 'Show node id name in search results',
     100              :     tooltip: 'Does not apply to litegraph (legacy)',
     101              :     type: 'boolean',
     102              :     defaultValue: false
     103              :   },
     104              :   {
     105              :     id: 'Comfy.NodeSearchBoxImpl.ShowNodeFrequency',
     106              :     category: ['Comfy', 'Node Search Box', 'ShowNodeFrequency'],
     107              :     name: 'Show node frequency in search results',
     108              :     tooltip: 'Only applies to v1 (legacy)',
     109              :     type: 'boolean',
     110              :     defaultValue: false
     111              :   },
     112              :   {
     113              :     id: 'Comfy.Sidebar.Location',
     114              :     category: ['Appearance', 'Sidebar', 'Location'],
     115              :     name: 'Sidebar location',
     116              :     type: 'combo',
     117              :     options: ['left', 'right'],
     118              :     defaultValue: 'left'
     119              :   },
     120              :   {
     121              :     id: 'Comfy.Sidebar.Size',
     122              :     category: ['Appearance', 'Sidebar', 'Size'],
     123              :     name: 'Sidebar size',
     124              :     type: 'combo',
     125              :     options: ['normal', 'small'],
     126              :     // Default to small if the window is less than 1536px(2xl) wide.
     127              :     defaultValue: () => (window.innerWidth < 1536 ? 'small' : 'normal')
     128              :   },
     129              :   {
     130              :     id: 'Comfy.Sidebar.UnifiedWidth',
     131              :     category: ['Appearance', 'Sidebar', 'UnifiedWidth'],
     132              :     name: 'Unified sidebar width',
     133              :     type: 'boolean',
     134              :     defaultValue: true,
     135              :     versionAdded: '1.18.1'
     136              :   },
     137              :   {
     138              :     id: 'Comfy.Sidebar.Style',
     139              :     category: ['Appearance', 'Sidebar', 'Style'],
     140              :     name: 'Sidebar style',
     141              :     type: 'combo',
     142              :     options: ['floating', 'connected'],
     143              :     defaultValue: 'connected'
     144              :   },
     145              :   {
     146              :     id: 'Comfy.TextareaWidget.FontSize',
     147              :     category: ['Appearance', 'Node Widget', 'TextareaWidget', 'FontSize'],
     148              :     name: 'Textarea widget font size',
     149              :     type: 'slider',
     150              :     defaultValue: 10,
     151              :     attrs: {
     152              :       min: 8,
     153              :       max: 24
     154              :     }
     155              :   },
     156              :   {
     157              :     id: 'Comfy.TextareaWidget.Spellcheck',
     158              :     category: ['Comfy', 'Node Widget', 'TextareaWidget', 'Spellcheck'],
     159              :     name: 'Textarea widget spellcheck',
     160              :     type: 'boolean',
     161              :     defaultValue: false
     162              :   },
     163              :   {
     164              :     id: 'Comfy.Workflow.SortNodeIdOnSave',
     165              :     name: 'Sort node IDs when saving workflow',
     166              :     type: 'boolean',
     167              :     defaultValue: false
     168              :   },
     169              :   {
     170              :     id: 'Comfy.Workflow.NamedValuesRestore',
     171              :     name: 'Restore widget values by name',
     172              :     type: 'boolean',
     173              :     defaultValue: true,
     174              :     experimental: true
     175              :   },
     176              :   {
     177              :     id: 'Comfy.Canvas.NavigationMode',
     178              :     category: ['LiteGraph', 'Canvas Navigation', 'NavigationMode'],
     179              :     name: 'Navigation Mode',
     180              :     defaultValue: 'legacy',
     181              :     type: 'combo',
     182              :     sortOrder: 100,
     183              :     options: [
     184              :       { value: 'standard', text: 'Standard (New)' },
     185              :       { value: 'legacy', text: 'Drag Navigation' },
     186              :       { value: 'custom', text: 'Custom' }
     187              :     ],
     188              :     versionAdded: '1.25.0',
     189              :     defaultsByInstallVersion: {
     190              :       '1.25.0': 'legacy'
     191              :     },
     192              :     onChange: async (val: unknown, old?: unknown) => {
     193         2368 :       if (!old || typeof val !== 'string') return
     194           13 :       const preset = CANVAS_NAVIGATION_PRESETS[val]
     195          305 :       if (!preset) return
     196              : 
     197            2 :       await useSettingStore().setMany(preset)
     198              :     }
     199              :   },
     200              :   {
     201              :     id: 'Comfy.Canvas.LeftMouseClickBehavior',
     202              :     category: ['LiteGraph', 'Canvas Navigation', 'LeftMouseClickBehavior'],
     203              :     name: 'Left Mouse Click Behavior',
     204              :     defaultValue: 'panning',
     205              :     type: 'radio',
     206              :     sortOrder: 50,
     207              :     options: [
     208              :       { value: 'panning', text: 'Panning' },
     209              :       { value: 'select', text: 'Select' }
     210              :     ],
     211              :     versionAdded: '1.27.4',
     212              :     onChange: async (val: unknown) => {
     213         2360 :       const newValue = val as string
     214         2360 :       const settingStore = useSettingStore()
     215              : 
     216         2360 :       const navigationMode = settingStore.get('Comfy.Canvas.NavigationMode')
     217              : 
     218         2360 :       if (navigationMode !== 'custom') {
     219         2357 :         if (
     220              :           (newValue === 'select' && navigationMode === 'standard') ||
     221              :           (newValue === 'panning' && navigationMode === 'legacy')
     222              :         ) {
     223         2348 :           return
     224              :         }
     225              : 
     226              :         // only set to custom if it doesn't match the preset modes
     227            9 :         await settingStore.set('Comfy.Canvas.NavigationMode', 'custom')
     228              :       }
     229              :     }
     230              :   },
     231              :   {
     232              :     id: 'Comfy.Canvas.MouseWheelScroll',
     233              :     category: ['LiteGraph', 'Canvas Navigation', 'MouseWheelScroll'],
     234              :     name: 'Mouse Wheel Scroll',
     235              :     defaultValue: 'zoom',
     236              :     type: 'radio',
     237              :     options: [
     238              :       { value: 'panning', text: 'Panning' },
     239              :       { value: 'zoom', text: 'Zoom in/out' }
     240              :     ],
     241              :     versionAdded: '1.27.4',
     242              :     onChange: async (val: unknown) => {
     243         2358 :       const newValue = val as string
     244         2358 :       const settingStore = useSettingStore()
     245              : 
     246         2358 :       const navigationMode = settingStore.get('Comfy.Canvas.NavigationMode')
     247              : 
     248         2358 :       if (navigationMode !== 'custom') {
     249         2349 :         if (
     250              :           (newValue === 'panning' && navigationMode === 'standard') ||
     251              :           (newValue === 'zoom' && navigationMode === 'legacy')
     252              :         ) {
     253         2347 :           return
     254              :         }
     255              : 
     256              :         // only set to custom if it doesn't match the preset modes
     257            2 :         await settingStore.set('Comfy.Canvas.NavigationMode', 'custom')
     258              :       }
     259              :     }
     260              :   },
     261              :   {
     262              :     id: 'Comfy.Graph.CanvasInfo',
     263              :     category: ['LiteGraph', 'Canvas', 'CanvasInfo'],
     264              :     name: 'Show canvas info on bottom left corner (fps, etc.)',
     265              :     type: 'boolean',
     266              :     defaultValue: true
     267              :   },
     268              :   {
     269              :     id: 'Comfy.Node.ShowDeprecated',
     270              :     name: 'Show deprecated nodes in search',
     271              :     tooltip:
     272              :       'Deprecated nodes are hidden by default in the UI, but remain functional in existing workflows that use them.',
     273              :     type: 'boolean',
     274              :     defaultValue: false
     275              :   },
     276              :   {
     277              :     id: 'Comfy.Node.ShowExperimental',
     278              :     name: 'Show experimental nodes in search',
     279              :     tooltip:
     280              :       'Experimental nodes are marked as such in the UI and may be subject to significant changes or removal in future versions. Use with caution in production workflows',
     281              :     type: 'boolean',
     282              :     defaultValue: true
     283              :   },
     284              :   {
     285              :     id: 'Comfy.Node.Opacity',
     286              :     category: ['Appearance', 'Node', 'Opacity'],
     287              :     name: 'Node opacity',
     288              :     type: 'slider',
     289              :     defaultValue: 1,
     290              :     attrs: {
     291              :       min: 0.01,
     292              :       max: 1,
     293              :       step: 0.01
     294              :     }
     295              :   },
     296              :   {
     297              :     id: 'Comfy.Workflow.WarnBlueprintOverwrite',
     298              :     name: 'Require confirmation to overwrite an existing subgraph blueprint',
     299              :     type: 'boolean',
     300              :     defaultValue: true
     301              :   },
     302              :   {
     303              :     id: 'Comfy.Desktop.CloudNotificationShown',
     304              :     name: 'Cloud notification shown',
     305              :     type: 'hidden',
     306              :     defaultValue: false
     307              :   },
     308              :   {
     309              :     id: AGENT_ONBOARDED_SCOPES_SETTING_ID,
     310              :     name: 'Agent onboarding tour completed for these account scopes',
     311              :     type: 'hidden',
     312              :     defaultValue: []
     313              :   },
     314              :   {
     315              :     id: 'Comfy.DeploymentSwitcher.Seen',
     316              :     name: 'Running on button opened at least once',
     317              :     type: 'hidden',
     318              :     defaultValue: false,
     319              :     versionAdded: '1.61.0'
     320              :   },
     321              :   {
     322              :     id: 'Comfy.Graph.ZoomSpeed',
     323              :     category: ['LiteGraph', 'Canvas', 'ZoomSpeed'],
     324              :     name: 'Canvas zoom speed',
     325              :     type: 'slider',
     326              :     defaultValue: 1.1,
     327              :     attrs: {
     328              :       min: 1.01,
     329              :       max: 2.5,
     330              :       step: 0.01
     331              :     }
     332              :   },
     333              :   {
     334              :     id: 'Comfy.Graph.AutoPanSpeed',
     335              :     category: ['LiteGraph', 'Canvas', 'AutoPanSpeed'],
     336              :     name: 'Auto-pan speed',
     337              :     tooltip:
     338              :       'Maximum speed when auto-panning by dragging to the canvas edge. Set to 0 to disable auto-panning.',
     339              :     type: 'slider',
     340              :     defaultValue: 15,
     341              :     attrs: {
     342              :       min: 0,
     343              :       max: 30,
     344              :       step: 1
     345              :     }
     346              :   },
     347              :   // Bookmarks are stored in the settings store.
     348              :   {
     349              :     id: 'Comfy.NodeLibrary.NewDesign',
     350              :     category: ['Comfy', 'Node Library', 'NewDesign'],
     351              :     name: 'New Node Library Design',
     352              :     type: 'boolean',
     353              :     tooltip:
     354              :       'Enable the redesigned node library sidebar with tabs (Essential, All, Custom), improved search, and hover previews.',
     355              :     defaultValue: true,
     356              :     experimental: true
     357              :   },
     358              :   // Bookmarks are in format of category/display_name. e.g. "conditioning/CLIPTextEncode"
     359              :   {
     360              :     id: 'Comfy.NodeLibrary.Bookmarks',
     361              :     name: 'Node library bookmarks with display name (deprecated)',
     362              :     type: 'hidden',
     363              :     defaultValue: [],
     364              :     deprecated: true
     365              :   },
     366              :   {
     367              :     id: 'Comfy.NodeLibrary.Bookmarks.V2',
     368              :     name: 'Node library bookmarks v2 with unique name',
     369              :     type: 'hidden',
     370              :     defaultValue: []
     371              :   },
     372              :   // Stores mapping from bookmark folder name to its customization.
     373              :   {
     374              :     id: 'Comfy.NodeLibrary.BookmarksCustomization',
     375              :     name: 'Node library bookmarks customization',
     376              :     type: 'hidden',
     377              :     defaultValue: {}
     378              :   },
     379              :   {
     380              :     id: 'Comfy.GroupSelectedNodes.Padding',
     381              :     category: ['LiteGraph', 'Group', 'Padding'],
     382              :     name: 'Group selected nodes padding',
     383              :     type: 'slider',
     384              :     defaultValue: 10,
     385              :     attrs: {
     386              :       min: 0,
     387              :       max: 100
     388              :     }
     389              :   },
     390              :   {
     391              :     id: 'Comfy.Node.DoubleClickTitleToEdit',
     392              :     category: ['LiteGraph', 'Node', 'DoubleClickTitleToEdit'],
     393              :     name: 'Double click node title to edit',
     394              :     type: 'boolean',
     395              :     defaultValue: true
     396              :   },
     397              :   {
     398              :     id: 'Comfy.Node.AllowImageSizeDraw',
     399              :     category: ['LiteGraph', 'Node Widget', 'AllowImageSizeDraw'],
     400              :     name: 'Show width × height below the image preview',
     401              :     type: 'boolean',
     402              :     defaultValue: true
     403              :   },
     404              :   {
     405              :     id: 'Comfy.Node.DownscaleImagePreviews',
     406              :     category: ['LiteGraph', 'Node Widget', 'DownscaleImagePreviews'],
     407              :     name: 'Downscale large image previews',
     408              :     tooltip:
     409              :       'In Nodes 2.0, show large images on nodes as a copy at most 1024px on the longest side so many large previews stay responsive. Turn off to always show the original.',
     410              :     type: 'boolean',
     411              :     defaultValue: true,
     412              :     versionAdded: '1.62.0'
     413              :   },
     414              :   {
     415              :     id: 'Comfy.Group.DoubleClickTitleToEdit',
     416              :     category: ['LiteGraph', 'Group', 'DoubleClickTitleToEdit'],
     417              :     name: 'Double click group title to edit',
     418              :     type: 'boolean',
     419              :     defaultValue: true
     420              :   },
     421              :   {
     422              :     id: 'Comfy.Window.UnloadConfirmation',
     423              :     name: 'Show confirmation when closing window',
     424              :     type: 'boolean',
     425              :     defaultValue: true,
     426              :     versionModified: '1.7.12'
     427              :   },
     428              :   {
     429              :     id: 'Comfy.TreeExplorer.ItemPadding',
     430              :     category: ['Appearance', 'Tree Explorer', 'ItemPadding'],
     431              :     name: 'Tree explorer item padding',
     432              :     type: 'slider',
     433              :     defaultValue: 8,
     434              :     attrs: {
     435              :       min: 0,
     436              :       max: 8,
     437              :       step: 1
     438              :     }
     439              :   },
     440              :   {
     441              :     id: 'Comfy.ModelLibrary.AutoLoadAll',
     442              :     name: 'Automatically load all model folders',
     443              :     tooltip:
     444              :       'If true, all folders will load as soon as you open the model library (this may cause delays while it loads). If false, root level model folders will only load once you click on them.',
     445              :     type: isCloud ? 'hidden' : 'boolean',
     446              :     defaultValue: false
     447              :   },
     448              :   {
     449              :     id: 'Comfy.ModelLibrary.NameFormat',
     450              :     name: 'What name to display in the model library tree view',
     451              :     tooltip:
     452              :       'Select "filename" to render a simplified view of the raw filename (without directory or ".safetensors" extension) in the model list. Select "title" to display the configurable model metadata title.',
     453              :     type: 'combo',
     454              :     options: ['filename', 'title'],
     455              :     defaultValue: 'title'
     456              :   },
     457              :   {
     458              :     id: 'Comfy.Locale',
     459              :     name: 'Language',
     460              :     type: 'combo',
     461              :     options: SUPPORTED_LOCALE_OPTIONS,
     462              :     defaultValue: getDefaultLocale
     463              :   },
     464              :   {
     465              :     id: 'Comfy.NodeBadge.NodeSourceBadgeMode',
     466              :     category: ['LiteGraph', 'Node', 'NodeSourceBadgeMode'],
     467              :     name: 'Node source badge mode',
     468              :     type: 'combo',
     469              :     options: Object.values(NodeBadgeMode),
     470              :     defaultValue: NodeBadgeMode.HideBuiltIn
     471              :   },
     472              :   {
     473              :     id: 'Comfy.NodeBadge.NodeIdBadgeMode',
     474              :     category: ['LiteGraph', 'Node', 'NodeIdBadgeMode'],
     475              :     name: 'Node ID badge mode',
     476              :     type: 'combo',
     477              :     options: [NodeBadgeMode.None, NodeBadgeMode.ShowAll],
     478              :     defaultValue: NodeBadgeMode.None
     479              :   },
     480              :   {
     481              :     id: 'Comfy.NodeBadge.NodeLifeCycleBadgeMode',
     482              :     category: ['LiteGraph', 'Node', 'NodeLifeCycleBadgeMode'],
     483              :     name: 'Node life cycle badge mode',
     484              :     type: 'combo',
     485              :     options: [NodeBadgeMode.None, NodeBadgeMode.ShowAll],
     486              :     defaultValue: NodeBadgeMode.ShowAll
     487              :   },
     488              :   {
     489              :     id: 'Comfy.NodeBadge.ShowApiPricing',
     490              :     category: ['Comfy', 'API Nodes'],
     491              :     name: 'Show API node pricing badge',
     492              :     type: 'boolean',
     493              :     defaultValue: true,
     494              :     versionAdded: '1.20.3'
     495              :   },
     496              :   {
     497              :     id: 'Comfy.Notification.ShowVersionUpdates',
     498              :     category: ['Comfy', 'Notification Preferences'],
     499              :     name: 'Show version updates',
     500              :     tooltip: 'Show updates for new models, and major new features.',
     501              :     type: 'boolean',
     502              :     defaultValue: true
     503              :   },
     504              :   {
     505              :     id: 'Comfy.ConfirmClear',
     506              :     category: ['Comfy', 'Workflow', 'ConfirmClear'],
     507              :     name: 'Require confirmation when clearing workflow',
     508              :     type: 'boolean',
     509              :     defaultValue: true
     510              :   },
     511              :   {
     512              :     id: 'Comfy.PromptFilename',
     513              :     category: ['Comfy', 'Workflow', 'PromptFilename'],
     514              :     name: 'Prompt for filename when saving workflow',
     515              :     type: 'boolean',
     516              :     defaultValue: true
     517              :   },
     518              :   /**
     519              :    * file format for preview
     520              :    *
     521              :    * format;quality
     522              :    *
     523              :    * ex)
     524              :    * webp;50 -> webp, quality 50
     525              :    * jpeg;80 -> rgb, jpeg, quality 80
     526              :    *
     527              :    * @type {string}
     528              :    */
     529              :   {
     530              :     id: 'Comfy.PreviewFormat',
     531              :     category: ['LiteGraph', 'Node Widget', 'PreviewFormat'],
     532              :     name: 'Preview image format',
     533              :     tooltip:
     534              :       'When displaying a preview in the image widget, convert it to a lightweight image, e.g. webp, jpeg, webp;50, etc.',
     535              :     type: 'text',
     536              :     defaultValue: ''
     537              :   },
     538              :   {
     539              :     id: 'Comfy.DisableSliders',
     540              :     category: ['LiteGraph', 'Node Widget', 'DisableSliders'],
     541              :     name: 'Disable node widget sliders',
     542              :     type: 'boolean',
     543              :     defaultValue: false
     544              :   },
     545              :   {
     546              :     id: 'Comfy.DisableFloatRounding',
     547              :     category: ['LiteGraph', 'Node Widget', 'DisableFloatRounding'],
     548              :     name: 'Disable default float widget rounding.',
     549              :     tooltip:
     550              :       '(requires page reload) Cannot disable round when round is set by the node in the backend.',
     551              :     type: 'boolean',
     552              :     defaultValue: false
     553              :   },
     554              :   {
     555              :     id: 'Comfy.FloatRoundingPrecision',
     556              :     category: ['LiteGraph', 'Node Widget', 'FloatRoundingPrecision'],
     557              :     name: 'Float widget rounding decimal places [0 = auto].',
     558              :     tooltip: '(requires page reload)',
     559              :     type: 'slider',
     560              :     attrs: {
     561              :       min: 0,
     562              :       max: 6,
     563              :       step: 1
     564              :     },
     565              :     defaultValue: 0
     566              :   },
     567              :   {
     568              :     id: 'LiteGraph.Node.TooltipDelay',
     569              :     name: 'Tooltip Delay',
     570              :     type: 'number',
     571              :     attrs: {
     572              :       min: 100,
     573              :       max: 3000,
     574              :       step: 50
     575              :     },
     576              :     defaultValue: 500,
     577              :     versionAdded: '1.9.0'
     578              :   },
     579              :   {
     580              :     id: 'Comfy.EnableTooltips',
     581              :     category: ['LiteGraph', 'Node', 'EnableTooltips'],
     582              :     name: 'Enable Tooltips',
     583              :     type: 'boolean',
     584              :     defaultValue: true
     585              :   },
     586              :   {
     587              :     id: 'Comfy.DevMode',
     588              :     name: 'Enable dev mode options (API save, etc.)',
     589              :     type: 'boolean',
     590              :     defaultValue: false,
     591              :     onChange: (value) => {
     592         2356 :       const element = document.getElementById('comfy-dev-save-api-button')
     593         2356 :       if (element) {
     594         2356 :         element.style.display = value ? 'flex' : 'none'
     595              :       }
     596              :     }
     597              :   },
     598              :   {
     599              :     id: 'Comfy.UI.TabBarLayout',
     600              :     category: ['Appearance', 'General'],
     601              :     name: 'Tab Bar Layout',
     602              :     type: 'combo',
     603              :     options: ['Default', 'Legacy'],
     604              :     tooltip: 'Controls the elements contained in the integrated tab bar.',
     605              :     defaultValue: 'Default',
     606              :     migrateDeprecatedValue: (value: unknown) =>
     607              :       value === 'Integrated' ? 'Default' : value
     608              :   },
     609              :   {
     610              :     id: 'Comfy.Appearance.DisableAnimations',
     611              :     category: ['Appearance', 'General'],
     612              :     name: 'Disable animations',
     613              :     type: 'boolean',
     614              :     defaultValue: () =>
     615              :       window.matchMedia('(prefers-reduced-motion: reduce)').matches,
     616              :     tooltip:
     617              :       'Turns off most CSS animations and transitions. Speeds up inference when the display GPU is also used for generation.',
     618              :     onChange: (value: unknown) => {
     619         2355 :       document.body.classList.toggle('disable-animations', !!value)
     620              :     },
     621              :     versionAdded: '1.43.0'
     622              :   },
     623              :   {
     624              :     id: 'Comfy.UseNewMenu',
     625              :     category: ['Comfy', 'Menu', 'UseNewMenu'],
     626              :     defaultValue: 'Top',
     627              :     name: 'Use new menu',
     628              :     type: 'combo',
     629              :     options: ['Disabled', 'Top'],
     630              :     tooltip: 'Enable the redesigned top menu bar.',
     631              :     migrateDeprecatedValue: (val: unknown) => {
     632         2363 :       const value = val as string
     633              :       // Floating is now supported by dragging the docked actionbar off.
     634         2363 :       if (value === 'Floating') {
     635            0 :         return 'Top'
     636         2363 :       } else if (value === 'Bottom') {
     637            0 :         return 'Top'
     638              :       }
     639         2363 :       return value
     640              :     }
     641              :   },
     642              :   {
     643              :     id: 'Comfy.Workflow.WorkflowTabsPosition',
     644              :     name: 'Opened workflows position',
     645              :     type: 'combo',
     646              :     options: ['Sidebar', 'Topbar'],
     647              :     defaultValue: 'Topbar',
     648              :     migrateDeprecatedValue: (val: unknown) => {
     649           64 :       const value = val as string
     650           64 :       if (value === 'Topbar (2nd-row)') {
     651            0 :         return 'Topbar'
     652              :       }
     653           64 :       return value
     654              :     }
     655              :   },
     656              :   {
     657              :     id: 'Comfy.Graph.CanvasMenu',
     658              :     category: ['LiteGraph', 'Canvas', 'CanvasMenu'],
     659              :     name: 'Show graph canvas menu',
     660              :     type: 'boolean',
     661              :     defaultValue: true
     662              :   },
     663              :   {
     664              :     id: 'Comfy.QueueButton.BatchCountLimit',
     665              :     name: 'Batch count limit',
     666              :     tooltip:
     667              :       'The maximum number of tasks added to the queue at one button click',
     668              :     type: 'number',
     669              :     defaultValue: 100,
     670              :     versionAdded: '1.3.5'
     671              :   },
     672              :   {
     673              :     id: 'Comfy.Keybinding.UnsetBindings',
     674              :     name: 'Keybindings unset by the user',
     675              :     type: 'hidden',
     676              :     defaultValue: [] as Keybinding[],
     677              :     versionAdded: '1.3.7',
     678              :     versionModified: '1.7.3',
     679              :     migrateDeprecatedValue: (val: unknown) => {
     680              :       const value = val as (Keybinding & { targetSelector?: string })[]
     681           20 :       return value.map((keybinding) => {
     682            8 :         if (keybinding.targetSelector === '#graph-canvas') {
     683            0 :           keybinding.targetElementId = 'graph-canvas-container'
     684              :         }
     685            8 :         return keybinding
     686              :       })
     687              :     }
     688              :   },
     689              :   {
     690              :     id: 'Comfy.Keybinding.NewBindings',
     691              :     name: 'Keybindings set by the user',
     692              :     type: 'hidden',
     693              :     defaultValue: [] as Keybinding[],
     694              :     versionAdded: '1.3.7'
     695              :   },
     696              :   {
     697              :     id: 'Comfy.Keybinding.CurrentPreset',
     698              :     name: 'Current keybinding preset name',
     699              :     type: 'hidden',
     700              :     defaultValue: 'default',
     701              :     versionAdded: '1.8.8'
     702              :   },
     703              :   {
     704              :     id: 'Comfy.Extension.Disabled',
     705              :     name: 'Disabled extension names',
     706              :     type: 'hidden',
     707              :     defaultValue: [] as string[],
     708              :     versionAdded: '1.3.11'
     709              :   },
     710              :   {
     711              :     id: 'Comfy.Extension.SeenAgentExtensions',
     712              :     name: 'Seen agent-created extension names',
     713              :     type: 'hidden',
     714              :     defaultValue: [] as string[],
     715              :     versionAdded: '1.34.0'
     716              :   },
     717              :   {
     718              :     id: 'Comfy.Extension.DisabledPacks',
     719              :     name: 'Disabled extension paths',
     720              :     type: 'hidden',
     721              :     defaultValue: [],
     722              :     migrateDeprecatedValue: normalizeDisabledExtensionPaths,
     723              :     versionAdded: '1.59.0'
     724              :   },
     725              :   {
     726              :     id: 'Comfy.LinkRenderMode',
     727              :     category: ['LiteGraph', 'Graph', 'LinkRenderMode'],
     728              :     name: 'Link Render Mode',
     729              :     tooltip:
     730              :       'Controls the appearance and visibility of connection links between nodes on the canvas.',
     731              :     defaultValue: 2,
     732              :     type: 'combo',
     733              :     options: [
     734              :       { value: LiteGraph.STRAIGHT_LINK, text: 'Straight' },
     735              :       { value: LiteGraph.LINEAR_LINK, text: 'Linear' },
     736              :       { value: LiteGraph.SPLINE_LINK, text: 'Spline' },
     737              :       { value: LiteGraph.HIDDEN_LINK, text: 'Hidden' }
     738              :     ]
     739              :   },
     740              :   {
     741              :     id: 'Comfy.Node.AutoSnapLinkToSlot',
     742              :     category: ['LiteGraph', 'Node', 'AutoSnapLinkToSlot'],
     743              :     name: 'Auto snap link to node slot',
     744              :     tooltip:
     745              :       'When dragging a link over a node, the link automatically snap to a viable input slot on the node',
     746              :     type: 'boolean',
     747              :     defaultValue: true,
     748              :     versionAdded: '1.3.29'
     749              :   },
     750              :   {
     751              :     id: 'Comfy.Node.SnapHighlightsNode',
     752              :     category: ['LiteGraph', 'Node', 'SnapHighlightsNode'],
     753              :     name: 'Snap highlights node',
     754              :     tooltip:
     755              :       'When dragging a link over a node with viable input slot, highlight the node',
     756              :     type: 'boolean',
     757              :     defaultValue: true,
     758              :     versionAdded: '1.3.29'
     759              :   },
     760              :   {
     761              :     id: 'Comfy.Node.BypassAllLinksOnDelete',
     762              :     category: ['LiteGraph', 'Node', 'BypassAllLinksOnDelete'],
     763              :     name: 'Keep all links when deleting nodes',
     764              :     tooltip:
     765              :       'When deleting a node, attempt to reconnect all of its input and output links (bypassing the deleted node)',
     766              :     type: 'boolean',
     767              :     defaultValue: true,
     768              :     versionAdded: '1.3.40'
     769              :   },
     770              :   {
     771              :     id: 'Comfy.Node.MiddleClickRerouteNode',
     772              :     category: ['LiteGraph', 'Node', 'MiddleClickRerouteNode'],
     773              :     name: 'Middle-click creates a new Reroute node',
     774              :     type: 'boolean',
     775              :     defaultValue: true,
     776              :     versionAdded: '1.3.42'
     777              :   },
     778              :   {
     779              :     id: 'Comfy.Graph.LinkMarkers',
     780              :     category: ['LiteGraph', 'Link', 'LinkMarkers'],
     781              :     name: 'Link midpoint markers',
     782              :     defaultValue: LinkMarkerShape.Circle,
     783              :     type: 'combo',
     784              :     options: [
     785              :       { value: LinkMarkerShape.None, text: 'None' },
     786              :       { value: LinkMarkerShape.Circle, text: 'Circle' },
     787              :       { value: LinkMarkerShape.Arrow, text: 'Arrow' }
     788              :     ],
     789              :     versionAdded: '1.3.42'
     790              :   },
     791              :   {
     792              :     id: 'Comfy.DOMClippingEnabled',
     793              :     category: ['LiteGraph', 'Node', 'DOMClippingEnabled'],
     794              :     name: 'Enable DOM element clipping (enabling may reduce performance)',
     795              :     type: 'boolean',
     796              :     defaultValue: true
     797              :   },
     798              :   {
     799              :     id: 'Comfy.Graph.CtrlShiftZoom',
     800              :     category: ['LiteGraph', 'Canvas', 'CtrlShiftZoom'],
     801              :     name: 'Enable fast-zoom shortcut (Ctrl + Shift + Drag)',
     802              :     type: 'boolean',
     803              :     defaultValue: true,
     804              :     versionAdded: '1.4.0'
     805              :   },
     806              :   {
     807              :     id: 'Comfy.Graph.LiveSelection',
     808              :     category: ['LiteGraph', 'Canvas', 'LiveSelection'],
     809              :     name: 'Live selection',
     810              :     tooltip:
     811              :       'When enabled, nodes are selected/deselected in real-time as you drag the selection rectangle, similar to other design tools.',
     812              :     type: 'boolean',
     813              :     defaultValue: true,
     814              :     versionAdded: '1.36.1'
     815              :   },
     816              :   {
     817              :     id: 'Comfy.Pointer.ClickDrift',
     818              :     category: ['LiteGraph', 'Pointer', 'ClickDrift'],
     819              :     name: 'Pointer click drift (maximum distance)',
     820              :     tooltip:
     821              :       'If the pointer moves more than this distance while holding a button down, it is considered dragging (rather than clicking).\n\nHelps prevent objects from being unintentionally nudged if the pointer is moved whilst clicking.',
     822              :     experimental: true,
     823              :     type: 'slider',
     824              :     attrs: {
     825              :       min: 0,
     826              :       max: 20,
     827              :       step: 1
     828              :     },
     829              :     defaultValue: 6,
     830              :     versionAdded: '1.4.3'
     831              :   },
     832              :   {
     833              :     id: 'Comfy.Pointer.ClickBufferTime',
     834              :     name: 'Pointer click drift delay (deprecated)',
     835              :     type: 'hidden',
     836              :     deprecated: true,
     837              :     defaultValue: 32,
     838              :     versionAdded: '1.4.3',
     839              :     versionModified: '1.54.3'
     840              :   },
     841              :   {
     842              :     id: 'Comfy.Pointer.DoubleClickTime',
     843              :     category: ['LiteGraph', 'Pointer', 'DoubleClickTime'],
     844              :     name: 'Double click interval (maximum)',
     845              :     tooltip:
     846              :       'The maximum time in milliseconds between the two clicks of a double-click.  Increasing this value may assist if double-clicks are sometimes not registered.',
     847              :     type: 'slider',
     848              :     attrs: {
     849              :       min: 100,
     850              :       max: 1000,
     851              :       step: 50
     852              :     },
     853              :     defaultValue: 300,
     854              :     versionAdded: '1.4.3'
     855              :   },
     856              :   {
     857              :     id: 'Comfy.SnapToGrid.GridSize',
     858              :     category: ['LiteGraph', 'Canvas', 'GridSize'],
     859              :     name: 'Snap to grid size',
     860              :     type: 'slider',
     861              :     attrs: {
     862              :       min: 1,
     863              :       max: 500
     864              :     },
     865              :     tooltip:
     866              :       'When dragging and resizing nodes while holding shift they will be aligned to the grid, this controls the size of that grid.',
     867              :     defaultValue: LiteGraph.CANVAS_GRID_SIZE
     868              :   },
     869              :   // Keep the 'pysssss.SnapToGrid' setting id so we don't need to migrate setting values.
     870              :   // Using a new setting id can cause existing users to lose their existing settings.
     871              :   {
     872              :     id: 'pysssss.SnapToGrid',
     873              :     category: ['LiteGraph', 'Canvas', 'AlwaysSnapToGrid'],
     874              :     name: 'Always snap to grid',
     875              :     tooltip:
     876              :       'When enabled, nodes will automatically align to the grid when moved or resized.',
     877              :     type: 'boolean',
     878              :     defaultValue: false,
     879              :     versionAdded: '1.3.13'
     880              :   },
     881              :   {
     882              :     id: 'Comfy.Server.ServerConfigValues',
     883              :     name: 'Server config values for frontend display',
     884              :     tooltip: 'Server config values used for frontend display only',
     885              :     type: 'hidden',
     886              :     // Mapping from server config id to value.
     887              :     defaultValue: {},
     888              :     versionAdded: '1.4.8'
     889              :   },
     890              :   {
     891              :     id: 'Comfy.Server.LaunchArgs',
     892              :     name: 'Server launch arguments',
     893              :     tooltip:
     894              :       'These are the actual arguments that are passed to the server when it is launched.',
     895              :     type: 'hidden',
     896              :     defaultValue: {},
     897              :     versionAdded: '1.4.8'
     898              :   },
     899              :   {
     900              :     id: 'Comfy.Queue.MaxHistoryItems',
     901              :     name: 'Queue history size',
     902              :     tooltip: 'The maximum number of tasks that show in the queue history.',
     903              :     type: 'slider',
     904              :     attrs: {
     905              :       min: 2,
     906              :       max: 256,
     907              :       step: 2
     908              :     },
     909              :     defaultValue: 64,
     910              :     versionAdded: '1.4.12'
     911              :   },
     912              :   {
     913              :     id: 'Comfy.Queue.History.Expanded',
     914              :     name: 'Queue history expanded',
     915              :     type: 'hidden',
     916              :     defaultValue: false,
     917              :     versionAdded: '1.37.0'
     918              :   },
     919              :   {
     920              :     id: 'Comfy.WorkflowActions.SeenItems',
     921              :     name: 'Seen new workflow action items',
     922              :     type: 'hidden',
     923              :     defaultValue: [] as string[],
     924              :     versionAdded: '1.41.5',
     925              :     deprecated: true
     926              :   },
     927              :   {
     928              :     id: 'Comfy.Execution.PreviewMethod',
     929              :     category: ['Comfy', 'Execution', 'PreviewMethod'],
     930              :     name: 'Live preview method',
     931              :     tooltip:
     932              :       'Live preview method during image generation. "default" uses the server CLI setting.',
     933              :     type: 'combo',
     934              :     options: ['default', 'none', 'auto', 'latent2rgb', 'taesd'],
     935              :     defaultValue: 'default',
     936              :     versionAdded: '1.36.0'
     937              :   },
     938              :   {
     939              :     id: 'LiteGraph.Canvas.MaximumFps',
     940              :     name: 'Maximum FPS',
     941              :     tooltip:
     942              :       'The maximum frames per second that the canvas is allowed to render. Caps GPU usage at the cost of smoothness. If 0, the screen refresh rate is used. Default: 0',
     943              :     type: 'slider',
     944              :     attrs: {
     945              :       min: 0,
     946              :       max: 120
     947              :     },
     948              :     defaultValue: 0,
     949              :     versionAdded: '1.5.1'
     950              :   },
     951              :   {
     952              :     id: 'Comfy.EnableWorkflowViewRestore',
     953              :     category: ['Comfy', 'Workflow', 'EnableWorkflowViewRestore'],
     954              :     name: 'Save and restore canvas position and zoom level in workflows',
     955              :     type: 'boolean',
     956              :     defaultValue: true,
     957              :     versionModified: '1.5.4'
     958              :   },
     959              :   {
     960              :     id: 'Comfy.Workflow.ConfirmDelete',
     961              :     name: 'Show confirmation when deleting workflows',
     962              :     type: 'boolean',
     963              :     defaultValue: true,
     964              :     versionAdded: '1.5.6'
     965              :   },
     966              :   {
     967              :     id: 'Comfy.ColorPalette',
     968              :     name: 'The active color palette id',
     969              :     type: 'hidden',
     970              :     defaultValue: 'dark',
     971              :     versionModified: '1.6.7',
     972              :     telemetry: { trackChanges: true, includeValues: true },
     973              :     migrateDeprecatedValue(val: unknown) {
     974           54 :       const value = val as string
     975           54 :       return value.startsWith('custom_') ? value.replace('custom_', '') : value
     976              :     }
     977              :   },
     978              :   {
     979              :     id: 'Comfy.CustomColorPalettes',
     980              :     name: 'Custom color palettes',
     981              :     type: 'hidden',
     982              :     defaultValue: {},
     983              :     versionModified: '1.6.7'
     984              :   },
     985              :   {
     986              :     id: 'Comfy.WidgetControlMode',
     987              :     category: ['Comfy', 'Node Widget', 'WidgetControlMode'],
     988              :     name: 'Widget control mode',
     989              :     tooltip:
     990              :       'Controls when widget values are updated (randomize/increment/decrement), either before the prompt is queued or after.',
     991              :     type: 'combo',
     992              :     defaultValue: 'after',
     993              :     options: ['before', 'after'],
     994              :     versionModified: '1.6.10'
     995              :   },
     996              :   {
     997              :     id: 'Comfy.TutorialCompleted',
     998              :     name: 'Tutorial completed',
     999              :     type: 'hidden',
    1000              :     defaultValue: false,
    1001              :     versionAdded: '1.8.7'
    1002              :   },
    1003              :   {
    1004              :     id: TOUR_SEEN_SETTING,
    1005              :     name: 'Onboarding coachmark tours the user has already seen',
    1006              :     type: 'hidden',
    1007              :     defaultValue: [],
    1008              :     versionAdded: '1.48.0'
    1009              :   },
    1010              :   {
    1011              :     id: 'Comfy.InstalledVersion',
    1012              :     name: 'The frontend version that was running when the user first installed ComfyUI',
    1013              :     type: 'hidden',
    1014              :     defaultValue: null,
    1015              :     versionAdded: '1.24.0'
    1016              :   },
    1017              :   {
    1018              :     id: 'LiteGraph.ContextMenu.Scaling',
    1019              :     name: 'Scale node combo widget menus (lists) when zoomed in',
    1020              :     defaultValue: false,
    1021              :     type: 'boolean',
    1022              :     versionAdded: '1.8.8'
    1023              :   },
    1024              : 
    1025              :   {
    1026              :     id: 'LiteGraph.Canvas.LowQualityRenderingZoomThreshold',
    1027              :     type: 'hidden',
    1028              :     deprecated: true,
    1029              :     name: 'Low quality rendering zoom threshold (deprecated)',
    1030              :     tooltip:
    1031              :       'Zoom level threshold for performance mode. Lower values (0.1) = quality at all zoom levels. Higher values (1.0) = performance mode even when zoomed in. Performance mode simplifies rendering by hiding text labels, shadows, and details.',
    1032              :     attrs: {
    1033              :       min: 0.1,
    1034              :       max: 1,
    1035              :       step: 0.01
    1036              :     },
    1037              :     defaultValue: 0.6,
    1038              :     versionAdded: '1.9.1',
    1039              :     versionModified: '1.26.7'
    1040              :   },
    1041              :   {
    1042              :     id: 'LiteGraph.Canvas.MinFontSizeForLOD',
    1043              :     name: 'Zoom Node Level of Detail - font size threshold',
    1044              :     tooltip:
    1045              :       'Controls when the nodes switch to low quality LOD rendering. Uses font size in pixels to determine when to switch. Set to 0 to disable. Values 1-24 set the minimum font size threshold for LOD - higher values (24px) = switch nodes to simplified rendering sooner when zooming out, lower values (1px) = maintain full node quality longer.',
    1046              :     type: 'slider',
    1047              :     attrs: {
    1048              :       min: 0,
    1049              :       max: 24,
    1050              :       step: 1
    1051              :     },
    1052              :     defaultValue: 8,
    1053              :     versionAdded: '1.26.7',
    1054              :     hideInVueNodes: true
    1055              :   },
    1056              :   {
    1057              :     id: 'Comfy.Canvas.SelectionToolbox',
    1058              :     category: ['LiteGraph', 'Canvas', 'SelectionToolbox'],
    1059              :     name: 'Show selection toolbox',
    1060              :     tooltip:
    1061              :       'Display a floating toolbar when nodes are selected, providing quick access to common actions.',
    1062              :     type: 'boolean',
    1063              :     defaultValue: true,
    1064              :     versionAdded: '1.10.5'
    1065              :   },
    1066              :   {
    1067              :     id: 'LiteGraph.Reroute.SplineOffset',
    1068              :     name: 'Reroute spline offset',
    1069              :     tooltip: 'The bezier control point offset from the reroute centre point',
    1070              :     type: 'slider',
    1071              :     defaultValue: 20,
    1072              :     attrs: {
    1073              :       min: 0,
    1074              :       max: 400
    1075              :     },
    1076              :     versionAdded: '1.15.7'
    1077              :   },
    1078              :   {
    1079              :     id: 'Comfy.Toast.DisableReconnectingToast',
    1080              :     name: 'Disable toasts when reconnecting or reconnected',
    1081              :     type: 'hidden',
    1082              :     defaultValue: false,
    1083              :     versionAdded: '1.15.12'
    1084              :   },
    1085              :   {
    1086              :     id: 'Comfy.Minimap.Visible',
    1087              :     name: 'Display minimap on canvas',
    1088              :     type: 'hidden',
    1089              :     defaultValue: () => window.innerWidth >= breakpointsTailwind.lg,
    1090              :     versionAdded: '1.25.0'
    1091              :   },
    1092              :   {
    1093              :     id: 'Comfy.Minimap.NodeColors',
    1094              :     name: 'Display node with its original color on minimap',
    1095              :     type: 'hidden',
    1096              :     defaultValue: false,
    1097              :     versionAdded: '1.26.0'
    1098              :   },
    1099              :   {
    1100              :     id: 'Comfy.Minimap.ShowLinks',
    1101              :     name: 'Display links on minimap',
    1102              :     type: 'hidden',
    1103              :     defaultValue: true,
    1104              :     versionAdded: '1.26.0'
    1105              :   },
    1106              :   {
    1107              :     id: 'Comfy.Minimap.ShowGroups',
    1108              :     name: 'Display node groups on minimap',
    1109              :     type: 'hidden',
    1110              :     defaultValue: true,
    1111              :     versionAdded: '1.26.0'
    1112              :   },
    1113              :   {
    1114              :     id: 'Comfy.Minimap.RenderBypassState',
    1115              :     name: 'Render bypass state on minimap',
    1116              :     type: 'hidden',
    1117              :     defaultValue: true,
    1118              :     versionAdded: '1.26.0'
    1119              :   },
    1120              :   {
    1121              :     id: 'Comfy.Minimap.RenderErrorState',
    1122              :     name: 'Render error state on minimap',
    1123              :     type: 'hidden',
    1124              :     defaultValue: true,
    1125              :     versionAdded: '1.26.0'
    1126              :   },
    1127              :   {
    1128              :     id: 'Comfy.Workflow.AutoSaveDelay',
    1129              :     name: 'Auto Save Delay (ms)',
    1130              :     defaultValue: 1000,
    1131              :     type: 'number',
    1132              :     tooltip: 'Only applies if Auto Save is set to "after delay".',
    1133              :     versionAdded: '1.16.0'
    1134              :   },
    1135              :   {
    1136              :     id: 'Comfy.Workflow.AutoSave',
    1137              :     name: 'Auto Save',
    1138              :     type: 'combo',
    1139              :     options: ['off', 'after delay'], // Room for other options like on focus change, tab change, window change
    1140              :     defaultValue: 'off', // Popular request by users (https://github.com/Comfy-Org/ComfyUI_frontend/issues/1584#issuecomment-2536610154)
    1141              :     versionAdded: '1.16.0'
    1142              :   },
    1143              :   {
    1144              :     id: 'Comfy.Workflow.Persist',
    1145              :     name: 'Persist workflow state and restore on page (re)load',
    1146              :     type: 'boolean',
    1147              :     defaultValue: true,
    1148              :     versionAdded: '1.16.1'
    1149              :   },
    1150              :   {
    1151              :     id: 'LiteGraph.Node.DefaultPadding',
    1152              :     name: 'Always shrink new nodes',
    1153              :     tooltip:
    1154              :       'Resize nodes to the smallest possible size when created. When disabled, a newly added node will be widened slightly to show widget values.',
    1155              :     type: 'boolean',
    1156              :     defaultValue: false,
    1157              :     versionAdded: '1.18.0'
    1158              :   },
    1159              :   {
    1160              :     id: 'Comfy.Canvas.BackgroundImage',
    1161              :     category: ['Appearance', 'Canvas', 'Background'],
    1162              :     name: 'Canvas background image',
    1163              :     type: 'backgroundImage',
    1164              :     tooltip:
    1165              :       'Image URL for the canvas background. You can right-click an image in the outputs panel and select "Set as Background" to use it, or upload your own image using the upload button.',
    1166              :     defaultValue: '',
    1167              :     versionAdded: '1.20.4',
    1168              :     versionModified: '1.20.5'
    1169              :   },
    1170              :   // Release data stored in settings
    1171              :   {
    1172              :     id: 'Comfy.Release.Version',
    1173              :     name: 'Last seen release version',
    1174              :     type: 'hidden',
    1175              :     defaultValue: ''
    1176              :   },
    1177              :   {
    1178              :     id: 'Comfy.Release.Status',
    1179              :     name: 'Release status',
    1180              :     type: 'hidden',
    1181              :     defaultValue: 'skipped'
    1182              :   },
    1183              :   {
    1184              :     id: 'Comfy.Release.Timestamp',
    1185              :     name: 'Release seen timestamp',
    1186              :     type: 'hidden',
    1187              :     defaultValue: 0
    1188              :   },
    1189              : 
    1190              :   /**
    1191              :    * Template Library Filter Settings
    1192              :    */
    1193              :   {
    1194              :     id: 'Comfy.Templates.SelectedModels',
    1195              :     name: 'Template library - Selected model filters',
    1196              :     type: 'hidden',
    1197              :     defaultValue: []
    1198              :   },
    1199              :   {
    1200              :     id: 'Comfy.Templates.SelectedUseCases',
    1201              :     name: 'Template library - Selected use case filters',
    1202              :     type: 'hidden',
    1203              :     defaultValue: []
    1204              :   },
    1205              :   {
    1206              :     id: 'Comfy.Templates.SelectedRunsOn',
    1207              :     name: 'Template library - Selected runs on filters',
    1208              :     type: 'hidden',
    1209              :     defaultValue: []
    1210              :   },
    1211              :   {
    1212              :     id: 'Comfy.Templates.SortBy',
    1213              :     name: 'Template library - Sort preference',
    1214              :     type: 'hidden',
    1215              :     defaultValue: 'default'
    1216              :   },
    1217              : 
    1218              :   /**
    1219              :    * Nodes 2.0 Settings
    1220              :    */
    1221              :   {
    1222              :     id: 'Comfy.VueNodes.Enabled',
    1223              :     category: ['Comfy', 'Nodes 2.0', 'VueNodesEnabled'],
    1224              :     name: 'Modern Node Design (Nodes 2.0)',
    1225              :     type: 'boolean',
    1226              :     tooltip:
    1227              :       'Modern: DOM-based rendering with enhanced interactivity, native browser features, and updated visual design. Classic: Traditional canvas rendering.',
    1228              :     defaultValue: false,
    1229              :     defaultsByInstallVersion: { '1.41.0': isCloud || isDesktop },
    1230              :     sortOrder: 100,
    1231              :     experimental: true,
    1232              :     versionAdded: '1.27.1'
    1233              :   },
    1234              :   {
    1235              :     id: 'Comfy.AppBuilder.VueNodeSwitchDismissed',
    1236              :     name: 'App Builder Vue Node switch dismissed',
    1237              :     type: 'hidden',
    1238              :     defaultValue: false
    1239              :   },
    1240              :   {
    1241              :     id: 'Comfy.PartnerNodesEducation.Dismissed',
    1242              :     name: 'Partner nodes education card dismissed',
    1243              :     type: 'hidden',
    1244              :     defaultValue: false
    1245              :   },
    1246              :   {
    1247              :     id: 'Comfy.ModelLibrary.UseAssetBrowser',
    1248              :     name: 'Use the asset browser for the model library',
    1249              :     type: 'hidden',
    1250              :     tooltip:
    1251              :       'When the backend supports assets, the model library opens the asset browser instead of the sidebar tree.',
    1252              :     defaultValue: isCloud ? true : false,
    1253              :     experimental: true
    1254              :   },
    1255              :   {
    1256              :     id: 'Comfy.VersionCompatibility.DisableWarnings',
    1257              :     name: 'Disable version compatibility warnings',
    1258              :     type: 'hidden',
    1259              :     defaultValue: false,
    1260              :     versionAdded: '1.34.1'
    1261              :   },
    1262              :   {
    1263              :     id: 'Comfy.RightSidePanel.IsOpen',
    1264              :     name: 'Right side panel open state',
    1265              :     type: 'hidden',
    1266              :     defaultValue: false,
    1267              :     versionAdded: '1.37.0'
    1268              :   },
    1269              :   {
    1270              :     id: 'Comfy.Queue.QPOV2',
    1271              :     category: ['Comfy', 'Queue', 'Layout'],
    1272              :     name: 'Docked job history/queue panel',
    1273              :     type: 'boolean',
    1274              :     tooltip:
    1275              :       'Replaces the floating job queue panel with an equivalent job queue embedded in the job history side panel. You can disable this to return to the floating panel layout.',
    1276              :     defaultValue: isNightly,
    1277              :     experimental: true
    1278              :   },
    1279              :   {
    1280              :     id: 'Comfy.Queue.ShowRunProgressBar',
    1281              :     name: 'Show run progress bar',
    1282              :     type: 'hidden',
    1283              :     defaultValue: true,
    1284              :     versionAdded: '1.41.3'
    1285              :   },
    1286              :   {
    1287              :     id: 'Comfy.Node.AlwaysShowAdvancedWidgets',
    1288              :     category: ['LiteGraph', 'Node Widget', 'AlwaysShowAdvancedWidgets'],
    1289              :     name: 'Always show advanced widgets on all nodes',
    1290              :     tooltip:
    1291              :       'When enabled, advanced widgets are always visible on all nodes without needing to expand them individually.',
    1292              :     type: 'boolean',
    1293              :     defaultValue: false,
    1294              :     versionAdded: '1.39.0'
    1295              :   },
    1296              :   {
    1297              :     id: 'Comfy.NodeReplacement.Enabled',
    1298              :     category: ['Comfy', 'Workflow', 'NodeReplacement'],
    1299              :     name: 'Enable node replacement suggestions',
    1300              :     tooltip:
    1301              :       'When enabled, missing nodes with known replacements will be shown as replaceable in the missing nodes dialog, allowing you to review and apply replacements.',
    1302              :     type: 'boolean',
    1303              :     defaultValue: true,
    1304              :     experimental: false,
    1305              :     versionAdded: '1.40.0',
    1306              :     versionModified: '1.44.5'
    1307              :   },
    1308              :   {
    1309              :     id: 'Comfy.Graph.DeduplicateSubgraphNodeIds',
    1310              :     category: ['Comfy', 'Graph', 'Subgraph'],
    1311              :     name: 'Deduplicate subgraph node IDs',
    1312              :     tooltip:
    1313              :       'Automatically reassign duplicate node IDs in subgraphs when loading a workflow.',
    1314              :     type: 'boolean',
    1315              :     deprecated: true,
    1316              :     defaultValue: true,
    1317              :     experimental: true,
    1318              :     versionAdded: '1.40.0'
    1319              :   },
    1320              :   {
    1321              :     id: 'Comfy.RightSidePanel.ShowErrorsTab',
    1322              :     category: ['Comfy', 'Error System', 'IssuesTab'],
    1323              :     name: 'Show issues tab in side panel',
    1324              :     tooltip:
    1325              :       'When enabled, the Issues tab is displayed in the right side panel to show blocking errors and missing resources that need setup.',
    1326              :     type: 'boolean',
    1327              :     defaultValue: true,
    1328              :     experimental: true,
    1329              :     versionAdded: '1.40.0'
    1330              :   },
    1331              :   {
    1332              :     id: 'Comfy.Workflow.ShowMissingNodesWarning',
    1333              :     category: ['Comfy', 'Error System', 'MissingNodes'],
    1334              :     sortOrder: -1,
    1335              :     name: 'Show missing nodes in the issues tab',
    1336              :     tooltip:
    1337              :       'When disabled, missing node packs are not listed in the issues tab and their nodes are not highlighted. The workflow still cannot run until they are installed.',
    1338              :     type: 'boolean',
    1339              :     defaultValue: true,
    1340              :     versionAdded: '1.55.0'
    1341              :   },
    1342              :   {
    1343              :     id: 'Comfy.ErrorSystem.ShowMissingModels',
    1344              :     category: ['Comfy', 'Error System', 'MissingModels'],
    1345              :     sortOrder: -2,
    1346              :     name: 'Show missing models in the issues tab',
    1347              :     tooltip:
    1348              :       'When disabled, model files that are not found are not listed in the issues tab and their nodes are not highlighted.',
    1349              :     type: 'boolean',
    1350              :     defaultValue: true,
    1351              :     versionAdded: '1.55.0'
    1352              :   },
    1353              :   {
    1354              :     id: 'Comfy.Workflow.ShowMissingMediaWarning',
    1355              :     category: ['Comfy', 'Error System', 'MissingMedia'],
    1356              :     sortOrder: -3,
    1357              :     name: 'Show missing media in the issues tab',
    1358              :     tooltip:
    1359              :       'When disabled, input images, videos and audio that are not found are not listed in the issues tab and their nodes are not highlighted.',
    1360              :     type: 'boolean',
    1361              :     defaultValue: true,
    1362              :     versionAdded: '1.55.0'
    1363              :   },
    1364              :   {
    1365              :     id: 'LiteGraph.Group.SelectChildrenOnClick',
    1366              :     category: ['LiteGraph', 'Group', 'SelectChildrenOnClick'],
    1367              :     name: 'Select group children on click',
    1368              :     tooltip:
    1369              :       'When enabled, clicking a group selects all nodes and items inside it',
    1370              :     type: 'boolean',
    1371              :     defaultValue: false,
    1372              :     versionAdded: '1.42.0'
    1373              :   }
    1374              : ]
        

Generated by: LCOV version 2.0-1