mirror of
https://github.com/openai/codex.git
synced 2026-11-13 14:46:14 +00:00
Accept forceRefetch in plugin list requests (#34573)
## What changed - Add the optional `forceRefetch` boolean to `PluginListParams` and generated schemas. - Accept both omitted and enabled values without changing `plugin/list` behavior yet. - Cover deserialization of the enabled value in the protocol tests. GitOrigin-RevId: fd4145161e9779638bc0bf18118d5ab5b8478745
This commit is contained in:
1 parent
726689564a
commit
6ac68be6fe
15 files changed
+81
-2
No files matched your search
@@ -135,6 +135,9 @@ pub struct PluginListParams {
|
||||
/// the default remote catalog when enabled by feature flag.
|
||||
#[ts(optional = nullable)]
|
||||
pub marketplace_kinds: Option<Vec<PluginListMarketplaceKind>>,
|
||||
/// Whether the client requests a fresh remote plugin catalog fetch.
|
||||
#[serde(default, skip_serializing_if = "std::ops::Not::not")]
|
||||
pub force_refetch: bool,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
|
||||
|
||||
Reference in new issue
Block a user