ClaudeDevs· @ClaudeDevs · X·· 2 小时前AI 评分50
AI 导读
即使在 bypass permissions 模式下,Claude Code 在运行少数风险特别高的 rm 命令前仍会询问。这是有意为之,但如果你身处一次性容器中、且可以接受这些命令不经询问直接运行,现在可以设置 CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS=1。 而超时的 shell 命令现在会在后台继续运行,而不是被中断,因此长时间的构建或测试套件不会在中途被杀掉。
正文 · 原文
Even in bypass permissions mode, Claude Code still asks before a few especially risky rm commands. That’s intentional, but if you’re in a throwaway container and are okay with those running without asking, you can now set CLAUDE_CODE_EVEN_MORE_DANGEROUSLY_SKIP_PERMISSIONS=1.
And shell commands that hit their timeout now keep running in the background instead of getting cut off, so a long build or test suite isn’t killed halfway.
来源:ClaudeDevs · x.com