Documentation
¶
Overview ¶
Package registry holds the agent modules hopsesh was built with and checks that each one's Spec is complete.
Index ¶
- func As[T any](m agent.Module) (T, bool)
- type Registry
- func (r *Registry) All() []agent.Module
- func (r *Registry) ByName(name string) (agent.ID, bool)
- func (r *Registry) Get(id agent.ID) (agent.Module, bool)
- func (r *Registry) IDs() []agent.ID
- func (r *Registry) LoginEnv() []string
- func (r *Registry) Specs() []agent.Spec
- func (r *Registry) Worktrees() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry is the set of agent modules.
Click to show internal directories.
Click to hide internal directories.