Methods
read
- read(scope): Record<string, any>
Returns Record<string, any>
write
- write(scope, key, value): void
Parameters
- scope: string
- key: string
- value: any
Returns void
updateScope
- updateScope(scope, data): void
Parameters
- scope: string
- data: Record<string, any>
Returns void
has
- has(scope, key): boolean
Returns boolean
delete
- delete(scope, key): boolean
Returns boolean
clear
- clear(scope): void
Returns void
clearAll
- clearAll(): void
Returns void
getScopes
- getScopes(): string[]
Returns string[]
getSize
- getSize(scope): number
Returns number
export
- export(): Record<string, Record<string, any>>
Returns Record<string, Record<string, any>>
import
- import(data): void
Parameters
- data: Record<string, Record<string, any>>
Returns void
Scoped memory management for ThoughtSystem. Provides isolated memory contexts for different reasoning workflows.