mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-29 20:20:42 +00:00
Optimize plugin reload notifications to check for webui extensions
Add plugin_names parameter to after_plugin_change() and send_frontend_reload_notification() to enable targeted extension checking. Only send reload notification if changed plugins have webui extensions (checks extensions/webui directory existence). Defer notification send by 1 second to allow multiple rapid changes to coalesce. Update delete_plugin() to send notification before deletion for proper extension checking. Pass plugin names
This commit is contained in:
parent
1b89a0d359
commit
999a14e31f
6 changed files with 47 additions and 22 deletions
|
|
@ -386,7 +386,7 @@
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 148px;
|
||||
padding: 1rem;
|
||||
padding: 0.5rem;
|
||||
background:
|
||||
radial-gradient(circle at top, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
|
||||
var(--color-panel);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue