mastra-jev-moderation
Input moderation for Mastra agents on TypeSafe Jev — one file
How it uses Jev
Input moderation for Mastra agents on TypeSafe Jev: one file, one request per turn, no text to parse.
Getting started
A blocked turn ends with a tripwire whose reason is MESSAGE BLOCKED . Check it with isModerationBlock(result.tripwire) — a user-stopped run carries a tripwire too, with a different reason, so "any tripwire" is not a block.
Source: community catalog. Details and metrics reflect the published community snapshot and are not a performance endorsement. Documentation details extracted from GitHub · the README.