Versions in this module Expand all Collapse all v0 v0.36.0 Jul 19, 2026 Changes in this version + func McpServerForACP(row *runtimetypes.MCPServer) (libacp.McpServer, error) + func ResolveForwardedMcpServers(ctx context.Context, resolver McpServerResolver, names []string) ([]libacp.McpServer, error) + type Agent interface + Connect func(ctx context.Context, harness libacp.Client) (*Handle, error) + type ExternalACPAgent struct + Config runtimetypes.ExternalACPConfig + KillGrace time.Duration + Stderr io.Writer + func NewExternalACPAgent(cfg runtimetypes.ExternalACPConfig) *ExternalACPAgent + func (a *ExternalACPAgent) Connect(ctx context.Context, harness libacp.Client) (*Handle, error) + type Handle struct + Conn *libacp.ClientSideConnection + func (h *Handle) Close() error + type McpServerResolver interface + GetByName func(ctx context.Context, name string) (*runtimetypes.MCPServer, error) + type RecordingHarness struct + func (h *RecordingHarness) AvailableCommands() []libacp.AvailableCommand + func (h *RecordingHarness) MessageText() string + func (h *RecordingHarness) SessionUpdate(_ context.Context, n libacp.SessionNotification) error + func (h *RecordingHarness) Updates() []libacp.SessionNotification + type TurnRequest struct + ClientCapabilities libacp.ClientCapabilities + ClientInfo *libacp.Implementation + Cwd string + KillGrace time.Duration + McpServers []libacp.McpServer + Prompt []libacp.ContentBlock + Stderr io.Writer + type TurnResult struct + DroppedMcpServers []string + ForwardedMcpServers []string + Initialize libacp.InitializeResponse + SessionID libacp.SessionID + StopReason libacp.StopReason + func DriveTurn(ctx context.Context, agent *runtimetypes.Agent, harness libacp.Client, ...) (*TurnResult, error)