Use transient developer instructions for realtime sessions

This commit is contained in:
Ahmed Ibrahim
2026-02-27 11:35:25 -08:00
parent be2529b0eb
commit 8d4dcadd7c
16 changed files with 254 additions and 178 deletions
-12
View File
@@ -173,7 +173,6 @@ pub enum AltScreenMode {
#[serde(rename_all = "snake_case")]
pub enum ModeKind {
Plan,
Realtime,
#[default]
#[serde(
alias = "code",
@@ -200,7 +199,6 @@ impl ModeKind {
pub const fn display_name(self) -> &'static str {
match self {
Self::Plan => "Plan",
Self::Realtime => "Realtime",
Self::Default => "Default",
Self::PairProgramming => "Pair Programming",
Self::Execute => "Execute",
@@ -348,15 +346,6 @@ mod tests {
}
}
#[test]
fn mode_kind_serializes_and_deserializes_realtime() {
let json = serde_json::to_string(&ModeKind::Realtime).expect("serialize mode");
assert_eq!(json, "\"realtime\"");
let mode: ModeKind = serde_json::from_str(&json).expect("deserialize mode");
assert_eq!(mode, ModeKind::Realtime);
}
#[test]
fn tui_visible_collaboration_modes_match_mode_kind_visibility() {
let expected = [ModeKind::Default, ModeKind::Plan];
@@ -366,7 +355,6 @@ mod tests {
assert!(mode.is_tui_visible());
}
assert!(!ModeKind::Realtime.is_tui_visible());
assert!(!ModeKind::PairProgramming.is_tui_visible());
assert!(!ModeKind::Execute.is_tui_visible());
}