CachedAgentState interface
Represents agent state that has been cached in the turn context.
Remarks
Used internally to track state changes and avoid unnecessary storage operations.
Properties
| hash | Hash of the state used to detect changes |
| is |
Whether the state was not found when it was loaded. |
| state | The state object containing all properties and their values |
| version | Version returned when the state was loaded, used to reject stale V2 writes. |
Property Details
hash
Hash of the state used to detect changes
hash: string
Property Value
string
isNew
Whether the state was not found when it was loaded.
isNew?: boolean
Property Value
boolean
state
The state object containing all properties and their values
state: {[id: string]: any}
Property Value
{[id: string]: any}
version
Version returned when the state was loaded, used to reject stale V2 writes.
version?: string
Property Value
string