web

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RecentDirInfo

type RecentDirInfo struct {
	Path    string `json:"path"`
	Display string `json:"display"`
	Age     string `json:"age"`
}

type Server

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

func NewServer

func NewServer(port int) *Server

func (*Server) SetConfig

func (s *Server) SetConfig(cfg config.Config)

func (*Server) SetController

func (s *Server) SetController(ctrl *controller.Controller)

func (*Server) SetDiscoverFunc

func (s *Server) SetDiscoverFunc(fn func() ([]agent.Agent, error))

func (*Server) SetKillFunc

func (s *Server) SetKillFunc(fn func(pid int, tmuxSession string) error)

func (*Server) SetLaunchFunc

func (s *Server) SetLaunchFunc(fn func(provider, dir, model, mode, prompt string) error)

func (*Server) SetPluginExecutor

func (s *Server) SetPluginExecutor(exec *plugin.Executor)

func (*Server) SetProviderLookup

func (s *Server) SetProviderLookup(fn func(string) interface {
	ParseTrace(string) ([]trace.Turn, error)
})

func (*Server) SetRecentDirsFunc

func (s *Server) SetRecentDirsFunc(fn func(int) []RecentDirInfo)

func (*Server) SetTaskProvider

func (s *Server) SetTaskProvider(tp tasks.Provider)

func (*Server) Start

func (s *Server) Start() error

func (*Server) Stop

func (s *Server) Stop()

func (*Server) URL

func (s *Server) URL() string

Jump to

Keyboard shortcuts

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