Python
Settings > Sandbox: say the setting applies to new sessions, and that sub-settings are kept while off (ISSUE 8, 9)
Devika Verma9633b2bb68c0
diff --git a/surfaces/gui/src/locales/en.json b/surfaces/gui/src/locales/en.jsonindex 771bdc88..cb582295 100644--- a/surfaces/gui/src/locales/en.json+++ b/surfaces/gui/src/locales/en.json@@ -2270,10 +2270,10 @@},"sandbox": {"title": "Sandbox",- "sub": "Where agents run their commands and file tools on this machine. Applies to every session here; a project cannot change it.",- "sub_machine": "On ⌂ {{name}} — where its agents run their commands and file tools. Applies to every session on that machine; a project cannot change it.",+ "sub": "Where agents run their commands and file tools on this machine. Applies to every new session here (a running session keeps what it started with); a project cannot change it.",+ "sub_machine": "On ⌂ {{name}} — where its agents run their commands and file tools. Applies to every new session on that machine (a running session keeps what it started with); a project cannot change it.","switch": "Run agents in a sandbox",- "switch_off_desc": "Off: commands run directly on this machine, with the same access as your user account.",+ "switch_off_desc": "Off: commands run directly on this machine, with the same access as your user account. Your network and credential settings are kept for when you switch back on.","switch_on_desc": "On: commands and file tools run behind a wall that holds only the session's folders and the network allow list.","current": "current","windows_hint": "Sandboxing needs a Linux machine. Add one under Settings ▸ Machines; a WSL Ubuntu on this PC works.",diff --git a/surfaces/gui/src/locales/zh.json b/surfaces/gui/src/locales/zh.jsonindex d6465a73..a52db218 100644--- a/surfaces/gui/src/locales/zh.json+++ b/surfaces/gui/src/locales/zh.json@@ -2230,11 +2230,11 @@},"sandbox": {"title": "沙箱",- "sub": "同事在这台机器上运行命令和文件工具的位置。适用于这里的每个会话;项目无法更改。",- "sub_machine": "在 ⌂ {{name}} 上 —— 它的同事运行命令和文件工具的位置。适用于那台机器上的每个会话;项目无法更改。",+ "sub": "同事在这台机器上运行命令和文件工具的位置。适用于这里的每个新会话(正在运行的会话保持其启动时的方式);项目无法更改。",+ "sub_machine": "在 ⌂ {{name}} 上 —— 它的同事运行命令和文件工具的位置。适用于那台机器上的每个新会话(正在运行的会话保持其启动时的方式);项目无法更改。","run_in": "在哪里运行同事","switch": "在沙箱中运行同事",- "switch_off_desc": "关闭:命令直接在这台机器上运行,权限与你的用户账户相同。",+ "switch_off_desc": "关闭:命令直接在这台机器上运行,权限与你的用户账户相同。你的网络和凭据设置会保留,以便再次开启时使用。","switch_on_desc": "开启:命令和文件工具在一道墙后运行,墙内只有会话的文件夹和网络允许列表。","current": "当前","windows_hint": "沙箱需要一台 Linux 机器。请在 设置 ▸ 机器 中添加一台;这台电脑上的 WSL Ubuntu 即可。",