claude-dev-env 1.29.0 → 1.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -18,9 +18,14 @@ import subprocess
|
|
|
18
18
|
import sys
|
|
19
19
|
from pathlib import Path
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
sys.path.
|
|
21
|
+
_hooks_dir_string = str(Path(__file__).resolve().parent.parent / "hooks")
|
|
22
|
+
while _hooks_dir_string in sys.path:
|
|
23
|
+
sys.path.remove(_hooks_dir_string)
|
|
24
|
+
sys.path.insert(0, _hooks_dir_string)
|
|
25
|
+
|
|
26
|
+
for _cached_module_name in list(sys.modules):
|
|
27
|
+
if _cached_module_name == "config" or _cached_module_name.startswith("config."):
|
|
28
|
+
del sys.modules[_cached_module_name]
|
|
24
29
|
|
|
25
30
|
from config.project_paths_reader import registry_file_path
|
|
26
31
|
from config.setup_project_paths_constants import (
|