mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-18 22:17:27 +00:00
fix(auto-reply): prevent sender spoofing in group prompts
This commit is contained in:
@@ -211,6 +211,7 @@ export function createPluginRuntime(): PluginRuntime {
|
||||
dispatchReplyFromConfig,
|
||||
finalizeInboundContext,
|
||||
formatAgentEnvelope,
|
||||
/** @deprecated Prefer `BodyForAgent` + structured user-context blocks (do not build plaintext envelopes for prompts). */
|
||||
formatInboundEnvelope,
|
||||
resolveEnvelopeFormatOptions,
|
||||
},
|
||||
|
||||
@@ -223,6 +223,7 @@ export type PluginRuntime = {
|
||||
dispatchReplyFromConfig: DispatchReplyFromConfig;
|
||||
finalizeInboundContext: FinalizeInboundContext;
|
||||
formatAgentEnvelope: FormatAgentEnvelope;
|
||||
/** @deprecated Prefer `BodyForAgent` + structured user-context blocks (do not build plaintext envelopes for prompts). */
|
||||
formatInboundEnvelope: FormatInboundEnvelope;
|
||||
resolveEnvelopeFormatOptions: ResolveEnvelopeFormatOptions;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user