mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-06 08:01:31 +00:00
Major refactor of plugin and project helper APIs and add a plugin management UI. Key changes: - Rename project meta helpers from get_project_meta_folder -> get_project_meta and update callers across many modules (projects, memory, skills_import, secrets, subagents, skills). - Overhaul python/helpers/plugins.py: introduce PluginMetadata and PluginListItem (Pydantic), new get_plugins_list/get_enhanced_plugins_list, support for reading plugin config (config.json), enable/disable logic (.enabled/.disabled), get_enabled_plugin_paths(), and helpers to find/read/save plugin assets. Plugin discovery now supports webui/main/config detection. - Use enabled-plugin-aware lookups in subagents, extension loading, and other places (plugins.get_enabled_plugin_paths / get_enhanced_plugins_list used instead of previous list_plugins/get_plugin_paths where appropriate). - Add API endpoint python/api/plugins_list.py to return JSON plugin lists. - Add frontend plugin management UI: web components webui/components/plugins/list/plugin-list.html and pluginListStore.js; wire quick-actions button to open the plugins modal. - Add new webui assets and config pages for example_agent and memory plugins; add plugins/plugin.json metadata for example_agent and memory. - Memory plugin fixes: updated calls to use get_project_meta and adjusted memory path helpers to use project meta layout. - File helper: add read_file_json to read JSON files directly. - run_ui: tightened plugin asset serving security (only serve from plugin webui or plugin extensions/webui), added unified _serve_plugin_asset helper, and load plugin API handlers using enhanced plugin list. - Small fixes: adjustments to parse_prompt/read_prompt/tool lookup to use updated subagents.get_paths signature, extension loader now uses enabled plugin paths, and web UI extensions JS updated to expect string paths. These changes centralize project meta handling, improve plugin discovery and enable/disable behavior, and add a basic plugin management UI and API. |
||
|---|---|---|
| .. | ||
| agents.py | ||
| api_files_get.py | ||
| api_log_get.py | ||
| api_message.py | ||
| api_reset_chat.py | ||
| api_terminate_chat.py | ||
| backup_create.py | ||
| backup_get_defaults.py | ||
| backup_inspect.py | ||
| backup_preview_grouped.py | ||
| backup_restore.py | ||
| backup_restore_preview.py | ||
| backup_test.py | ||
| banners.py | ||
| chat_create.py | ||
| chat_export.py | ||
| chat_files_path_get.py | ||
| chat_load.py | ||
| chat_remove.py | ||
| chat_reset.py | ||
| csrf_token.py | ||
| ctx_window_get.py | ||
| delete_work_dir_file.py | ||
| download_work_dir_file.py | ||
| edit_work_dir_file.py | ||
| file_info.py | ||
| get_work_dir_files.py | ||
| health.py | ||
| history_get.py | ||
| image_get.py | ||
| load_webui_extensions.py | ||
| logout.py | ||
| mcp_server_get_detail.py | ||
| mcp_server_get_log.py | ||
| mcp_servers_apply.py | ||
| mcp_servers_status.py | ||
| message.py | ||
| message_async.py | ||
| message_queue_add.py | ||
| message_queue_remove.py | ||
| message_queue_send.py | ||
| notification_create.py | ||
| notifications_clear.py | ||
| notifications_history.py | ||
| notifications_mark_read.py | ||
| nudge.py | ||
| pause.py | ||
| plugins_list.py | ||
| poll.py | ||
| projects.py | ||
| rename_work_dir_file.py | ||
| restart.py | ||
| rfc.py | ||
| scheduler_task_create.py | ||
| scheduler_task_delete.py | ||
| scheduler_task_run.py | ||
| scheduler_task_update.py | ||
| scheduler_tasks_list.py | ||
| scheduler_tick.py | ||
| settings_get.py | ||
| settings_set.py | ||
| settings_workdir_file_structure.py | ||
| skills.py | ||
| skills_import.py | ||
| skills_import_preview.py | ||
| subagents.py | ||
| synthesize.py | ||
| transcribe.py | ||
| tunnel.py | ||
| tunnel_proxy.py | ||
| upload.py | ||
| upload_work_dir_files.py | ||