pub struct HistoryListRewindPointsResult {
pub file_change_tracking_enabled: bool,
pub points: Vec<HistoryRewindPoint>,
pub unavailable_reason: Option<HistoryRewindUnavailableReason>,
}Expand description
Rewind points and file-change-tracking availability for the session.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§file_change_tracking_enabled: boolWhether this session captured file changes from its first turn.
points: Vec<HistoryRewindPoint>Root user turns in chronological order. Empty when unavailableReason is set.
Why the listed points could not be produced, when applicable; the points list is empty whenever it is set. unsupported-remote-session is permanent for the session and comes with fileChangeTrackingEnabled: false. session-busy is transient and only ever reported by a session that is tracking (fileChangeTrackingEnabled: true), because the file-change captures cannot be read while work that may still mutate them is in flight; the same request succeeds once the session settles, so a client that wants points should retry rather than treat it as a failure. It is never file-change-tracking-disabled: an untracked local session still lists conversation-only points and reports that through fileChangeTrackingEnabled: false.
Trait Implementations§
Source§impl Clone for HistoryListRewindPointsResult
impl Clone for HistoryListRewindPointsResult
Source§fn clone(&self) -> HistoryListRewindPointsResult
fn clone(&self) -> HistoryListRewindPointsResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more