Module state

Module state 

Source
Expand description

Typed key-value state container for agents.

Supports optional delta tracking for transactional state management and prefix-scoped accessors for namespace isolation.

Structs§

PrefixedState
A borrowed view of state that automatically prepends a prefix to all keys.
ReadOnlyPrefixedState
A borrowed, read-only view of state that automatically prepends a prefix to all keys.
State
A concurrent, type-safe state container that agents read from and write to.
StateKey
A compile-time typed state key that eliminates typo bugs and type mismatches.
StateMutation
A single state mutation recorded in the bounded mutation journal.

Enums§

StateMutationOrigin
Where a state mutation came from.