-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Improve security and prevent unnecessary process execution by skipping the settings discovery step (--get-settings-json
execution) for scripts explicitly marked as disabled in the plugin settings.
- Modify
updateScriptSettingsCache
insrc/python_executor.ts
. - Before calling
discoverScriptSettings
for a script, check its status inplugin.settings.scriptActivationStatus
. - If status is
false
, skip thediscoverScriptSettings
call for this script usingcontinue
. - Ensure any previously cached settings definitions and values for this now-skipped disabled script are cleared from the cache/UI upon refresh.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request