(items)
| 1047 | } |
| 1048 | |
| 1049 | function formatMissingItems(items) { |
| 1050 | if (items.length === 0) return ""; |
| 1051 | if (items.length === 1) return items[0]; |
| 1052 | if (items.length === 2) return `${items[0]} and ${items[1]}`; |
| 1053 | return `${items.slice(0, -1).join(", ")}, and ${items[items.length - 1]}`; |
| 1054 | } |
| 1055 | |
| 1056 | function updateRunStatus({ count = 0, inputsValid = false, limitExceeded = false } = {}) { |
| 1057 | if (!UI.runStatusDot || !UI.runStatusState || !UI.runStatusDetail) return; |