Commit Graph

5 Commits

Author SHA1 Message Date
dongsheng123132
b9656b260d fix: async command execution to prevent agent blocking
- Commands now run in goroutines, message loop never blocked
- WebSocket writes protected with mutex for concurrency safety
- Max 5 concurrent commands with semaphore limiting
- Long-running commands (npm install, large downloads) no longer freeze agent
2026-03-25 17:15:09 +08:00
dongsheng123132
ed7e9052d0 fix: use numeric-only device IDs to avoid confusing characters
- agent.ps1: ID format changed from hostname-random to pc-XXXX (pure digits)
- agent.ps1: Device ID display reformatted for easier copy
- agent.exe: rebuilt with dev-XXXX numeric ID generation
2026-03-25 15:46:07 +08:00
dongsheng123132
c32049e07a Security: upgrade to wss:// (TLS) + update agent binaries
- Install scripts now connect via wss:// (encrypted WebSocket)
- Agent binaries rebuilt with TLS support (self-signed cert skip)
2026-03-22 21:55:24 +08:00
dongsheng123132
934cecaf74 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
2026-03-22 21:23:28 +08:00
dongsheng123132
a7db8e55f2 Add remote agent distribution: install scripts + binaries
- agent.ps1: Windows one-line install script (irm u-claw.org/agent.ps1 | iex)
- agent.sh: macOS/Linux install script (curl -fsSL u-claw.org/agent.sh | bash)
- downloads/: agent binaries for Windows, macOS, Linux
- vercel.json: add Content-Type headers for binary downloads
2026-03-22 21:11:16 +08:00