Interface: ActionDeduplicatorConfig
Defined in: packages/agentos/src/core/safety/ActionDeduplicator.ts:8
File
ActionDeduplicator.ts
Description
Hash-based tracking of recent actions within a configurable time window. Prevents identical actions from being executed twice in rapid succession. Caller computes the key string — this class is intentionally generic.
Properties
maxEntries
maxEntries:
number
Defined in: packages/agentos/src/core/safety/ActionDeduplicator.ts:12
Maximum tracked entries before LRU eviction.
Default
10000
windowMs
windowMs:
number
Defined in: packages/agentos/src/core/safety/ActionDeduplicator.ts:10
Time window in ms to track actions.
Default
3600000 (1 hour)