mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 14:50:45 +00:00
refactor(plugins): simplify plugin cache boundaries
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user