fix: align reasoning payload typing for #24991 (thanks @stakeswky)

This commit is contained in:
Peter Steinberger
2026-02-24 03:50:27 +00:00
parent 7d76c241f8
commit d427d09b5e
3 changed files with 4 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ Docs: https://docs.openclaw.ai
- Agents/Tool warnings: suppress `sessions_send` relay errors from chat-facing warning payloads to avoid leaking transient inter-session transport failures. (#24740) Thanks @Glucksberg.
- WhatsApp/Logging: redact outbound recipient identifiers in WhatsApp outbound + heartbeat logs and remove message/poll preview text from those log lines. (#24980) Thanks @coygeek.
- WhatsApp/Auto-reply: send only final payloads to WhatsApp, suppress tool/block payload leakage (reasoning/thinking), and force block streaming off for WhatsApp dispatch so final-only delivery cannot cause silent turns. (#24962) Thanks @SidQin-cyber.
- Channels/Reasoning: suppress reasoning/thinking payload segments in the shared channel dispatch path so non-Telegram channels (including WhatsApp and Web) no longer emit internal reasoning blocks as user-visible replies. (#24991) Thanks @stakeswky.
- Telegram/Media SSRF: keep RFC2544 benchmark range (`198.18.0.0/15`) blocked by default, add an explicit SSRF-policy opt-in for Telegram media downloads, and keep other channels/URL fetch paths blocked. (#24982) Thanks @stakeswky.
- Security/iOS deep links: require local confirmation (or trusted key) before forwarding `openclaw://agent` requests from iOS to gateway `agent.request`, and strip unkeyed delivery-routing fields to reduce exfiltration risk. This ships in the next npm release. Thanks @GCXWLP for reporting.
- Security/Voice Call: harden Twilio webhook replay handling by preserving provider event IDs through normalization, adding bounded replay dedupe, and enforcing per-call turn-token matching for call-state transitions. This ships in the next npm release. Thanks @jiseoung for reporting.

View File

@@ -2,6 +2,7 @@ export type BlockReplyPayload = {
text?: string;
mediaUrls?: string[];
audioAsVoice?: boolean;
isReasoning?: boolean;
replyToId?: string;
replyToTag?: boolean;
replyToCurrent?: boolean;

View File

@@ -108,6 +108,7 @@ export function buildEmbeddedRunPayloads(params: {
mediaUrls?: string[];
replyToId?: string;
isError?: boolean;
isReasoning?: boolean;
audioAsVoice?: boolean;
replyToTag?: boolean;
replyToCurrent?: boolean;
@@ -116,6 +117,7 @@ export function buildEmbeddedRunPayloads(params: {
text: string;
media?: string[];
isError?: boolean;
isReasoning?: boolean;
audioAsVoice?: boolean;
replyToId?: string;
replyToTag?: boolean;