Add a message to the buffer.
Returns true if the buffer has reached activation threshold.
Parameters
role: "user" | "assistant" | "system" | "tool"
content: string
Returns boolean
shouldActivate
shouldActivate(): boolean
Whether accumulated tokens OR messages since the last drain exceed their
thresholds. The message-count path is what makes the observer fire in chat,
where turns are far too small to ever reach the token threshold.
Add a message to the buffer. Returns true if the buffer has reached activation threshold.