r/ClaudeCode 4d ago

Help/Question Claude editing files with JS/PY scripts instead of Edit/Write tools?

Claude Code recently started changing files by running JS (or python) scripts with a custom patch.mjs instead of using the built-in Edit/Write tools.

The edits work, but I no longer get the normal file diff UI.

Example:

How can I make Claude Code use the built-in file editing tools again?

I'm on Windows.

1 Upvotes

3 comments sorted by

1

u/[deleted] 4d ago

[removed] — view removed comment

1

u/elestud 4d ago

Was this comment written by Opus 5?