@@ -589,20 +589,24 @@ public struct AgentIdentityResult: Codable, Sendable {
589589 public let agentid : String
590590 public let name : String ?
591591 public let avatar : String ?
592+ public let emoji : String ?
592593
593594 public init (
594595 agentid: String ,
595596 name: String ? ,
596- avatar: String ?
597+ avatar: String ? ,
598+ emoji: String ?
597599 ) {
598600 self . agentid = agentid
599601 self . name = name
600602 self . avatar = avatar
603+ self . emoji = emoji
601604 }
602605 private enum CodingKeys : String , CodingKey {
603606 case agentid = " agentId "
604607 case name
605608 case avatar
609+ case emoji
606610 }
607611}
608612
@@ -1556,6 +1560,157 @@ public struct AgentSummary: Codable, Sendable {
15561560 }
15571561}
15581562
1563+ public struct AgentsFileEntry : Codable , Sendable {
1564+ public let name : String
1565+ public let path : String
1566+ public let missing : Bool
1567+ public let size : Int ?
1568+ public let updatedatms : Int ?
1569+ public let content : String ?
1570+
1571+ public init (
1572+ name: String ,
1573+ path: String ,
1574+ missing: Bool ,
1575+ size: Int ? ,
1576+ updatedatms: Int ? ,
1577+ content: String ?
1578+ ) {
1579+ self . name = name
1580+ self . path = path
1581+ self . missing = missing
1582+ self . size = size
1583+ self . updatedatms = updatedatms
1584+ self . content = content
1585+ }
1586+ private enum CodingKeys : String , CodingKey {
1587+ case name
1588+ case path
1589+ case missing
1590+ case size
1591+ case updatedatms = " updatedAtMs "
1592+ case content
1593+ }
1594+ }
1595+
1596+ public struct AgentsFilesListParams : Codable , Sendable {
1597+ public let agentid : String
1598+
1599+ public init (
1600+ agentid: String
1601+ ) {
1602+ self . agentid = agentid
1603+ }
1604+ private enum CodingKeys : String , CodingKey {
1605+ case agentid = " agentId "
1606+ }
1607+ }
1608+
1609+ public struct AgentsFilesListResult : Codable , Sendable {
1610+ public let agentid : String
1611+ public let workspace : String
1612+ public let files : [ AgentsFileEntry ]
1613+
1614+ public init (
1615+ agentid: String ,
1616+ workspace: String ,
1617+ files: [ AgentsFileEntry ]
1618+ ) {
1619+ self . agentid = agentid
1620+ self . workspace = workspace
1621+ self . files = files
1622+ }
1623+ private enum CodingKeys : String , CodingKey {
1624+ case agentid = " agentId "
1625+ case workspace
1626+ case files
1627+ }
1628+ }
1629+
1630+ public struct AgentsFilesGetParams : Codable , Sendable {
1631+ public let agentid : String
1632+ public let name : String
1633+
1634+ public init (
1635+ agentid: String ,
1636+ name: String
1637+ ) {
1638+ self . agentid = agentid
1639+ self . name = name
1640+ }
1641+ private enum CodingKeys : String , CodingKey {
1642+ case agentid = " agentId "
1643+ case name
1644+ }
1645+ }
1646+
1647+ public struct AgentsFilesGetResult : Codable , Sendable {
1648+ public let agentid : String
1649+ public let workspace : String
1650+ public let file : AgentsFileEntry
1651+
1652+ public init (
1653+ agentid: String ,
1654+ workspace: String ,
1655+ file: AgentsFileEntry
1656+ ) {
1657+ self . agentid = agentid
1658+ self . workspace = workspace
1659+ self . file = file
1660+ }
1661+ private enum CodingKeys : String , CodingKey {
1662+ case agentid = " agentId "
1663+ case workspace
1664+ case file
1665+ }
1666+ }
1667+
1668+ public struct AgentsFilesSetParams : Codable , Sendable {
1669+ public let agentid : String
1670+ public let name : String
1671+ public let content : String
1672+
1673+ public init (
1674+ agentid: String ,
1675+ name: String ,
1676+ content: String
1677+ ) {
1678+ self . agentid = agentid
1679+ self . name = name
1680+ self . content = content
1681+ }
1682+ private enum CodingKeys : String , CodingKey {
1683+ case agentid = " agentId "
1684+ case name
1685+ case content
1686+ }
1687+ }
1688+
1689+ public struct AgentsFilesSetResult : Codable , Sendable {
1690+ public let ok : Bool
1691+ public let agentid : String
1692+ public let workspace : String
1693+ public let file : AgentsFileEntry
1694+
1695+ public init (
1696+ ok: Bool ,
1697+ agentid: String ,
1698+ workspace: String ,
1699+ file: AgentsFileEntry
1700+ ) {
1701+ self . ok = ok
1702+ self . agentid = agentid
1703+ self . workspace = workspace
1704+ self . file = file
1705+ }
1706+ private enum CodingKeys : String , CodingKey {
1707+ case ok
1708+ case agentid = " agentId "
1709+ case workspace
1710+ case file
1711+ }
1712+ }
1713+
15591714public struct AgentsListParams : Codable , Sendable {
15601715}
15611716
@@ -1630,6 +1785,16 @@ public struct ModelsListResult: Codable, Sendable {
16301785}
16311786
16321787public struct SkillsStatusParams : Codable , Sendable {
1788+ public let agentid : String ?
1789+
1790+ public init (
1791+ agentid: String ?
1792+ ) {
1793+ self . agentid = agentid
1794+ }
1795+ private enum CodingKeys : String , CodingKey {
1796+ case agentid = " agentId "
1797+ }
16331798}
16341799
16351800public struct SkillsBinsParams : Codable , Sendable {
0 commit comments