From a2066fbf04abdf6cc4ceb3d3218f5cab111bb667 Mon Sep 17 00:00:00 2001 From: Brandon Li Date: Sat, 29 Aug 2026 13:06:10 -0500 Subject: [PATCH] Show the autoclicker daemon's status in the page capture card MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The daemon indicator sat in the firm tab row, which put it next to the firm tabs it has nothing to do with. It belongs with the page capture switch: both describe whether the moving parts outside the browser are alive. The row now carries host, pid and version while the daemon is up, and the start command while it is not, so a stopped daemon says what to run rather than only that something is wrong. The dry-run and out-of-date states move here as chips beside the status dot. The warning banners stay above the automation buttons — those are actionable next to the thing they block. Co-Authored-By: Claude Opus 5 --- app/autobuyer/page.tsx | 50 ++++++++++++++++++++++++++++-------------- 1 file changed, 33 insertions(+), 17 deletions(-) diff --git a/app/autobuyer/page.tsx b/app/autobuyer/page.tsx index 7f1466e..43fcbeb 100644 --- a/app/autobuyer/page.tsx +++ b/app/autobuyer/page.tsx @@ -248,9 +248,9 @@ export default function AutoBuyer() {

AutoBuyer

- {/* ── Capture switch ── */} + {/* ── Capture switch and daemon status ── */}
-
+

Page capture

@@ -269,6 +269,37 @@ export default function AutoBuyer() { {busy ? '…' : enabled ? 'ON' : 'OFF'}

+ +
+
+

Autoclicker daemon

+

+ {runner?.online + ? <>Executes queued runs · {runner.host ?? 'unknown host'} pid {runner.pid ?? '?'} · v{runner.version ?? '?'} + : <>Not running — start it with python clicker/runner.py} +

+
+ + {runner?.online && runner.dryRun && ( + + dry run + + )} + {runner?.online && runner.stale && ( + + out of date + + )} + + + {!runner?.online + ? 'Offline' + : runner.busy ? 'Busy' : 'Online'} + + +
{error && ( @@ -292,21 +323,6 @@ export default function AutoBuyer() { {firm.label} ))} - - - - {!runner?.online - ? 'Runner offline' - : runner.busy ? 'Runner busy' : 'Runner online'} - - {runner?.online && runner.dryRun && ( - - dry run - - )} -
{!runner?.online && (