Documentation
¶
Index ¶
- type AgentDescription
- type AgentRegistry
- func (r *AgentRegistry) Close() error
- func (r *AgentRegistry) GetDependencies(id string) ([]string, error)
- func (r *AgentRegistry) List() ([]*AgentDescription, error)
- func (r *AgentRegistry) Lookup(id string) (*AgentDescription, error)
- func (r *AgentRegistry) Register(agent *AgentDescription) error
- func (r *AgentRegistry) TopologicalSort() ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentDescription ¶
type AgentDescription struct {
ID string `json:"id"`
Path string `json:"path"`
Type string `json:"type"`
Language string `json:"language"`
Version string `json:"version"`
Hash string `json:"hash"`
Capabilities []string `json:"capabilities"`
Requires []string `json:"requires"`
Wants []string `json:"wants"`
RequiredBy []string `json:"required_by"`
WantedBy []string `json:"wanted_by"`
Tags []string `json:"tags"`
}
type AgentRegistry ¶
type AgentRegistry struct {
// contains filtered or unexported fields
}
func NewAgentRegistry ¶
func NewAgentRegistry(s store.HybridStore, verifyKey *ed25519.PublicKey) (*AgentRegistry, error)
func (*AgentRegistry) Close ¶
func (r *AgentRegistry) Close() error
func (*AgentRegistry) GetDependencies ¶
func (r *AgentRegistry) GetDependencies(id string) ([]string, error)
func (*AgentRegistry) List ¶
func (r *AgentRegistry) List() ([]*AgentDescription, error)
func (*AgentRegistry) Lookup ¶
func (r *AgentRegistry) Lookup(id string) (*AgentDescription, error)
func (*AgentRegistry) Register ¶
func (r *AgentRegistry) Register(agent *AgentDescription) error
func (*AgentRegistry) TopologicalSort ¶
func (r *AgentRegistry) TopologicalSort() ([]string, error)
Click to show internal directories.
Click to hide internal directories.