From 95fd50b0bb316918732a74dfe4982aef9297440a Mon Sep 17 00:00:00 2001 From: Frederic Jung Date: Wed, 4 Nov 2026 09:09:53 +0100 Subject: [PATCH] Relay comment points at where agent mode now holds the clock --- scripts/agent/relay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/agent/relay.js b/scripts/agent/relay.js index f25b44d..a99e1da 100644 --- a/scripts/agent/relay.js +++ b/scripts/agent/relay.js @@ -41,7 +41,7 @@ function createRelay({ server } = {}) { const send = (ws, o) => { if (ws.readyState === 1) ws.send(JSON.stringify(o)); }; // Presence goes both ways: tools learn whether a page is connected, the page learns how many - // tools are — agent mode holds the game's clock while none are (src/game/98-agent.js). + // tools are — agent mode holds the game's clock while none are (src/agent/80-relay.js). const presence = () => { const p = !!(page && page.readyState === 1); const n = [...tools].filter((t) => t.readyState === 1).length;