Versions in this module Expand all Collapse all v0 v0.213.0 Dec 3, 2026 v0.212.0 Dec 2, 2026 v0.211.0 Dec 2, 2026 v0.210.0 Dec 1, 2026 v0.209.0 Dec 1, 2026 Changes in this version + const BatchGap + const QuietFailed + const StateDone + const StateFailed + const StateRetried + const StateRunning + func Covers(parent, dir string) bool + func PromptHash(prompt string) string + type Alive func(pid int32, start int64) bool + type Batch struct + AgentID string + CostUSD *float64 + Count int + Cwd string + Done int + EndedAt int64 + Failed int + ID string + Parallel int + Retried int + Running int + Runs []Run + StartedAt int64 + Tokens int64 + func Batches(runs []store.CodexRun, now int64, alive Alive) []Batch + type Linker struct + Now func() time.Time + Procs func(ctx context.Context) (*procstat.Table, error) + func New(db store.Querier, log *slog.Logger) *Linker + func (l *Linker) Observe(ctx context.Context, run codex.ExecRun) + type Run struct + CostUSD *float64 + EndedAt int64 + Lane int + LinkedBy string + SessionID string + StartedAt int64 + State string + Tokens int64