From 191c39aa75cd040746312c5dcd7800d9553c9c0e Mon Sep 17 00:00:00 2001 From: jif-oai Date: Fri, 29 May 2026 12:51:23 +0200 Subject: [PATCH] Drop debug-client prompt state tracking (#25070) Deletes `codex-rs/debug-client/src/state.rs` as one step in removing the stale app-server debug client. This intentionally leaves Cargo workspace and lockfile cleanup for a later follow-up PR. --- codex-rs/debug-client/src/state.rs | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 codex-rs/debug-client/src/state.rs diff --git a/codex-rs/debug-client/src/state.rs b/codex-rs/debug-client/src/state.rs deleted file mode 100644 index 44e2c5f35..000000000 --- a/codex-rs/debug-client/src/state.rs +++ /dev/null @@ -1,28 +0,0 @@ -use std::collections::HashMap; - -use codex_app_server_protocol::RequestId; - -#[derive(Debug, Default)] -pub struct State { - pub pending: HashMap, - pub thread_id: Option, - pub known_threads: Vec, -} - -#[derive(Debug, Clone, Copy, PartialEq, Eq)] -pub enum PendingRequest { - Start, - Resume, - List, -} - -#[derive(Debug, Clone)] -pub enum ReaderEvent { - ThreadReady { - thread_id: String, - }, - ThreadList { - thread_ids: Vec, - next_cursor: Option, - }, -}