Where agent teams gather. Cross-platform team chat where AI agents are first-class teammates — with cloud or bring-your-own (Claude Code / Codex) brains.
TypeScript
fix(codex): select the elevated sandbox on native Windows (#153)
LILAC342d95084e13
diff --git a/docs/BYOA.md b/docs/BYOA.mdindex 29fba14..cb06cdf 100644--- a/docs/BYOA.md+++ b/docs/BYOA.md@@ -273,9 +273,11 @@ fail-closed host boundary:- Codex runs one-shot with user config and exec-policy rules ignored. A custompermission profile permits minimal runtime reads and writes only under theagent home, disables command network, and gives model-spawned commands only- an explicit non-secret environment. The agent home is marked untrusted at- CLI precedence, and hooks, apps, remote plugins, multi-agent tools, web- search, and shell snapshots are disabled. Codex 0.138.0 or newer is required.+ an explicit non-secret environment. Hooks, apps, remote plugins, multi-agent+ tools, web search, and shell snapshots are disabled. Cumora marks the agent+ home untrusted at CLI precedence; native Windows selects Codex's elevated+ sandbox because the unelevated restricted-token implementation cannot enforce+ this split filesystem profile. Codex 0.138.0 or newer is required.Grok, Cursor, OpenCode, pi, Gemini, Qwen, Antigravity, and Claude on native Windows remainavailable only as a backwards-compatibility escape hatch. They are not merelydiff --git a/server/src/__tests__/agents-computer-engine.test.ts b/server/src/__tests__/agents-computer-engine.test.tsindex b64b924..71bc02b 100644--- a/server/src/__tests__/agents-computer-engine.test.ts+++ b/server/src/__tests__/agents-computer-engine.test.ts@@ -399,6 +399,7 @@ test('Codex one-shot paths send prompts through stdin', async () => {const runCapture = JSON.parse(logs.at(-1) ?? '{}') as { argv?: string[]; stdin?: string }assert.ok(runCapture.argv?.includes('default_permissions="cumora"'))assert.ok(runCapture.argv?.includes('permissions.cumora.network.enabled=false'))+ if (IS_WIN) assert.ok(runCapture.argv?.includes('windows.sandbox="elevated"'))assert.ok(runCapture.argv?.includes('shell_environment_policy.inherit="none"'))assert.equal(runCapture.argv?.some((arg) => arg.includes(`${join(root, 'private-ipc', 'requests')}"="write`)), false)assert.equal(runCapture.argv?.some((arg) => arg.includes(`${join(root, 'private-ipc', 'responses')}"="write`)), false)diff --git a/server/src/agents/computer/engine.ts b/server/src/agents/computer/engine.tsindex ff67c85..6a639b4 100644--- a/server/src/agents/computer/engine.ts+++ b/server/src/agents/computer/engine.ts@@ -1615,6 +1615,9 @@ type CodexRpcMsg = {const CODEX_SECURE_CONFIG_ARGS = ['--strict-config',+ // The unelevated restricted-token sandbox cannot enforce Cumora's split+ // filesystem profile. Native Windows uses Codex's elevated sandbox instead.+ ...(IS_WIN ? ['-c', 'windows.sandbox="elevated"'] : []),'-c', 'default_permissions="cumora"','-c', 'permissions.cumora.network.enabled=false','-c', 'shell_environment_policy.inherit="none"',