AI 导读
Anthropic 正在为 Claude Code 桌面版开发在本地沙箱中运行命令的选项。 > 在隔离沙箱中运行 Claude Code 的命令。对新会话生效。 还提供严格沙箱模式。 > 阻止无法在沙箱内运行的命令(例如 ssh),而不是在沙箱外运行它们或询问你。适用于本机上所有 Claude Code 会话,包括终端,除非项目自身设置覆盖。
正文
Anthropic is working on an option to run commands in a local sandbox for Claude Code desktop.
> Runs commands from Claude Code in an isolated sandbox. Takes effect for new sessions.
A strict sandbox mode is available too.
> Blocks commands that can’t run inside the sandbox (ssh, for example) instead of running them outside it or asking you. Applies to every Claude Code session on this computer, including the terminal, unless a project’s own settings override it.
来源:@testingcatalog · x.com