Documentation
¶
Overview ¶
Package session manages Atlas agent sessions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLatestID ¶ added in v0.2.0
GetLatestID reads the 'latest' pointer file to get the most recent session ID. If the file doesn't exist, it falls back to finding the directory with the newest modification time.
func SessionDir ¶
SessionDir returns the canonical directory for a session's state files.
Types ¶
type Session ¶
type Session struct {
ID string `json:"id"`
Status string `json:"status"` // see internal/state for valid values
Workspace string `json:"workspace_path"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
Session represents a single Atlas deployment session — identity and lifecycle only. Goal and progress tracking live in planner.json (internal/orchestrator).
Click to show internal directories.
Click to hide internal directories.