Python
Settings ▸ Sandbox: Windows wording (this PC; network open or by the allow list)
Rohit C Prasad6269eb193885
diff --git a/surfaces/gui/src/components/SettingsView.tsx b/surfaces/gui/src/components/SettingsView.tsxindex dc037bfc..84b0218a 100644--- a/surfaces/gui/src/components/SettingsView.tsx+++ b/surfaces/gui/src/components/SettingsView.tsx@@ -768,7 +768,7 @@ function SandboxSection({ machine }: { machine?: Machine | null }) {<section data-testid="sandbox-section"><PanelHeadtitle={t("settingsx.sandbox.title")}- sub={machine ? t("settingsx.sandbox.sub_machine", { name: machine.name }) : t("settingsx.sandbox.sub")}+ sub={machine ? t("settingsx.sandbox.sub_machine", { name: machine.name }) : cfg.platform === "win32" ? t("settingsx.sandbox.sub_windows") : t("settingsx.sandbox.sub")}/>{error ? <div className="mb-3 text-meta text-danger">{error}</div> : null}diff --git a/surfaces/gui/src/locales/en.json b/surfaces/gui/src/locales/en.jsonindex e3e34cb4..34488d7f 100644--- a/surfaces/gui/src/locales/en.json+++ b/surfaces/gui/src/locales/en.json@@ -2270,6 +2270,7 @@"sandbox": {"title": "Sandbox","sub": "Where agents run their commands and file tools on this Mac. Applies to every session on this machine; a project cannot change it.",+ "sub_windows": "Where agents run their commands and file tools on this PC. Applies to every session on this machine; 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.","run_in": "Run agents in","provider_direct": "No sandbox",@@ -2277,7 +2278,7 @@"provider_seatbelt": "macOS sandbox","provider_seatbelt_desc": "Commands can read and write only the session's folders and reach only the network hosts on the allow list. Your other files and logins are hidden.","provider_windows": "Windows sandbox",- "provider_windows_desc": "Commands run as a hidden local account that cannot see your profile, and reach only the network hosts on the allow list. Without the one-time setup (openworker machine sandbox setup), writes are limited to the session's folders and nothing else is.",+ "provider_windows_desc": "Commands run as a hidden local account that cannot see your profile. The network is open, or limited to the allow list, as chosen below. Without the one-time setup (openworker machine sandbox setup), writes are limited to the session's folders and nothing else is.","provider_openshell": "OpenShell (NVIDIA)","provider_openshell_desc": "One Linux container per agent, with the session's folders mounted. Needs OpenShell and Docker on this machine.","status_default": "default",diff --git a/surfaces/gui/src/locales/zh.json b/surfaces/gui/src/locales/zh.jsonindex 728d6c8d..c74af46b 100644--- a/surfaces/gui/src/locales/zh.json+++ b/surfaces/gui/src/locales/zh.json@@ -2230,6 +2230,7 @@"sandbox": {"title": "沙箱","sub": "同事在这台 Mac 上运行命令和文件工具的位置。适用于这台机器上的每个会话;项目无法更改。",+ "sub_windows": "同事在这台 PC 上运行命令和文件工具的位置。适用于这台机器上的每个会话;项目无法更改。","sub_machine": "在 ⌂ {{name}} 上 —— 它的同事运行命令和文件工具的位置。适用于那台机器上的每个会话;项目无法更改。","run_in": "在哪里运行同事","provider_direct": "不使用沙箱",@@ -2237,7 +2238,7 @@"provider_seatbelt": "macOS 沙箱","provider_seatbelt_desc": "命令只能读写会话的文件夹,只能访问允许列表中的网络主机。你的其他文件和登录信息被隐藏。","provider_windows": "Windows 沙箱",- "provider_windows_desc": "命令以一个看不到你的用户配置文件的隐藏本地账户运行,只能访问允许列表中的网络主机。未做一次性设置(openworker machine sandbox setup)时,只限制写入到会话的文件夹,其他不受限制。",+ "provider_windows_desc": "命令以一个看不到你的用户配置文件的隐藏本地账户运行。网络按下方的选择:开放,或仅限允许列表。未做一次性设置(openworker machine sandbox setup)时,只限制写入到会话的文件夹,其他不受限制。","provider_openshell": "OpenShell(NVIDIA)","provider_openshell_desc": "每个同事一个 Linux 容器,挂载会话的文件夹。需要这台机器上装有 OpenShell 和 Docker。","status_default": "默认",