feat(chat): add one-click Plaza publish for HTML page messages.

Speed up the quick-plaza path with session snapshot reads, publish timeouts, and a modal fix so parent re-renders no longer abort in-flight requests.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-07-05 19:28:36 +08:00
parent 53eb0014ba
commit 3318c04490
11 changed files with 766 additions and 140 deletions
+3 -1
View File
@@ -581,7 +581,9 @@ export function createPublicationService(pool, options = {}) {
findings: result.findings,
});
}
const acknowledged = new Set(input.acknowledgedFindingIds ?? []);
const acknowledged = input.autoAcknowledgeFindings
? new Set(result.findings.map((finding) => finding.id))
: new Set(input.acknowledgedFindingIds ?? []);
const missingAcknowledgements = result.findings.filter(
(finding) => !finding.blocking && !acknowledged.has(finding.id),
);