refactor(plugins): simplify plugin cache boundaries

This commit is contained in:
Peter Steinberger
2026-04-29 03:25:14 +01:00
parent 86c5f378d6
commit 7a5b419843
92 changed files with 986 additions and 2624 deletions

View File

@@ -118,7 +118,6 @@ const registry = loadOpenClawPlugins({
env: {
...process.env,
OPENCLAW_BUNDLED_PLUGINS_DIR: path.join(repoRoot, "dist-runtime", "extensions"),
OPENCLAW_DISABLE_PLUGIN_DISCOVERY_CACHE: "1",
},
config: {
plugins: {

View File

@@ -165,10 +165,6 @@ function createIsolatedRootHelpRenderContext(
NO_COLOR: "1",
OPENCLAW_BUNDLED_PLUGINS_DIR: bundledPluginsDir,
OPENCLAW_DISABLE_BUNDLED_PLUGINS: "",
OPENCLAW_DISABLE_PLUGIN_DISCOVERY_CACHE: "1",
OPENCLAW_DISABLE_PLUGIN_MANIFEST_CACHE: "1",
OPENCLAW_PLUGIN_DISCOVERY_CACHE_MS: "0",
OPENCLAW_PLUGIN_MANIFEST_CACHE_MS: "0",
OPENCLAW_STATE_DIR: stateDir,
};
const config: OpenClawConfig = {