Optional options: { Optional type?: MemoryTypeOptional scope?: MemoryScopeOptional scopeOptional sourceOptional contentOptional tags?: string[]Optional entities?: string[]Retrieve relevant memories for a query. Called before prompt construction.
Optional options: CognitiveRetrievalOptionsAssemble memory context for prompt injection within a token budget.
Optional options: CognitiveRetrievalOptionsOptional observeFeed a message to the observer (Batch 2). Returns notes if threshold reached.
Optional mood: PADStateOptional checkCheck prospective memory triggers (Batch 2).
Optional now?: numberOptional events?: string[]Optional queryOptional queryOptional registerRegister a new prospective reminder/intention.
Optional listList active prospective reminders.
Optional removeOptional runRun consolidation cycle (Batch 2).
Get memory health diagnostics.
Access the underlying long-term memory store for diagnostics/devtools.
Access the working-memory model for diagnostics/devtools.
Get the resolved cognitive-memory runtime config.
Get graph module when enabled.
Get observer module when enabled.
Get prospective-memory manager when enabled.
Optional setAttach a HyDE retriever for hypothesis-driven memory recall.
Pass null to disable.
Optional getGet the HyDE retriever if configured, or null.
Get infinite-context runtime stats when enabled.
Encode a new input into a memory trace. Called after each user message.