Refactor plugin registry into separate files per plugin

This commit is contained in:
pleb
2026-07-05 14:24:58 -07:00
parent 1b4087c5b5
commit 1858f76766
62 changed files with 730 additions and 1008 deletions
+6 -10
View File
@@ -59,7 +59,9 @@ plugin-helper/
DESIGN.md
README.md
registry/
plugins.toml
plugins/
songcore.toml
bsipa.toml
locks/
1.40.8.lock.toml
src/plugin_helper/
@@ -124,21 +126,15 @@ Artifact source preference:
Example:
```toml
[[plugins]]
id = "songcore"
name = "SongCore"
repo = "Kylemc1413/SongCore"
asset_patterns = ["*SongCore*.zip"]
install_strategy = "bsipa-zip"
category = "library"
[plugins.compatibility]
source = "metadata-or-release-notes"
[[plugins.dependencies]]
id = "bs-utils"
constraint = ">=1.0"
required = true
dependencies = [
{ id = "bs-utils", constraint = ">=1.0" },
]
```
Important fields: