pub fn update_plugins(
names: &[String],
bump_type: Option<&str>,
config: &MarketplaceConfig,
) -> Result<Vec<String>, SoukError>Expand description
Updates the named plugins in the marketplace by re-reading their plugin.json from disk.
For each name in names:
- Resolves the plugin to its directory via the marketplace source
- Re-reads plugin.json
- Updates the marketplace entry (name, tags)
- If
bump_typeis specified (“major”, “minor”, or “patch”), bumps the version in the plugin’s plugin.json file - Re-validates the plugin after update
The marketplace version is always bumped (patch) at the end.
§Errors
Returns SoukError::PluginNotFound if any name does not exist in
the marketplace.
Returns SoukError::AtomicRollback if post-update validation fails.