Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SessionStorer ¶
type SessionStorer interface {
// Session management
EnsureSessionExists(session interface{}) error
GetSession(sessionID string) (interface{}, error)
GetAllSessions() ([]*models.Session, error)
UpdateSessionStatus(sessionID, status string) error
// Tool execution tracking
LogToolUsage(sessionID string, tool *models.ToolExecution) error
UpdateToolExecution(sessionID, toolID string, update *models.ToolExecution) error
GetToolExecution(sessionID, toolID string) (*models.ToolExecution, error)
// Notification tracking
LogNotification(sessionID string, notification *models.ClaudeNotification) error
// Event tracking
LogEvent(sessionID string, event *models.Event) error
// Archive management
ArchiveSessions(sessionIDs []string) error
}
SessionStorer defines the interface for session state persistence.
Click to show internal directories.
Click to hide internal directories.