Contract: pass approval option warnings, omit threadId on host pushes
Gateway / check (push) Successful in 8s
Gateway / image (push) Successful in 21s

This commit is contained in:
gib committed 2026-11-01 02:36:44 -05:00
1 parent 7ad1045be4
commit 21215210e3
6 files changed
+12 -10

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ function pendingRequest(thread: ThreadShell, turnItems: BoundedThread["projectio
);
if (item && isApprovalRequest(item)) {
const options = item.options?.length
? item.options.map(({ decision, label }) => ({ decision, label }))
? item.options.map(({ decision, label, warning }) => ({ decision, label, ...(warning ? { warning } : {}) }))
: [
{ decision: "accept" as const, label: "Allow" },
{ decision: "decline" as const, label: "Deny" },