mirror of
https://github.com/openai/codex.git
synced 2026-05-24 21:14:51 +00:00
Support multi-environment apply_patch selection
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -380,6 +380,10 @@ pub struct ApplyPatchApprovalRequestEvent {
|
||||
pub turn_id: String,
|
||||
#[ts(type = "number")]
|
||||
pub started_at_ms: i64,
|
||||
/// Stable selected environment id for this patch apply.
|
||||
#[serde(default)]
|
||||
pub environment_id: String,
|
||||
pub cwd: AbsolutePathBuf,
|
||||
pub changes: HashMap<PathBuf, FileChange>,
|
||||
/// Optional explanatory reason (e.g. request for extra write access).
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
|
||||
Reference in New Issue
Block a user