Versions in this module Expand all Collapse all v1 v1.0.3 Oct 15, 2026 v1.0.2 Oct 14, 2026 v1.0.1 Oct 14, 2026 v1.0.0 Oct 14, 2026 Changes in this version + const CodexSessionMarker + const ContainerIDFile + const ContainerLabel + const DefaultGrace + const PIDFile + const SandboxNameFile + const SandboxWorkspaceFile + const ServerPIDFile + const SessionMarker + var AgentExecutables = []string + var Engine = "docker" + func Alive(pid int) bool + func CleanSandboxDirs(ctx context.Context, sbxBin string, dirs []string) error + func CleanSandboxes(ctx context.Context, sbxBin, sessionsDir string) error + func CodexMarker(prefix string) string + func ContainerID(dir string) string + func Kill(p Proc, grace time.Duration) error + func RemoveContainerID(dir string) + func RemovePID(sessionDir string) + func RemoveSandboxName(dir string) + func RemoveServerPID(dir string) + func SandboxName(dir string) string + func SandboxWorkspace(dir string) string + func ServerPID(dir string) int + func WritePID(sessionDir string, pid int) error + func WriteSandboxName(dir, name string) error + func WriteServerPID(dir string, pid int) error + type Finder struct + Markers *Markers + ReadOnly bool + func (f Finder) Find(ctx context.Context, sessionsDir string) ([]Proc, error) + func (f Finder) FromContainers(ctx context.Context, sessionsDir string) ([]Proc, error) + func (f Finder) FromPIDFile(dir string, scan *Scan) (Proc, bool) + func (f Finder) FromPIDFiles(sessionsDir string, scan *Scan) ([]Proc, error) + type Markers struct + Codex string + Container string + LegacyCodex string + Session string + type Proc struct + Command string + Container string + PGID int + PID int + Server int + SessionDir string + Source string + func Find(ctx context.Context, sessionsDir string, markers ...Markers) ([]Proc, error) + func FromContainers(ctx context.Context, sessionsDir string, markers ...Markers) ([]Proc, error) + func FromPIDFile(dir string, scan *Scan) (Proc, bool) + func FromPIDFiles(sessionsDir string, scan *Scan) ([]Proc, error) + func FromPS(ctx context.Context, sessionsDir string, markers ...Markers) ([]Proc, error) + type Scan struct + Commands map[int]string + Sessions map[int]Proc