mirror of
https://github.com/openai/codex.git
synced 2026-11-29 00:00:54 +00:00
[app-server] feat: add old_content and new_content to FileChange update patches
This commit is contained in:
@@ -1146,7 +1146,11 @@ pub struct FileUpdateChange {
|
||||
pub enum PatchChangeKind {
|
||||
Add,
|
||||
Delete,
|
||||
Update { move_path: Option<PathBuf> },
|
||||
Update {
|
||||
move_path: Option<PathBuf>,
|
||||
old_content: String,
|
||||
new_content: String,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
|
||||
|
||||
Reference in New Issue
Block a user