Skip to main content

Module active_session

Module active_session 

Source
Expand description

Core active session type with lock-free, Arc-wrapped components.

ActiveSession is the primary mutable session object used throughout the crate. It stores tiered context (hot / warm / cold), a structured state snapshot, code references, an entity graph, and vectorization tracking — all wrapped in Arc for cheap clone-on-write semantics.

Structs§

ActiveSession
ActiveSession with lock-free granular components Uses Arc-wrapped lock-free structures for concurrent access and cheap cloning
ChangeRecord
A record of a change event within the session.
CodeReference
A reference to a code region associated with a context update.
CompressedUpdate
A compressed (summarised) context update stored in the warm tier.
StructuredSummary
A periodic snapshot of the structured context stored in the cold tier.
UserPreferences
User-configurable session preferences.