import { resolveSessionAgentId } from "../../agents/agent-scope.js"; import { normalizeChatType } from "../../channels/chat-type.js"; import type { OpenClawConfig } from "../../config/types.openclaw.js"; import type { SilentReplyConversationType } from "../../shared/silent-reply-policy.js"; import { normalizeOptionalString } from "../../shared/string-coerce.js";
export type OutboundSessionContext = { /** Canonical session key used for internal hook dispatch. */
key?: string; /** Session key used for policy resolution when delivery differs from the control session. */
policyKey?: string; /** Explicit conversation type for policy resolution when a session key is generic. */
conversationType?: SilentReplyConversationType; /** Active agent id used for workspace-scoped media roots. */
agentId?: string; /** Originating account id used for requester-scoped group policy resolution. */
requesterAccountId?: string; /** Originating sender id used for sender-scoped outbound media policy. */
requesterSenderId?: string; /** Originating sender display name for name-keyed sender policy matching. */
requesterSenderName?: string; /** Originating sender username for username-keyed sender policy matching. */
requesterSenderUsername?: string; /** Originating sender E.164 phone number for e164-keyed sender policy matching. */
requesterSenderE164?: string;
};
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.