Using opencode.el, my LLM is unable to run commands like ls, which also makes it unable to see what is in the working directory/repo. I says the following:
The bash tool is unable to execute commands due to a shell access issue. The working directory is listed as ~/repos/kairos/ but I cannot access it to list files.
> What error do you get if you try ls?
I get ENOENT: no such file or directory, posix_spawn '/bin/zsh' when trying to run ls or any bash command. This indicates the system cannot find or access the shell (/bin/zsh) to execute commands.
I am running Emacs 31.0.50, MacOS, opencode 1.1.21.
Using opencode.el, my LLM is unable to run commands like `ls`, which also makes it unable to see what is in the working directory/repo. I says the following:
> The bash tool is unable to execute commands due to a shell access issue. The working directory is listed as `~/repos/kairos/` but I cannot access it to list files.
>
> \> What error do you get if you try ls?
>
> I get `ENOENT: no such file or directory, posix_spawn '/bin/zsh'` when trying to run `ls` or any bash command. This indicates the system cannot find or access the shell (`/bin/zsh`) to execute commands.
I am running Emacs 31.0.50, MacOS, opencode 1.1.21.