When using the Claude Sonnet 4.5 model, it sometimes uses the 'sed' command.
As with other commands, you can Allow (once), Allow (session), Allow (always), and Allow (always) for all 'sed' commands.
The problem is, I think it's treating the 'sed' command arguments as part of the command. Using Allows (session) for 'sed' commands simply does not work, and whenever the agent uses 'sed' again - it asks me again.
I suspect that if I use Allow (always) for all 'sed' commands I won't be prompted again, but I don't want that.
Would be nice if Allow (session) correctly allowed ALL sed calls for the session, not just sed with the same arguments call, OR if there was an Allow (session) for all 'sed' commands option.
(example screenshot; if I hit Allow (session) - it will still ask me for permission next time the agent uses a sed command with different arguments)
This has also happened for me with a different command. I don't remember which, and I don't have a screenshot, but the gist was that the agent started writing a test script line by line via terminal commands, and I had no way to allow all of them. I could either Allow (always), which I didn't want for that sort of command, or approve them line by line.