stswangzhiping
|
eb9f4ab1c3
|
feat: add WiFi provisioning for headless devices (AP + Captive Portal)
- Add lib/network.js: WiFi scan, connect, AP hotspot via nmcli
- Add lib/dns-hijack.js: dnsmasq management for DNS hijack + DHCP
- Add lib/captive-server.js: embedded HTTP captive portal with WiFi setup page
- Add lib/provisioning.js: orchestrator (detect network -> AP mode -> wait -> exit)
- Update client.js: call ensureNetwork() before WS connection
- Update install.sh: auto-install dnsmasq dependency
Made-with: Cursor
|
2026-03-16 08:58:51 +08:00 |
|
stswangzhiping
|
b3770d21d4
|
feat: add structured logging, process watchdog, and systemd hardening
- Add lib/logger.js: timestamped structured logging with 5MB x 5 file rotation
- Add lib/watchdog.js: generic child process supervisor with rate-limited restarts
- Enhance client.js: WS ping/pong liveness detection, uncaughtException/unhandledRejection handlers, systemd sd-notify integration
- Refactor frpc.js: FrpcManager now delegates to Watchdog instead of manual spawn/exit
- Enhance install.sh: environment file, log directory, systemd resource limits, security hardening, WatchdogSec=60
- Replace all console.log/warn/error with structured logger across modules
Made-with: Cursor
|
2026-03-16 07:31:19 +08:00 |
|
stswangzhiping
|
c0c445b61d
|
feat: add ttyd terminal support, parallel startup in frpc.js
Made-with: Cursor
|
2026-03-15 21:39:05 +08:00 |
|
stswangzhiping
|
64cd7432e1
|
fix: getDashboardInfo uses spawn+Promise to handle long-running process
Made-with: Cursor
|
2026-03-15 14:09:41 +08:00 |
|
stswangzhiping
|
516d0d26ee
|
feat: integrate frpc manager and send dashboard info via WebSocket
Made-with: Cursor
|
2026-03-15 11:10:33 +08:00 |
|
stswangzhiping
|
a9a7816e16
|
fix: show claw_id in activation box, remove noisy startup logs
Made-with: Cursor
|
2026-03-14 22:46:49 +08:00 |
|
stswangzhiping
|
222c38a707
|
feat: initial clawd implementation - WebSocket daemon for claw box
Made-with: Cursor
|
2026-03-14 20:41:26 +08:00 |
|