towerops-agent/src
Graham McIntire b0f3b57671
Add restart and self-update handlers, publish standalone binaries
Handle server-initiated restart (exit for Docker restart) and
self-update (download binary, verify SHA256, replace via exec)
commands received over the WebSocket channel. Report architecture
in heartbeat so the server can select the correct binary.

- Add restart and update handlers in websocket_client.rs
- Add self_update() with download, checksum verification, and exec
- Add arch field to AgentHeartbeat protobuf
- Add reqwest and sha2 dependencies
- chown binary in Dockerfile for non-root self-update
- Extract standalone binaries from Docker images in CI
- Create GitHub Releases with binary assets on version tags
2026-02-10 13:06:23 -06:00
..
mikrotik Security hardening and performance improvements 2026-02-04 16:50:36 -06:00
snmp Fix arm64 build: use c_char instead of i8 in FFI declarations 2026-02-10 08:40:15 -06:00
ssh Security hardening and performance improvements 2026-02-04 16:50:36 -06:00
config.rs Agent overhaul with zero persistence 2026-01-30 15:50:20 -06:00
main.rs Remove TUI feature and all related code 2026-02-10 09:31:39 -06:00
ping.rs feat: add agent-side ICMP ping health monitoring 2026-02-08 13:44:09 -06:00
proto.rs Fix clippy warnings to pass CI build 2026-01-16 18:02:33 -06:00
secret.rs Security hardening and performance improvements 2026-02-04 16:50:36 -06:00
version.rs use datestamp instead of creating a version 2026-02-09 13:49:19 -06:00
websocket_client.rs Add restart and self-update handlers, publish standalone binaries 2026-02-10 13:06:23 -06:00