import { mapAllowFromEntries } from "openclaw/plugin-sdk/channel-config-helpers"; import type { ChannelPlugin } from "../../channels/plugins/types.plugin.js"; import type { ChannelOutboundTargetMode } from "../../channels/plugins/types.public.js"; import { formatCliCommand } from "../../cli/command-format.js"; import type { OpenClawConfig } from "../../config/types.openclaw.js"; import { INTERNAL_MESSAGE_CHANNEL } from "../../utils/message-channel-constants.js"; import type { GatewayMessageChannel } from "../../utils/message-channel.js"; import { missingTargetError } from "./target-errors.js";
export type OutboundTargetResolution = { ok: true; to: string } | { ok: false; error: Error };
function buildWebChatDeliveryError(): Error { returnnew Error(
`Delivering to WebChat is not supported via \`${formatCliCommand("openclaw agent")}\`; use WhatsApp/Telegram or run with --deliver=false.`,
);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.