Versions in this module Expand all Collapse all v1 v1.0.0 Mar 31, 2026 Changes in this version + func GetLastSessionSummary(ctx context.Context, store memory.FactStore) string + func LoadConfig(path string) (ctxdomain.EngineConfig, error) + func SaveDefaultConfig(path string) error + type Engine struct + func New(cfg ctxdomain.EngineConfig, provider ctxdomain.FactProvider) *Engine + func (e *Engine) BuildContext(toolName string, args map[string]interface{}) *ctxdomain.ContextFrame + func (e *Engine) GetAccessCount(factID string) int + func (e *Engine) IsEnabled() bool + func (e *Engine) Middleware() server.ToolHandlerMiddleware + func (e *Engine) SetInteractionLogger(l InteractionLogger) + type InteractionLogger interface + Record func(ctx context.Context, toolName string, args map[string]interface{}) error + type InteractionProcessor struct + func NewInteractionProcessor(repo *sqlite.InteractionLogRepo, store memory.FactStore) *InteractionProcessor + func (p *InteractionProcessor) ProcessShutdown(ctx context.Context) (string, error) + func (p *InteractionProcessor) ProcessStartup(ctx context.Context) (string, error) + type StoreFactProvider struct + func NewStoreFactProvider(store memory.FactStore, cache memory.HotCache) *StoreFactProvider + func (p *StoreFactProvider) GetL0Facts() ([]*memory.Fact, error) + func (p *StoreFactProvider) GetRelevantFacts(args map[string]interface{}) ([]*memory.Fact, error) + func (p *StoreFactProvider) RecordAccess(factID string)