OptionalallowedPositive allowlist for the pre-execution action gate (#57). When set, AgentArmor.checkAction admits only requests matching one of these rules; everything else fails closed. An empty array denies all actions.
OptionalbehaviouralPer-detector toggles within the Behavioural Control category. All default true.
OptionalcognitivePer-detector toggles within the Cognitive State category. All default true.
OptionalcontentPer-detector toggles within the Content Injection category. All default true.
OptionalcustomCustom detectors to add to the pipeline
OptionalmlML classifier configuration (requires @stylusnexus/agentarmor-ml)
OptionalnormalizeApply Unicode normalization (NFKC + confusable folding + invisible-char stripping) before semantic detectors run, so homoglyph-obfuscated payloads are matched. Evidence and offsets still report against the original text. Structural detectors (content-injection) always scan the raw input. Default: true.
OptionalonDiagnostics callbacks — route internal warnings/errors to your own logging (#24).
OptionalsemanticPer-detector toggles within the Semantic Manipulation category. All default true.
OptionalsessionMulti-turn / session scanning configuration (#35)
OptionalstrictnessConfidence-threshold preset. Default: 'balanced'.
OptionaltransportPer-detector toggles within the Transport Integrity category. All default true.
Configuration passed to AgentArmor.regexOnly or AgentArmor.create.