From 123207e0a67725784e96b980b9b7ad4ea6bc1255 Mon Sep 17 00:00:00 2001 From: nesquena-hermes Date: Sat, 4 Apr 2026 11:27:11 -0700 Subject: [PATCH] fix: default STATE_DIR to ~/.hermes/webui instead of webui-mvp (#72) The previous default pointed to 'webui-mvp' which is the internal development repo name and meaningless to anyone deploying the public repo. Changed to the generic '~/.hermes/webui' which is a sensible default for any deployment. The state dir remains fully overridable via HERMES_WEBUI_STATE_DIR for anyone who wants to run multiple instances side by side. Co-authored-by: Nathan Esquenazi --- api/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/config.py b/api/config.py index 8d1691b..0660292 100644 --- a/api/config.py +++ b/api/config.py @@ -31,7 +31,7 @@ PORT = int(os.getenv('HERMES_WEBUI_PORT', '8787')) # ── State directory (env-overridable, never inside repo) ────────────────────── STATE_DIR = Path(os.getenv( 'HERMES_WEBUI_STATE_DIR', - str(HOME / '.hermes' / 'webui-mvp') + str(HOME / '.hermes' / 'webui') )).expanduser().resolve() SESSION_DIR = STATE_DIR / 'sessions'