@@ -1453,3 +1453,61 @@ pub struct UpdateMemoryItemInput {
14531453 pub title : Option < String > ,
14541454 pub content : Option < String > ,
14551455}
1456+
1457+ // ── Skills ────────────────────────────────────────────────────────────
1458+
1459+ #[ derive( Debug , Clone , Serialize , Deserialize ) ]
1460+ #[ serde( rename_all = "camelCase" ) ]
1461+ pub struct SkillInfo {
1462+ pub name : String ,
1463+ pub description : String ,
1464+ pub author : Option < String > ,
1465+ pub version : Option < String > ,
1466+ pub source : String ,
1467+ pub source_path : String ,
1468+ pub enabled : bool ,
1469+ pub has_update : bool ,
1470+ pub user_invocable : bool ,
1471+ pub argument_hint : Option < String > ,
1472+ pub group : Option < String > ,
1473+ }
1474+
1475+ #[ derive( Debug , Clone , Serialize , Deserialize ) ]
1476+ #[ serde( rename_all = "camelCase" ) ]
1477+ pub struct SkillDetail {
1478+ pub info : SkillInfo ,
1479+ pub content : String ,
1480+ pub files : Vec < String > ,
1481+ pub manifest : Option < SkillManifest > ,
1482+ }
1483+
1484+ #[ derive( Debug , Clone , Serialize , Deserialize ) ]
1485+ #[ serde( rename_all = "camelCase" ) ]
1486+ pub struct SkillManifest {
1487+ pub source_kind : String ,
1488+ pub source_ref : Option < String > ,
1489+ pub branch : Option < String > ,
1490+ pub commit : Option < String > ,
1491+ pub installed_at : String ,
1492+ pub installed_via : Option < String > ,
1493+ }
1494+
1495+ #[ derive( Debug , Clone , Serialize , Deserialize ) ]
1496+ #[ serde( rename_all = "camelCase" ) ]
1497+ pub struct SkillUpdateInfo {
1498+ pub name : String ,
1499+ pub current_commit : String ,
1500+ pub latest_commit : String ,
1501+ pub source_ref : String ,
1502+ }
1503+
1504+ #[ derive( Debug , Clone , Serialize , Deserialize ) ]
1505+ #[ serde( rename_all = "camelCase" ) ]
1506+ pub struct MarketplaceSkill {
1507+ pub name : String ,
1508+ pub description : String ,
1509+ pub repo : String ,
1510+ pub stars : i64 ,
1511+ pub installs : i64 ,
1512+ pub installed : bool ,
1513+ }
0 commit comments