Spaces:
Running
Running
|
Download plugins/_plugin_installer/AGENTS.md from Leon4gr45/openoperator: direct link, hf CLI and curl.
- Browser
- Download file 1.01 kB
-
https://huggingface.co/spaces/Leon4gr45/openoperator/resolve/main/plugins/_plugin_installer/AGENTS.md
- Command line
-
hf download hf://spaces/Leon4gr45/openoperator/plugins/_plugin_installer/AGENTS.md
-
curl -L -o AGENTS.md https://huggingface.co/spaces/Leon4gr45/openoperator/resolve/main/plugins/_plugin_installer/AGENTS.md
1.01 kB
| # Plugin Installer DOX | |
| ## Purpose | |
| - Own installing and updating plugins from ZIP uploads, Git repositories, and the community Plugin Index. | |
| ## Ownership | |
| - `helpers/install.py` owns archive extraction, Git install/update, validation, hook execution, and install finalization. | |
| - `api/plugin_install.py` owns install/update/index API dispatch. | |
| - `webui/` owns Plugin Hub, ZIP, Git, detail, and shared install UI. | |
| - `plugin.yaml` and `README.md` own metadata and behavior notes. | |
| ## Local Contracts | |
| - Install third-party plugins into `usr/plugins/`, not bundled `plugins/`. | |
| - Reject unsafe archive paths, missing manifests, invalid manifests, and plugin name conflicts. | |
| - Run plugin install hooks and refresh plugin state after successful changes. | |
| ## 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. | |