Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrorCodeSubAgentInvalidRequest = "subagent_invalid_request" ErrorCodeSubAgentTaskNotEligible = "subagent_task_not_eligible" ErrorCodeSubAgentAgentNotFound = "subagent_agent_not_found" ErrorCodeSubAgentModeNotAllowed = "subagent_mode_not_allowed" ErrorCodeSubAgentToolDenied = "subagent_tool_denied" DelegateSubAgentToolName = "delegate_subagent" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
Name string
Description string
Scope Scope
SourcePath string
Entry string
Instruction string
Tools []string
DisallowedTools []string
Model string
Mode string
MaxTurns int
Timeout string
Output string
Isolation string
PermissionMode string // reserved: subagent permission strategy (inherit, bubble, acceptEdits, plan); MVP ignores
Aliases []string
WhenToUse string
DiscoveredAt time.Time
}
type Catalog ¶
type Catalog struct {
Agents []Agent
Diagnostics []Diagnostic
Overrides []Override
LoadedAt time.Time
}
type Diagnostic ¶
type Gateway ¶
type Gateway struct {
// contains filtered or unexported fields
}
func NewGateway ¶
func (*Gateway) Preflight ¶
func (g *Gateway) Preflight(request PreflightRequest) (PreflightResult, error)
type GatewayError ¶
func (*GatewayError) Error ¶
func (e *GatewayError) Error() string
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManagerWithDirs ¶
func (*Manager) List ¶
func (m *Manager) List() ([]Agent, []Diagnostic)
type PreflightRequest ¶
type PreflightResult ¶
Click to show internal directories.
Click to hide internal directories.