Documentation
¶
Overview ¶
Package lifecycle manages background maintenance tasks: session reaping, terminal execution cleanup, timeout enforcement, and startup recovery.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deps ¶
type Deps struct {
Events store.EventStore
Sessions store.SessionStore
Checkpoints store.CheckpointStore
Signals store.SignalStore
AgentHub store.AgentHub
Locker store.Locker
Projector *projector.Projector
Emitter EventEmitter
Logger *slog.Logger
ExecutionTimeout time.Duration
}
type EventEmitter ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) RecoverActiveExecutions ¶
func (*Manager) StartCleanup ¶
func (*Manager) StartSessionReaper ¶
func (*Manager) StartTimeoutWatcher ¶
Click to show internal directories.
Click to hide internal directories.