Documentation
¶
Index ¶
- type AgentJSON
- type AgentListResponse
- type AgentMetadata
- type AgentPackageInfo
- type AgentRegistryExtensions
- type AgentResponse
- type AgentResponseMeta
- type AgentSemanticMeta
- type Deployment
- type ServerListResponse
- type ServerMetadata
- type ServerResponse
- type ServerResponseMeta
- type ServerSemanticMeta
- type SkillJSON
- type SkillListResponse
- type SkillMetadata
- type SkillPackageInfo
- type SkillRegistryExtensions
- type SkillRemoteInfo
- type SkillRepository
- type SkillResponse
- type SkillResponseMeta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentJSON ¶
type AgentJSON struct {
common.AgentManifest `json:",inline"`
Title string `json:"title,omitempty"`
Version string `json:"version"`
Status string `json:"status,omitempty"`
WebsiteURL string `json:"websiteUrl,omitempty"`
Repository *model.Repository `json:"repository,omitempty" doc:"Optional repository metadata for the agent source code."`
Packages []AgentPackageInfo `json:"packages,omitempty"`
Remotes []model.Transport `json:"remotes,omitempty"`
}
AgentJSON mirrors the ServerJSON shape for now, defined locally
type AgentListResponse ¶
type AgentListResponse struct {
Agents []AgentResponse `json:"agents"`
Metadata AgentMetadata `json:"metadata"`
}
type AgentMetadata ¶
type AgentPackageInfo ¶
type AgentRegistryExtensions ¶
type AgentRegistryExtensions struct {
Status string `json:"status"`
PublishedAt time.Time `json:"publishedAt"`
UpdatedAt time.Time `json:"updatedAt"`
IsLatest bool `json:"isLatest"`
Published bool `json:"published"`
}
AgentRegistryExtensions mirrors official metadata stored separately
type AgentResponse ¶
type AgentResponse struct {
Agent AgentJSON `json:"agent"`
Meta AgentResponseMeta `json:"_meta"`
}
type AgentResponseMeta ¶
type AgentResponseMeta struct {
Official *AgentRegistryExtensions `json:"io.modelcontextprotocol.registry/official,omitempty"`
Semantic *AgentSemanticMeta `json:"agentregistry.solo.io/semantic,omitempty"`
}
type AgentSemanticMeta ¶ added in v0.1.11
type AgentSemanticMeta struct {
Score float64 `json:"score"`
}
type Deployment ¶
type Deployment struct {
ServerName string `json:"serverName"`
Version string `json:"version"`
DeployedAt time.Time `json:"deployedAt"`
UpdatedAt time.Time `json:"updatedAt"`
Status string `json:"status"`
Config map[string]string `json:"config"`
PreferRemote bool `json:"preferRemote"`
ResourceType string `json:"resourceType"` // "mcp" or "agent"
Runtime string `json:"runtime"` // "local" or "kubernetes"
}
Deployment represents a deployed server with its configuration
type ServerListResponse ¶ added in v0.1.11
type ServerListResponse struct {
Servers []ServerResponse `json:"servers"`
Metadata ServerMetadata `json:"metadata"`
}
ServerListResponse wraps a list response.
type ServerMetadata ¶ added in v0.1.11
type ServerMetadata struct {
NextCursor string `json:"nextCursor,omitempty"`
Count int `json:"count"`
}
ServerMetadata holds pagination info for server listings.
type ServerResponse ¶ added in v0.1.11
type ServerResponse struct {
Server apiv0.ServerJSON `json:"server"`
Meta ServerResponseMeta `json:"_meta"`
}
ServerResponse is the server API shape with registry-managed metadata.
type ServerResponseMeta ¶ added in v0.1.11
type ServerResponseMeta struct {
Official *apiv0.RegistryExtensions `json:"io.modelcontextprotocol.registry/official,omitempty"`
Semantic *ServerSemanticMeta `json:"agentregistry.solo.io/semantic,omitempty"`
}
ServerResponseMeta mirrors the MCP ResponseMeta but adds semantic metadata.
type ServerSemanticMeta ¶ added in v0.1.11
type ServerSemanticMeta struct {
Score float64 `json:"score"`
}
ServerSemanticMeta carries semantic search metadata for servers.
type SkillJSON ¶
type SkillJSON struct {
Name string `json:"name"`
Title string `json:"title,omitempty"`
Category string `json:"category,omitempty"`
Description string `json:"description"`
Version string `json:"version"`
Status string `json:"status,omitempty"`
WebsiteURL string `json:"websiteUrl,omitempty"`
Repository *SkillRepository `json:"repository,omitempty"`
Packages []SkillPackageInfo `json:"packages,omitempty"`
Remotes []SkillRemoteInfo `json:"remotes,omitempty"`
}
SkillJSON mirrors the ServerJSON shape for now, defined locally
type SkillListResponse ¶
type SkillListResponse struct {
Skills []SkillResponse `json:"skills"`
Metadata SkillMetadata `json:"metadata"`
}
type SkillMetadata ¶
type SkillPackageInfo ¶
type SkillRegistryExtensions ¶
type SkillRegistryExtensions struct {
Status string `json:"status"`
PublishedAt time.Time `json:"publishedAt"`
UpdatedAt time.Time `json:"updatedAt"`
IsLatest bool `json:"isLatest"`
Published bool `json:"published"`
}
RegistryExtensions mirrors official metadata stored separately
type SkillRemoteInfo ¶
type SkillRemoteInfo struct {
URL string `json:"url"`
}
type SkillRepository ¶
type SkillResponse ¶
type SkillResponse struct {
Skill SkillJSON `json:"skill"`
Meta SkillResponseMeta `json:"_meta"`
}
type SkillResponseMeta ¶
type SkillResponseMeta struct {
Official *SkillRegistryExtensions `json:"io.modelcontextprotocol.registry/official,omitempty"`
}