Versions in this module Expand all Collapse all v0 v0.1.9 Oct 19, 2026 Changes in this version + var ErrInsecure = errors.New("coding subagent profile: insecure root") + var ErrInvalid = errors.New("coding subagent profile: invalid") + var ErrLimitExceeded = errors.New("coding subagent profile: limit exceeded") + func IsolationWorktree(value string) bool + type Diagnostic struct + Code string + Message string + Source string + Suppressed string + Winner string + type Limits struct + MaxEntries int + MaxFileBytes int64 + MaxNameBytes int + MaxPresets int + MaxPromptBytes int64 + MaxTotalBytes int64 + func DefaultLimits() Limits + type Options struct + InlinePersonas map[string]config.SubagentPersona + InlineRoles map[string]config.SubagentRole + Limits Limits + Paths paths.Layout + ProjectTrusted bool + Tree *workspace.Tree + type Registry struct + func Load(ctx context.Context, options Options) (Registry, error) + func (r Registry) Clone() Registry + func (r Registry) Diagnostics() []Diagnostic + func (r Registry) Persona(name string) (config.SubagentPersona, bool) + func (r Registry) Role(name string) (config.SubagentRole, bool)