Versions in this module Expand all Collapse all v0 v0.1.0 Nov 26, 2026 Changes in this version + const Command + const MaxArgv + const MaxSequence + const TokenEnv + const Window + var ErrInvalid = errors.New("progresume: the report is not valid") + var ErrNoToken = errors.New("progresume: the terminal gave no " + TokenEnv) + var Implemented = []string + func Clear() error + func Mac(body, token string) string + func NewToken() (string, error) + func Report(argv []string, cwd string) error + func Sequence(r Message, token string) string + func TakeToken() + func ValidToken(tok string) bool + type Message struct + Argv []string + Clear bool + Cwd string + PID int + Time int64 + type Outcome int + const Accepted + const Ignored + const Rejected + type Reporter struct + Now func() time.Time + Out io.Writer + PID int + Token string + func (r *Reporter) Clear() error + func (r *Reporter) Report(argv []string, cwd string) error + type Result struct + Message Message + Outcome Outcome + Reason string + func Parse(payload []byte, token string, now time.Time) Result