Commit graph

14 commits

Author SHA1 Message Date
frdel
44e008745d Sanitize print logs; refactor popular plugin logic
Some checks are pending
Build And Publish Docker Images / plan (push) Waiting to run
Build And Publish Docker Images / build (push) Blocked by required conditions
Ensure printed output and HTML logs are safe by importing and applying sanitize_string, opening log files with utf-8 and errors='replace', and sanitizing text before writing. Add tests to verify lone surrogate characters are replaced and that logging won't crash on invalid Unicode. In the plugin installer UI, introduce POPULAR_PLUGIN_MIN_STARS and centralize popularity checking in _isPopularPlugin, using it for filtering and counts.
2026-03-30 11:50:59 +02:00
Alessandro
6b8a6d959a improve Plugin Hub cards and plugin info
Surface repository metadata for installed custom plugins and add quick actions from the plugin info modal to open plugin files or jump back into the Plugin Hub. Refresh Plugin Hub card/status styling and modal spacing.
2026-03-21 13:01:44 +01:00
frdel
bbffe18159 Merge branch 'development' of https://github.com/agent0ai/agent-zero into development 2026-03-16 20:34:49 +01:00
Alessandro
de10bdbf24 plugin detail mobile css polish 2026-03-16 18:36:29 +01:00
Alessandro
2dc6bd54f2 plugins: rename marketplace to plugin hub 2026-03-16 17:54:54 +01:00
Alessandro
2a6820064d plugins: rename init to execute 2026-03-16 17:13:11 +01:00
frdel
7ee5dac78e add report malicious plugin link to installer detail view
Add a "Report malicious plugin" link to the plugin detail view that generates a GitHub report-content URL for plugins with a GitHub source. The link extracts the username from the GitHub URL and pre-fills GitHub's abuse report form. Style the link in error-text color to distinguish it from other developer links.
2026-03-16 16:45:56 +01:00
Alessandro
abdb354d26 remove redundant x-destroy attributes in plugin-related HTML files 2026-03-16 04:04:37 +01:00
Alessandro
7b1f3fbbac rename init to execute.py; update docs + create plugin skill 2026-03-16 04:04:37 +01:00
frdel
482fa42d98 refactor(git): Restructure git helpers with dataclasses and add remote update checking
Replace get_git_info implementation with structured dataclass-based approach. Add GitHeadInfo, GitReleaseInfo, GitRemoteReleaseInfo, GitRemoteReleasesResult, GitRemoteCommitsInfo, GitRepoReleaseInfo, and PluginUpdateInfo dataclasses. Implement get_remote_releases to query GitHub tags, get_remote_commits_since_local to check for upstream commits, get_repo_release_info to extract repository metadata, and update
2026-03-13 15:18:13 +01:00
frdel
a48ac95a29 feat(plugins): Add extensibility and hooks system to plugin API
Add @extension.extensible decorators to all plugin API handler methods and core plugin functions to enable extension points. Implement plugin hooks system allowing plugins to define custom behavior via hooks.py file. Add call_plugin_hook function to execute plugin-specific hooks for events like uninstall, save_plugin_config, and get_plugin_config. Introduce uninstall_plugin function that calls uninstall hook before deletion. Move circular
2026-03-12 13:21:33 +01:00
Alessandro
1f0eeacfd4 streamline plugin marketplace CSS 2026-03-11 13:21:50 +01:00
Alessandro
a9722e70fd use toastFrontend for error msgs in plugins 2026-03-11 13:01:52 +01:00
frdel
6515626242 refactor - plugin names and builtin plugins 2026-03-10 22:20:53 +01:00
Renamed from plugins/plugin_installer/webui/install-detail.html (Browse further)