acp

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GlobalManager = NewManager()

Functions

This section is empty.

Types

type AcpSession

type AcpSession struct {
	ID           string    `json:"id"`
	AgentID      string    `json:"agent_id"`
	Binary       string    `json:"binary"`
	Alive        bool      `json:"alive"`
	CreatedAt    time.Time `json:"created_at"`
	StdoutBuffer string    `json:"stdout_buffer"`
	StderrBuffer string    `json:"stderr_buffer"`
	// contains filtered or unexported fields
}

func (*AcpSession) Kill

func (s *AcpSession) Kill() error

func (*AcpSession) SendPrompt

func (s *AcpSession) SendPrompt(ctx context.Context, prompt string) (string, error)

type Manager

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

func NewManager

func NewManager() *Manager

func (*Manager) KillSession

func (m *Manager) KillSession(id string) error

func (*Manager) ListSessions

func (m *Manager) ListSessions() []map[string]interface{}

func (*Manager) Spawn

func (m *Manager) Spawn(agentID, binary string, args []string, env map[string]string) (*AcpSession, error)

Jump to

Keyboard shortcuts

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