Versions in this module Expand all Collapse all v1 v1.17.0 Aug 21, 2026 Changes in this version + const DefaultWaitTimeout + const VerbWait type Handler + Wait func(idOrName, group, state string, timeout time.Duration) (SessionInfo, error) type Request + State string + Timeout int v1.16.0 Aug 20, 2026 v1.15.1 Aug 20, 2026 v1.15.0 Aug 20, 2026 v1.14.0 Aug 15, 2026 v1.13.0 Aug 13, 2026 v1.12.0 Aug 13, 2026 v1.11.0 Aug 11, 2026 Changes in this version + const VerbGroup + const VerbGroupKill + const VerbGroupSend + const VerbKill + const VerbList + const VerbNew + const VerbRead + const VerbRename + const VerbSend + func IsLive(path string) bool + type Handler interface + GroupKill func(group string) (int, error) + GroupSend func(group, text string) (int, error) + Kill func(idOrName string) error + List func(group string) []SessionInfo + New func(spec NewSpec) (id string, err error) + Read func(idOrName string, tail int) (string, error) + Rename func(idOrName, name string) error + Send func(idOrName, text string) error + SetGroup func(idOrName, group string) error + type NewSpec struct + Command string + Cwd string + Group string + Name string + type Request struct + Command string + Cwd string + Group string + ID string + Name string + Tail int + Text string + Verb string + type Response struct + Count int + Error string + ID string + OK bool + Output string + Sessions []SessionInfo + func Call(path string, req Request) (Response, error) + type Server struct + func Listen(path string, h Handler) (*Server, error) + func (s *Server) Close() error + func (s *Server) Path() string + type SessionInfo struct + AgentState string + Cwd string + ExitCode *int + Group string + ID string + Name string + Status string v1.10.0 Aug 10, 2026 v1.9.0 Aug 9, 2026 v1.8.0 Aug 9, 2026 v1.7.0 Aug 8, 2026