From 3c6c481ac4a87c3a26d8ad622267954ddd1e09d9 Mon Sep 17 00:00:00 2001 From: Varun Nuthalapati Date: Thu, 4 Jun 2026 22:07:04 -0700 Subject: [PATCH] fix: rename MSWEBA_GLOBAL_CONFIG_DIR to WEBWRIGHT_CONFIG_DIR PR #4 renamed the project from mini-swe-webagent to Webwright but left the legacy MSWEBA_ prefix in the config dir env var. This renames it to WEBWRIGHT_CONFIG_DIR to be consistent with the project's current identity. Migration: if you set MSWEBA_GLOBAL_CONFIG_DIR in your shell profile, rename it to WEBWRIGHT_CONFIG_DIR. --- src/webwright/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webwright/__init__.py b/src/webwright/__init__.py index 12b1da4..32ecc0e 100644 --- a/src/webwright/__init__.py +++ b/src/webwright/__init__.py @@ -22,7 +22,7 @@ def user_config_dir(appname: str) -> str: package_dir = Path(__file__).resolve().parent global_config_dir = Path( - os.getenv("MSWEBA_GLOBAL_CONFIG_DIR") or user_config_dir("webwright") + os.getenv("WEBWRIGHT_CONFIG_DIR") or user_config_dir("webwright") ) global_config_dir.mkdir(parents=True, exist_ok=True) global_config_file = global_config_dir / ".env"