mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
refactor: move plugin setup and memory capabilities to registries
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
clearPluginManifestRegistryCache,
|
||||
type PluginManifestRegistry,
|
||||
} from "../plugins/manifest-registry.js";
|
||||
import { clearPluginSetupRegistryCache } from "../plugins/setup-registry.js";
|
||||
import {
|
||||
cleanupTrackedTempDirs,
|
||||
makeTrackedTempDir,
|
||||
@@ -16,6 +17,7 @@ const tempDirs: string[] = [];
|
||||
export function resetPluginAutoEnableTestState(): void {
|
||||
clearPluginDiscoveryCache();
|
||||
clearPluginManifestRegistryCache();
|
||||
clearPluginSetupRegistryCache();
|
||||
cleanupTrackedTempDirs(tempDirs);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user