wcgw 2.8.6__tar.gz → 2.8.7__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 (170) hide show
  1. {wcgw-2.8.6 → wcgw-2.8.7}/PKG-INFO +54 -16
  2. {wcgw-2.8.6 → wcgw-2.8.7}/README.md +53 -15
  3. {wcgw-2.8.6 → wcgw-2.8.7}/pyproject.toml +3 -2
  4. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/mcp_server/server.py +2 -1
  5. {wcgw-2.8.6 → wcgw-2.8.7}/.github/workflows/python-publish.yml +0 -0
  6. {wcgw-2.8.6 → wcgw-2.8.7}/.github/workflows/python-tests.yml +0 -0
  7. {wcgw-2.8.6 → wcgw-2.8.7}/.github/workflows/python-types.yml +0 -0
  8. {wcgw-2.8.6 → wcgw-2.8.7}/.gitignore +0 -0
  9. {wcgw-2.8.6 → wcgw-2.8.7}/.gitmodules +0 -0
  10. {wcgw-2.8.6 → wcgw-2.8.7}/.python-version +0 -0
  11. {wcgw-2.8.6 → wcgw-2.8.7}/.vscode/settings.json +0 -0
  12. {wcgw-2.8.6 → wcgw-2.8.7}/Dockerfile +0 -0
  13. {wcgw-2.8.6 → wcgw-2.8.7}/LICENSE +0 -0
  14. {wcgw-2.8.6 → wcgw-2.8.7}/gpt_action_json_schema.json +0 -0
  15. {wcgw-2.8.6 → wcgw-2.8.7}/gpt_instructions.txt +0 -0
  16. {wcgw-2.8.6 → wcgw-2.8.7}/openai.md +0 -0
  17. {wcgw-2.8.6 → wcgw-2.8.7}/src/__init__.py +0 -0
  18. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/.git +0 -0
  19. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  20. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  21. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/.github/workflows/main-checks.yml +0 -0
  22. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/.github/workflows/publish-pypi.yml +0 -0
  23. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/.github/workflows/pull-request-checks.yml +0 -0
  24. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/.github/workflows/shared.yml +0 -0
  25. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/.gitignore +0 -0
  26. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/.python-version +0 -0
  27. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/CODE_OF_CONDUCT.md +0 -0
  28. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/CONTRIBUTING.md +0 -0
  29. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/LICENSE +0 -0
  30. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/README.md +0 -0
  31. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/RELEASE.md +0 -0
  32. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/SECURITY.md +0 -0
  33. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/README.md +0 -0
  34. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-prompt/.python-version +0 -0
  35. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-prompt/README.md +0 -0
  36. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-prompt/mcp_simple_prompt/__init__.py +0 -0
  37. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-prompt/mcp_simple_prompt/__main__.py +0 -0
  38. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-prompt/mcp_simple_prompt/server.py +0 -0
  39. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-prompt/pyproject.toml +0 -0
  40. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-resource/.python-version +0 -0
  41. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-resource/README.md +0 -0
  42. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-resource/mcp_simple_resource/__init__.py +0 -0
  43. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-resource/mcp_simple_resource/__main__.py +0 -0
  44. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-resource/mcp_simple_resource/server.py +0 -0
  45. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-resource/pyproject.toml +0 -0
  46. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-tool/.python-version +0 -0
  47. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-tool/README.md +0 -0
  48. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-tool/mcp_simple_tool/__init__.py +0 -0
  49. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-tool/mcp_simple_tool/__main__.py +0 -0
  50. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-tool/mcp_simple_tool/server.py +0 -0
  51. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/examples/servers/simple-tool/pyproject.toml +0 -0
  52. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/pyproject.toml +0 -0
  53. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/__init__.py +0 -0
  54. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/client/__init__.py +0 -0
  55. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/client/__main__.py +0 -0
  56. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/client/session.py +0 -0
  57. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/client/sse.py +0 -0
  58. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/client/stdio.py +0 -0
  59. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/py.typed +0 -0
  60. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/server/__init__.py +0 -0
  61. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/server/__main__.py +0 -0
  62. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/server/models.py +0 -0
  63. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/server/session.py +0 -0
  64. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/server/sse.py +0 -0
  65. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/server/stdio.py +0 -0
  66. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/server/websocket.py +0 -0
  67. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/shared/__init__.py +0 -0
  68. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/shared/context.py +0 -0
  69. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/shared/exceptions.py +0 -0
  70. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/shared/memory.py +0 -0
  71. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/shared/progress.py +0 -0
  72. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/shared/session.py +0 -0
  73. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/shared/version.py +0 -0
  74. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/src/mcp_wcgw/types.py +0 -0
  75. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/tests/__init__.py +0 -0
  76. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/tests/client/__init__.py +0 -0
  77. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/tests/client/test_session.py +0 -0
  78. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/tests/client/test_stdio.py +0 -0
  79. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/tests/conftest.py +0 -0
  80. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/tests/server/__init__.py +0 -0
  81. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/tests/server/test_session.py +0 -0
  82. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/tests/server/test_stdio.py +0 -0
  83. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/tests/shared/test_memory.py +0 -0
  84. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/tests/test_types.py +0 -0
  85. {wcgw-2.8.6 → wcgw-2.8.7}/src/mcp_wcgw_fork/uv.lock +0 -0
  86. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/__init__.py +0 -0
  87. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/__init__.py +0 -0
  88. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/common.py +0 -0
  89. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/computer_use.py +0 -0
  90. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/diff-instructions.txt +0 -0
  91. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/file_ops/diff_edit.py +0 -0
  92. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/file_ops/search_replace.py +0 -0
  93. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/mcp_server/Readme.md +0 -0
  94. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/mcp_server/__init__.py +0 -0
  95. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/memory.py +0 -0
  96. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/modes.py +0 -0
  97. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/repo_ops/display_tree.py +0 -0
  98. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/repo_ops/path_prob.py +0 -0
  99. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/repo_ops/paths_model.vocab +0 -0
  100. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/repo_ops/paths_tokens.model +0 -0
  101. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/repo_ops/repo_context.py +0 -0
  102. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/sys_utils.py +0 -0
  103. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/client/tools.py +0 -0
  104. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/relay/serve.py +0 -0
  105. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/relay/static/privacy.txt +0 -0
  106. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw/types_.py +0 -0
  107. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw_cli/__init__.py +0 -0
  108. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw_cli/__main__.py +0 -0
  109. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw_cli/anthropic_client.py +0 -0
  110. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw_cli/cli.py +0 -0
  111. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw_cli/openai_client.py +0 -0
  112. {wcgw-2.8.6 → wcgw-2.8.7}/src/wcgw_cli/openai_utils.py +0 -0
  113. {wcgw-2.8.6 → wcgw-2.8.7}/static/claude-ss.jpg +0 -0
  114. {wcgw-2.8.6 → wcgw-2.8.7}/static/computer-use.jpg +0 -0
  115. {wcgw-2.8.6 → wcgw-2.8.7}/static/example.jpg +0 -0
  116. {wcgw-2.8.6 → wcgw-2.8.7}/static/rocket-icon.png +0 -0
  117. {wcgw-2.8.6 → wcgw-2.8.7}/static/ss1.png +0 -0
  118. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/file_ops/test_diff_edit.py +0 -0
  119. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/file_ops/test_search_replace.py +0 -0
  120. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/repo_ops/__init__.py +0 -0
  121. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/repo_ops/test_display_tree.py +0 -0
  122. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/repo_ops/test_display_tree_simple.py +0 -0
  123. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/repo_ops/test_path_prob.py +0 -0
  124. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/repo_ops/test_repo_context.py +0 -0
  125. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/test_anthropic_client_utils.py +0 -0
  126. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/test_memory.py +0 -0
  127. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/test_openai_utils.py +0 -0
  128. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/test_tools_basic.py +0 -0
  129. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/test_tools_extended.py +0 -0
  130. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/test_tools_file_ops.py +0 -0
  131. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/test_tools_files.py +0 -0
  132. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/test_tools_shell.py +0 -0
  133. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/test_tools_validation.py +0 -0
  134. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/__init__.py +0 -0
  135. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_command_validation.py +0 -0
  136. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_docker_operations.py +0 -0
  137. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_error_handling.py +0 -0
  138. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_error_handling_full.py +0 -0
  139. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_execute_bash.py +0 -0
  140. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_file_errors.py +0 -0
  141. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_file_operations.py +0 -0
  142. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_files/test1.py +0 -0
  143. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_files/test2.py +0 -0
  144. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_files/test_file.py +0 -0
  145. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_full_coverage.py +0 -0
  146. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_is_int.py +0 -0
  147. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_knowledge_transfer.py +0 -0
  148. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_large_blocks.py +0 -0
  149. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_prompt_update.py +0 -0
  150. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_render_terminal.py +0 -0
  151. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_terminal_output.py +0 -0
  152. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_terminal_output_full.py +0 -0
  153. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_terminal_output_incremental.py +0 -0
  154. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_terminal_output_raw.py +0 -0
  155. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_terminal_sequence.py +0 -0
  156. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_timeout_handling.py +0 -0
  157. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_timeout_state.py +0 -0
  158. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_user_interaction.py +0 -0
  159. {wcgw-2.8.6 → wcgw-2.8.7}/tests/client/tools/test_write_file.py +0 -0
  160. {wcgw-2.8.6 → wcgw-2.8.7}/tests/conftest.py +0 -0
  161. {wcgw-2.8.6 → wcgw-2.8.7}/tests/test_anthropic_client.py +0 -0
  162. {wcgw-2.8.6 → wcgw-2.8.7}/tests/test_basic.py +0 -0
  163. {wcgw-2.8.6 → wcgw-2.8.7}/tests/test_common.py +0 -0
  164. {wcgw-2.8.6 → wcgw-2.8.7}/tests/test_computer_use.py +0 -0
  165. {wcgw-2.8.6 → wcgw-2.8.7}/tests/test_computer_use_base.py +0 -0
  166. {wcgw-2.8.6 → wcgw-2.8.7}/tests/test_computer_use_shell.py +0 -0
  167. {wcgw-2.8.6 → wcgw-2.8.7}/tests/test_initialize.py +0 -0
  168. {wcgw-2.8.6 → wcgw-2.8.7}/tests/test_sys_utils.py +0 -0
  169. {wcgw-2.8.6 → wcgw-2.8.7}/tests/test_tools.py +0 -0
  170. {wcgw-2.8.6 → wcgw-2.8.7}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wcgw
