Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryManager ¶
type InMemoryManager struct {
// contains filtered or unexported fields
}
InMemoryManager implements SessionManager with in-memory storage
func (*InMemoryManager) CreateSession ¶
func (m *InMemoryManager) CreateSession(workingDir string, persona string) (Session, error)
CreateSession creates a new session with the given working directory and persona
func (*InMemoryManager) GetSession ¶
func (m *InMemoryManager) GetSession() (Session, error)
GetSession retrieves an existing session by ID
type InMemorySession ¶
type InMemorySession struct {
// contains filtered or unexported fields
}
InMemorySession implements Session with event bus publishing
func (*InMemorySession) GetPersona ¶
func (s *InMemorySession) GetPersona() string
GetPersona returns the session's selected persona
func (*InMemorySession) GetWorkingDirectory ¶
func (s *InMemorySession) GetWorkingDirectory() string
GetWorkingDirectory returns the session's working directory
type SessionManager ¶
type SessionManager interface {
CreateSession(workingDir string, persona string) (Session, error)
GetSession() (Session, error)
}
SessionManager manages multiple sessions
func NewSessionManager ¶
func NewSessionManager(publisher events.Publisher) SessionManager
NewSessionManager creates a new session manager
Click to show internal directories.
Click to hide internal directories.