@@ -738,19 +738,20 @@ type AgentUserPreferenceRequest struct {
738738// AgentSkillListItem represents a skill in the agent skills list response.
739739// Used for both bun scan (List query) and API JSON; Private is scan-only, Public is set after scan.
740740type AgentSkillListItem struct {
741- ID int64 `bun:",scanonly" json:"id"`
742- Name string `bun:",scanonly" json:"name"`
743- Description string `bun:",scanonly" json:"description"`
744- Path string `bun:",scanonly" json:"path"`
745- Private bool `bun:",scanonly" json:"-"` // from DB; Public is derived as !Private
746- Public bool `json:"public"` // set after scan
747- IsPinned bool `bun:",scanonly" json:"is_pinned"` // true if pinned by user
748- PinnedAt time.Time `bun:",scanonly" json:"pinned_at,omitempty"` // when pinned (optional in API)
749- BuiltIn bool `bun:",scanonly" json:"built_in"` // true if platform skill (has agentichub-skills tag)
750- Owner string `bun:",scanonly" json:"owner,omitempty"`
751- OwnerAvatar string `bun:",scanonly" json:"owner_avatar,omitempty"`
752- CreatedAt time.Time `bun:",scanonly" json:"created_at"`
753- UpdatedAt time.Time `bun:",scanonly" json:"updated_at"`
741+ ID int64 `bun:",scanonly" json:"id"`
742+ Name string `bun:",scanonly" json:"name"`
743+ Description string `bun:",scanonly" json:"description"`
744+ Path string `bun:",scanonly" json:"path"`
745+ Repository Repository `json:"repository"`
746+ Private bool `bun:",scanonly" json:"-"` // from DB; Public is derived as !Private
747+ Public bool `json:"public"` // set after scan
748+ IsPinned bool `bun:",scanonly" json:"is_pinned"` // true if pinned by user
749+ PinnedAt time.Time `bun:",scanonly" json:"pinned_at,omitempty"` // when pinned (optional in API)
750+ BuiltIn bool `bun:",scanonly" json:"built_in"` // true if platform skill (has agentichub-skills tag)
751+ Owner string `bun:",scanonly" json:"owner,omitempty"`
752+ OwnerAvatar string `bun:",scanonly" json:"owner_avatar,omitempty"`
753+ CreatedAt time.Time `bun:",scanonly" json:"created_at"`
754+ UpdatedAt time.Time `bun:",scanonly" json:"updated_at"`
754755}
755756
756757// AgentSkillFilter for list filtering
0 commit comments