mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-05 01:48:44 +00:00
Add a puzzle-icon "Find channels plugins" text button below the channel buttons, reusing the welcome footer styling. Open Plugin Hub Browse with the channels tag selected and any previous search cleared. Keep the Channels filter visible even when no plugins have the tag. Update the owning docs and regression coverage. Verified with 21 focused tests and live browser checks for navigation, search reset, mobile layout, and keyboard focus.
1.5 KiB
1.5 KiB
Plugin Installer DOX
Purpose
- Own installing and updating plugins from ZIP uploads, Git repositories, and the community Plugin Index.
Ownership
helpers/install.pyowns archive extraction, Git install/update, validation, hook execution, and install finalization.api/plugin_install.pyowns install/update/index API dispatch.webui/owns Plugin Hub, ZIP, Git, detail, and shared install UI.plugin.yamlandREADME.mdown metadata and behavior notes.
Local Contracts
- Install third-party plugins into
usr/plugins/, not bundledplugins/. - Reject unsafe archive paths, missing manifests, invalid manifests, and plugin name conflicts.
- Run plugin install hooks and refresh plugin state after successful changes.
- Download fallback thumbnails only when no supported thumbnail exists; repository-provided images change through Git updates.
- Browse tag filters match every tag on a plugin, counting each plugin once per tag. Keep Welcome, Provider, and Channels available even with zero results so welcome-screen, model-setup, and channel shortcuts have a visible selected filter.
- Rebase local commits during Git updates; on conflicts restore the checkout and report the conflicting files through the existing structured error, persistent toast, and detail view.
Work Guidance
- Keep installer validation aligned with plugin contracts and Plugin Index expectations.
Verification
- Smoke-test ZIP install, Git install, Plugin Hub install, and Git update paths after changes.
Child DOX Index
No child DOX files.