Versions in this module Expand all Collapse all v0 v0.2.1 Apr 28, 2026 Changes in this version + const PortRangeEnd + const PortRangeStart + var ErrNameExists = errors.New("instance name already exists") + var ErrNotFound = errors.New("instance not found") + var ErrRequiredField = errors.New("required field is missing") + var ErrUnsupportedFramework = errors.New("unsupported framework") + func AllocatePort(existing []Instance) (int, error) + func DefaultAllowedCommands() []string + type CreateRequest struct + AutoStart *bool + CreatedBy string + Framework string + HierarchyRole HierarchyRole + Model string + Name string + ParentID string + PersonaID string + ProjectDescription string + ProjectGoal string + ProjectID string + ProjectName string + type HierarchyRole string + const RoleCaptain + const RoleCommander + const RoleStandalone + const RoleTalon + func (r HierarchyRole) Valid() bool + type Instance struct + AuthToken string + ConfigPath string + CreatedAt time.Time + CreatedBy string + DisplayName string + Framework string + HealthStatus string + HierarchyRole HierarchyRole + ID string + LastSeen time.Time + Name string + PID int + ParentID string + PersonaID string + Port int + ProjectID string + RestartCount int + Status InstanceStatus + StatusUpdatedAt time.Time + WorkspacePath string + type InstanceStatus string + const StatusCreated + const StatusError + const StatusRunning + const StatusStarting + const StatusStopped + func (s InstanceStatus) Valid() bool + type MigrationResult struct + Applied []string + Error string + Framework string + InstanceID string + InstanceName string + Skipped bool + func MigrateAll() ([]MigrationResult, error) + type Provisioner struct + func NewProvisioner(store *Store) *Provisioner + func (p *Provisioner) Provision(req CreateRequest, pers *persona.Persona) (*Instance, error) + type Store struct + func NewStore() (*Store, error) + func (s *Store) Delete(id string) error + func (s *Store) Dir(id string) string + func (s *Store) Get(id string) (*Instance, error) + func (s *Store) List() ([]Instance, error) + func (s *Store) NameExists(name string) (bool, error) + func (s *Store) Save(inst Instance) error + func (s *Store) UpdateStatus(id string, status InstanceStatus) error + type TemplateContext struct + Description string + DisplayName string + EyrieURL string + Framework string + Name string + ParentAgent string + ProjectDescription string + ProjectGoal string + ProjectName string + Role string v0.1.1-alpha Mar 30, 2026 v0.1.0-alpha Mar 29, 2026