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:
parent
5e9a916515
commit
dd9e50697e
|
|
@ -188,7 +188,14 @@ def generate_argos_json(data):
|
||||||
"system": {
|
"system": {
|
||||||
"secret_key": secrets.token_hex(32),
|
"secret_key": secrets.token_hex(32),
|
||||||
"internal_api_key": secrets.token_hex(24),
|
"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": {
|
"opensearch": {
|
||||||
"url": data.get("os_url", ""),
|
"url": data.get("os_url", ""),
|
||||||
|
|
@ -200,7 +207,8 @@ def generate_argos_json(data):
|
||||||
"feeds_dir": str(FEEDS_DIR),
|
"feeds_dir": str(FEEDS_DIR),
|
||||||
"logs_dir": str(LOGS_DIR),
|
"logs_dir": str(LOGS_DIR),
|
||||||
"config_dir": str(CONFIG_DIR),
|
"config_dir": str(CONFIG_DIR),
|
||||||
"analytics_db": str(DATA_DIR / "analytics.db")
|
"analytics_db": str(DATA_DIR / "analytics.db"),
|
||||||
|
"analytics_exclude_entities": ""
|
||||||
},
|
},
|
||||||
"ports": {
|
"ports": {
|
||||||
"backend": 8080,
|
"backend": 8080,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue