fix: gate inline /status stripping
This commit is contained in:
@@ -143,7 +143,7 @@
|
|||||||
- Auto-reply: align `/think` default display with model reasoning defaults. (#751) — thanks @gabriel-trigo.
|
- Auto-reply: align `/think` default display with model reasoning defaults. (#751) — thanks @gabriel-trigo.
|
||||||
- Auto-reply: flush block reply buffers on tool boundaries. (#750) — thanks @sebslight.
|
- Auto-reply: flush block reply buffers on tool boundaries. (#750) — thanks @sebslight.
|
||||||
- Auto-reply: allow sender fallback for command authorization when `SenderId` is empty (WhatsApp self-chat). (#755) — thanks @juanpablodlc.
|
- Auto-reply: allow sender fallback for command authorization when `SenderId` is empty (WhatsApp self-chat). (#755) — thanks @juanpablodlc.
|
||||||
- Auto-reply: treat whitespace-only sender ids as missing for command authorization (WhatsApp self-chat).
|
- Auto-reply: treat whitespace-only sender ids as missing for command authorization (WhatsApp self-chat). (#766) — thanks @steipete.
|
||||||
- Heartbeat: refresh prompt text for updated defaults.
|
- Heartbeat: refresh prompt text for updated defaults.
|
||||||
- Agents/Tools: use PowerShell on Windows to capture system utility output. (#748) — thanks @myfunc.
|
- Agents/Tools: use PowerShell on Windows to capture system utility output. (#748) — thanks @myfunc.
|
||||||
- Docker: tolerate unset optional env vars in docker-setup.sh under strict mode. (#725) — thanks @petradonka.
|
- Docker: tolerate unset optional env vars in docker-setup.sh under strict mode. (#725) — thanks @petradonka.
|
||||||
|
|||||||
@@ -606,7 +606,9 @@ export async function getReplyFromConfig(
|
|||||||
return `${head}${cleanedTail}`;
|
return `${head}${cleanedTail}`;
|
||||||
})();
|
})();
|
||||||
|
|
||||||
cleanedBody = stripInlineStatus(cleanedBody).cleaned;
|
if (allowStatusDirective) {
|
||||||
|
cleanedBody = stripInlineStatus(cleanedBody).cleaned;
|
||||||
|
}
|
||||||
|
|
||||||
sessionCtx.Body = cleanedBody;
|
sessionCtx.Body = cleanedBody;
|
||||||
sessionCtx.BodyStripped = cleanedBody;
|
sessionCtx.BodyStripped = cleanedBody;
|
||||||
|
|||||||
Reference in New Issue
Block a user