wcgw 2.8.1__py3-none-any.whl → 2.8.3__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.

wcgw/client/tools.py CHANGED
@@ -151,7 +151,9 @@ def start_shell(is_restricted_mode: bool, initial_dir: str) -> pexpect.spawn: #
151
151
  timeout=TIMEOUT,
152
152
  cwd=initial_dir,
153
153
  )
154
- shell.sendline(f"export PS1={PROMPT}")
154
+ shell.sendline(
155
+ f"export PROMPT_COMMAND= PS1={PROMPT}"
156
+ ) # Unset prompt command to avoid interfering
155
157
  shell.expect(PROMPT, timeout=TIMEOUT)
156
158
  except Exception as e:
157
159
  console.print(traceback.format_exc())
@@ -440,6 +442,7 @@ def initialize(
440
442
  if os.path.abspath(any_workspace_path):
441
443
  os.makedirs(any_workspace_path, exist_ok=True)
442
444
  repo_context = f"\nInfo: Workspace path {any_workspace_path} did not exist. I've created it for you.\n"
445
+ folder_to_start = Path(any_workspace_path)
443
446
  else:
444
447
  repo_context = (
445
448
  f"\nInfo: Workspace path {any_workspace_path} does not exist."
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wcgw
3
- Version: 2.8.1
3
+ Version: 2.8.3
4
4
  Summary: Shell and coding agent on claude and chatgpt
5
5
  Project-URL: Homepage, https://github.com/rusiaaman/wcgw
6
6
  Author-email: Aman Rusia <gapypi@arcfu.com>
@@ -18,7 +18,7 @@ Requires-Dist: python-dotenv>=1.0.1
18
18
  Requires-Dist: rich>=13.8.1
19
19
  Requires-Dist: semantic-version>=2.10.0
20
20
  Requires-Dist: shell>=1.0.1
21
- Requires-Dist: syntax-checker==0.2.10
21
+ Requires-Dist: syntax-checker>=0.3.0
22
22
  Requires-Dist: tokenizers>=0.21.0
23
23
  Requires-Dist: toml>=0.10.2
24
24
  Requires-Dist: typer>=0.12.5
@@ -12,7 +12,7 @@ wcgw/client/modes.py,sha256=ZhCY-Orbk2JtbxbrPz-YNqLO6PA_zNvE1uNCD3JmnYA,10463
12
12
  wcgw/client/openai_client.py,sha256=WvCnTij5QOPhe0VCdsk5Qo1Ob6yBdxFSvsCmnF0Jozw,17858
13
13
  wcgw/client/openai_utils.py,sha256=KfMB1-p2zDiA7pPWwAVarochf7-qeL1UMgtlDV9DtKA,2662
14
14
  wcgw/client/sys_utils.py,sha256=GajPntKhaTUMn6EOmopENWZNR2G_BJyuVbuot0x6veI,1376
15
- wcgw/client/tools.py,sha256=XjZ1UA7lxpopFmKWlOrAR4tlvEDVyyO8fJyC8-uwRW4,51119
15
+ wcgw/client/tools.py,sha256=7uzPAC2HsRx1N0jguVqZNbWEU4sLjl8xRFNk-oQBaw0,51261
16
16
  wcgw/client/file_ops/diff_edit.py,sha256=o0ucArVwn5p6QTDgYsjLfMy4TJXxUG3qcppFBNF3bbQ,16751
17
17
  wcgw/client/file_ops/search_replace.py,sha256=89ieDC9fTsIKPDx7CJwnwpX32dRdSlMKoBtKVXc7VWI,3971
18
18
  wcgw/client/mcp_server/Readme.md,sha256=I8N4dHkTUVGNQ63BQkBMBhCCBTgqGOSF_pUR6iOEiUk,2495
@@ -47,8 +47,8 @@ mcp_wcgw/shared/memory.py,sha256=dBsOghxHz8-tycdSVo9kSujbsC8xb_tYsGmuJobuZnw,281
47
47
  mcp_wcgw/shared/progress.py,sha256=ymxOsb8XO5Mhlop7fRfdbmvPodANj7oq6O4dD0iUcnw,1048
48
48
  mcp_wcgw/shared/session.py,sha256=e44a0LQOW8gwdLs9_DE9oDsxqW2U8mXG3d5KT95bn5o,10393
49
49
  mcp_wcgw/shared/version.py,sha256=d2LZii-mgsPIxpshjkXnOTUmk98i0DT4ff8VpA_kAvE,111
50
- wcgw-2.8.1.dist-info/METADATA,sha256=hYCgmhpq1DszvWaj4tIH5BIoACRPAqxFbDhywRyocAs,11945
51
- wcgw-2.8.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
52
- wcgw-2.8.1.dist-info/entry_points.txt,sha256=eKo1omwbAggWlQ0l7GKoR7uV1-j16nk9tK0BhC2Oz_E,120
53
- wcgw-2.8.1.dist-info/licenses/LICENSE,sha256=BvY8xqjOfc3X2qZpGpX3MZEmF-4Dp0LqgKBbT6L_8oI,11142
54
- wcgw-2.8.1.dist-info/RECORD,,
50
+ wcgw-2.8.3.dist-info/METADATA,sha256=9q3w_1_Y4xEVaQsn0gC5nHDmunFtAs2b4u3_7jpbw6M,11944
51
+ wcgw-2.8.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
52
+ wcgw-2.8.3.dist-info/entry_points.txt,sha256=eKo1omwbAggWlQ0l7GKoR7uV1-j16nk9tK0BhC2Oz_E,120
53
+ wcgw-2.8.3.dist-info/licenses/LICENSE,sha256=BvY8xqjOfc3X2qZpGpX3MZEmF-4Dp0LqgKBbT6L_8oI,11142
54
+ wcgw-2.8.3.dist-info/RECORD,,
File without changes