feat(agent): toml config loader with defaults and validation

This commit is contained in:
Carsten 2026-04-21 22:07:06 +02:00
parent 7ec38e0fd6
commit e4db0beac6
3 changed files with 147 additions and 0 deletions

8
agent/test/fixtures/agent.toml vendored Normal file
View file

@ -0,0 +1,8 @@
server_url = "wss://monitor.example.com/socket/websocket"
token = "test_token_123"
host_id = "pve-test-01"
[intervals]
fast_seconds = 15
medium_seconds = 120
slow_seconds = 600