interfaces

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL