aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-22 18:22:05 +0200
committerDanilo M. <danix@danix.xyz>2026-10-22 18:22:05 +0200
commitaf956df74341308aea5f19eb9077ae1664f8a202 (patch)
tree9004a1b2622e01adf04ddf30eeb34aabede5c520 /AGENTS.md
parentb810188a4b106ee84e1971b0bbd928d27528171f (diff)
downloadquickshell-af956df74341308aea5f19eb9077ae1664f8a202.tar.gz
quickshell-af956df74341308aea5f19eb9077ae1664f8a202.zip
agents: QML's JS engine has no Array.prototype.flatMap
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 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md3
1 files changed, 3 insertions, 0 deletions
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.