feat(pro): add plugin marketplace with catalog, install, and update support
Marketplace backend (agor-pro/src/marketplace.rs): fetch catalog from GitHub, download+verify+extract plugins, install/uninstall/update with SHA-256 checksum verification and path traversal protection. 6 Tauri plugin commands. PluginMarketplace.svelte: Browse/Installed tabs, search, plugin cards with permission badges, one-click install/uninstall/update. Plugin catalog repo: agents-orchestrator/agor-plugins (3 seed plugins). Plugin scaffolding: scripts/plugin-init.sh. 7 marketplace vitest tests, 3 Rust tests.
This commit is contained in:
parent
a98d061b04
commit
5300c09157
8 changed files with 1109 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
mod analytics;
|
||||
mod export;
|
||||
mod marketplace;
|
||||
mod profiles;
|
||||
|
||||
use tauri::{
|
||||
|
|
@ -25,6 +26,12 @@ pub fn init<R: Runtime>() -> TauriPlugin<R> {
|
|||
profiles::pro_list_accounts,
|
||||
profiles::pro_get_active_account,
|
||||
profiles::pro_set_active_account,
|
||||
marketplace::pro_marketplace_fetch_catalog,
|
||||
marketplace::pro_marketplace_installed,
|
||||
marketplace::pro_marketplace_install,
|
||||
marketplace::pro_marketplace_uninstall,
|
||||
marketplace::pro_marketplace_check_updates,
|
||||
marketplace::pro_marketplace_update,
|
||||
])
|
||||
.build()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue