Spracherkennung für: .ts vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
import type { OpenClawConfig } from "../config/types.openclaw.js";
import {
resolveGatewayProbeAuthSafeWithSecretInputs,
resolveGatewayProbeTarget,
} from "../gateway/probe-auth.js";
export { pickGatewaySelfPresence } from "./gateway-presence.js";
export async function resolveGatewayProbeAuthResolution(cfg: OpenClawConfig): Promise<{
auth: {
token?: string;
password?: string;
};
warning?: string;
}> {
const target = resolveGatewayProbeTarget(cfg);
return resolveGatewayProbeAuthSafeWithSecretInputs({
cfg,
mode: target.mode,
env: process.env,
});
}
export async function resolveGatewayProbeAuth(cfg: OpenClawConfig): Promise<{
token?: string;
password?: string;
}> {
return (await resolveGatewayProbeAuthResolution(cfg)).auth;
}
¤ Dauer der Verarbeitung: 0.15 Sekunden
(vorverarbeitet am 2026-04-27)
¤
*© Formatika GbR, Deutschland