fix(plugins): disable incompatible plugins before lazy contributions

This commit is contained in:
Codex committed 2026-10-26 02:54:41 +00:00
1 parent 0256e7471d
commit e20f2a9986
5 files changed
+160

No files matched your search

+1
View File
@@ -107,6 +107,7 @@ class PluginManager {
await this.#ready();
if (enabled) {
const plugin = this.database.getActivePlugin(pluginId);
if (plugin) await this.packageStore.assertCompatible?.(plugin);
if (plugin?.runtime?.quarantinedAt != null) {
this.database.clearQuarantine(pluginId, plugin.activeVersion);
}