From af956df74341308aea5f19eb9077ae1664f8a202 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 22 Oct 2026 18:22:05 +0200 Subject: agents: QML's JS engine has no Array.prototype.flatMap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same class as matchAll and fromEntries: a TypeError that only reaches the log. In the docker Update button it threw after the busy flag was set, so the button read "Updating…" forever with no process behind it. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 3e84b04..35f6356 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -101,6 +101,9 @@ changing that component. The ones that generalise: - **Nor `Object.fromEntries`.** It throws a `TypeError` that only reaches the log, and the page renders without whatever the handler was building. Build the object with a loop. +- **Nor `Array.prototype.flatMap`.** Same `TypeError`, log only. In the + docker Update button it threw after the busy flag was set, so the button + read "Updating…" forever with no process running. Push in a loop. - **Assigning `running = true` to a `Process` that is already running does nothing.** Reusing one `Process` for a sequence of commands needs `running = false` immediately before each start. -- cgit v1.2.3