TriggerNode is the common embed for every trigger
| 155 | |
| 156 | // TriggerNode is the common embed for every trigger. A trigger has exactly one |
| 157 | // outgoing transition; it carries the full Transition (like LinearNode/BranchingNode) |
| 158 | // so the transition's side effects — e.g. an AgentTask prompt seeding the |
| 159 | // conversation — are applied when the trigger fires, not discarded. |
| 160 | type TriggerNode struct { |
| 161 | id string |
| 162 | transition *Transition // nil until wired; a trigger has at most one outgoing transition |
| 163 | } |
nothing calls this directly
no outgoing calls
no test coverage detected