Spracherkennung für: .ts vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
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 ?? {};
}
¤ Dauer der Verarbeitung: 0.17 Sekunden
(vorverarbeitet am 2026-04-27)
¤
*© Formatika GbR, Deutschland