Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/common/ordered_terminal_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ pub enum OrderedTerminalEventType {
AgentConversationReplayStarted,
/// Marks the end of historical agent conversation replay.
AgentConversationReplayEnded,
/// Emitted by the sandboxed Oz AgentDriver when the cloud-mode setup phase is complete but no
/// initial LLM turn will follow (e.g. empty-prompt local-to-cloud handoff with `--skip-initial-turn`).
CloudModeSetupPhaseEnded,
}

/// Represents the size of a PTY. Mimics the winsize struct that
Expand All @@ -82,6 +85,7 @@ impl std::fmt::Debug for OrderedTerminalEventType {
Self::AgentResponseEvent { .. } => f.write_str("AgentResponseEvent"),
Self::AgentConversationReplayStarted => f.write_str("AgentConversationReplayStarted"),
Self::AgentConversationReplayEnded => f.write_str("AgentConversationReplayEnded"),
Self::CloudModeSetupPhaseEnded => f.write_str("CloudModeSetupPhaseEnded"),
}
}
}
Expand All @@ -97,6 +101,7 @@ impl OrderedTerminalEventType {
| OrderedTerminalEventType::CommandExecutionFinished { .. }
| OrderedTerminalEventType::AgentConversationReplayStarted
| OrderedTerminalEventType::AgentConversationReplayEnded
| OrderedTerminalEventType::CloudModeSetupPhaseEnded
| OrderedTerminalEventType::Resize { .. } => Byte::from_u64(0),
}
}
Expand Down