Documentation
¶
Overview ¶
Package session is the Stage-1 namespace for session-lifecycle types in package engine. See ../REFACTOR_PLAN.md.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompressMessage ¶
type CompressMessage = engine.CompressMessage
CompressMessage is the per-message input to compression.
type CompressStrategy ¶
type CompressStrategy = engine.CompressStrategy
CompressStrategy names a compression algorithm.
type CompressedBlock ¶
type CompressedBlock = engine.CompressedBlock
CompressedBlock is one block of compressed history.
type CompressionResult ¶
type CompressionResult = engine.CompressionResult
CompressionResult is what a Compressor returns.
type Compressor ¶
type Compressor = engine.SessionCompressor
Compressor reduces a session's message history while preserving meaning.
func NewCompressor ¶
func NewCompressor(strategy CompressStrategy) *Compressor
NewCompressor returns a session compressor using the named strategy.
type CrossSessionLearner ¶
type CrossSessionLearner = engine.CrossSessionLearner
CrossSessionLearner mines insights from past sessions to inform new ones.
func NewCrossSessionLearner ¶
func NewCrossSessionLearner(dir string) *CrossSessionLearner
NewCrossSessionLearner returns a learner that persists state under dir.
type FailurePattern ¶
type FailurePattern = engine.FailurePattern
FailurePattern is a recurring failure mode the learner has seen.
type LearnerStats ¶
type LearnerStats = engine.LearnerStats
LearnerStats summarises cross-session learner state.
type ServiceOption ¶
type ServiceOption = engine.ServiceOption
ServiceOption configures a Services bundle.
type Services ¶
type Services = engine.SessionServices
Services bundles the dependencies a session uses (provider, tools, memory).
type SessionConvention ¶
type SessionConvention = engine.SessionConvention
SessionConvention is a project-specific habit (naming, layout, etc.).
type Timeline ¶
Timeline records significant session events for replay/debugging.
func NewTimeline ¶
NewTimeline returns a new timeline scoped to sessionID.
type TimelineEvent ¶
type TimelineEvent = engine.TimelineEvent
TimelineEvent is one entry in a Timeline.