Documentation
¶
Overview ¶
Package skills provides API types and handlers for the dev.toolhive/skills extension endpoints (THV-0029).
Package skills provides API types and handlers for the dev.toolhive/skills extension endpoints (THV-0029).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ListSkillsQuery ¶
type ListSkillsQuery struct {
Search string
Status string // comma-separated for IN filtering, e.g. "active,deprecated"
Limit int // default 50, max 100
Cursor string
}
ListSkillsQuery holds parsed query parameters for GET /skills (list).
type Routes ¶
type Routes struct {
// contains filtered or unexported fields
}
Routes holds dependencies for skills extension handlers.
type SkillListMetadata ¶
type SkillListMetadata struct {
Count int `json:"count"`
NextCursor string `json:"nextCursor,omitempty"`
}
SkillListMetadata is the metadata object in list responses.
type SkillListResponse ¶
type SkillListResponse struct {
Skills []thvregistry.Skill `json:"skills"`
Metadata SkillListMetadata `json:"metadata"`
}
SkillListResponse is the response for GET /skills (list).
Click to show internal directories.
Click to hide internal directories.