Problem Description
I'm using CodeWhale v0.8.49 on Windows. Even after correctly configuring allow_shell = true and trusted = true, the exec_shell tool still cannot be used.
Reproduction Steps
-
Configure in config.toml:
[workspace.'C:\Users\Rui\Codes\zhenhai']
allow_shell = true
trusted = true
-
Save the configuration and fully restart CodeWhale (close the terminal and reopen).
-
Try executing shell commands, e.g.:
echo test
Remove-Item "somefile.md" -Force
Actual Result
Always shows the following error:
Shell tools are gated by allow_shell; enable allow_shell = true for trusted workspaces, or switch to an auto-approve mode that permits shell access...
Even though the configuration is correct and has been restarted, exec_shell still cannot be invoked.
Expected Result
After configuring allow_shell = true + trusted = true, the exec_shell tool should work normally.
Environment
- CodeWhale version: 0.8.49
- OS: Windows 11
- Workspace path:
C:\Users\Rui\Codes\zhenhai
- Config file location: Confirmed that config.toml is loaded correctly
Additional Info
- I tried restarting multiple times, modifying the config path, etc., all to no avail.
- This prevents the Agent from performing common system tasks like file deletion and directory operations, forcing reliance on limited tools like
write_file / edit_file.
Problem Description
I'm using CodeWhale v0.8.49 on Windows. Even after correctly configuring
allow_shell = trueandtrusted = true, theexec_shelltool still cannot be used.Reproduction Steps
Configure in
config.toml:Save the configuration and fully restart CodeWhale (close the terminal and reopen).
Try executing shell commands, e.g.:
echo testRemove-Item "somefile.md" -ForceActual Result
Always shows the following error:
Even though the configuration is correct and has been restarted,
exec_shellstill cannot be invoked.Expected Result
After configuring
allow_shell = true+trusted = true, theexec_shelltool should work normally.Environment
C:\Users\Rui\Codes\zhenhaiAdditional Info
write_file/edit_file.