wcgw 5.3.1__tar.gz → 5.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.

Potentially problematic release.


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

Files changed (59) hide show
  1. {wcgw-5.3.1 → wcgw-5.3.2}/PKG-INFO +1 -1
  2. {wcgw-5.3.1 → wcgw-5.3.2}/pyproject.toml +1 -1
  3. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/tools.py +7 -0
  4. {wcgw-5.3.1 → wcgw-5.3.2}/.github/workflows/python-publish.yml +0 -0
  5. {wcgw-5.3.1 → wcgw-5.3.2}/.github/workflows/python-tests.yml +0 -0
  6. {wcgw-5.3.1 → wcgw-5.3.2}/.github/workflows/python-types.yml +0 -0
  7. {wcgw-5.3.1 → wcgw-5.3.2}/.gitignore +0 -0
  8. {wcgw-5.3.1 → wcgw-5.3.2}/.gitmodules +0 -0
  9. {wcgw-5.3.1 → wcgw-5.3.2}/.python-version +0 -0
  10. {wcgw-5.3.1 → wcgw-5.3.2}/.vscode/settings.json +0 -0
  11. {wcgw-5.3.1 → wcgw-5.3.2}/CLAUDE.md +0 -0
  12. {wcgw-5.3.1 → wcgw-5.3.2}/Dockerfile +0 -0
  13. {wcgw-5.3.1 → wcgw-5.3.2}/LICENSE +0 -0
  14. {wcgw-5.3.1 → wcgw-5.3.2}/README.md +0 -0
  15. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/__init__.py +0 -0
  16. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/__init__.py +0 -0
  17. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/bash_state/bash_state.py +0 -0
  18. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/bash_state/parser/__init__.py +0 -0
  19. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/bash_state/parser/bash_statement_parser.py +0 -0
  20. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/common.py +0 -0
  21. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/diff-instructions.txt +0 -0
  22. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/encoder/__init__.py +0 -0
  23. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/file_ops/diff_edit.py +0 -0
  24. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/file_ops/extensions.py +0 -0
  25. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/file_ops/search_replace.py +0 -0
  26. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/mcp_server/Readme.md +0 -0
  27. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/mcp_server/__init__.py +0 -0
  28. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/mcp_server/server.py +0 -0
  29. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/memory.py +0 -0
  30. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/modes.py +0 -0
  31. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/repo_ops/display_tree.py +0 -0
  32. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/repo_ops/file_stats.py +0 -0
  33. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/repo_ops/path_prob.py +0 -0
  34. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/repo_ops/paths_model.vocab +0 -0
  35. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/repo_ops/paths_tokens.model +0 -0
  36. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/repo_ops/repo_context.py +0 -0
  37. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/client/tool_prompts.py +0 -0
  38. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/py.typed +0 -0
  39. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw/types_.py +0 -0
  40. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw_cli/__init__.py +0 -0
  41. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw_cli/__main__.py +0 -0
  42. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw_cli/anthropic_client.py +0 -0
  43. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw_cli/cli.py +0 -0
  44. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw_cli/openai_client.py +0 -0
  45. {wcgw-5.3.1 → wcgw-5.3.2}/src/wcgw_cli/openai_utils.py +0 -0
  46. {wcgw-5.3.1 → wcgw-5.3.2}/static/claude-ss.jpg +0 -0
  47. {wcgw-5.3.1 → wcgw-5.3.2}/static/computer-use.jpg +0 -0
  48. {wcgw-5.3.1 → wcgw-5.3.2}/static/example.jpg +0 -0
  49. {wcgw-5.3.1 → wcgw-5.3.2}/static/rocket-icon.png +0 -0
  50. {wcgw-5.3.1 → wcgw-5.3.2}/static/ss1.png +0 -0
  51. {wcgw-5.3.1 → wcgw-5.3.2}/static/workflow-demo.gif +0 -0
  52. {wcgw-5.3.1 → wcgw-5.3.2}/tests/test_bash_parser.py +0 -0
  53. {wcgw-5.3.1 → wcgw-5.3.2}/tests/test_bash_parser_complex.py +0 -0
  54. {wcgw-5.3.1 → wcgw-5.3.2}/tests/test_edit.py +0 -0
  55. {wcgw-5.3.1 → wcgw-5.3.2}/tests/test_file_range_tracking.py +0 -0
  56. {wcgw-5.3.1 → wcgw-5.3.2}/tests/test_mcp_server.py +0 -0
  57. {wcgw-5.3.1 → wcgw-5.3.2}/tests/test_readfiles.py +0 -0
  58. {wcgw-5.3.1 → wcgw-5.3.2}/tests/test_tools.py +0 -0
  59. {wcgw-5.3.1 → wcgw-5.3.2}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wcgw
3
- Version: 5.3.1
3
+ Version: 5.3.2
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>
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  authors = [{ name = "Aman Rusia", email = "gapypi@arcfu.com" }]
3
3
  name = "wcgw"
4
- version = "5.3.1"
4
+ version = "5.3.2"
5
5
  description = "Shell and coding agent for Claude and other mcp clients"
6
6
  readme = "README.md"
7
7
  requires-python = ">=3.11"
@@ -266,6 +266,13 @@ def initialize(
266
266
  # Check for global CLAUDE.md and workspace CLAUDE.md
267
267
  alignment_context = ""
268
268
 
269
+ # Check if ripgrep is available and add instruction if it is
270
+ try:
271
+ subprocess.run(["which", "rg"], timeout=1, capture_output=True, check=True)
272
+ alignment_context += "---\n# Available commands\n\n- Use ripgrep `rg` command instead of `grep` because it's much much faster.\n\n---\n\n"
273
+ except Exception:
274
+ pass
275
+
269
276
  # First check for global CLAUDE.md in ~/.wcgw/CLAUDE.md
270
277
  global_alignment_file_path = os.path.join(expanduser("~"), ".wcgw", "CLAUDE.md")
271
278
  if os.path.exists(global_alignment_file_path):
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes