wcgw 5.5.0__py3-none-any.whl → 5.5.1__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/bash_state/bash_state.py +2 -2
- wcgw/client/tool_prompts.py +1 -1
- {wcgw-5.5.0.dist-info → wcgw-5.5.1.dist-info}/METADATA +1 -1
- {wcgw-5.5.0.dist-info → wcgw-5.5.1.dist-info}/RECORD +7 -7
- {wcgw-5.5.0.dist-info → wcgw-5.5.1.dist-info}/WHEEL +0 -0
- {wcgw-5.5.0.dist-info → wcgw-5.5.1.dist-info}/entry_points.txt +0 -0
- {wcgw-5.5.0.dist-info → wcgw-5.5.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -1262,8 +1262,8 @@ def _execute_bash(
|
|
|
1262
1262
|
is_bg = True
|
|
1263
1263
|
|
|
1264
1264
|
bash_state.clear_to_run()
|
|
1265
|
-
for i in range(0, len(command),
|
|
1266
|
-
bash_state.send(command[i : i +
|
|
1265
|
+
for i in range(0, len(command), 64):
|
|
1266
|
+
bash_state.send(command[i : i + 64], set_as_command=None)
|
|
1267
1267
|
bash_state.send(bash_state.linesep, set_as_command=command)
|
|
1268
1268
|
elif isinstance(command_data, StatusCheck):
|
|
1269
1269
|
bash_state.console.print("Checking status")
|
wcgw/client/tool_prompts.py
CHANGED
|
@@ -43,7 +43,7 @@ TOOL_PROMPTS = [
|
|
|
43
43
|
- The first or the last line might be `(...truncated)` if the output is too long.
|
|
44
44
|
- Always run `pwd` if you get any file or directory not found error to make sure you're not lost.
|
|
45
45
|
- Do not run bg commands using "&", instead use this tool.
|
|
46
|
-
-
|
|
46
|
+
- You must not use echo/cat to read/write files, use ReadFiles/FileWriteOrEdit
|
|
47
47
|
- In order to check status of previous command, use `status_check` with empty command argument.
|
|
48
48
|
- Only command is allowed to run at a time. You need to wait for any previous command to finish before running a new one.
|
|
49
49
|
- Programs don't hang easily, so most likely explanation for no output is usually that the program is still running, and you need to check status again.
|
|
@@ -7,9 +7,9 @@ wcgw/client/diff-instructions.txt,sha256=EU9WmJMbsmAj07CyuGWL6zd4eVQ8Ie3HZzd0k0W
|
|
|
7
7
|
wcgw/client/memory.py,sha256=U2Nw2si3Zg7n_RhNAuaYcmrrDtZ_Mooi-kfAOKflT-I,3079
|
|
8
8
|
wcgw/client/modes.py,sha256=3eS5ttttltKAZB41h7-XwtdjMVYrUtd6xMush7k_vvw,10388
|
|
9
9
|
wcgw/client/schema_generator.py,sha256=mEIy6BgHlfJeAjJtwY_VwoIDmu-Fax2H9bVtj7IMuEo,2282
|
|
10
|
-
wcgw/client/tool_prompts.py,sha256=
|
|
10
|
+
wcgw/client/tool_prompts.py,sha256=zi4L98DwNePr5Yhwx7wl4jAgmlMjILPnKTLZGf0L4SA,4971
|
|
11
11
|
wcgw/client/tools.py,sha256=YTjtAPSR8divbfDDOII9-iZG6B1ucPemdZ5pef6lEyQ,50904
|
|
12
|
-
wcgw/client/bash_state/bash_state.py,sha256=
|
|
12
|
+
wcgw/client/bash_state/bash_state.py,sha256=tVVaUwSw2st9vPEkGQPbA0Qtb4gbgjCmP1TGgSQ_hU8,48872
|
|
13
13
|
wcgw/client/bash_state/parser/__init__.py,sha256=AnlNSmoQTSoqqlLOLX4P1uXfzc5VGeCGJsGgtisq2zE,207
|
|
14
14
|
wcgw/client/bash_state/parser/bash_statement_parser.py,sha256=9a8vPO1r3_tXmaAcubTQ5UY-NseWlalgm8LZA17LXuY,6058
|
|
15
15
|
wcgw/client/encoder/__init__.py,sha256=Y-8f43I6gMssUCWpX5rLYiAFv3D-JPRs4uNEejPlke8,1514
|
|
@@ -31,8 +31,8 @@ wcgw_cli/anthropic_client.py,sha256=Si3u3K3OWe0gNBmwh892QG34yRirUQkhWKXHypg4tZM,
|
|
|
31
31
|
wcgw_cli/cli.py,sha256=-7FBe_lahKyUOhf65iurTA1M1gXXXAiT0OVKQVcZKKo,948
|
|
32
32
|
wcgw_cli/openai_client.py,sha256=QBRI_LIGI04iBSHZIXv5cGIFaRrPXZLwRgqnDf34uWc,15992
|
|
33
33
|
wcgw_cli/openai_utils.py,sha256=xGOb3W5ALrIozV7oszfGYztpj0FnXdD7jAxm5lEIVKY,2439
|
|
34
|
-
wcgw-5.5.
|
|
35
|
-
wcgw-5.5.
|
|
36
|
-
wcgw-5.5.
|
|
37
|
-
wcgw-5.5.
|
|
38
|
-
wcgw-5.5.
|
|
34
|
+
wcgw-5.5.1.dist-info/METADATA,sha256=j-jNe7lVsoSLGlT_xsh1Sqq2G4j8GbePY7FmOvsSeoI,16385
|
|
35
|
+
wcgw-5.5.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
36
|
+
wcgw-5.5.1.dist-info/entry_points.txt,sha256=UnjK-MAH4Qssh0tGJDMeij1oi-oRKokItkknP_BwShE,94
|
|
37
|
+
wcgw-5.5.1.dist-info/licenses/LICENSE,sha256=BvY8xqjOfc3X2qZpGpX3MZEmF-4Dp0LqgKBbT6L_8oI,11142
|
|
38
|
+
wcgw-5.5.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|