mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
feat: TUI undo op (#5629)
This commit is contained in:
committed by
GitHub
Unverified
parent
e92c4f6561
commit
afc4eaab8b
@@ -9,6 +9,7 @@ use serde::ser::Serializer;
|
||||
use ts_rs::TS;
|
||||
|
||||
use crate::user_input::UserInput;
|
||||
use codex_git_tooling::GhostCommit;
|
||||
use schemars::JsonSchema;
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, JsonSchema, TS)]
|
||||
@@ -118,9 +119,7 @@ pub enum ResponseItem {
|
||||
},
|
||||
// Generated by the harness but considered exactly as a model response.
|
||||
GhostSnapshot {
|
||||
commit_id: String,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
parent: Option<String>,
|
||||
ghost_commit: GhostCommit,
|
||||
},
|
||||
#[serde(other)]
|
||||
Other,
|
||||
|
||||
Reference in New Issue
Block a user