Spracherkennung für: .ts vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
import { getBootstrapChannelSecrets } from "../channels/plugins/bootstrap-registry.js";
import type { OpenClawConfig } from "../config/types.openclaw.js";
import { loadBundledChannelSecretContractApi } from "./channel-contract-api.js";
import { type ResolverContext, type SecretDefaults } from "./runtime-shared.js";
export function collectChannelConfigAssignments(params: {
config: OpenClawConfig;
defaults: SecretDefaults | undefined;
context: ResolverContext;
}): void {
const channelIds = Object.keys(params.config.channels ?? {});
if (channelIds.length === 0) {
return;
}
for (const channelId of channelIds) {
const contract = loadBundledChannelSecretContractApi(channelId);
const collectRuntimeConfigAssignments =
contract?.collectRuntimeConfigAssignments ??
getBootstrapChannelSecrets(channelId)?.collectRuntimeConfigAssignments;
collectRuntimeConfigAssignments?.(params);
}
}
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet am 2026-04-27)
¤
*© Formatika GbR, Deutschland