Versions in this module Expand all Collapse all v0 v0.7.0 Mar 6, 2026 v0.6.0 Mar 4, 2026 v0.5.0 Feb 24, 2026 Changes in this version + const ProcessRecordPathEnv + func ReadStartTimeTicks(pid int) (uint64, error) + func RedactArgs(args []string) []string + func RemoveRecordByPID(pid int) error + func RemoveRecordByPath(path string) error + func ResolveDir() (string, error) + func ResolvePathForPID(pid int) (string, error) + func ResolvePathFromEnv(pid int) string + func ResolvePathFromTemplate(template string, pid int) string + func ResolvePathTemplate() (string, error) + func Terminate(pid int, timeout time.Duration) error + func WaitForStartTimeTicks(pid int, timeout time.Duration) uint64 + func WriteRecord(path string, record Record) error + type Record struct + Args []string + CreatedAt time.Time + Kind string + LogFile string + PID int + Profile string + StartTimeTicks uint64 + type RuntimeState struct + CheckError string + ObservedStartTimeTicks uint64 + Running bool + Status Status + func Inspect(record Record) RuntimeState + type Status string + const StatusExited + const StatusRunning + const StatusStale + const StatusUnknown + type StoredRecord struct + File string + func ListRecords() ([]StoredRecord, error)