Skip to main content

Module triggers

Module triggers 

Source
Expand description

Event-driven trigger engine for the Punch Agent Combat System.

The TriggerEngine manages triggers that automatically fire actions when conditions are met. Supports scheduled triggers (cron-like), keyword matching in messages, event pattern matching, and webhook triggers.

Inspired by OpenFang’s trigger system, adapted for Punch’s combat metaphor.

Structs§

Trigger
A registered trigger definition.
TriggerEngine
The trigger engine manages event-to-action routing.
TriggerId
Unique identifier for a trigger.
TriggerSummary
Summary information about a trigger (for listing).

Enums§

TriggerAction
What action to perform when a trigger fires.
TriggerCondition
What kind of condition activates a trigger.