acpclient

package
v1.3.72 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (*Client) Close

func (c *Client) Close() error

func (*Client) Prompt

func (c *Client) Prompt(ctx context.Context, prompt string) (*tool.ACPPromptResult, error)

func (*Client) PromptStream

func (c *Client) PromptStream(ctx context.Context, prompt string, onEvent func(tool.ACPPromptEvent)) (*tool.ACPPromptResult, error)

type ClientManager

type ClientManager struct {
	// contains filtered or unexported fields
}

func NewClientManager

func NewClientManager(workingDir string, policy permission.PermissionPolicy) *ClientManager

func (*ClientManager) AgentInfo

func (m *ClientManager) AgentInfo(name string) (title, description string, ok bool)

func (*ClientManager) Available

func (m *ClientManager) Available() []string

func (*ClientManager) CloseAll

func (m *ClientManager) CloseAll()

func (*ClientManager) Get

func (*ClientManager) SetApprovalHandler

func (m *ClientManager) SetApprovalHandler(h func(context.Context, string, string) permission.Decision)

func (*ClientManager) SetWorkingDir

func (m *ClientManager) SetWorkingDir(dir string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL