mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
Add marketplace display names to plugin/list (#14861)
Add display_name support to marketplace.json.
This commit is contained in:
committed by
GitHub
Unverified
parent
59533a2c26
commit
49c2b66ece
@@ -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