Add core service infrastructure

- NATS event bus (pub/sub, JetStream, KV storage)
- Service registry with health monitoring
- Base service class with lifecycle management
- Config system
- Logger with Vi formatting

Adapted from Lyra's patterns, namespace changed to vi.*

🦊💕
This commit is contained in:
Alex Kazaiev
2026-01-02 13:04:26 -06:00
parent c891740d7c
commit e2d24a66f1
8 changed files with 1321 additions and 0 deletions

11
config/config.json Normal file
View File

@@ -0,0 +1,11 @@
{
"nats": {
"url": "nats://daemoness.local:4222",
"connection_timeout": 30,
"max_reconnect_attempts": 10
},
"services": {
"heartbeat_timeout": 60,
"health_check_interval": 30
}
}