MemoGrafterAgent
suppressTopic()
Hide a topic from active memory operations.
What it does
Hide a topic from active memory operations.
When to use it
Use to hide an entire topic from normal active-memory operations without deleting it.
Signature
TypeScript
suppressTopic(topicId: string): Promise<boolean>Parameters
topicId (string) — The topic to change.Result
true when the requested state changed; false when the target was already in that state or was not found.
Behavior
Marks the topic suppressed. Attached memories remain stored but are excluded through the topic's lifecycle state.
Side effects and completion
Returns whether the stored topic state changed; restoration is available through
restoreTopic().Example
example.ts
await agent.suppressTopic(topicId);