wcgw 5.1.0__py3-none-any.whl → 5.1.1__py3-none-any.whl

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.

Potentially problematic release.


This version of wcgw might be problematic. Click here for more details.

@@ -15,7 +15,7 @@ class DirectoryTree:
15
15
  self.root = root
16
16
  self.max_files = max_files
17
17
  self.expanded_files: Set[Path] = set()
18
- self.expanded_dirs = set[Path]()
18
+ self.expanded_dirs: Set[Path] = set()
19
19
 
20
20
  if not self.root.exists():
21
21
  raise ValueError(f"Root path {root} does not exist")
@@ -77,11 +77,11 @@ class DirectoryTree:
77
77
  def _display_recursive(
78
78
  current_path: Path, indent: int = 0, depth: int = 0
79
79
  ) -> None:
80
- # Print current directory name
80
+ # Print current directory name with a trailing slash for directories
81
81
  if current_path == self.root:
82
- writer.write(f"{current_path}\n")
82
+ writer.write(f"{current_path}/\n")
83
83
  else:
84
- writer.write(f"{' ' * indent}{current_path.name}\n")
84
+ writer.write(f"{' ' * indent}{current_path.name}/\n")
85
85
 
86
86
  # Don't recurse beyond depth 1 unless path contains expanded files
87
87
  if depth > 0 and current_path not in self.expanded_dirs:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wcgw
3
- Version: 5.1.0
3
+ Version: 5.1.1
4
4
  Summary: Shell and coding agent for Claude and other mcp clients
5
5
  Project-URL: Homepage, https://github.com/rusiaaman/wcgw
6
6
  Author-email: Aman Rusia <gapypi@arcfu.com>
@@ -118,13 +118,7 @@ Then create or update `claude_desktop_config.json` (~/Library/Application Suppor
118
118
  "mcpServers": {
119
119
  "wcgw": {
120
120
  "command": "uv",
121
- "args": [
122
- "tool",
123
- "run",
124
- "--python",
125
- "3.12",
126
- "wcgw@latest"
127
- ]
121
+ "args": ["tool", "run", "--python", "3.12", "wcgw@latest"]
128
122
  }
129
123
  }
130
124
  }
@@ -153,14 +147,7 @@ Then add or update the claude config file `%APPDATA%\Claude\claude_desktop_confi
153
147
  "mcpServers": {
154
148
  "wcgw": {
155
149
  "command": "wsl.exe",
156
- "args": [
157
- "uv",
158
- "tool",
159
- "run",
160
- "--python",
161
- "3.12",
162
- "wcgw@latest"
163
- ]
150
+ "args": ["uv", "tool", "run", "--python", "3.12", "wcgw@latest"]
164
151
  }
165
152
  }
166
153
  }
@@ -232,7 +219,7 @@ Then you can update `/Users/username/Library/Application Support/Claude/claude_d
232
219
  ```
233
220
  {
234
221
  "mcpServers": {
235
- "filesystem": {
222
+ "wcgw": {
236
223
  "command": "docker",
237
224
  "args": [
238
225
  "run",
@@ -240,7 +227,7 @@ Then you can update `/Users/username/Library/Application Support/Claude/claude_d
240
227
  "--rm",
241
228
  "--mount",
242
229
  "type=bind,src=/Users/username/Desktop,dst=/workspace/Desktop",
243
- "wcgw",
230
+ "wcgw"
244
231
  ]
245
232
  }
246
233
  }
@@ -18,7 +18,7 @@ wcgw/client/file_ops/search_replace.py,sha256=bB1S-xkDdOX4h7UHHxfCHaQiS9KyYkIdU6
18
18
  wcgw/client/mcp_server/Readme.md,sha256=2Z88jj1mf9daYGW1CWaldcJ0moy8owDumhR2glBY3A8,109
19
19
  wcgw/client/mcp_server/__init__.py,sha256=mm7xhBIPwJpRT3u-Qsj4cKVMpVyucJoKRlbMP_gRRB0,343
20
20
  wcgw/client/mcp_server/server.py,sha256=jjwrmZZ8X0tXD0rsPZ9fKjEpdXpXCfdhEsN3Ho_tC8I,4989
21
- wcgw/client/repo_ops/display_tree.py,sha256=uOGX2IbXTKXwtXT2wdDszuH4ODmSYsHm0toU55e1vYI,4021
21
+ wcgw/client/repo_ops/display_tree.py,sha256=g282qCKLCwo8O9NHUBnkG_NkIusroVzz3NZi8VIcmAI,4066
22
22
  wcgw/client/repo_ops/file_stats.py,sha256=AUA0Br7zFRpylWFYZPGMeGPJy3nWp9e2haKi34JptHE,4887
23
23
  wcgw/client/repo_ops/path_prob.py,sha256=SWf0CDn37rtlsYRQ51ufSxay-heaQoVIhr1alB9tZ4M,2144
24
24
  wcgw/client/repo_ops/paths_model.vocab,sha256=M1pXycYDQehMXtpp-qAgU7rtzeBbCOiJo4qcYFY0kqk,315087
@@ -30,8 +30,8 @@ wcgw_cli/anthropic_client.py,sha256=8bjDY59-aioyTJgpB-NBHZNhZaq6rqcTJcOf81kzCyA,
30
30
  wcgw_cli/cli.py,sha256=-7FBe_lahKyUOhf65iurTA1M1gXXXAiT0OVKQVcZKKo,948
31
31
  wcgw_cli/openai_client.py,sha256=GOqoSFazTV-cFjpdZGPM0DIwec8Up2TEcKUbsN40AGY,15990
32
32
  wcgw_cli/openai_utils.py,sha256=xGOb3W5ALrIozV7oszfGYztpj0FnXdD7jAxm5lEIVKY,2439
33
- wcgw-5.1.0.dist-info/METADATA,sha256=VUNkqbng5Y1O7WtFaJkjuCkTtUSSZBpCjv6aHGZcdq0,14866
34
- wcgw-5.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
35
- wcgw-5.1.0.dist-info/entry_points.txt,sha256=UnjK-MAH4Qssh0tGJDMeij1oi-oRKokItkknP_BwShE,94
36
- wcgw-5.1.0.dist-info/licenses/LICENSE,sha256=BvY8xqjOfc3X2qZpGpX3MZEmF-4Dp0LqgKBbT6L_8oI,11142
37
- wcgw-5.1.0.dist-info/RECORD,,
33
+ wcgw-5.1.1.dist-info/METADATA,sha256=L2k3QXK92C7sDStHug9QJo2BwFUkXU4jsOVFWVcv_Fw,14755
34
+ wcgw-5.1.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
35
+ wcgw-5.1.1.dist-info/entry_points.txt,sha256=UnjK-MAH4Qssh0tGJDMeij1oi-oRKokItkknP_BwShE,94
36
+ wcgw-5.1.1.dist-info/licenses/LICENSE,sha256=BvY8xqjOfc3X2qZpGpX3MZEmF-4Dp0LqgKBbT6L_8oI,11142
37
+ wcgw-5.1.1.dist-info/RECORD,,
File without changes