Add tui.experimental_mode setting (#9656)

To simplify testing
This commit is contained in:
pakrym-oai
2026-01-21 21:27:57 -08:00
committed by GitHub
parent e520592bcf
commit 836f0343a3
6 changed files with 101 additions and 34 deletions

View File

@@ -151,6 +151,16 @@ pub enum AltScreenMode {
Never,
}
/// Initial collaboration mode to use when the TUI starts.
#[derive(Clone, Copy, Debug, Serialize, Deserialize, PartialEq, Eq, Hash, JsonSchema, TS)]
#[serde(rename_all = "snake_case")]
pub enum ModeKind {
Plan,
PairProgramming,
Execute,
Custom,
}
/// Collaboration mode for a Codex session.
#[derive(Clone, PartialEq, Eq, Hash, Debug, Serialize, Deserialize, JsonSchema, TS)]
#[serde(tag = "mode", rename_all = "lowercase")]