Documentation
¶
Overview ¶
Package session records what each agent session is currently doing.
This is scratch state, stored per working tree and never committed: it changes every few minutes and would swamp the history of a repository whose whole point is readable diffs. The consequence, stated plainly, is that a teammate on their own clone cannot see your session — there is no sync channel for it, by design.
Index ¶
Constants ¶
View Source
const StaleAfter = 20 * time.Minute
StaleAfter is how long a session may go without a checkpoint before the board dims it. Sessions are never deleted automatically: a crashed session's last known focus is useful information, not garbage.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Session ¶
type Session struct {
ID string `json:"id"`
TicketID string `json:"ticket_id,omitempty"`
Focus string `json:"focus"`
Reasoning string `json:"reasoning,omitempty"`
Model string `json:"model,omitempty"`
Host string `json:"host,omitempty"`
PID int `json:"pid,omitempty"`
UpdatedAt string `json:"updated_at"`
}
Session is one agent session's current focus.
Click to show internal directories.
Click to hide internal directories.