agentreg

package
v0.1.0-proto2g Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2026 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL