Versions in this module Expand all Collapse all v0 v0.0.2 May 6, 2026 v0.0.1 Apr 27, 2026 Changes in this version + type BuildRequest struct + AgentID string + Description string + GlobalInstruction string + Instruction string + MCPServerIDs []string + Name string + SessionID string + WorkingDirectory string + func (r BuildRequest) Validate() error + type Factory struct + func New(agents map[string]agentconfig.Config, mcp mcpregistry.Reader, opts ...Option) *Factory + func (f *Factory) Build(ctx context.Context, req BuildRequest) (agent.Agent, error) + func (f *Factory) BuildSessionState(agentID, workspaceDir string) (map[string]any, error) + func (f *Factory) GetAgentConfig(agentID string) (agentconfig.Config, error) + func (f *Factory) ValidateAgent(agentID string) error + type Option func(*Factory) + func WithPermissionHandler(handler acpagent.PermissionHandler) Option + func WithStderrWriter(writer io.Writer) Option