feat(wizard): genera argos.json completo al primo install

- system.vendor_heartbeat abilitato di default (install_key shared secret)
- system.anthropic_key vuoto (valorizzabile dopo da UI)
- paths.analytics_exclude_entities per coerenza con runtime

NON genera system.update (codice morto dopo Fase 5, credenziali Gitea
ora vivono nella licenza firmata).
This commit is contained in:
Tecnotel 2026-04-20 15:06:49 +02:00
parent 5e9a916515
commit dd9e50697e
1 changed files with 10 additions and 2 deletions

View File

@ -188,7 +188,14 @@ def generate_argos_json(data):
"system": {
"secret_key": secrets.token_hex(32),
"internal_api_key": secrets.token_hex(24),
"tz": "Europe/Rome"
"anthropic_key": "",
"tz": "Europe/Rome",
"vendor_heartbeat": {
"enabled": True,
"url": "https://argos-update.tecnotelsrl.com",
"install_key": "5b1ab5c872383f686d3a25a5e123adca",
"interval_h": 6
}
},
"opensearch": {
"url": data.get("os_url", ""),
@ -200,7 +207,8 @@ def generate_argos_json(data):
"feeds_dir": str(FEEDS_DIR),
"logs_dir": str(LOGS_DIR),
"config_dir": str(CONFIG_DIR),
"analytics_db": str(DATA_DIR / "analytics.db")
"analytics_db": str(DATA_DIR / "analytics.db"),
"analytics_exclude_entities": ""
},
"ports": {
"backend": 8080,