Skip to content

MemoryContentBlockType

type MemoryContentBlockType = DistributedKeyof<ContentBlockData>;

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

Content block kinds that MemoryMessageFilter can exclude before messages reach an Extractor or the no-extractor passthrough.

Derived from the SDK’s ContentBlockData union: every member’s discriminator key is its kind ({ toolUse: ... }'toolUse', { text: string }'text'), so this tracks new block types automatically instead of drifting. Matches the runtime _blockKind used to filter.