Skip to content

ExtractionTriggerContext

Defined in: src/memory/extraction/types.ts:82

Context handed to ExtractionTrigger.attach so a trigger can wire itself into the agent lifecycle and signal when extraction should run for its store.

agent: LocalAgent;

Defined in: src/memory/extraction/types.ts:84

The agent the trigger attaches its hooks to.


fire: () => void;

Defined in: src/memory/extraction/types.ts:86

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.

void