wcgw 2.3.1__py3-none-any.whl → 2.3.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.

@@ -229,8 +229,6 @@ async def handle_call_tool(
229
229
 
230
230
  except Exception as e:
231
231
  output_or_dones = [f"GOT EXCEPTION while calling tool. Error: {e}"]
232
- tb = traceback.format_exc()
233
- print(str(output_or_dones[0]) + "\n" + tb)
234
232
 
235
233
  content: list[types.TextContent | types.ImageContent | types.EmbeddedResource] = []
236
234
  for output_or_done in output_or_dones:
wcgw/client/tools.py CHANGED
@@ -130,7 +130,7 @@ def start_shell() -> pexpect.spawn: # type: ignore
130
130
  )
131
131
  shell.sendline(f"export PS1={PROMPT}")
132
132
  except Exception as e:
133
- traceback.print_exc()
133
+ console.print(traceback.format_exc())
134
134
  console.log(f"Error starting shell: {e}. Retrying without rc ...")
135
135
 
136
136
  shell = pexpect.spawn(
@@ -495,7 +495,7 @@ Otherwise, you may want to try Ctrl-c again or program specific exit interactive
495
495
  output += exit_status
496
496
  except ValueError as e:
497
497
  console.print(output)
498
- traceback.print_exc()
498
+ console.print(traceback.format_exc())
499
499
  console.print("Malformed output, restarting shell", style="red")
500
500
  # Malformed output, restart shell
501
501
  BASH_STATE.reset()
@@ -1150,7 +1150,7 @@ def register_client(server_url: str, client_uuid: str = "") -> None:
1150
1150
  print(f"{curr_cost=}")
1151
1151
  except Exception as e:
1152
1152
  output = f"GOT EXCEPTION while calling tool. Error: {e}"
1153
- traceback.print_exc()
1153
+ console.print(traceback.format_exc())
1154
1154
  assert isinstance(output, str)
1155
1155
  websocket.send(output)
1156
1156
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wcgw
3
- Version: 2.3.1
3
+ Version: 2.3.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>
@@ -10,13 +10,13 @@ wcgw/client/diff-instructions.txt,sha256=s5AJKG23JsjwRYhFZFQVvwDpF67vElawrmdXwvu
10
10
  wcgw/client/openai_client.py,sha256=uJ2l9NXsZuipUcJYR_bFcNNmNlfnCvPm6-M-LiVSVts,17942
11
11
  wcgw/client/openai_utils.py,sha256=YNwCsA-Wqq7jWrxP0rfQmBTb1dI0s7dWXzQqyTzOZT4,2629
12
12
  wcgw/client/sys_utils.py,sha256=GajPntKhaTUMn6EOmopENWZNR2G_BJyuVbuot0x6veI,1376
13
- wcgw/client/tools.py,sha256=GCXHgvuhNQ87LmiHpxZZAK_6kEmdXGRGkfQVx9shLhY,40927
13
+ wcgw/client/tools.py,sha256=99v3uZyTU5MDiPHm1GZ3Atpl9UZ8Ju4rAn2TCbFOjZk,40975
14
14
  wcgw/client/mcp_server/Readme.md,sha256=I8N4dHkTUVGNQ63BQkBMBhCCBTgqGOSF_pUR6iOEiUk,2495
15
15
  wcgw/client/mcp_server/__init__.py,sha256=hyPPwO9cabAJsOMWhKyat9yl7OlSmIobaoAZKHu3DMc,381
16
- wcgw/client/mcp_server/server.py,sha256=y9oYFLrURxGySvbxcfiMiQMNvLpSMWuURi_UPxdM61k,11907
16
+ wcgw/client/mcp_server/server.py,sha256=4tJODj6-iH5K-KCWLEN92s1S0TNsav0I4IbyR4ITFpY,11820
17
17
  wcgw/relay/serve.py,sha256=KLYjTvM9CfqdxgFOfHM8LUkFGZ9kKyyJunpNdEIFQUk,8766
18
18
  wcgw/relay/static/privacy.txt,sha256=s9qBdbx2SexCpC_z33sg16TptmAwDEehMCLz4L50JLc,529
19
- wcgw-2.3.1.dist-info/METADATA,sha256=MrJrChz6LZLB7N9KT74uvLi9bxcnYQyRdo-v9-yWRO4,7950
20
- wcgw-2.3.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
21
- wcgw-2.3.1.dist-info/entry_points.txt,sha256=eKo1omwbAggWlQ0l7GKoR7uV1-j16nk9tK0BhC2Oz_E,120
22
- wcgw-2.3.1.dist-info/RECORD,,
19
+ wcgw-2.3.3.dist-info/METADATA,sha256=zaU-wF0SlCYCh1SnJCAD-PLsZC9YbhY5r11Dqey0Q6Y,7950
20
+ wcgw-2.3.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
21
+ wcgw-2.3.3.dist-info/entry_points.txt,sha256=eKo1omwbAggWlQ0l7GKoR7uV1-j16nk9tK0BhC2Oz_E,120
22
+ wcgw-2.3.3.dist-info/RECORD,,
File without changes