wcgw 2.3.1__tar.gz → 2.3.2__tar.gz

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.
Files changed (39) hide show
  1. {wcgw-2.3.1 → wcgw-2.3.2}/PKG-INFO +1 -1
  2. {wcgw-2.3.1 → wcgw-2.3.2}/pyproject.toml +1 -1
  3. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/client/tools.py +3 -3
  4. {wcgw-2.3.1 → wcgw-2.3.2}/.github/workflows/python-publish.yml +0 -0
  5. {wcgw-2.3.1 → wcgw-2.3.2}/.github/workflows/python-tests.yml +0 -0
  6. {wcgw-2.3.1 → wcgw-2.3.2}/.github/workflows/python-types.yml +0 -0
  7. {wcgw-2.3.1 → wcgw-2.3.2}/.gitignore +0 -0
  8. {wcgw-2.3.1 → wcgw-2.3.2}/.python-version +0 -0
  9. {wcgw-2.3.1 → wcgw-2.3.2}/.vscode/settings.json +0 -0
  10. {wcgw-2.3.1 → wcgw-2.3.2}/README.md +0 -0
  11. {wcgw-2.3.1 → wcgw-2.3.2}/gpt_action_json_schema.json +0 -0
  12. {wcgw-2.3.1 → wcgw-2.3.2}/gpt_instructions.txt +0 -0
  13. {wcgw-2.3.1 → wcgw-2.3.2}/openai.md +0 -0
  14. {wcgw-2.3.1 → wcgw-2.3.2}/src/__init__.py +0 -0
  15. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/__init__.py +0 -0
  16. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/client/__init__.py +0 -0
  17. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/client/__main__.py +0 -0
  18. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/client/anthropic_client.py +0 -0
  19. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/client/cli.py +0 -0
  20. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/client/common.py +0 -0
  21. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/client/computer_use.py +0 -0
  22. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/client/diff-instructions.txt +0 -0
  23. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/client/mcp_server/Readme.md +0 -0
  24. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/client/mcp_server/__init__.py +0 -0
  25. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/client/mcp_server/server.py +0 -0
  26. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/client/openai_client.py +0 -0
  27. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/client/openai_utils.py +0 -0
  28. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/client/sys_utils.py +0 -0
  29. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/relay/serve.py +0 -0
  30. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/relay/static/privacy.txt +0 -0
  31. {wcgw-2.3.1 → wcgw-2.3.2}/src/wcgw/types_.py +0 -0
  32. {wcgw-2.3.1 → wcgw-2.3.2}/static/claude-ss.jpg +0 -0
  33. {wcgw-2.3.1 → wcgw-2.3.2}/static/computer-use.jpg +0 -0
  34. {wcgw-2.3.1 → wcgw-2.3.2}/static/example.jpg +0 -0
  35. {wcgw-2.3.1 → wcgw-2.3.2}/static/rocket-icon.png +0 -0
  36. {wcgw-2.3.1 → wcgw-2.3.2}/static/ss1.png +0 -0
  37. {wcgw-2.3.1 → wcgw-2.3.2}/tests/test_basic.py +0 -0
  38. {wcgw-2.3.1 → wcgw-2.3.2}/tests/test_tools.py +0 -0
  39. {wcgw-2.3.1 → wcgw-2.3.2}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wcgw
3
- Version: 2.3.1
3
+ Version: 2.3.2
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>
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  authors = [{ name = "Aman Rusia", email = "gapypi@arcfu.com" }]
3
3
  name = "wcgw"
4
- version = "2.3.1"
4
+ version = "2.3.2"
5
5
  description = "Shell and coding agent on claude and chatgpt"
6
6
  readme = "README.md"
7
7
  requires-python = ">=3.11, <3.13"
@@ -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
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes