### Description Unfortunately build mode is like useless for me now :/ all that happens: SyntaxError: Unexpected end of JSON input ### OpenCode version 1.0.39 ### Steps to reproduce _No response_ ### Screenshot and/or share link   ### Operating System windows 10 ### Terminal wezTerm
Activity
github-actions commentedon Nov 7, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
[-]Tool calls abort, fail. syntax error[/-][+]Tool calls abort, fail, syntax error[/+]stellar-ssj commentedon Nov 7, 2025
in this case what i am noticing is that the agents first step happens to be creating some folders and subfolders and it is using / instead of \
i am not sure why this is such an issue, or if something broke in the tool calling. it is still doing this even after downgrading back to .0.15.39
for example:
mkdir development/terminal-frontend
The syntax of the command is incorrect. OC just aborts and stops.
instead i can manually run; mkdir development\terminal-frontend
Hona commentedon Nov 11, 2025
I am also getting this in pwsh on windows.
rekram1-node commentedon Nov 12, 2025
For whatever reason this only seems to happen on windows
Hona commentedon Nov 12, 2025
I've done some digging, weirdly the first message succeeds then all subsequent calls fail:
johnem-msft commentedon Nov 12, 2025
Windows 11 Terminal - installed via:
winget install OpenJS.NodeJS.LTS
npm install -g opencode-ai
Mines a bit different I feel as it's in the prompt and I get stuck
I actually have to: ctrl+p undo command to regain the prompt
Sewer56 commentedon Nov 12, 2025
On my end, it's not tool calls, but specifically the
bashtool. Other tools work just fine.Maybe something in
bash.ts...Sewer56 commentedon Nov 12, 2025
After some quick pairing, @Hona and I fixed the issue, in #4234
Explanation here:
#4234 (comment)