Skip to content

Commit 1f42171

Browse files
committed
fix: clear plugin runtime config guard
1 parent 4bf22c6 commit 1f42171

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ Docs: https://docs.openclaw.ai
138138
- Plugins doctor: report stale plugin config warnings and avoid claiming full plugin health when config warnings remain. (#81515) Thanks @BKF-Gitty.
139139
- Sessions: display `model: "<agentId>-acp"` / `modelProvider: "acpx"` (ACP-runtime sentinel) for ACP control-plane sessions in `openclaw sessions` output, instead of the agent's configured model which was misleading. Catalog finding 20. (#79543)
140140
- Slack: normalize message read `before` and `after` timestamp bounds before calling Slack history or thread reply APIs. Fixes #80835. (#81338) Thanks @honor2030.
141+
- Gateway: throttle assistant/thinking agent event fanout during streaming bursts without dropping buffered deltas. (#80335) Thanks @samzong.
141142

142143
### Changes
143144

src/plugins/registry.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2399,9 +2399,10 @@ export function createPluginRegistry(registryParams: PluginRegistryParams) {
23992399
const config = Reflect.get(target, prop, receiver);
24002400
return {
24012401
...config,
2402-
loadConfig: () => runWithPluginScope(() => config.loadConfig()),
2403-
writeConfigFile: (cfg, options) =>
2404-
runWithPluginScope(() => config.writeConfigFile(cfg, options)),
2402+
current: () => runWithPluginScope(() => config.current()),
2403+
mutateConfigFile: (params) => runWithPluginScope(() => config.mutateConfigFile(params)),
2404+
replaceConfigFile: (params) =>
2405+
runWithPluginScope(() => config.replaceConfigFile(params)),
24052406
} satisfies PluginRuntime["config"];
24062407
}
24072408
if (prop === "llm") {

0 commit comments

Comments
 (0)