Remove legacy collaboration mode variants (#36990)

## What changed

- Remove the hidden `PairProgramming` and `Execute` variants from `ModeKind`.
- Delete their unused prompt templates and simplify mode handling to cover only `Default` and `Plan`.

GitOrigin-RevId: 8d24e3f562a09e3071b2decae275d2b3871a1e9c
This commit is contained in:
andrewgu-oai authored and copyberry committed 2026-08-04 22:58:02 +00:00
1 parent bae8d8f5b6
commit 11e390bb10
9 files changed
+2 -109

No files matched your search

+1 -1
View File
@@ -3183,7 +3183,7 @@ fn sandbox_policy_mode(permission_profile: &PermissionProfile, cwd: &Path) -> &'
fn collaboration_mode_mode(mode: ModeKind) -> &'static str {
match mode {
ModeKind::Plan => "plan",
ModeKind::Default | ModeKind::PairProgramming | ModeKind::Execute => "default",
ModeKind::Default => "default",
}
}