feat(plugin): add plugin framework workflow

This commit is contained in:
t8y2 authored and GitHub committed 2026-09-13 10:39:17 +08:00
1 parent 3767f4a83b
commit b5072f1a3e
247 files changed
+33841 -2256

No files matched your search

+28
View File
@@ -1604,6 +1604,7 @@ pub fn run() {
}));
let state = Arc::new(state);
app.manage(state.clone());
commands::plugins::install_plugin_event_bridge(app.handle(), state.clone());
let mcp_http_server = Arc::new(commands::mcp_http_server::McpHttpServerState::new(data_dir.clone()));
app.manage(mcp_http_server.clone());
let mcp_http_state = state.clone();
@@ -1811,6 +1812,33 @@ pub fn run() {
commands::connection::save_sidebar_layout,
commands::connection::load_sidebar_layout,
commands::plugins::list_plugins,
commands::plugins::list_plugin_trusted_keys,
commands::plugins::save_plugin_trusted_key,
commands::plugins::remove_plugin_trusted_key,
commands::plugins::list_plugin_repositories,
commands::plugins::save_plugin_repository,
commands::plugins::remove_plugin_repository,
commands::plugins::fetch_plugin_marketplace_catalogs,
commands::plugins::install_marketplace_plugin,
commands::plugins::install_plugin_package,
commands::plugins::rollback_plugin,
commands::plugins::uninstall_plugin,
commands::plugins::activate_plugin,
commands::plugins::list_active_plugins,
commands::plugins::stop_plugin,
commands::plugins::invoke_plugin,
commands::plugins::invoke_plugin_connection_action,
commands::plugins::notify_plugin,
commands::plugins::send_plugin_binary,
commands::plugins::list_plugin_filesystem_entries,
commands::plugins::read_plugin_filesystem_file,
commands::plugins::write_plugin_filesystem_file,
commands::plugins::create_plugin_filesystem_directory,
commands::plugins::delete_plugin_filesystem_entry,
commands::plugins::rename_plugin_filesystem_entry,
commands::plugins::read_plugin_ui_entry,
commands::plugins::read_plugin_asset,
commands::plugins::read_plugin_ui_asset,
commands::plugins::list_jdbc_drivers,
commands::plugins::list_jdbc_maven_bundles,
commands::plugins::list_jdbc_local_bundles,