From 05d4d0cbc4c34396bc3fea812368ad088582066f Mon Sep 17 00:00:00 2001 From: Saketh Medicherla Date: Wed, 31 Dec 2025 21:31:17 -0500 Subject: [PATCH] fix: use normalized paths for editor tool cache #345 --- src/strands_tools/editor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/strands_tools/editor.py b/src/strands_tools/editor.py index a70f86da..cc6152d8 100644 --- a/src/strands_tools/editor.py +++ b/src/strands_tools/editor.py @@ -314,8 +314,8 @@ def editor( console = console_util.create() try: - path = os.path.expanduser(path) - + path = os.path.abspath(os.path.expanduser(path)) + if not command: raise ValueError("Command is required")