type EntityId = string | number; Copy
type EntityId = string | number;
Represents an identifier for an entity, which can be either a string or a number. Used across persistence classes to uniquely identify stored entities such as agents, states, or memory records.