From 105ade959dc38fb1196407f370f2148c72b91062 Mon Sep 17 00:00:00 2001 From: Dom Date: Fri, 26 Jun 2026 09:50:58 +0200 Subject: [PATCH] chore(agent_v1): AGENT_VERSION configurable via RPA_AGENT_VERSION (amorce DETTE-022) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Permet d'identifier la version déployée par poste (préparation MAJ auto). Inoffensif pour DETTE-021 ; nettoie le working tree avant déploiement Émilie. Co-Authored-By: Claude Opus 4.8 (1M context) --- agent_v0/agent_v1/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent_v0/agent_v1/config.py b/agent_v0/agent_v1/config.py index 207f68e8b..fbd5ebe8e 100644 --- a/agent_v0/agent_v1/config.py +++ b/agent_v0/agent_v1/config.py @@ -27,7 +27,7 @@ if platform.system() == "Windows": except Exception: pass -AGENT_VERSION = "1.0.1" +AGENT_VERSION = os.environ.get("RPA_AGENT_VERSION", "1.0.1") # Identifiant unique de la machine (utilisé pour le multi-machine) # Configurable via variable d'environnement, sinon auto-généré depuis hostname + OS