mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
Delegate remote process sandboxing to the executor (#37480)
## What changed - Preserve executor-native working directories, workspace roots, and permission profiles when preparing remote `exec_command` requests instead of resolving them through the host platform. - Send sandbox intent to the remote executor, including a restricted-token default for Windows executors and `-NoProfile` for elevated PowerShell commands. - Reject intercepted cross-platform `apply_patch` commands when filesystem writes are restricted, while continuing to allow them for unsandboxed or full-disk-write profiles. ## Testing Extended remote unified-exec coverage for foreign Windows workspaces, elevated PowerShell, sandbox metadata, and restricted and unrestricted intercepted patches. GitOrigin-RevId: 9fd328879fa2c15594fd58e40b6b32e8ba0847e7
This commit is contained in:
@@ -25,6 +25,8 @@ use similar::TextDiff;
|
||||
pub use streaming_parser::StreamingPatchParser;
|
||||
use thiserror::Error;
|
||||
|
||||
pub use invocation::MaybeApplyPatch;
|
||||
pub use invocation::maybe_parse_apply_patch;
|
||||
pub use invocation::maybe_parse_apply_patch_verified;
|
||||
pub use invocation::verify_apply_patch_args;
|
||||
pub use standalone_executable::main;
|
||||
|
||||
Reference in New Issue
Block a user