[PR #96] [MERGED] Refactor plugin manager and gRPC server #43

Closed
opened 2025-12-29 07:19:02 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/96
Author: @gschier
Created: 9/19/2024
Status: Merged
Merged: 9/19/2024
Merged by: @gschier

Base: masterHead: plugin-deletion


📝 Commits (8)

📊 Changes

27 files changed (+657 additions, -610 deletions)

View changed files

📝 package-lock.json (+4 -4)
📝 package.json (+1 -1)
📝 plugin-runtime-types/package.json (+1 -1)
📝 plugin-runtime-types/src/gen/InternalEventPayload.ts (+25 -53)
📝 plugin-runtime/src/PluginHandle.ts (+4 -0)
📝 plugin-runtime/src/index.ts (+7 -1)
📝 plugin-runtime/src/index.worker.ts (+8 -0)
📝 src-tauri/src/lib.rs (+94 -50)
📝 src-tauri/src/template_callback.rs (+2 -2)
📝 src-tauri/src/updates.rs (+1 -1)
📝 src-tauri/yaak_models/src/queries.rs (+15 -0)
📝 src-tauri/yaak_plugin_runtime/src/error.rs (+19 -6)
📝 src-tauri/yaak_plugin_runtime/src/events.rs (+3 -0)
📝 src-tauri/yaak_plugin_runtime/src/lib.rs (+1 -1)
📝 src-tauri/yaak_plugin_runtime/src/manager.rs (+358 -45)
📝 src-tauri/yaak_plugin_runtime/src/nodejs.rs (+1 -1)
📝 src-tauri/yaak_plugin_runtime/src/plugin.rs (+5 -118)
📝 src-tauri/yaak_plugin_runtime/src/plugin_handle.rs (+25 -14)
📝 src-tauri/yaak_plugin_runtime/src/server.rs (+41 -290)
📝 src-web/components/Settings/SettingsPlugins.tsx (+6 -10)

...and 7 more files

📄 Description

Refactor plugin manager and gRPC server to allow for dynamically adding and removing plugins. This also implements uninstall for plugins.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mountain-loop/yaak/pull/96 **Author:** [@gschier](https://github.com/gschier) **Created:** 9/19/2024 **Status:** ✅ Merged **Merged:** 9/19/2024 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `master` ← **Head:** `plugin-deletion` --- ### 📝 Commits (8) - [`43df712`](https://github.com/mountain-loop/yaak/commit/43df712f30f408a2a6835d4acc566f6fcaf5d2cf) Hook up delete button - [`c2a494b`](https://github.com/mountain-loop/yaak/commit/c2a494ba6aacb3b93d3e25e5aefca359222c3777) Refactor plugin manager/server - [`4e8d925`](https://github.com/mountain-loop/yaak/commit/4e8d92525539bbcd8d7dc52f51acd9bf370d3112) Better plugin booting - [`1e81c1b`](https://github.com/mountain-loop/yaak/commit/1e81c1b857513c2d82f96f6d5336f05e94f6bfb3) Proper plugin termination - [`bc57d55`](https://github.com/mountain-loop/yaak/commit/bc57d55ff3993bdf8a77701963b95bd3b0108c24) Fix termination - [`00a5346`](https://github.com/mountain-loop/yaak/commit/00a53462041daee2add4bc098959777c079be11e) Some small tweaks - [`abc809a`](https://github.com/mountain-loop/yaak/commit/abc809a923ee7d5edd5d861ffa8cf515aee4aa96) Change away from reload - [`0c6e636`](https://github.com/mountain-loop/yaak/commit/0c6e636c7a0d7deae44fe6692f12d7574f6e43a1) Oops, fix ### 📊 Changes **27 files changed** (+657 additions, -610 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+4 -4) 📝 `package.json` (+1 -1) 📝 `plugin-runtime-types/package.json` (+1 -1) 📝 `plugin-runtime-types/src/gen/InternalEventPayload.ts` (+25 -53) 📝 `plugin-runtime/src/PluginHandle.ts` (+4 -0) 📝 `plugin-runtime/src/index.ts` (+7 -1) 📝 `plugin-runtime/src/index.worker.ts` (+8 -0) 📝 `src-tauri/src/lib.rs` (+94 -50) 📝 `src-tauri/src/template_callback.rs` (+2 -2) 📝 `src-tauri/src/updates.rs` (+1 -1) 📝 `src-tauri/yaak_models/src/queries.rs` (+15 -0) 📝 `src-tauri/yaak_plugin_runtime/src/error.rs` (+19 -6) 📝 `src-tauri/yaak_plugin_runtime/src/events.rs` (+3 -0) 📝 `src-tauri/yaak_plugin_runtime/src/lib.rs` (+1 -1) 📝 `src-tauri/yaak_plugin_runtime/src/manager.rs` (+358 -45) 📝 `src-tauri/yaak_plugin_runtime/src/nodejs.rs` (+1 -1) 📝 `src-tauri/yaak_plugin_runtime/src/plugin.rs` (+5 -118) 📝 `src-tauri/yaak_plugin_runtime/src/plugin_handle.rs` (+25 -14) 📝 `src-tauri/yaak_plugin_runtime/src/server.rs` (+41 -290) 📝 `src-web/components/Settings/SettingsPlugins.tsx` (+6 -10) _...and 7 more files_ </details> ### 📄 Description Refactor plugin manager and gRPC server to allow for dynamically adding and removing plugins. This also implements uninstall for plugins. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 07:19:02 +01:00
adam closed this issue 2025-12-29 07:19:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/yaak#43