import {
getRuntimeConfigSnapshot,
getRuntimeConfigSourceSnapshot,
} from "../config/runtime-snapshot.js" ;
import type { OpenClawConfig } from "../config/types.openclaw.js" ;
export function resolvePluginActivationSourceConfig(params: {
config?: OpenClawConfig;
activationSourceConfig?: OpenClawConfig;
}): OpenClawConfig {
if (params.activationSourceConfig !== undefined) {
return params.activationSourceConfig;
}
const sourceSnapshot = getRuntimeConfigSourceSnapshot();
if (sourceSnapshot && params.config === getRuntimeConfigSnapshot()) {
return sourceSnapshot;
}
return params.config ?? {};
}
Messung V0.5 in Prozent C=92 H=87 G=89
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-09-29)
¤
*© Formatika GbR, Deutschland