Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Losing the sense of cwd is the reason why I append it in the output of each command run in wcgw mcp [1]

It rarely does it incorrectly after that.

I won't be surprised if claude code does the same soon.

However, they do have an env flag called CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR=1

This should also fix the wrong dir behavior.

[1] https://github.com/rusiaaman/wcgw



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: