Skip to content

Commit 07d2633

Browse files
committed
glob recursive expansion in context save
1 parent 1ddf35b commit 07d2633

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
authors = [{ name = "Aman Rusia", email = "[email protected]" }]
33
name = "wcgw"
4-
version = "2.7.1"
4+
version = "2.7.2"
55
description = "Shell and coding agent on claude and chatgpt"
66
readme = "README.md"
77
requires-python = ">=3.11, <3.13"

src/wcgw/client/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ def get_tool_output(
11531153
fglob = expand_user(fglob, None)
11541154
if not os.path.isabs(fglob) and arg.project_root_path:
11551155
fglob = os.path.join(arg.project_root_path, fglob)
1156-
globs = glob.glob(fglob)
1156+
globs = glob.glob(fglob, recursive=True)
11571157
relevant_files.extend(globs[:1000])
11581158
if not globs:
11591159
warnings += f"Warning: No files found for the glob: {fglob}\n"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)