MemoryStoreConfig
Defined in: src/memory/types.ts:50
Declarative properties shared by every memory store and its config.
This is the single source of truth for a store’s identity and behavior knobs. Both the runtime MemoryStore interface and concrete store configs extend it, so these fields are declared once. Concrete stores add their own backend-specific config fields on top.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”readonly name: string;Defined in: src/memory/types.ts:52
Identifier for this store, used to target specific stores in search/add tools. Must be unique.
description?
Section titled “description?”readonly optional description?: string;Defined in: src/memory/types.ts:54
Human-readable description of what this store contains. Included in tool descriptions.
maxSearchResults?
Section titled “maxSearchResults?”readonly optional maxSearchResults?: number;Defined in: src/memory/types.ts:59
Default maximum number of results this store returns per search, used when a caller does not
pass a per-call maxSearchResults.
writable?
Section titled “writable?”readonly optional writable?: boolean;Defined in: src/memory/types.ts:66
Whether this store accepts writes. Optional at config time (caller intent, defaults to false);
concrete stores resolve it to a definite boolean on the MemoryStore interface.
Default Value
Section titled “Default Value”falseextraction?
Section titled “extraction?”readonly optional extraction?: ExtractionConfig;Defined in: src/memory/types.ts:72
Automatic-extraction configuration for this store. When set, the MemoryManager runs the configured triggers and writes extracted (or, with no extractor, raw) messages to this store. Requires the store to be writable. Omit for a purely tool-driven store.