mirror of
https://github.com/openai/codex.git
synced 2026-11-02 08:19:52 +00:00
Add cwd as an optional field to thread/list (#11651)
Add's the ability to filter app-server thread/list by cwd
This commit is contained in:
1 parent
537102e657
commit
ebe359b876
10 files changed
+148
-14
No files matched your search
@@ -1708,6 +1708,10 @@ pub struct ThreadListParams {
|
||||
/// If false or null, only non-archived threads are returned.
|
||||
#[ts(optional = nullable)]
|
||||
pub archived: Option<bool>,
|
||||
/// Optional cwd filter; when set, only threads whose session cwd exactly
|
||||
/// matches this path are returned.
|
||||
#[ts(optional = nullable)]
|
||||
pub cwd: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, Copy, PartialEq, Eq, JsonSchema, TS)]
|
||||
|
||||
Reference in new issue
Block a user