mirror of
https://github.com/openai/codex.git
synced 2026-04-29 02:41:12 +03:00
Support skills shortDescription. (#8278)
Allow SKILL.md to specify a more human-readable short description as skill metadata.
This commit is contained in:
@@ -1697,6 +1697,9 @@ pub enum SkillScope {
|
||||
pub struct SkillMetadata {
|
||||
pub name: String,
|
||||
pub description: String,
|
||||
#[ts(optional)]
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub short_description: Option<String>,
|
||||
pub path: PathBuf,
|
||||
pub scope: SkillScope,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user