agentapi

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestContext

type RequestContext struct {
	Logger   zerolog.Logger
	Request  *http.Request
	Response http.ResponseWriter
}

type Server

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

func NewServer

func NewServer(agentCommand []string, terminalTools *acptools.TerminalTools, fileTools *acptools.FilesystemTools) *Server

func (*Server) Serve

func (s *Server) Serve(addr string) error

Serve listens on addr and bridges each websocket connection to an agent process spawned from agentCommand.

Jump to

Keyboard shortcuts

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