Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header struct {
Version int `json:"version"`
SessionID string `json:"session_id"`
Cwd string `json:"cwd"`
Created time.Time `json:"created"`
}
Header is the first line of the file.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) List ¶
func (m *Manager) List() ([]SessionInfo, error)
List returns sessions newest first, skipping files that are unreadable or from another version.
type SessionInfo ¶
type State ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is safe for concurrent use.
func (*Store) AppendCompaction ¶
func (s *Store) AppendCompaction(c *agentcore.Compaction) error
func (*Store) AppendModel ¶
Click to show internal directories.
Click to hide internal directories.