From 3095fca303f84db0b405f9bf50da83dba8393cae Mon Sep 17 00:00:00 2001 From: igneum-labs <337424239+igneum-labs@users.noreply.github.com> Date: Sat, 3 Oct 2026 18:42:32 +0000 Subject: [PATCH] Add the miner log intake, Windows uploader and Mac reader POST /api/log stores a log snapshot in Neon table miner_logs over the HTTP SQL endpoint with no dependencies. upload-log.bat posts the last 256 KB of a log from Windows with the curl.exe that ships with it. tools/logs.mjs lists runs and prints the latest lines on the Mac. Co-Authored-By: Claude Fable 5.1 --- proto-cuda/windows-miner/UPLOAD.md | 7 +++ proto-cuda/windows-miner/upload-log.bat | 41 ++++++++++++++++ site/api/log.mjs | 64 +++++++++++++++++++++++++ tools/logs.mjs | 53 ++++++++++++++++++++ 4 files changed, 165 insertions(+) create mode 100644 proto-cuda/windows-miner/UPLOAD.md create mode 100644 proto-cuda/windows-miner/upload-log.bat create mode 100644 site/api/log.mjs create mode 100755 tools/logs.mjs diff --git a/proto-cuda/windows-miner/UPLOAD.md b/proto-cuda/windows-miner/UPLOAD.md new file mode 100644 index 00000000..0823b48a --- /dev/null +++ b/proto-cuda/windows-miner/UPLOAD.md @@ -0,0 +1,7 @@ +# Sending miner logs to Claude + +1. Run `upload-log.bat