Security: dual token + customer guide page

- Split auth into agent-token (public) and controller-token (secret)
- Agent token in scripts can't be used to control devices
- Add agent.html: step-by-step guide for customers (Win/Mac/Linux)
- Update agent binaries with new token defaults
This commit is contained in:
dongsheng123132
2026-03-22 21:23:28 +08:00
parent a7db8e55f2
commit 934cecaf74
6 changed files with 203 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
set -e
RELAY_SERVER="ws://47.107.130.152:8900"
TOKEN="remote-agent-secret"
TOKEN="uclaw-agent-pub"
TIMEOUT_HOURS=2
AGENT_DIR="/tmp/uclaw"
AGENT_PATH="$AGENT_DIR/agent"