Rimossi /app e i controlli dell'app Desktop di OpenAI (B)

Da 25de1e70: eliminati il comando /app (apertura di codex:// / OpenAI.Codex) e i controlli
desktop di `akode doctor` con relativi test e snapshot.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-17 12:38:25 +01:00
parent 7c1c6dfa8d
commit 32259c3c3f
24 changed files with 10 additions and 1645 deletions

View File

@@ -526,7 +526,6 @@ fn parent_owned_command_is_allowed(command: SlashCommand, args: &str) -> bool {
| SlashCommand::New
| SlashCommand::Clear
| SlashCommand::Resume
| SlashCommand::App
| SlashCommand::Side
| SlashCommand::Btw
| SlashCommand::Agents

View File

@@ -510,25 +510,6 @@ mod tests {
);
}
#[cfg(any(target_os = "macos", target_os = "windows"))]
#[test]
fn app_command_popup_snapshot() {
let mut popup = CommandPopup::new(CommandPopupFlags::default(), Vec::new());
popup.on_composer_text_change("/app".to_string());
let width = 72;
let area = Rect::new(
/*x*/ 0,
/*y*/ 0,
width,
popup.calculate_required_height(width),
);
let mut buf = Buffer::empty(area);
popup.render_ref(area, &mut buf);
insta::assert_snapshot!("command_popup_app", format!("{buf:?}"));
}
#[cfg(any(target_os = "macos", target_os = "windows"))]
#[test]
fn voice_command_popup_snapshot() {

View File

@@ -1,21 +0,0 @@
---
source: tui/src/bottom_pane/command_popup.rs
expression: "format!(\"{buf:?}\")"
---
Buffer {
area: Rect { x: 0, y: 0, width: 72, height: 2 },
content: [
"› /app continue this session in the Desktop app ",
" /approve approve one retry of a recent auto-review denial ",
],
styles: [
x: 0, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: BOLD | REVERSED,
x: 12, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: REVERSED,
x: 52, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: BOLD | REVERSED,
x: 0, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 3, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: BOLD,
x: 6, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
x: 12, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: DIM,
x: 60, y: 1, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
]
}