ccflare icon indicating copy to clipboard operation
ccflare copied to clipboard

Regex pattern replacement in response?

Open ctrlbrk42 opened this issue 1 year ago • 1 comments

Claude Code hooks apparently cannot modify the response. I would like to do it at this proxy level instead of app level because it's a million times more efficient.

input.replace(/you're absolutely right!/gi, "That's correct.");

ctrlbrk42 avatar Aug 18 '25 01:08 ctrlbrk42

Love this one lol, I'd imagine there would be an issue replacing this while streaming but worth looking into

snipeship avatar Aug 19 '25 01:08 snipeship