ExtractionTriggerContext
Defined in: src/memory/extraction/types.ts:93
Context handed to ExtractionTrigger.attach so a trigger can wire itself into the agent lifecycle and signal when extraction should run for its store.
Properties
Section titled “Properties”agent: LocalAgent;Defined in: src/memory/extraction/types.ts:95
The agent the trigger attaches its hooks to.
fire: (invocationContext?) => void;Defined in: src/memory/extraction/types.ts:97
Save this store’s unsaved messages now. Runs in the background and returns immediately, so calling it from a hook never blocks the agent. To await completion, see MemoryManager.flush. Pass the firing hook event’s invocationContext so a client-side extractor’s model call joins that request.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
invocationContext? | InvocationContext |
Returns
Section titled “Returns”void