Expand description
Pre-processing Hook for Skills/Workflows Trigger Detection
This module implements the backend-side trigger detection that was previously described in the prompt. By moving this logic to code:
- Eliminates ambiguity in pattern matching
- Provides deterministic behavior
- Reduces prompt token cost (~100 lines removed from prompt)
- Enables easier testing and debugging
Structs§
- PreProcess
Hook - Pre-processing hook for trigger detection
- Skill
Pattern - Skill trigger pattern
- Workflow
Trigger - Workflow trigger configuration
Enums§
- Process
Result - Trigger type detection result
- Trigger
Type - Type of trigger detected
Functions§
- global_
preprocessor - Get the global preprocessor
- preprocess
- Process message with global preprocessor