igneum/relay/clients/igneum-agent.bat
igneum-labs 53f7f55796 Relay: text, files and runnable tasks between the Mac, the PCs and the phone (relay.igneum.network)
New Vercel project igneum-relay from relay/: one function (api/relay.mjs) over Neon tables relay_items and relay_machines,
files in Vercel Blob store igneum-relay (50 MB client uploads, 4 MB through the function), phone-first web page at /r/<token>/
with the site tokens. Mac CLI tools/relay.mjs (feed, read, drop, task, run, watch, inbox, machines, role, name).
Windows clients send.bat/send.ps1 and the igneum-agent (registers hostname, role, GPUs, WSL, nvcc; runs queued PowerShell
scripts, posts results, reboot-continue via scheduled task + RunOnce), bash twins send.sh and agent.sh (verified live),
playbooks for WSL setup, prover setup, prove-block, miner v4, one-click placeholder. make-clients.sh bakes the secrets
into a zip; the repo copies hold placeholders. Screenshots under docs/design/relay.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-04 10:04:30 +00:00

16 lines
718 B
Batchfile

@echo off
rem Igneum relay agent. Double-click once and leave the window open; the Mac queues everything else.
rem Runs elevated (one UAC click) so tasks that need administrator never prompt again. Restarts itself if the agent ever exits.
title igneum-agent
net session >nul 2>&1
if errorlevel 1 (
echo Asking for administrator rights once, so queued tasks can install things without prompts...
powershell -NoProfile -Command "Start-Process cmd.exe -Verb RunAs -ArgumentList '/k','\"\"%~f0\"\"'"
exit /b 0
)
:loop
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0igneum-agent.ps1"
echo.
echo igneum-agent stopped with code %ERRORLEVEL%. Restarting in 15 s (Ctrl+C to quit).
timeout /t 15 >nul
goto loop