feat(delivery): preserve text format intent

This commit is contained in:
xmanrui 2026-08-24 02:33:19 +08:00
parent 73f262711b
commit dd66f5cbe1
5 changed files with 177 additions and 12 deletions

View file

@ -76,7 +76,7 @@ export async function deliverOutboundArtifacts({
logger,
}) {
const receipts = baseReceipt ? [baseReceipt] : [];
let userVisible = Boolean(baseReceipt);
let userVisible = Boolean(baseReceipt) && baseReceipt.deliveryOutcome !== 'failed';
let failureNoticeVisible = false;
let artifactsSent = 0;
let artifactSendErrors = 0;