3
- Version: 2.8.6
3
+ Version: 2.8.7
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>
@@ -28,12 +28,12 @@ Requires-Dist: websockets>=13.1
28
28
  Description-Content-Type: text/markdown
29
29
 
30
30
  # Shell and Coding agent for Claude and Chatgpt
31
+
31
32
  Empowering chat applications to code, build and run on your local machine.
32
33
 
33
34
  - Claude - An MCP server on claude desktop for autonomous shell and coding agent. (mac only)
34
35
  - Chatgpt - Allows custom gpt to talk to your shell via a relay server. (linux or mac)
35
36
 
36
-
37
37
  ⚠️ Warning: do not allow BashCommand tool without reviewing the command, it may result in data loss.
38
38
 
39
39
  [![Tests](https://github.com/rusiaaman/wcgw/actions/workflows/python-tests.yml/badge.svg?branch=main)](https://github.com/rusiaaman/wcgw/actions/workflows/python-tests.yml)
@@ -43,13 +43,14 @@ Empowering chat applications to code, build and run on your local machine.
43
43
  [![smithery badge](https://smithery.ai/badge/wcgw)](https://smithery.ai/server/wcgw)
44
44
 
45
45
  ## Updates
46
- - [15 Jan 2025] Modes introduced: architect, code-writer, and all powerful wcgw mode.
46
+
47
+ - [15 Jan 2025] Modes introduced: architect, code-writer, and all powerful wcgw mode.
47
48
 
48
49
  - [8 Jan 2025] Context saving tool for saving relevant file paths along with a description in a single file. Can be used as a task checkpoint or for knowledge transfer.
49
50
 
50
51
  - [29 Dec 2024] Syntax checking on file writing and edits is now stable. Made `initialize` tool call useful; sending smart repo structure to claude if any repo is referenced. Large file handling is also now improved.
51
52
 
52
- - [9 Dec 2024] [Vscode extension to paste context on Claude app](https://marketplace.visualstudio.com/items?itemName=AmanRusia.wcgw)
53
+ - [9 Dec 2024] [Vscode extension to paste context on Claude app](https://marketplace.visualstudio.com/items?itemName=AmanRusia.wcgw)
53
54
 
54
55
  - [01 Dec 2024] Removed author hosted relay server for chatgpt.
55
56
 
@@ -61,19 +62,19 @@ Empowering chat applications to code, build and run on your local machine.
61
62
  - ⚡ **Large file edit**: Supports large file incremental edits to avoid token limit issues. Faster than full file write.
62
63
  - ⚡ **Syntax checking on edits**: Reports feedback to the LLM if its edits have any syntax errors, so that it can redo it.
63
64
  - ⚡ **Interactive Command Handling**: Supports interactive commands using arrow keys, interrupt, and ansi escape sequences.
64
- - ⚡ **File protections**:
65
- - The AI needs to read a file at least once before it's allowed to edit or rewrite it. This avoids accidental overwrites.
66
- - Avoids context filling up while reading very large files. Files get chunked based on token length.
65
+ - ⚡ **File protections**:
66
+ - The AI needs to read a file at least once before it's allowed to edit or rewrite it. This avoids accidental overwrites.
67
+ - Avoids context filling up while reading very large files. Files get chunked based on token length.
67
68
  - On initialisation the provided workspace's directory structure is returned after selecting important files (based on .gitignore as well as a statistical approach)
68
69
  - File edit based on search-replace tries to find correct search block if it has multiple matches based on previous search blocks. Fails otherwise (for correctness).
69
70
  - File edit has spacing tolerant matching, with warning on issues like indentation mismatch. If there's no match, the closest match is returned to the AI to fix its mistakes.
70
71
  - Using Aider-like search and replace, which has better performance than tool call based search and replace.
71
- - ⚡ **Shell optimizations**:
72
+ - ⚡ **Shell optimizations**:
72
73
  - Only one command is allowed to be run at a time, simplifying management and avoiding rogue processes. There's only single shell instance at any point of time.
73
- - Current working directory is always returned after any shell command to prevent AI from getting lost.
74
+ - Current working directory is always returned after any shell command to prevent AI from getting lost.
74
75
  - Command polling exits after a quick timeout to avoid slow feedback. However, status checking has wait tolerance based on fresh output streaming from a command. Both of these approach combined provides a good shell interaction experience.
75
76
  - ⚡ **Saving repo context in a single file**: Task checkpointing using "ContextSave" tool saves detailed context in a single file. Tasks can later be resumed in a new chat asking "Resume `task id`". The saved file can be used to do other kinds of knowledge transfer, such as taking help from another AI.
76
- - ⚡ **Easily switch between various modes**:
77
+ - ⚡ **Easily switch between various modes**:
77
78
  - Ask it to run in 'architect' mode for planning. Inspired by adier's architect mode, work with Claude to come up with a plan first. Leads to better accuracy and prevents premature file editing.
78
79
  - Ask it to run in 'code-writer' mode for code editing and project building. You can provide specific paths with wild card support to prevent other files getting edited.
79
80
  - By default it runs in 'wcgw' mode that has no restrictions and full authorisation.
@@ -151,25 +152,29 @@ over here
151
152
  Then ask claude to execute shell commands, read files, edit files, run your code, etc.
152
153
 
153
154
  #### Task checkpoint or knowledge transfer
155
+
154
156
  - You can do a task checkpoint or a knowledge transfer by attaching "KnowledgeTransfer" prompt using "Attach from MCP" button.
155
157
  - On running "KnowledgeTransfer" prompt, the "ContextSave" tool will be called saving the task description and all file content together in a single file. An id for the task will be generated.
156
158
  - You can in a new chat say "Resume '<task id>'", the AI should then call "Initialize" with the task id and load the context from there.
157
159
  - Or you can directly open the file generated and share it with another AI for help.
158
160
 
159
161
  #### Modes
162
+
160
163
  There are three built-in modes. You may ask Claude to run in one of the modes, like "Use 'architect' mode"
161
- | **Mode** | **Description** | **Allows** | **Denies** | **Invoke prompt** |
164
+ | **Mode** | **Description** | **Allows** | **Denies** | **Invoke prompt** |
162
165
  |-----------------|-----------------------------------------------------------------------------|---------------------------------------------------------|----------------------------------------------|----------------------------------------------------------------------------------------------------|
163
- | **Architect** | Designed for you to work with Claude to investigate and understand your repo. | Read-only commands | FileEdit and Write tool | Run in mode='architect' |
164
- | **Code-writer** | For code writing and development | Specified path globs for editing or writing, specified commands | FileEdit for paths not matching specified glob, Write for paths not matching specified glob | Run in code writer mode, only 'tests/**' allowed, only uv command allowed |
165
- | **wcgw** | Default mode with everything allowed | Everything | Nothing | No prompt, or "Run in wcgw mode" |
166
+ | **Architect** | Designed for you to work with Claude to investigate and understand your repo. | Read-only commands | FileEdit and Write tool | Run in mode='architect' |
167
+ | **Code-writer** | For code writing and development | Specified path globs for editing or writing, specified commands | FileEdit for paths not matching specified glob, Write for paths not matching specified glob | Run in code writer mode, only 'tests/**' allowed, only uv command allowed |
168
+ | **wcgw\*\* | Default mode with everything allowed | Everything | Nothing | No prompt, or "Run in wcgw mode" |
166
169
 
167
170
  Note: in code-writer mode either all commands are allowed or none are allowed for now. If you give a list of allowed commands, Claude is instructed to run only those commands, but no actual check happens. (WIP)
168
171
 
169
- ### [Optional] Vs code extension
172
+ ### [Optional] Vs code extension
173
+
170
174
  https://marketplace.visualstudio.com/items?itemName=AmanRusia.wcgw
171
175
 
172
- Commands:
176
+ Commands:
177
+
173
178
  - Select a text and press `cmd+'` and then enter instructions. This will switch the app to Claude and paste a text containing your instructions, file path, workspace dir, and the selected text.
174
179
 
175
180
  ## Chatgpt Setup
@@ -201,3 +206,36 @@ Then run
201
206
  `uvx --from wcgw@latest wcgw_local --claude`
202
207
 
203
208
  You can now directly write messages or press enter key to open vim for multiline message and text pasting.
209
+
210
+ ## Tools
211
+
212
+ The server provides the following MCP tools:
213
+
214
+ **Shell Operations:**
215
+
216
+ - `Initialize`: Reset shell and set up workspace environment
217
+ - Parameters: `any_workspace_path` (string), `initial_files_to_read` (string[]), `mode_name` ("wcgw"|"architect"|"code_writer"), `task_id_to_resume` (string)
218
+ - `BashCommand`: Execute shell commands with timeout control
219
+ - Parameters: `command` (string), `wait_for_seconds` (int, optional)
220
+ - `BashInteraction`: Send keyboard input to running programs
221
+ - Parameters: `send_text` (string) or `send_specials` (["Enter"|"Key-up"|...]) or `send_ascii` (int[]), `wait_for_seconds` (int, optional)
222
+
223
+ **File Operations:**
224
+
225
+ - `ReadFiles`: Read content from one or more files
226
+ - Parameters: `file_paths` (string[])
227
+ - `WriteIfEmpty`: Create new files or write to empty files
228
+ - Parameters: `file_path` (string), `file_content` (string)
229
+ - `FileEdit`: Edit existing files using search/replace blocks
230
+ - Parameters: `file_path` (string), `file_edit_using_search_replace_blocks` (string)
231
+ - `ReadImage`: Read image files for display/processing
232
+ - Parameters: `file_path` (string)
233
+
234
+ **Project Management:**
235
+
236
+ - `ContextSave`: Save project context and files for Knowledge Transfer or saving task checkpoints to be resumed later
237
+ - Parameters: `id` (string), `project_root_path` (string), `description` (string), `relevant_file_globs` (string[])
238
+ - `ResetShell`: Emergency reset for shell environment
239
+ - Parameters: `should_reset` (boolean)
240
+
241
+ All tools support absolute paths and include built-in protections against common errors. See the [MCP specification](https://modelcontextprotocol.io/) for detailed protocol information.
@@ -1,10 +1,10 @@
1
1
  # Shell and Coding agent for Claude and Chatgpt
2
+
2
3
  Empowering chat applications to code, build and run on your local machine.
3
4
 
4
5
  - Claude - An MCP server on claude desktop for autonomous shell and coding agent. (mac only)
5
6
  - Chatgpt - Allows custom gpt to talk to your shell via a relay server. (linux or mac)
6
7
 
7
-
8
8
  ⚠️ Warning: do not allow BashCommand tool without reviewing the command, it may result in data loss.
9
9
 
10
10
  [![Tests](https://github.com/rusiaaman/wcgw/actions/workflows/python-tests.yml/badge.svg?branch=main)](https://github.com/rusiaaman/wcgw/actions/workflows/python-tests.yml)
@@ -14,13 +14,14 @@ Empowering chat applications to code, build and run on your local machine.
14
14
  [![smithery badge](https://smithery.ai/badge/wcgw)](https://smithery.ai/server/wcgw)
15
15
 
16
16
  ## Updates
17
- - [15 Jan 2025] Modes introduced: architect, code-writer, and all powerful wcgw mode.
17
+
18
+ - [15 Jan 2025] Modes introduced: architect, code-writer, and all powerful wcgw mode.
18
19
 
19
20
  - [8 Jan 2025] Context saving tool for saving relevant file paths along with a description in a single file. Can be used as a task checkpoint or for knowledge transfer.
20
21
 
21
22
  - [29 Dec 2024] Syntax checking on file writing and edits is now stable. Made `initialize` tool call useful; sending smart repo structure to claude if any repo is referenced. Large file handling is also now improved.
22
23
 
23
- - [9 Dec 2024] [Vscode extension to paste context on Claude app](https://marketplace.visualstudio.com/items?itemName=AmanRusia.wcgw)
24
+ - [9 Dec 2024] [Vscode extension to paste context on Claude app](https://marketplace.visualstudio.com/items?itemName=AmanRusia.wcgw)
24
25
 
25
26
  - [01 Dec 2024] Removed author hosted relay server for chatgpt.
26
27
 
@@ -32,19 +33,19 @@ Empowering chat applications to code, build and run on your local machine.
32
33
  - ⚡ **Large file edit**: Supports large file incremental edits to avoid token limit issues. Faster than full file write.
33
34
  - ⚡ **Syntax checking on edits**: Reports feedback to the LLM if its edits have any syntax errors, so that it can redo it.
34
35
  - ⚡ **Interactive Command Handling**: Supports interactive commands using arrow keys, interrupt, and ansi escape sequences.
35
- - ⚡ **File protections**:
36
- - The AI needs to read a file at least once before it's allowed to edit or rewrite it. This avoids accidental overwrites.
37
- - Avoids context filling up while reading very large files. Files get chunked based on token length.
36
+ - ⚡ **File protections**:
37
+ - The AI needs to read a file at least once before it's allowed to edit or rewrite it. This avoids accidental overwrites.
38
+ - Avoids context filling up while reading very large files. Files get chunked based on token length.
38
39
  - On initialisation the provided workspace's directory structure is returned after selecting important files (based on .gitignore as well as a statistical approach)
39
40
  - File edit based on search-replace tries to find correct search block if it has multiple matches based on previous search blocks. Fails otherwise (for correctness).
40
41
  - File edit has spacing tolerant matching, with warning on issues like indentation mismatch. If there's no match, the closest match is returned to the AI to fix its mistakes.
41
42
  - Using Aider-like search and replace, which has better performance than tool call based search and replace.
42
- - ⚡ **Shell optimizations**:
43
+ - ⚡ **Shell optimizations**:
43
44
  - Only one command is allowed to be run at a time, simplifying management and avoiding rogue processes. There's only single shell instance at any point of time.
44
- - Current working directory is always returned after any shell command to prevent AI from getting lost.
45
+ - Current working directory is always returned after any shell command to prevent AI from getting lost.
45
46
  - Command polling exits after a quick timeout to avoid slow feedback. However, status checking has wait tolerance based on fresh output streaming from a command. Both of these approach combined provides a good shell interaction experience.
46
47
  - ⚡ **Saving repo context in a single file**: Task checkpointing using "ContextSave" tool saves detailed context in a single file. Tasks can later be resumed in a new chat asking "Resume `task id`". The saved file can be used to do other kinds of knowledge transfer, such as taking help from another AI.
47
- - ⚡ **Easily switch between various modes**:
48
+ - ⚡ **Easily switch between various modes**:
48
49
  - Ask it to run in 'architect' mode for planning. Inspired by adier's architect mode, work with Claude to come up with a plan first. Leads to better accuracy and prevents premature file editing.
49
50
  - Ask it to run in 'code-writer' mode for code editing and project building. You can provide specific paths with wild card support to prevent other files getting edited.
50
51
  - By default it runs in 'wcgw' mode that has no restrictions and full authorisation.
@@ -122,25 +123,29 @@ over here
122
123
  Then ask claude to execute shell commands, read files, edit files, run your code, etc.
123
124
 
124
125
  #### Task checkpoint or knowledge transfer
126
+
125
127
  - You can do a task checkpoint or a knowledge transfer by attaching "KnowledgeTransfer" prompt using "Attach from MCP" button.
126
128
  - On running "KnowledgeTransfer" prompt, the "ContextSave" tool will be called saving the task description and all file content together in a single file. An id for the task will be generated.
127
129
  - You can in a new chat say "Resume '<task id>'", the AI should then call "Initialize" with the task id and load the context from there.
128
130
  - Or you can directly open the file generated and share it with another AI for help.
129
131
 
130
132
  #### Modes
133
+
131
134
  There are three built-in modes. You may ask Claude to run in one of the modes, like "Use 'architect' mode"
132
- | **Mode** | **Description** | **Allows** | **Denies** | **Invoke prompt** |
135
+ | **Mode** | **Description** | **Allows** | **Denies** | **Invoke prompt** |
133
136
  |-----------------|-----------------------------------------------------------------------------|---------------------------------------------------------|----------------------------------------------|----------------------------------------------------------------------------------------------------|
134
- | **Architect** | Designed for you to work with Claude to investigate and understand your repo. | Read-only commands | FileEdit and Write tool | Run in mode='architect' |
135
- | **Code-writer** | For code writing and development | Specified path globs for editing or writing, specified commands | FileEdit for paths not matching specified glob, Write for paths not matching specified glob | Run in code writer mode, only 'tests/**' allowed, only uv command allowed |
136
- | **wcgw** | Default mode with everything allowed | Everything | Nothing | No prompt, or "Run in wcgw mode" |
137
+ | **Architect** | Designed for you to work with Claude to investigate and understand your repo. | Read-only commands | FileEdit and Write tool | Run in mode='architect' |
138
+ | **Code-writer** | For code writing and development | Specified path globs for editing or writing, specified commands | FileEdit for paths not matching specified glob, Write for paths not matching specified glob | Run in code writer mode, only 'tests/**' allowed, only uv command allowed |
139
+ | **wcgw\*\* | Default mode with everything allowed | Everything | Nothing | No prompt, or "Run in wcgw mode" |
137
140
 
138
141
  Note: in code-writer mode either all commands are allowed or none are allowed for now. If you give a list of allowed commands, Claude is instructed to run only those commands, but no actual check happens. (WIP)
139
142
 
140
- ### [Optional] Vs code extension
143
+ ### [Optional] Vs code extension
144
+
141
145
  https://marketplace.visualstudio.com/items?itemName=AmanRusia.wcgw
142
146
 
143
- Commands:
147
+ Commands:
148
+
144
149
  - Select a text and press `cmd+'` and then enter instructions. This will switch the app to Claude and paste a text containing your instructions, file path, workspace dir, and the selected text.
145
150
 
146
151
  ## Chatgpt Setup
@@ -172,3 +177,36 @@ Then run
172
177
  `uvx --from wcgw@latest wcgw_local --claude`
173
178
 
174
179
  You can now directly write messages or press enter key to open vim for multiline message and text pasting.
180
+
181
+ ## Tools
182
+
183
+ The server provides the following MCP tools:
184
+
185
+ **Shell Operations:**
186
+
187
+ - `Initialize`: Reset shell and set up workspace environment
188
+ - Parameters: `any_workspace_path` (string), `initial_files_to_read` (string[]), `mode_name` ("wcgw"|"architect"|"code_writer"), `task_id_to_resume` (string)
189
+ - `BashCommand`: Execute shell commands with timeout control
190
+ - Parameters: `command` (string), `wait_for_seconds` (int, optional)
191
+ - `BashInteraction`: Send keyboard input to running programs
192
+ - Parameters: `send_text` (string) or `send_specials` (["Enter"|"Key-up"|...]) or `send_ascii` (int[]), `wait_for_seconds` (int, optional)
193
+
194
+ **File Operations:**
195
+
196
+ - `ReadFiles`: Read content from one or more files
197
+ - Parameters: `file_paths` (string[])
198
+ - `WriteIfEmpty`: Create new files or write to empty files
199
+ - Parameters: `file_path` (string), `file_content` (string)
200
+ - `FileEdit`: Edit existing files using search/replace blocks
201
+ - Parameters: `file_path` (string), `file_edit_using_search_replace_blocks` (string)
202
+ - `ReadImage`: Read image files for display/processing
203
+ - Parameters: `file_path` (string)
204
+
205
+ **Project Management:**
206
+
207
+ - `ContextSave`: Save project context and files for Knowledge Transfer or saving task checkpoints to be resumed later
208
+ - Parameters: `id` (string), `project_root_path` (string), `description` (string), `relevant_file_globs` (string[])
209
+ - `ResetShell`: Emergency reset for shell environment
210
+ - Parameters: `should_reset` (boolean)
211
+
212
+ All tools support absolute paths and include built-in protections against common errors. See the [MCP specification](https://modelcontextprotocol.io/) for detailed protocol information.
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  authors = [{ name = "Aman Rusia", email = "gapypi@arcfu.com" }]
3
3
  name = "wcgw"
4
- version = "2.8.6"
4
+ version = "2.8.7"
5
5
  description = "Shell and coding agent on claude and chatgpt"
6
6
  readme = "README.md"
7
7
  requires-python = ">=3.11, <3.13"
@@ -35,11 +35,12 @@ requires = ["hatchling"]
35
35
  build-backend = "hatchling.build"
36
36
 
37
37
  [tool.hatch.build.targets.wheel]
38
- packages = ["src/wcgw", "src/mcp_wcgw_fork/src/mcp_wcgw"]
38
+ packages = ["src/wcgw", "src/mcp_wcgw_fork/src/mcp_wcgw", "src/wcgw_cli"]
39
39
 
40
40
  [tool.hatch.build.targets.wheel.sources]
41
41
  "src/mcp_wcgw_fork/src/mcp_wcgw" = "mcp_wcgw"
42
42
  "src/wcgw" = "wcgw"
43
+ "src/wcgw_cli" = "wcgw_cli"
43
44
 
44
45
  [project.scripts]
45
46
  wcgw_local = "wcgw_cli:app"
@@ -318,7 +318,8 @@ async def main(computer_use: bool) -> None:
318
318
  if computer_use:
319
319
  COMPUTER_USE_ON_DOCKER_ENABLED = True
320
320
 
321
- version = importlib.metadata.version("wcgw")
321
+ version = str(importlib.metadata.version("wcgw"))
322
+ tools.console.log("wcgw version: " + version)
322
323
  # Run the server using stdin/stdout streams
323
324
  async with mcp_wcgw.server.stdio.stdio_server() as (read_stream, write_stream):
324
325
  await server.run(
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
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