mirror of
https://github.com/openai/codex.git
synced 2026-05-04 21:32:21 +03:00
Add marketplace display names to plugin/list (#14861)
Add display_name support to marketplace.json.
This commit is contained in:
@@ -118,6 +118,7 @@ pub struct PluginDetailSummary {
|
||||
pub struct ConfiguredMarketplaceSummary {
|
||||
pub name: String,
|
||||
pub path: AbsolutePathBuf,
|
||||
pub display_name: Option<String>,
|
||||
pub plugins: Vec<ConfiguredMarketplacePluginSummary>,
|
||||
}
|
||||
|
||||
@@ -801,6 +802,7 @@ impl PluginsManager {
|
||||
(!plugins.is_empty()).then_some(ConfiguredMarketplaceSummary {
|
||||
name: marketplace.name,
|
||||
path: marketplace.path,
|
||||
display_name: marketplace.display_name,
|
||||
plugins,
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user