Save plugin config as JSON & add header slot
Use json.dumps when writing plugin settings to disk instead of yaml_helper.dumps to serialize plugin configuration as JSON. Also add an <x-extension id="plugins-list-header-buttons"> slot to the plugin list header so extra header buttons or controls can be injected by extensions.
frdel committed
Feb 24, 2026 at 13:51 UTC
c1437b2bf96e9fdd3f16d02418664c918799dc09
2 files changed
+3
-1
python/helpers/plugins.py
+1
-1
@@ -337,7 +337,7 @@ def save_plugin_config(
337
plugin_name, project_name, agent_profile, CONFIG_FILE_NAME
338
)
339
if file_path:
340
- files.write_file(file_path, yaml_helper.dumps(settings))
340
+ files.write_file(file_path, json.dumps(settings))
341
342
343
def find_plugin_asset(
webui/components/plugins/list/plugin-list.html
+2
@@ -47,6 +47,8 @@
47
:disabled="$store.pluginListStore.loading">
48
<span class="icon material-symbols-outlined">refresh</span> Refresh
49
</button>
50
+
51
+ <x-extension id="plugins-list-header-buttons"></x-extension>
52
</div>
53
</div>
54